ETH Price: $2,439.17 (+1.20%)

Contract

0x47E136cf4A96e1afa72e19022f9699Bbaa1BE60e
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Rescue Funds154903332022-09-07 12:35:58760 days ago1662554158IN
0x47E136cf...baa1BE60e
0 ETH0.0006182211.47320063
Refund Celer Use...152116752022-07-25 12:33:30804 days ago1658752410IN
0x47E136cf...baa1BE60e
0 ETH0.002517812
Rescue Funds150758012022-07-04 11:33:53825 days ago1656934433IN
0x47E136cf...baa1BE60e
0 ETH0.0006068711.26518075
Rescue Funds150757952022-07-04 11:33:13825 days ago1656934393IN
0x47E136cf...baa1BE60e
0 ETH0.0008123813.84345702
Refund Celer Use...150613772022-07-02 6:10:00827 days ago1656742200IN
0x47E136cf...baa1BE60e
0 ETH0.0023929411.3218216
Refund Celer Use...150583472022-07-01 18:58:54827 days ago1656701934IN
0x47E136cf...baa1BE60e
0 ETH0.0038162718.05198365
Rescue Funds150444562022-06-29 10:01:39830 days ago1656496899IN
0x47E136cf...baa1BE60e
0 ETH0.0015607228.95809899
Refund Celer Use...150326852022-06-27 5:11:22832 days ago1656306682IN
0x47E136cf...baa1BE60e
0 ETH0.0059993828.37634458
0x60c06040149410962022-06-10 23:19:29848 days ago1654903169IN
 Create: CelerImplL1L2
0 ETH0.0661039640

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
152116752022-07-25 12:33:30804 days ago1658752410
0x47E136cf...baa1BE60e
0.025 ETH
150613772022-07-02 6:10:00827 days ago1656742200
0x47E136cf...baa1BE60e
0.03 ETH
150583472022-07-01 18:58:54827 days ago1656701934
0x47E136cf...baa1BE60e
0.11 ETH
150583442022-07-01 18:58:13827 days ago1656701893
0x47E136cf...baa1BE60e
0.11 ETH
150548592022-07-01 5:56:08828 days ago1656654968
0x47E136cf...baa1BE60e
0.03 ETH
150536672022-07-01 1:34:35828 days ago1656639275
0x47E136cf...baa1BE60e
0.21 ETH
150536672022-07-01 1:34:35828 days ago1656639275
0x47E136cf...baa1BE60e
0.21 ETH
150445932022-06-29 10:35:02830 days ago1656498902
0x47E136cf...baa1BE60e
0.03 ETH
150382652022-06-28 6:04:41831 days ago1656396281
0x47E136cf...baa1BE60e
0.1058669 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.05 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.05 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.1 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.1 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.1 ETH
150358122022-06-27 19:00:38831 days ago1656356438
0x47E136cf...baa1BE60e
0.1 ETH
150353542022-06-27 16:58:17832 days ago1656349097
0x47E136cf...baa1BE60e
0.01 ETH
150353542022-06-27 16:58:17832 days ago1656349097
0x47E136cf...baa1BE60e
0.01 ETH
150353452022-06-27 16:55:55832 days ago1656348955
0x47E136cf...baa1BE60e
0.07 ETH
150353452022-06-27 16:55:55832 days ago1656348955
0x47E136cf...baa1BE60e
0.07 ETH
150353252022-06-27 16:49:16832 days ago1656348556
0x47E136cf...baa1BE60e
0.05 ETH
150353252022-06-27 16:49:16832 days ago1656348556
0x47E136cf...baa1BE60e
0.05 ETH
150353152022-06-27 16:45:56832 days ago1656348356
0x47E136cf...baa1BE60e
0.71 ETH
150353152022-06-27 16:45:56832 days ago1656348356
0x47E136cf...baa1BE60e
0.71 ETH
150353112022-06-27 16:44:07832 days ago1656348247
0x47E136cf...baa1BE60e
0.05 ETH
150353112022-06-27 16:44:07832 days ago1656348247
0x47E136cf...baa1BE60e
0.05 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
CelerImplL1L2

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion
File 1 of 11 : Cbridge.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "../../helpers/errors.sol";
import "../../ImplBase.sol";
import "../../interfaces/cbridge.sol";
import "../../helpers/Pb.sol";

/**
@title Celer L2 Implementation.
@notice This is the L2 implementation, so this is used when transferring from
l2 to supported l2s or L1.
Called by the registry if the selected bridge is Celer bridge.
@dev Follows the interface of ImplBase.
@author Socket.
*/

contract CelerImplL1L2 is ImplBase, ReentrancyGuard {
    using SafeERC20 for IERC20;
    using Pb for Pb.Buffer;
    ICBridge public immutable router;
    mapping(bytes32 => address) public transferIdAdrressMap;
    uint64 public immutable chainId;

    struct WithdrawMsg {
        uint64 chainid; // tag: 1
        uint64 seqnum; // tag: 2
        address receiver; // tag: 3
        address token; // tag: 4
        uint256 amount; // tag: 5
        bytes32 refid; // tag: 6
    }

    /**
    @notice Constructor sets the router address and registry address.
    @dev Celer Bridge address is constant. so no setter function required.
    */
    constructor(ICBridge _router, address _registry) ImplBase(_registry) {
        router = _router;
        chainId = uint64(block.chainid);
    }

    /**
    @notice function responsible for calling cross chain transfer using celer bridge.
    @dev the token to be passed on to the celer bridge.
    @param _amount amount to be sent.
    @param _from sender address. 
    @param _receiverAddress receivers address.
    @param _token this is the main token address on the source chain. 
    @param _toChainId destination chain Id
    @param _data data contains nonce and the maxSlippage.
    */
    function outboundTransferTo(
        uint256 _amount,
        address _from,
        address _receiverAddress,
        address _token,
        uint256 _toChainId,
        bytes memory _data
    ) external payable override onlyRegistry nonReentrant {
        (uint64 nonce, uint32 maxSlippage) = abi.decode(
            _data,
            (uint64, uint32)
        );
        bytes32 transferId = keccak256(
            abi.encodePacked(
                address(this),
                _receiverAddress,
                _token,
                _amount,
                uint64(_toChainId),
                nonce,
                chainId
            )
        );
        require(
            transferIdAdrressMap[transferId] == address(0),
            "Transfer Id already exist in map"
        );
        transferIdAdrressMap[transferId] = _from;
        if (_token == NATIVE_TOKEN_ADDRESS) {
            require(msg.value == _amount, MovrErrors.VALUE_NOT_EQUAL_TO_AMOUNT);
            router.sendNative{value: _amount}(
                _receiverAddress,
                _amount,
                uint64(_toChainId),
                nonce,
                maxSlippage
            );
        } else {
            require(msg.value == 0, MovrErrors.VALUE_SHOULD_BE_ZERO);
            IERC20(_token).safeTransferFrom(_from, address(this), _amount);
            IERC20(_token).safeIncreaseAllowance(address(router), _amount);
            router.send(
                _receiverAddress,
                _token,
                _amount,
                uint64(_toChainId),
                nonce,
                maxSlippage
            );
        }
    }

    function refundCelerUser(
        bytes calldata _request,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external payable nonReentrant {
        WithdrawMsg memory request = decWithdrawMsg(_request);
        bytes32 transferId = keccak256(
            abi.encodePacked(
                request.chainid,
                request.seqnum,
                request.receiver,
                request.token,
                request.amount
            )
        );

        if (!router.withdraws(transferId)) {
            router.withdraw(_request, _sigs, _signers, _powers);
        }
        require(request.receiver == address(this), "Invalid refund");
        address _receiver = transferIdAdrressMap[request.refid];
        delete transferIdAdrressMap[request.refid];
        require(
            _receiver != address(0),
            "Unknown transfer id or already refunded"
        );
        IERC20(request.token).safeTransfer(_receiver, request.amount);
    }

    function decWithdrawMsg(bytes memory raw)
        internal
        pure
        returns (WithdrawMsg memory m)
    {
        Pb.Buffer memory buf = Pb.fromBytes(raw);

        uint256 tag;
        Pb.WireType wire;
        while (buf.hasMore()) {
            (tag, wire) = buf.decKey();
            if (false) {}
            // solidity has no switch/case
            else if (tag == 1) {
                m.chainid = uint64(buf.decVarint());
            } else if (tag == 2) {
                m.seqnum = uint64(buf.decVarint());
            } else if (tag == 3) {
                m.receiver = Pb._address(buf.decBytes());
            } else if (tag == 4) {
                m.token = Pb._address(buf.decBytes());
            } else if (tag == 5) {
                m.amount = Pb._uint256(buf.decBytes());
            } else if (tag == 6) {
                m.refid = Pb._bytes32(buf.decBytes());
            } else {
                buf.skipValue(wire);
            } // skip value of unknown tag
        }
    } // end decoder WithdrawMsg
}

File 2 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 3 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 4 of 11 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 5 of 11 : errors.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;

library MovrErrors {
    string internal constant ADDRESS_0_PROVIDED = "ADDRESS_0_PROVIDED";
    string internal constant EMPTY_INPUT = "EMPTY_INPUT";
    string internal constant LENGTH_MISMATCH = "LENGTH_MISMATCH";
    string internal constant INVALID_VALUE = "INVALID_VALUE";
    string internal constant INVALID_AMT = "INVALID_AMT";

    string internal constant IMPL_NOT_FOUND = "IMPL_NOT_FOUND";
    string internal constant ROUTE_NOT_FOUND = "ROUTE_NOT_FOUND";
    string internal constant IMPL_NOT_ALLOWED = "IMPL_NOT_ALLOWED";
    string internal constant ROUTE_NOT_ALLOWED = "ROUTE_NOT_ALLOWED";
    string internal constant INVALID_CHAIN_DATA = "INVALID_CHAIN_DATA";
    string internal constant CHAIN_NOT_SUPPORTED = "CHAIN_NOT_SUPPORTED";
    string internal constant TOKEN_NOT_SUPPORTED = "TOKEN_NOT_SUPPORTED";
    string internal constant NOT_IMPLEMENTED = "NOT_IMPLEMENTED";
    string internal constant INVALID_SENDER = "INVALID_SENDER";
    string internal constant INVALID_BRIDGE_ID = "INVALID_BRIDGE_ID";
    string internal constant MIDDLEWARE_ACTION_FAILED =
        "MIDDLEWARE_ACTION_FAILED";
    string internal constant VALUE_SHOULD_BE_ZERO = "VALUE_SHOULD_BE_ZERO";
    string internal constant VALUE_SHOULD_NOT_BE_ZERO = "VALUE_SHOULD_NOT_BE_ZERO";
    string internal constant VALUE_NOT_ENOUGH = "VALUE_NOT_ENOUGH";
    string internal constant VALUE_NOT_EQUAL_TO_AMOUNT = "VALUE_NOT_EQUAL_TO_AMOUNT";
}

File 6 of 11 : ImplBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./helpers/errors.sol";

/**
@title Abstract Implementation Contract.
@notice All Bridge Implementation will follow this interface. 
*/
abstract contract ImplBase is Ownable {
    using SafeERC20 for IERC20;
    address public registry;
    address public constant NATIVE_TOKEN_ADDRESS =
        address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
    event UpdateRegistryAddress(address indexed registryAddress);

    constructor(address _registry) Ownable() {
        registry = _registry;
    }

    modifier onlyRegistry() {
        require(msg.sender == registry, MovrErrors.INVALID_SENDER);
        _;
    }

    function updateRegistryAddress(address newRegistry) external onlyOwner {
        registry = newRegistry;
        emit UpdateRegistryAddress(newRegistry);
    }

    function rescueFunds(
        address token,
        address userAddress,
        uint256 amount
    ) external onlyOwner {
        IERC20(token).safeTransfer(userAddress, amount);
    }

    function outboundTransferTo(
        uint256 _amount,
        address _from,
        address _receiverAddress,
        address _token,
        uint256 _toChainId,
        bytes memory _extraData
    ) external payable virtual;
}

File 7 of 11 : cbridge.sol
// SPDX-License-Identifier: Apache-2.0
pragma solidity >=0.8.0;

interface ICBridge {
    function send(
        address _receiver,
        address _token,
        uint256 _amount,
        uint64 _dstChinId,
        uint64 _nonce,
        uint32 _maxSlippage
    ) external;

    function sendNative(
        address _receiver,
        uint256 _amount,
        uint64 _dstChinId,
        uint64 _nonce,
        uint32 _maxSlippage
    ) external payable;

    function withdraws(bytes32 withdrawId) external view returns (bool);

    function withdraw(
        bytes calldata _wdmsg,
        bytes[] calldata _sigs,
        address[] calldata _signers,
        uint256[] calldata _powers
    ) external;
}

File 8 of 11 : Pb.sol
// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.4;

// runtime proto sol library
library Pb {
    enum WireType {
        Varint,
        Fixed64,
        LengthDelim,
        StartGroup,
        EndGroup,
        Fixed32
    }

    struct Buffer {
        uint256 idx; // the start index of next read. when idx=b.length, we're done
        bytes b; // hold serialized proto msg, readonly
    }

    // create a new in-memory Buffer object from raw msg bytes
    function fromBytes(bytes memory raw)
        internal
        pure
        returns (Buffer memory buf)
    {
        buf.b = raw;
        buf.idx = 0;
    }

    // whether there are unread bytes
    function hasMore(Buffer memory buf) internal pure returns (bool) {
        return buf.idx < buf.b.length;
    }

    // decode current field number and wiretype
    function decKey(Buffer memory buf)
        internal
        pure
        returns (uint256 tag, WireType wiretype)
    {
        uint256 v = decVarint(buf);
        tag = v / 8;
        wiretype = WireType(v & 7);
    }

    // count tag occurrences, return an array due to no memory map support
    // have to create array for (maxtag+1) size. cnts[tag] = occurrences
    // should keep buf.idx unchanged because this is only a count function
    function cntTags(Buffer memory buf, uint256 maxtag)
        internal
        pure
        returns (uint256[] memory cnts)
    {
        uint256 originalIdx = buf.idx;
        cnts = new uint256[](maxtag + 1); // protobuf's tags are from 1 rather than 0
        uint256 tag;
        WireType wire;
        while (hasMore(buf)) {
            (tag, wire) = decKey(buf);
            cnts[tag] += 1;
            skipValue(buf, wire);
        }
        buf.idx = originalIdx;
    }

    // read varint from current buf idx, move buf.idx to next read, return the int value
    function decVarint(Buffer memory buf) internal pure returns (uint256 v) {
        bytes10 tmp; // proto int is at most 10 bytes (7 bits can be used per byte)
        bytes memory bb = buf.b; // get buf.b mem addr to use in assembly
        v = buf.idx; // use v to save one additional uint variable
        assembly {
            tmp := mload(add(add(bb, 32), v)) // load 10 bytes from buf.b[buf.idx] to tmp
        }
        uint256 b; // store current byte content
        v = 0; // reset to 0 for return value
        for (uint256 i = 0; i < 10; i++) {
            assembly {
                b := byte(i, tmp) // don't use tmp[i] because it does bound check and costs extra
            }
            v |= (b & 0x7F) << (i * 7);
            if (b & 0x80 == 0) {
                buf.idx += i + 1;
                return v;
            }
        }
        revert(); // i=10, invalid varint stream
    }

    // read length delimited field and return bytes
    function decBytes(Buffer memory buf)
        internal
        pure
        returns (bytes memory b)
    {
        uint256 len = decVarint(buf);
        uint256 end = buf.idx + len;
        require(end <= buf.b.length); // avoid overflow
        b = new bytes(len);
        bytes memory bufB = buf.b; // get buf.b mem addr to use in assembly
        uint256 bStart;
        uint256 bufBStart = buf.idx;
        assembly {
            bStart := add(b, 32)
            bufBStart := add(add(bufB, 32), bufBStart)
        }
        for (uint256 i = 0; i < len; i += 32) {
            assembly {
                mstore(add(bStart, i), mload(add(bufBStart, i)))
            }
        }
        buf.idx = end;
    }

    // return packed ints
    function decPacked(Buffer memory buf)
        internal
        pure
        returns (uint256[] memory t)
    {
        uint256 len = decVarint(buf);
        uint256 end = buf.idx + len;
        require(end <= buf.b.length); // avoid overflow
        // array in memory must be init w/ known length
        // so we have to create a tmp array w/ max possible len first
        uint256[] memory tmp = new uint256[](len);
        uint256 i = 0; // count how many ints are there
        while (buf.idx < end) {
            tmp[i] = decVarint(buf);
            i++;
        }
        t = new uint256[](i); // init t with correct length
        for (uint256 j = 0; j < i; j++) {
            t[j] = tmp[j];
        }
        return t;
    }

    // move idx pass current value field, to beginning of next tag or msg end
    function skipValue(Buffer memory buf, WireType wire) internal pure {
        if (wire == WireType.Varint) {
            decVarint(buf);
        } else if (wire == WireType.LengthDelim) {
            uint256 len = decVarint(buf);
            buf.idx += len; // skip len bytes value data
            require(buf.idx <= buf.b.length); // avoid overflow
        } else {
            revert();
        } // unsupported wiretype
    }

    // type conversion help utils
    function _bool(uint256 x) internal pure returns (bool v) {
        return x != 0;
    }

    function _uint256(bytes memory b) internal pure returns (uint256 v) {
        require(b.length <= 32); // b's length must be smaller than or equal to 32
        assembly {
            v := mload(add(b, 32))
        } // load all 32bytes to v
        v = v >> (8 * (32 - b.length)); // only first b.length is valid
    }

    function _address(bytes memory b) internal pure returns (address v) {
        v = _addressPayable(b);
    }

    function _addressPayable(bytes memory b)
        internal
        pure
        returns (address payable v)
    {
        require(b.length == 20);
        //load 32bytes then shift right 12 bytes
        assembly {
            v := div(mload(add(b, 32)), 0x1000000000000000000000000)
        }
    }

    function _bytes32(bytes memory b) internal pure returns (bytes32 v) {
        require(b.length == 32);
        assembly {
            v := mload(add(b, 32))
        }
    }

    // uint[] to uint8[]
    function uint8s(uint256[] memory arr)
        internal
        pure
        returns (uint8[] memory t)
    {
        t = new uint8[](arr.length);
        for (uint256 i = 0; i < t.length; i++) {
            t[i] = uint8(arr[i]);
        }
    }

    function uint32s(uint256[] memory arr)
        internal
        pure
        returns (uint32[] memory t)
    {
        t = new uint32[](arr.length);
        for (uint256 i = 0; i < t.length; i++) {
            t[i] = uint32(arr[i]);
        }
    }

    function uint64s(uint256[] memory arr)
        internal
        pure
        returns (uint64[] memory t)
    {
        t = new uint64[](arr.length);
        for (uint256 i = 0; i < t.length; i++) {
            t[i] = uint64(arr[i]);
        }
    }

    function bools(uint256[] memory arr)
        internal
        pure
        returns (bool[] memory t)
    {
        t = new bool[](arr.length);
        for (uint256 i = 0; i < t.length; i++) {
            t[i] = arr[i] != 0;
        }
    }
}

File 9 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 11 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "metadata": {
    "bytecodeHash": "none",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 800
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract ICBridge","name":"_router","type":"address"},{"internalType":"address","name":"_registry","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"registryAddress","type":"address"}],"name":"UpdateRegistryAddress","type":"event"},{"inputs":[],"name":"NATIVE_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainId","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_receiverAddress","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_toChainId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"outboundTransferTo","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_request","type":"bytes"},{"internalType":"bytes[]","name":"_sigs","type":"bytes[]"},{"internalType":"address[]","name":"_signers","type":"address[]"},{"internalType":"uint256[]","name":"_powers","type":"uint256[]"}],"name":"refundCelerUser","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract ICBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"transferIdAdrressMap","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRegistry","type":"address"}],"name":"updateRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b5060405162001d3438038062001d348339810160408190526200003491620000db565b8062000040336200008b565b600180546001600160a01b0319166001600160a01b03929092169190911781556002555060601b6001600160601b0319166080524660c01b6001600160c01b03191660a05262000132565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008060408385031215620000ee578182fd5b8251620000fb8162000119565b60208401519092506200010e8162000119565b809150509250929050565b6001600160a01b03811681146200012f57600080fd5b50565b60805160601c60a05160c01c611bac620001886000396000818161018301526103e7015260008181610281015281816105800152818161065b015281816106d201528181610a0e0152610aab0152611bac6000f3fe6080604052600436106100c75760003560e01c8063c57a882511610074578063f2fde38b1161004e578063f2fde38b14610219578063f448432914610239578063f887ea401461026f57600080fd5b8063c57a8825146101be578063c5ab4db3146101de578063df2ebdbb146101f157600080fd5b80637b103999116100a55780637b103999146101165780638da5cb5b146101535780639a8a05921461017157600080fd5b8063022490c8146100cc5780636ccae054146100e1578063715018a614610101575b600080fd5b6100df6100da366004611798565b6102a3565b005b3480156100ed57600080fd5b506100df6100fc366004611626565b61073f565b34801561010d57600080fd5b506100df6107b2565b34801561012257600080fd5b50600154610136906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561015f57600080fd5b506000546001600160a01b0316610136565b34801561017d57600080fd5b506101a57f000000000000000000000000000000000000000000000000000000000000000081565b60405167ffffffffffffffff909116815260200161014a565b3480156101ca57600080fd5b506100df6101d936600461160c565b610818565b6100df6101ec366004611699565b6108bc565b3480156101fd57600080fd5b5061013673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b34801561022557600080fd5b506100df61023436600461160c565b610c5b565b34801561024557600080fd5b50610136610254366004611681565b6003602052600090815260409020546001600160a01b031681565b34801561027b57600080fd5b506101367f000000000000000000000000000000000000000000000000000000000000000081565b60015460408051808201909152600e81527f494e56414c49445f53454e4445520000000000000000000000000000000000006020820152906001600160a01b0316331461030c5760405162461bcd60e51b81526004016103039190611a8b565b60405180910390fd5b5060028054141561035f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610303565b600280819055506000808280602001905181019061037d9190611888565b6040516bffffffffffffffffffffffff1930606090811b821660208401528a811b8216603484015289901b166048820152605c81018b905277ffffffffffffffffffffffffffffffffffffffffffffffff1960c088811b8216607c84015284811b821660848401527f0000000000000000000000000000000000000000000000000000000000000000901b16608c820152919350915060009060940160408051601f198184030181529181528151602092830120600081815260039093529120549091506001600160a01b0316156104975760405162461bcd60e51b815260206004820181905260248201527f5472616e7366657220496420616c726561647920657869737420696e206d61706044820152606401610303565b600081815260036020526040902080546001600160a01b0319166001600160a01b038a81169190911790915573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90871614156105e35760408051808201909152601981527f56414c55455f4e4f545f455155414c5f544f5f414d4f554e54000000000000006020820152348a146105355760405162461bcd60e51b81526004016103039190611a8b565b50604051633f2e5fc360e01b81526001600160a01b038881166004830152602482018b905267ffffffffffffffff80881660448401528516606483015263ffffffff841660848301527f00000000000000000000000000000000000000000000000000000000000000001690633f2e5fc3908b9060a4016000604051808303818588803b1580156105c557600080fd5b505af11580156105d9573d6000803e3d6000fd5b505050505061072f565b60408051808201909152601481527f56414c55455f53484f554c445f42455f5a45524f000000000000000000000000602082015234156106365760405162461bcd60e51b81526004016103039190611a8b565b5061064c6001600160a01b03871689308c610d3d565b6106806001600160a01b0387167f00000000000000000000000000000000000000000000000000000000000000008b610ddb565b60405163a5977fbb60e01b81526001600160a01b0388811660048301528781166024830152604482018b905267ffffffffffffffff80881660648401528516608483015263ffffffff841660a48301527f0000000000000000000000000000000000000000000000000000000000000000169063a5977fbb9060c401600060405180830381600087803b15801561071657600080fd5b505af115801561072a573d6000803e3d6000fd5b505050505b5050600160025550505050505050565b6000546001600160a01b031633146107995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6107ad6001600160a01b0384168383610e9c565b505050565b6000546001600160a01b0316331461080c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6108166000610ecc565b565b6000546001600160a01b031633146108725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fab1d989cb101ab9394f5e690844e769db62bd90dea8786bcd2cb53b1fe7d0e1090600090a250565b60028054141561090e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610303565b60028081905550600061095689898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610f1c92505050565b90506000816000015182602001518360400151846060015185608001516040516020016109e095949392919060c095861b77ffffffffffffffffffffffffffffffffffffffffffffffff1990811682529490951b9093166008850152606091821b6bffffffffffffffffffffffff199081166010860152911b166024830152603882015260580190565b60408051808303601f19018152908290528051602090910120631c13568560e31b82526004820181905291507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e09ab4289060240160206040518083038186803b158015610a5857600080fd5b505afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a909190611661565b610b2157604051630144352560e71b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a21a928090610aee908d908d908d908d908d908d908d908d906004016119ad565b600060405180830381600087803b158015610b0857600080fd5b505af1158015610b1c573d6000803e3d6000fd5b505050505b60408201516001600160a01b03163014610b7d5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420726566756e640000000000000000000000000000000000006044820152606401610303565b60a0820180516000908152600360205260408082205492518252902080546001600160a01b03191690556001600160a01b031680610c235760405162461bcd60e51b815260206004820152602760248201527f556e6b6e6f776e207472616e73666572206964206f7220616c7265616479207260448201527f6566756e646564000000000000000000000000000000000000000000000000006064820152608401610303565b610c4981846080015185606001516001600160a01b0316610e9c9092919063ffffffff16565b50506001600255505050505050505050565b6000546001600160a01b03163314610cb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6001600160a01b038116610d315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610303565b610d3a81610ecc565b50565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd59085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261107c565b50505050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b158015610e2757600080fd5b505afa158015610e3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5f9190611780565b610e699190611abe565b6040516001600160a01b038516602482015260448101829052909150610dd590859063095ea7b360e01b90606401610d71565b6040516001600160a01b0383166024820152604481018290526107ad90849063a9059cbb60e01b90606401610d71565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b6020830151518351101561107457610f7a83611161565b90925090508160011415610fa257610f91836111a9565b67ffffffffffffffff168452610f63565b8160021415610fc857610fb4836111a9565b67ffffffffffffffff166020850152610f63565b8160031415610ff557610fe2610fdd8461122b565b6112f6565b6001600160a01b03166040850152610f63565b816004141561101d5761100a610fdd8461122b565b6001600160a01b03166060850152610f63565b8160051415611041576110376110328461122b565b611307565b6080850152610f63565b81600614156110655761105b6110568461122b565b61133e565b60a0850152610f63565b61106f8382611356565b610f63565b505050919050565b60006110d1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113e49092919063ffffffff16565b8051909150156107ad57808060200190518101906110ef9190611661565b6107ad5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610303565b600080600061116f846111a9565b905061117c600882611ad6565b92508060071660058111156111a157634e487b7160e01b600052602160045260246000fd5b915050915091565b602080820151825181019091015160009182805b600a8110156112255783811a91506111d6816007611af6565b82607f16901b851794508160801660001415611213576111f7816001611abe565b86518790611206908390611abe565b9052509395945050505050565b8061121d81611b58565b9150506111bd565b50600080fd5b60606000611238836111a9565b9050600081846000015161124c9190611abe565b905083602001515181111561126057600080fd5b8167ffffffffffffffff81111561128757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112b1576020820181803683370190505b50602080860151865192955091818601919083010160005b858110156112eb5781810151838201526112e4602082611abe565b90506112c9565b505050935250919050565b6000611301826113fd565b92915050565b600060208251111561131857600080fd5b602082015190508151602061132d9190611b15565b611338906008611af6565b1c919050565b6000815160201461134e57600080fd5b506020015190565b600081600581111561137857634e487b7160e01b600052602160045260246000fd5b1415611387576107ad826111a9565b60028160058111156113a957634e487b7160e01b600052602160045260246000fd5b14156100c75760006113ba836111a9565b905080836000018181516113ce9190611abe565b905250602083015151835111156107ad57600080fd5b60606113f38484600085611425565b90505b9392505050565b6000815160141461140d57600080fd5b50602001516c01000000000000000000000000900490565b60608247101561149d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610303565b6001600160a01b0385163b6114f45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610303565b600080866001600160a01b031685876040516115109190611991565b60006040518083038185875af1925050503d806000811461154d576040519150601f19603f3d011682016040523d82523d6000602084013e611552565b606091505b509150915061156282828661156d565b979650505050505050565b6060831561157c5750816113f6565b82511561158c5782518084602001fd5b8160405162461bcd60e51b81526004016103039190611a8b565b80356001600160a01b03811681146115bd57600080fd5b919050565b60008083601f8401126115d3578081fd5b50813567ffffffffffffffff8111156115ea578182fd5b6020830191508360208260051b850101111561160557600080fd5b9250929050565b60006020828403121561161d578081fd5b6113f6826115a6565b60008060006060848603121561163a578182fd5b611643846115a6565b9250611651602085016115a6565b9150604084013590509250925092565b600060208284031215611672578081fd5b815180151581146113f6578182fd5b600060208284031215611692578081fd5b5035919050565b6000806000806000806000806080898b0312156116b4578384fd5b883567ffffffffffffffff808211156116cb578586fd5b818b0191508b601f8301126116de578586fd5b8135818111156116ec578687fd5b8c60208285010111156116fd578687fd5b60209283019a509850908a01359080821115611717578586fd5b6117238c838d016115c2565b909850965060408b013591508082111561173b578586fd5b6117478c838d016115c2565b909650945060608b013591508082111561175f578384fd5b5061176c8b828c016115c2565b999c989b5096995094979396929594505050565b600060208284031215611791578081fd5b5051919050565b60008060008060008060c087890312156117b0578182fd5b863595506117c0602088016115a6565b94506117ce604088016115a6565b93506117dc606088016115a6565b92506080870135915060a087013567ffffffffffffffff808211156117ff578283fd5b818901915089601f830112611812578283fd5b81358181111561182457611824611b89565b604051601f8201601f19908116603f0116810190838211818310171561184c5761184c611b89565b816040528281528c6020848701011115611864578586fd5b82602086016020830137856020848301015280955050505050509295509295509295565b6000806040838503121561189a578182fd5b825167ffffffffffffffff811681146118b1578283fd5b602084015190925063ffffffff811681146118ca578182fd5b809150509250929050565b81835260006020808501945082825b85811015611910576001600160a01b036118fd836115a6565b16875295820195908201906001016118e4565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561194c578081fd5b8260051b80836020870137939093016020019283525090919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600082516119a3818460208701611b2c565b9190910192915050565b6080815260006119c1608083018a8c611968565b82810360208401528088825260208201905060208960051b8301018a845b8b811015611a5057848303601f190184528135368e9003601e19018112611a04578687fd5b8d01803567ffffffffffffffff811115611a1c578788fd5b8036038f1315611a2a578788fd5b611a38858260208501611968565b602096870196909550939093019250506001016119df565b50508481036040860152611a6581898b6118d5565b925050508281036060840152611a7c81858761191b565b9b9a5050505050505050505050565b6020815260008251806020840152611aaa816040850160208701611b2c565b601f01601f19169190910160400192915050565b60008219821115611ad157611ad1611b73565b500190565b600082611af157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611b1057611b10611b73565b500290565b600082821015611b2757611b27611b73565b500390565b60005b83811015611b47578181015183820152602001611b2f565b83811115610dd55750506000910152565b6000600019821415611b6c57611b6c611b73565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea164736f6c6343000804000a0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820000000000000000000000000c30141b657f4216252dc59af2e7cdb9d8792e1b0

Deployed Bytecode

0x6080604052600436106100c75760003560e01c8063c57a882511610074578063f2fde38b1161004e578063f2fde38b14610219578063f448432914610239578063f887ea401461026f57600080fd5b8063c57a8825146101be578063c5ab4db3146101de578063df2ebdbb146101f157600080fd5b80637b103999116100a55780637b103999146101165780638da5cb5b146101535780639a8a05921461017157600080fd5b8063022490c8146100cc5780636ccae054146100e1578063715018a614610101575b600080fd5b6100df6100da366004611798565b6102a3565b005b3480156100ed57600080fd5b506100df6100fc366004611626565b61073f565b34801561010d57600080fd5b506100df6107b2565b34801561012257600080fd5b50600154610136906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561015f57600080fd5b506000546001600160a01b0316610136565b34801561017d57600080fd5b506101a57f000000000000000000000000000000000000000000000000000000000000000181565b60405167ffffffffffffffff909116815260200161014a565b3480156101ca57600080fd5b506100df6101d936600461160c565b610818565b6100df6101ec366004611699565b6108bc565b3480156101fd57600080fd5b5061013673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b34801561022557600080fd5b506100df61023436600461160c565b610c5b565b34801561024557600080fd5b50610136610254366004611681565b6003602052600090815260409020546001600160a01b031681565b34801561027b57600080fd5b506101367f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da182081565b60015460408051808201909152600e81527f494e56414c49445f53454e4445520000000000000000000000000000000000006020820152906001600160a01b0316331461030c5760405162461bcd60e51b81526004016103039190611a8b565b60405180910390fd5b5060028054141561035f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610303565b600280819055506000808280602001905181019061037d9190611888565b6040516bffffffffffffffffffffffff1930606090811b821660208401528a811b8216603484015289901b166048820152605c81018b905277ffffffffffffffffffffffffffffffffffffffffffffffff1960c088811b8216607c84015284811b821660848401527f0000000000000000000000000000000000000000000000000000000000000001901b16608c820152919350915060009060940160408051601f198184030181529181528151602092830120600081815260039093529120549091506001600160a01b0316156104975760405162461bcd60e51b815260206004820181905260248201527f5472616e7366657220496420616c726561647920657869737420696e206d61706044820152606401610303565b600081815260036020526040902080546001600160a01b0319166001600160a01b038a81169190911790915573eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee90871614156105e35760408051808201909152601981527f56414c55455f4e4f545f455155414c5f544f5f414d4f554e54000000000000006020820152348a146105355760405162461bcd60e51b81526004016103039190611a8b565b50604051633f2e5fc360e01b81526001600160a01b038881166004830152602482018b905267ffffffffffffffff80881660448401528516606483015263ffffffff841660848301527f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da18201690633f2e5fc3908b9060a4016000604051808303818588803b1580156105c557600080fd5b505af11580156105d9573d6000803e3d6000fd5b505050505061072f565b60408051808201909152601481527f56414c55455f53484f554c445f42455f5a45524f000000000000000000000000602082015234156106365760405162461bcd60e51b81526004016103039190611a8b565b5061064c6001600160a01b03871689308c610d3d565b6106806001600160a01b0387167f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da18208b610ddb565b60405163a5977fbb60e01b81526001600160a01b0388811660048301528781166024830152604482018b905267ffffffffffffffff80881660648401528516608483015263ffffffff841660a48301527f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820169063a5977fbb9060c401600060405180830381600087803b15801561071657600080fd5b505af115801561072a573d6000803e3d6000fd5b505050505b5050600160025550505050505050565b6000546001600160a01b031633146107995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6107ad6001600160a01b0384168383610e9c565b505050565b6000546001600160a01b0316331461080c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6108166000610ecc565b565b6000546001600160a01b031633146108725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fab1d989cb101ab9394f5e690844e769db62bd90dea8786bcd2cb53b1fe7d0e1090600090a250565b60028054141561090e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610303565b60028081905550600061095689898080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610f1c92505050565b90506000816000015182602001518360400151846060015185608001516040516020016109e095949392919060c095861b77ffffffffffffffffffffffffffffffffffffffffffffffff1990811682529490951b9093166008850152606091821b6bffffffffffffffffffffffff199081166010860152911b166024830152603882015260580190565b60408051808303601f19018152908290528051602090910120631c13568560e31b82526004820181905291507f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da18206001600160a01b03169063e09ab4289060240160206040518083038186803b158015610a5857600080fd5b505afa158015610a6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a909190611661565b610b2157604051630144352560e71b81526001600160a01b037f0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820169063a21a928090610aee908d908d908d908d908d908d908d908d906004016119ad565b600060405180830381600087803b158015610b0857600080fd5b505af1158015610b1c573d6000803e3d6000fd5b505050505b60408201516001600160a01b03163014610b7d5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c696420726566756e640000000000000000000000000000000000006044820152606401610303565b60a0820180516000908152600360205260408082205492518252902080546001600160a01b03191690556001600160a01b031680610c235760405162461bcd60e51b815260206004820152602760248201527f556e6b6e6f776e207472616e73666572206964206f7220616c7265616479207260448201527f6566756e646564000000000000000000000000000000000000000000000000006064820152608401610303565b610c4981846080015185606001516001600160a01b0316610e9c9092919063ffffffff16565b50506001600255505050505050505050565b6000546001600160a01b03163314610cb55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610303565b6001600160a01b038116610d315760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610303565b610d3a81610ecc565b50565b6040516001600160a01b0380851660248301528316604482015260648101829052610dd59085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261107c565b50505050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b158015610e2757600080fd5b505afa158015610e3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5f9190611780565b610e699190611abe565b6040516001600160a01b038516602482015260448101829052909150610dd590859063095ea7b360e01b90606401610d71565b6040516001600160a01b0383166024820152604481018290526107ad90849063a9059cbb60e01b90606401610d71565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040805160c08101825260008082526020808301829052828401829052606083018290526080830182905260a0830182905283518085019094528184528301849052909190805b6020830151518351101561107457610f7a83611161565b90925090508160011415610fa257610f91836111a9565b67ffffffffffffffff168452610f63565b8160021415610fc857610fb4836111a9565b67ffffffffffffffff166020850152610f63565b8160031415610ff557610fe2610fdd8461122b565b6112f6565b6001600160a01b03166040850152610f63565b816004141561101d5761100a610fdd8461122b565b6001600160a01b03166060850152610f63565b8160051415611041576110376110328461122b565b611307565b6080850152610f63565b81600614156110655761105b6110568461122b565b61133e565b60a0850152610f63565b61106f8382611356565b610f63565b505050919050565b60006110d1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166113e49092919063ffffffff16565b8051909150156107ad57808060200190518101906110ef9190611661565b6107ad5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610303565b600080600061116f846111a9565b905061117c600882611ad6565b92508060071660058111156111a157634e487b7160e01b600052602160045260246000fd5b915050915091565b602080820151825181019091015160009182805b600a8110156112255783811a91506111d6816007611af6565b82607f16901b851794508160801660001415611213576111f7816001611abe565b86518790611206908390611abe565b9052509395945050505050565b8061121d81611b58565b9150506111bd565b50600080fd5b60606000611238836111a9565b9050600081846000015161124c9190611abe565b905083602001515181111561126057600080fd5b8167ffffffffffffffff81111561128757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156112b1576020820181803683370190505b50602080860151865192955091818601919083010160005b858110156112eb5781810151838201526112e4602082611abe565b90506112c9565b505050935250919050565b6000611301826113fd565b92915050565b600060208251111561131857600080fd5b602082015190508151602061132d9190611b15565b611338906008611af6565b1c919050565b6000815160201461134e57600080fd5b506020015190565b600081600581111561137857634e487b7160e01b600052602160045260246000fd5b1415611387576107ad826111a9565b60028160058111156113a957634e487b7160e01b600052602160045260246000fd5b14156100c75760006113ba836111a9565b905080836000018181516113ce9190611abe565b905250602083015151835111156107ad57600080fd5b60606113f38484600085611425565b90505b9392505050565b6000815160141461140d57600080fd5b50602001516c01000000000000000000000000900490565b60608247101561149d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610303565b6001600160a01b0385163b6114f45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610303565b600080866001600160a01b031685876040516115109190611991565b60006040518083038185875af1925050503d806000811461154d576040519150601f19603f3d011682016040523d82523d6000602084013e611552565b606091505b509150915061156282828661156d565b979650505050505050565b6060831561157c5750816113f6565b82511561158c5782518084602001fd5b8160405162461bcd60e51b81526004016103039190611a8b565b80356001600160a01b03811681146115bd57600080fd5b919050565b60008083601f8401126115d3578081fd5b50813567ffffffffffffffff8111156115ea578182fd5b6020830191508360208260051b850101111561160557600080fd5b9250929050565b60006020828403121561161d578081fd5b6113f6826115a6565b60008060006060848603121561163a578182fd5b611643846115a6565b9250611651602085016115a6565b9150604084013590509250925092565b600060208284031215611672578081fd5b815180151581146113f6578182fd5b600060208284031215611692578081fd5b5035919050565b6000806000806000806000806080898b0312156116b4578384fd5b883567ffffffffffffffff808211156116cb578586fd5b818b0191508b601f8301126116de578586fd5b8135818111156116ec578687fd5b8c60208285010111156116fd578687fd5b60209283019a509850908a01359080821115611717578586fd5b6117238c838d016115c2565b909850965060408b013591508082111561173b578586fd5b6117478c838d016115c2565b909650945060608b013591508082111561175f578384fd5b5061176c8b828c016115c2565b999c989b5096995094979396929594505050565b600060208284031215611791578081fd5b5051919050565b60008060008060008060c087890312156117b0578182fd5b863595506117c0602088016115a6565b94506117ce604088016115a6565b93506117dc606088016115a6565b92506080870135915060a087013567ffffffffffffffff808211156117ff578283fd5b818901915089601f830112611812578283fd5b81358181111561182457611824611b89565b604051601f8201601f19908116603f0116810190838211818310171561184c5761184c611b89565b816040528281528c6020848701011115611864578586fd5b82602086016020830137856020848301015280955050505050509295509295509295565b6000806040838503121561189a578182fd5b825167ffffffffffffffff811681146118b1578283fd5b602084015190925063ffffffff811681146118ca578182fd5b809150509250929050565b81835260006020808501945082825b85811015611910576001600160a01b036118fd836115a6565b16875295820195908201906001016118e4565b509495945050505050565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561194c578081fd5b8260051b80836020870137939093016020019283525090919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b600082516119a3818460208701611b2c565b9190910192915050565b6080815260006119c1608083018a8c611968565b82810360208401528088825260208201905060208960051b8301018a845b8b811015611a5057848303601f190184528135368e9003601e19018112611a04578687fd5b8d01803567ffffffffffffffff811115611a1c578788fd5b8036038f1315611a2a578788fd5b611a38858260208501611968565b602096870196909550939093019250506001016119df565b50508481036040860152611a6581898b6118d5565b925050508281036060840152611a7c81858761191b565b9b9a5050505050505050505050565b6020815260008251806020840152611aaa816040850160208701611b2c565b601f01601f19169190910160400192915050565b60008219821115611ad157611ad1611b73565b500190565b600082611af157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611b1057611b10611b73565b500290565b600082821015611b2757611b27611b73565b500390565b60005b83811015611b47578181015183820152602001611b2f565b83811115610dd55750506000910152565b6000600019821415611b6c57611b6c611b73565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea164736f6c6343000804000a

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820000000000000000000000000c30141b657f4216252dc59af2e7cdb9d8792e1b0

-----Decoded View---------------
Arg [0] : _router (address): 0x5427FEFA711Eff984124bFBB1AB6fbf5E3DA1820
Arg [1] : _registry (address): 0xc30141B657f4216252dc59Af2e7CdB9D8792e1B0

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005427fefa711eff984124bfbb1ab6fbf5e3da1820
Arg [1] : 000000000000000000000000c30141b657f4216252dc59af2e7cdb9d8792e1b0


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.