ETH Price: $2,039.89 (+0.68%)

Contract

0x76affB7e75D59b7D816C19a5E5ad6F75A66eBE54
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Bridge Token161469042022-12-09 11:40:231187 days ago1670586023IN
0x76affB7e...5A66eBE54
0.0007875 ETH0.0030910715.42214206
Bridge Token161265722022-12-06 15:12:591190 days ago1670339579IN
0x76affB7e...5A66eBE54
0.001 ETH0.0035621917.17575415
Bridge Token161210182022-12-05 20:37:591190 days ago1670272679IN
0x76affB7e...5A66eBE54
0.001 ETH0.0024382512.03571762
Set Min Dst Gas ...160978752022-12-02 14:59:351194 days ago1669993175IN
0x76affB7e...5A66eBE54
0 ETH0.0007846125.33791857
Bridge Token160234632022-11-22 5:28:351204 days ago1669094915IN
0x76affB7e...5A66eBE54
0.001 ETH0.0022130510.92409748
Set Min Dst Gas ...160234272022-11-22 5:21:231204 days ago1669094483IN
0x76affB7e...5A66eBE54
0 ETH0.0003166610.2302841
Bridge Token160184792022-11-21 12:46:471205 days ago1669034807IN
0x76affB7e...5A66eBE54
0.001 ETH0.002264511.1809431
Set Min Dst Gas ...160184772022-11-21 12:46:231205 days ago1669034783IN
0x76affB7e...5A66eBE54
0 ETH0.000362411.7031872
Bridge Token160184282022-11-21 12:36:351205 days ago1669034195IN
0x76affB7e...5A66eBE54
0.001 ETH0.0021615610.42555203
Bridge Token160183552022-11-21 12:21:471205 days ago1669033307IN
0x76affB7e...5A66eBE54
0.001 ETH0.0021176710.21389944
Bridge Token160183492022-11-21 12:20:351205 days ago1669033235IN
0x76affB7e...5A66eBE54
0.001 ETH0.0022191110.70314505
Bridge Token160183202022-11-21 12:14:471205 days ago1669032887IN
0x76affB7e...5A66eBE54
0.001 ETH0.0022125910.67170432
Set Min Dst Gas ...160183132022-11-21 12:13:231205 days ago1669032803IN
0x76affB7e...5A66eBE54
0 ETH0.0002899510.29888203
Bridge Token160182522022-11-21 12:01:111205 days ago1669032071IN
0x76affB7e...5A66eBE54
0.001 ETH0.002412911.63780854
Bridge Token160182292022-11-21 11:56:351205 days ago1669031795IN
0x76affB7e...5A66eBE54
0.001 ETH0.002049289.88400952
Set Min Dst Gas ...160182262022-11-21 11:55:591205 days ago1669031759IN
0x76affB7e...5A66eBE54
0 ETH0.0003253610.51135872
Bridge Token160182022022-11-21 11:50:591205 days ago1669031459IN
0x76affB7e...5A66eBE54
0.001 ETH0.002119610.22320379
Set Min Dst Gas ...160181992022-11-21 11:50:231205 days ago1669031423IN
0x76affB7e...5A66eBE54
0 ETH0.0003553311.47506403
Set Min Dst Gas ...160181822022-11-21 11:46:591205 days ago1669031219IN
0x76affB7e...5A66eBE54
0 ETH0.0003414711.03181491
Set Min Dst Gas ...160181442022-11-21 11:39:111205 days ago1669030751IN
0x76affB7e...5A66eBE54
0 ETH0.0003580911.56419728
Bridge Token160180842022-11-21 11:27:111205 days ago1669030031IN
0x76affB7e...5A66eBE54
0.001 ETH0.002252610.8646591
Set Min Dst Gas ...160180812022-11-21 11:26:351205 days ago1669029995IN
0x76affB7e...5A66eBE54
0 ETH0.0003492911.28426524
Bridge Token160180492022-11-21 11:20:111205 days ago1669029611IN
0x76affB7e...5A66eBE54
0.001 ETH0.0031894915.38342104
Set Min Dst Gas ...160180462022-11-21 11:19:351205 days ago1669029575IN
0x76affB7e...5A66eBE54
0 ETH0.0003588411.58821838
Bridge Token160180152022-11-21 11:13:231205 days ago1669029203IN
0x76affB7e...5A66eBE54
0.001 ETH0.002212210.66982621
View all transactions

Latest 16 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Send161469042022-12-09 11:40:231187 days ago1670586023
0x76affB7e...5A66eBE54
0.0007875 ETH
Send161265722022-12-06 15:12:591190 days ago1670339579
0x76affB7e...5A66eBE54
0.001 ETH
Send161210182022-12-05 20:37:591190 days ago1670272679
0x76affB7e...5A66eBE54
0.001 ETH
Send160234632022-11-22 5:28:351204 days ago1669094915
0x76affB7e...5A66eBE54
0.001 ETH
Send160184792022-11-21 12:46:471205 days ago1669034807
0x76affB7e...5A66eBE54
0.001 ETH
Send160184282022-11-21 12:36:351205 days ago1669034195
0x76affB7e...5A66eBE54
0.001 ETH
Send160183552022-11-21 12:21:471205 days ago1669033307
0x76affB7e...5A66eBE54
0.001 ETH
Send160183492022-11-21 12:20:351205 days ago1669033235
0x76affB7e...5A66eBE54
0.001 ETH
Send160183202022-11-21 12:14:471205 days ago1669032887
0x76affB7e...5A66eBE54
0.001 ETH
Send160182522022-11-21 12:01:111205 days ago1669032071
0x76affB7e...5A66eBE54
0.001 ETH
Send160182292022-11-21 11:56:351205 days ago1669031795
0x76affB7e...5A66eBE54
0.001 ETH
Send160182022022-11-21 11:50:591205 days ago1669031459
0x76affB7e...5A66eBE54
0.001 ETH
Send160180842022-11-21 11:27:111205 days ago1669030031
0x76affB7e...5A66eBE54
0.001 ETH
Send160180492022-11-21 11:20:111205 days ago1669029611
0x76affB7e...5A66eBE54
0.001 ETH
Send160180152022-11-21 11:13:231205 days ago1669029203
0x76affB7e...5A66eBE54
0.001 ETH
Send160179322022-11-21 10:56:471205 days ago1669028207
0x76affB7e...5A66eBE54
0.001 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LzApp

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

import "@openzeppelin/contracts/security/Pausable.sol";
import "./types/BaseNonblockingLzApp.sol";
import "./interfaces/IToken.sol";

/// @title A LayerZero example sending a cross chain message from a source chain to a destination chain to increment a counter
contract LzApp is Pausable, BaseNonblockingLzApp {
    event SendToChain(address indexed _sender, uint16 indexed _dstChainId, address indexed _toAddress, uint _amount, uint64 _nonce);
    event Mint(bytes indexed _dstChainId, address indexed _toAddress, uint _amount, uint64 _nonce);
    IToken iToken;

    constructor(address _lzEndpoint, address _token) BaseNonblockingLzApp(_lzEndpoint) {
        iToken = IToken(_token);
    }

    function _nonblockingLzReceive(
        uint16,
        bytes memory _srcAddress,
        uint64 nonce,
        bytes memory _payload
    ) internal override {
        (address toAddress, uint256 amount) = abi.decode(_payload, (address, uint256));

        iToken.mint(toAddress, amount);
        emit Mint(_srcAddress, toAddress, amount, nonce);
    }

    function bridgeToken(uint16 _dstChainId, uint256 _amount) public payable whenNotPaused {
        iToken.burn(msg.sender, _amount);
        bytes memory payload = abi.encode(msg.sender, _amount);

        bytes memory adapterParams = abi.encodePacked(lzEndpoint.getSendVersion(address(this)), minDstGasLookup[_dstChainId]);

        (uint256 messageFee, ) = lzEndpoint.estimateFees(
            _dstChainId,
            address(this),
            payload,
            false,
            adapterParams
        );

        require(msg.value >= messageFee, "Must send enough value to cover messageFee");

        _lzSend(_dstChainId, payload, payable(msg.sender), address(0x0), adapterParams);

        uint64 nonce = lzEndpoint.getOutboundNonce(_dstChainId, address(this));
        emit SendToChain(msg.sender, _dstChainId, msg.sender, _amount, nonce);
    }

    // disable bridging token
    function enable(bool en) external {
        if (en) {
            _pause();
        } else {
            _unpause();
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// 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;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

import "./ILayerZeroUserApplicationConfig.sol";

interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {
    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.
    // @param _dstChainId - the destination chain identifier
    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains
    // @param _payload - a custom bytes payload to send to the destination contract
    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address
    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction
    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination
    function send(uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    // @notice used by the messaging library to publish verified payload
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source contract (as bytes) at the source chain
    // @param _dstAddress - the address on destination chain
    // @param _nonce - the unbound message ordering nonce
    // @param _gasLimit - the gas limit for external contract execution
    // @param _payload - verified payload to send to the destination contract
    function receivePayload(uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload) external;

    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);

    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM
    // @param _srcAddress - the source chain contract address
    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);

    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery
    // @param _dstChainId - the destination chain identifier
    // @param _userApplication - the user app address on this EVM chain
    // @param _payload - the custom message to send over LayerZero
    // @param _payInZRO - if false, user app pays the protocol fee in native token
    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain
    function estimateFees(uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam) external view returns (uint nativeFee, uint zroFee);

    // @notice get this Endpoint's immutable source identifier
    function getChainId() external view returns (uint16);

    // @notice the interface to retry failed message on this Endpoint destination
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    // @param _payload - the payload to be retried
    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external;

    // @notice query if any STORED payload (message blocking) at the endpoint.
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);

    // @notice query if the _libraryAddress is valid for sending msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getSendLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the _libraryAddress is valid for receiving msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getReceiveLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the non-reentrancy guard for send() is on
    // @return true if the guard is on. false otherwise
    function isSendingPayload() external view returns (bool);

    // @notice query if the non-reentrancy guard for receive() is on
    // @return true if the guard is on. false otherwise
    function isReceivingPayload() external view returns (bool);

    // @notice get the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _userApplication - the contract address of the user application
    // @param _configType - type of configuration. every messaging library has its own convention.
    function getConfig(uint16 _version, uint16 _chainId, address _userApplication, uint _configType) external view returns (bytes memory);

    // @notice get the send() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getSendVersion(address _userApplication) external view returns (uint16);

    // @notice get the lzReceive() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getReceiveVersion(address _userApplication) external view returns (uint16);
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface ILayerZeroReceiver {
    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination
    // @param _srcChainId - the source endpoint identifier
    // @param _srcAddress - the source sending contract address from the source chain
    // @param _nonce - the ordered message nonce
    // @param _payload - the signed payload is the UA bytes has encoded to be sent
    function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) external;
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface ILayerZeroUserApplicationConfig {
    // @notice set the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _configType - type of configuration. every messaging library has its own convention.
    // @param _config - configuration in the bytes. can encode arbitrary content.
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external;

    // @notice set the send() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setSendVersion(uint16 _version) external;

    // @notice set the lzReceive() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setReceiveVersion(uint16 _version) external;

    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload
    // @param _srcChainId - the chainId of the source chain
    // @param _srcAddress - the contract address of the source contract at the source chain
    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.10;

interface IToken {
    function mint(address _addr, uint256 _amount) external;

    function burn(address _addr, uint256 _amount) external;
}

// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity >=0.7.6;

library ExcessivelySafeCall {
    uint256 constant LOW_28_MASK =
    0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff;

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := call(
            _gas, // gas
            _target, // recipient
            0, // ether value
            add(_calldata, 0x20), // inloc
            mload(_calldata), // inlen
            0, // outloc
            0 // outlen
            )
        // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
        // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
        // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /// @notice Use when you _really_ really _really_ don't trust the called
    /// contract. This prevents the called contract from causing reversion of
    /// the caller in as many ways as we can.
    /// @dev The main difference between this and a solidity low-level call is
    /// that we limit the number of bytes that the callee can cause to be
    /// copied to caller memory. This prevents stupid things like malicious
    /// contracts returning 10,000,000 bytes causing a local OOG when copying
    /// to memory.
    /// @param _target The address to call
    /// @param _gas The amount of gas to forward to the remote contract
    /// @param _maxCopy The maximum number of bytes of returndata to copy
    /// to memory.
    /// @param _calldata The data to send to the remote contract
    /// @return success and returndata, as `.call()`. Returndata is capped to
    /// `_maxCopy` bytes.
    function excessivelySafeStaticCall(
        address _target,
        uint256 _gas,
        uint16 _maxCopy,
        bytes memory _calldata
    ) internal view returns (bool, bytes memory) {
        // set up for assembly call
        uint256 _toCopy;
        bool _success;
        bytes memory _returnData = new bytes(_maxCopy);
        // dispatch message to recipient
        // by assembly calling "handle" function
        // we call via assembly to avoid memcopying a very large returndata
        // returned by a malicious contract
        assembly {
            _success := staticcall(
            _gas, // gas
            _target, // recipient
            add(_calldata, 0x20), // inloc
            mload(_calldata), // inlen
            0, // outloc
            0 // outlen
            )
        // limit our copy to 256 bytes
            _toCopy := returndatasize()
            if gt(_toCopy, _maxCopy) {
                _toCopy := _maxCopy
            }
        // Store the length of the copied bytes
            mstore(_returnData, _toCopy)
        // copy the bytes from returndata[0:_toCopy]
            returndatacopy(add(_returnData, 0x20), 0, _toCopy)
        }
        return (_success, _returnData);
    }

    /**
     * @notice Swaps function selectors in encoded contract calls
     * @dev Allows reuse of encoded calldata for functions with identical
     * argument types but different names. It simply swaps out the first 4 bytes
     * for the new selector. This function modifies memory in place, and should
     * only be used with caution.
     * @param _newSelector The new 4-byte selector
     * @param _buf The encoded contract args
     */
    function swapSelector(bytes4 _newSelector, bytes memory _buf)
    internal
    pure
    {
        require(_buf.length >= 4);
        uint256 _mask = LOW_28_MASK;
        assembly {
        // load the first word of
            let _word := mload(add(_buf, 0x20))
        // mask out the top 4 bytes
        // /x
            _word := and(_word, _mask)
            _word := or(_newSelector, _word)
            mstore(add(_buf, 0x20), _word)
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

import "@openzeppelin/contracts/access/Ownable.sol";
import "../interfaces/ILayerZeroReceiver.sol";
import "../interfaces/ILayerZeroUserApplicationConfig.sol";
import "../interfaces/ILayerZeroEndpoint.sol";

/*
 * a generic LzReceiver implementation
 */
abstract contract BaseLzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig {
    ILayerZeroEndpoint public immutable lzEndpoint;
    
    mapping(uint16 => bytes) public trustedRemoteLookup;
    mapping(uint => uint) public minDstGasLookup;

    event SetTrustedRemote(uint16 _srcChainId, bytes _srcAddress);
    event SetMinDstGasLookup(uint16 _dstChainId, uint _dstGasAmount);

    constructor(address _endpoint) {
        lzEndpoint = ILayerZeroEndpoint(_endpoint);
    }

    function lzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public virtual override {
        // lzReceive must be called by the endpoint for security
        require(_msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller");

        bytes memory trustedRemote = trustedRemoteLookup[_srcChainId];
        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
        require(_srcAddress.length == trustedRemote.length && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract");

        _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    } 

    // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual {
        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];
        require(trustedRemote.length != 0, "LzApp: destination chain is not a trusted source");
        lzEndpoint.send{value: msg.value}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    //---------------------------UserApplication config//---------------------------//
    function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) {
        return lzEndpoint.getConfig(_version, _chainId, address(this), _configType);
    }

    // generic config for LayerZero user Application
    function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner {
        lzEndpoint.setConfig(_version, _chainId, _configType, _config);
    }

    function setSendVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setSendVersion(_version);
    }

    function setReceiveVersion(uint16 _version) external override onlyOwner {
        lzEndpoint.setReceiveVersion(_version);
    }

    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner {
        lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress);
    }

    // allow owner to set it multiple times.
    function setTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external onlyOwner {
        trustedRemoteLookup[_srcChainId] = _srcAddress;
        emit SetTrustedRemote(_srcChainId, _srcAddress);
    }

    function setMinDstGasLookup(uint16 _dstChainId, uint _dstGasAmount) external onlyOwner {
        require(_dstGasAmount > 0, "LzApp: invalid _dstGasAmount");
        minDstGasLookup[_dstChainId] = _dstGasAmount;
        emit SetMinDstGasLookup(_dstChainId, _dstGasAmount);
    }

    //--------------------------- VIEW FUNCTION ---------------------------//
    function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) {
        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];
        return keccak256(trustedSource) == keccak256(_srcAddress);
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.2;

import "./BaseLzApp.sol";
import "../library/ExcessivelySafeCall.sol";

/*
 * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel
 * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking
 * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)
 */
abstract contract BaseNonblockingLzApp is BaseLzApp {
    using ExcessivelySafeCall for address;
    constructor(address _endpoint) BaseLzApp(_endpoint) {}
 
    mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages;

    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason);
    event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash);

    // overriding the virtual function in LzReceiver
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload));
        // try-catch all errors/exceptions
        if (!success) {
            _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason);
        }
    }

    function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual {
        failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
        emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason);
    }

    function nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public virtual {
        // only internal transaction
        require(_msgSender() == address(this), "BaseNonblockingLzApp: caller must be LzApp");
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    //@notice override this function
    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual;

    function retryMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public payable virtual {
        // assert there is message to retry
        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
        require(payloadHash != bytes32(0), "BaseNonblockingLzApp: no stored message");
        require(keccak256(_payload) == payloadHash, "BaseNonblockingLzApp: invalid payload");
        // clear the stored message
        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
        // execute the message. revert if it fails again
        _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
        emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash);
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_lzEndpoint","type":"address"},{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes","name":"_dstChainId","type":"bytes"},{"indexed":true,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"Mint","type":"event"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_dstGasAmount","type":"uint256"}],"name":"SetMinDstGasLookup","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"bridgeToken","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"en","type":"bool"}],"name":"enable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_dstGasAmount","type":"uint256"}],"name":"setMinDstGasLookup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]

60a06040523480156200001157600080fd5b50604051620035c1380380620035c1833981810160405281019062000037919062000229565b818060008060006101000a81548160ff0219169083151502179055506200007362000067620000f260201b60201c565b620000fa60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050505080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000270565b600033905090565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001f182620001c4565b9050919050565b6200020381620001e4565b81146200020f57600080fd5b50565b6000815190506200022381620001f8565b92915050565b60008060408385031215620002435762000242620001bf565b5b6000620002538582860162000212565b9250506020620002668582860162000212565b9150509250929050565b6080516132ef620002d2600039600081816104cb01528181610680015281816107160152818161089801528181610b0d01528181610bf001528181610cc601528181610dbe01528181610f7c015281816112b1015261188801526132ef6000f3fe6080604052600436106101295760003560e01c8063715018a6116100ab578063c96568081161006f578063c9656808146103cc578063cbed8b9c146103f5578063d1deba1f1461041e578063eb8d72b71461043a578063f2fde38b14610463578063f5ecbdbc1461048c57610129565b8063715018a6146103065780637533d7881461031d5780638da5cb5b1461035a578063b353aaa714610385578063c1b7aff2146103b057610129565b806342d65a8d116100f257806342d65a8d146102235780634df68ada1461024c5780635b8c41e6146102755780635c975abb146102b257806366ad5c8a146102dd57610129565b80621d35671461012e57806307e0db171461015757806310ddb137146101805780633d8b38f6146101a957806342074136146101e6575b600080fd5b34801561013a57600080fd5b5061015560048036038101906101509190611c87565b6104c9565b005b34801561016357600080fd5b5061017e60048036038101906101799190611d26565b610676565b005b34801561018c57600080fd5b506101a760048036038101906101a29190611d26565b61070c565b005b3480156101b557600080fd5b506101d060048036038101906101cb9190611db3565b6107a2565b6040516101dd9190611e2e565b60405180910390f35b3480156101f257600080fd5b5061020d60048036038101906102089190611e7f565b610876565b60405161021a9190611ebb565b60405180910390f35b34801561022f57600080fd5b5061024a60048036038101906102459190611db3565b61088e565b005b34801561025857600080fd5b50610273600480360381019061026e9190611f02565b61092a565b005b34801561028157600080fd5b5061029c60048036038101906102979190611f2f565b610949565b6040516102a99190611fb7565b60405180910390f35b3480156102be57600080fd5b506102c7610991565b6040516102d49190611e2e565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190611c87565b6109a7565b005b34801561031257600080fd5b5061031b610a2e565b005b34801561032957600080fd5b50610344600480360381019061033f9190611d26565b610a42565b6040516103519190612051565b60405180910390f35b34801561036657600080fd5b5061036f610ae2565b60405161037c91906120b4565b60405180910390f35b34801561039157600080fd5b5061039a610b0b565b6040516103a7919061212e565b60405180910390f35b6103ca60048036038101906103c59190612149565b610b2f565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190612149565b610ece565b005b34801561040157600080fd5b5061041c60048036038101906104179190612189565b610f72565b005b61043860048036038101906104339190611c87565b611014565b005b34801561044657600080fd5b50610461600480360381019061045c9190611db3565b6111b7565b005b34801561046f57600080fd5b5061048a6004803603810190610485919061223d565b61122a565b005b34801561049857600080fd5b506104b360048036038101906104ae919061226a565b6112ad565b6040516104c09190612051565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661050861135e565b73ffffffffffffffffffffffffffffffffffffffff161461055e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105559061232e565b60405180910390fd5b6000600160008661ffff1661ffff16815260200190815260200160002080546105869061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b29061237d565b80156105ff5780601f106105d4576101008083540402835291602001916105ff565b820191906000526020600020905b8154815290600101906020018083116105e257829003601f168201915b5050505050905080518451148015610624575080805190602001208480519060200120145b610663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065a90612420565b60405180910390fd5b61066f85858585611366565b5050505050565b61067e611431565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166307e0db17826040518263ffffffff1660e01b81526004016106d7919061244f565b600060405180830381600087803b1580156106f157600080fd5b505af1158015610705573d6000803e3d6000fd5b5050505050565b610714611431565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166310ddb137826040518263ffffffff1660e01b815260040161076d919061244f565b600060405180830381600087803b15801561078757600080fd5b505af115801561079b573d6000803e3d6000fd5b5050505050565b600080600160008661ffff1661ffff16815260200190815260200160002080546107cb9061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546107f79061237d565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b50505050509050838360405161085b92919061249a565b60405180910390208180519060200120149150509392505050565b60026020528060005260406000206000915090505481565b610896611431565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342d65a8d8484846040518463ffffffff1660e01b81526004016108f3939291906124e0565b600060405180830381600087803b15801561090d57600080fd5b505af1158015610921573d6000803e3d6000fd5b50505050505050565b801561093d576109386114af565b610946565b610945611511565b5b50565b60036020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050505481565b60008060009054906101000a900460ff16905090565b3073ffffffffffffffffffffffffffffffffffffffff166109c661135e565b73ffffffffffffffffffffffffffffffffffffffff1614610a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1390612584565b60405180910390fd5b610a2884848484611573565b50505050565b610a36611431565b610a40600061168b565b565b60016020528060005260406000206000915090508054610a619061237d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d9061237d565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505050505081565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b37611750565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b8152600401610b949291906125a4565b600060405180830381600087803b158015610bae57600080fd5b505af1158015610bc2573d6000803e3d6000fd5b5050505060003382604051602001610bdb9291906125a4565b604051602081830303815290604052905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663096568f6306040518263ffffffff1660e01b8152600401610c4791906120b4565b602060405180830381865afa158015610c64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8891906125e2565b600260008661ffff16815260200190815260200160002054604051602001610cb1929190612666565b604051602081830303815290604052905060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340a7bb108630866000876040518663ffffffff1660e01b8152600401610d26959493929190612692565b6040805180830381865afa158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d669190612708565b50905080341015610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da3906127ba565b60405180910390fd5b610dba85843360008661179a565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637a14574887306040518363ffffffff1660e01b8152600401610e179291906127da565b602060405180830381865afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e589190612818565b90503373ffffffffffffffffffffffffffffffffffffffff168661ffff163373ffffffffffffffffffffffffffffffffffffffff167f7ba7281d6adea9b244b4762a59b0a5ec250f6dea68e861e7e6217c54751e27088885604051610ebe929190612854565b60405180910390a4505050505050565b610ed6611431565b60008111610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f10906128c9565b60405180910390fd5b80600260008461ffff168152602001908152602001600020819055507fc33fa194ad4708b31b18830e6fd01a9d0b547464117d03c9eac291c3f08b452a8282604051610f669291906128e9565b60405180910390a15050565b610f7a611431565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663cbed8b9c86868686866040518663ffffffff1660e01b8152600401610fdb959493929190612912565b600060405180830381600087803b158015610ff557600080fd5b505af1158015611009573d6000803e3d6000fd5b505050505050505050565b6000600360008661ffff1661ffff1681526020019081526020016000208460405161103f9190612991565b908152602001604051809103902060008467ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000205490506000801b81036110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190612a1a565b60405180910390fd5b80828051906020012014611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90612aac565b60405180910390fd5b6000801b600360008761ffff1661ffff168152602001908152602001600020856040516111309190612991565b908152602001604051809103902060008567ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000208190555061117385858585611573565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5858585846040516111a89493929190612acc565b60405180910390a15050505050565b6111bf611431565b8181600160008661ffff1661ffff16815260200190815260200160002091826111e9929190612cc5565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161121d939291906124e0565b60405180910390a1505050565b611232611431565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890612e07565b60405180910390fd5b6112aa8161168b565b50565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f5ecbdbc868630866040518563ffffffff1660e01b815260040161130e9493929190612e27565b600060405180830381865afa15801561132b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113549190612edc565b9050949350505050565b600033905090565b6000806114125a60966366ad5c8a60e01b8989898960405160240161138e9493929190612f25565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050503073ffffffffffffffffffffffffffffffffffffffff16611924909392919063ffffffff16565b91509150816114295761142886868686856119bc565b5b505050505050565b61143961135e565b73ffffffffffffffffffffffffffffffffffffffff16611457610ae2565b73ffffffffffffffffffffffffffffffffffffffff16146114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490612fc4565b60405180910390fd5b565b6114b7611750565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114fa61135e565b60405161150791906120b4565b60405180910390a1565b611519611a6a565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61155c61135e565b60405161156991906120b4565b60405180910390a1565b6000808280602001905181019061158a9190613022565b91509150600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b81526004016115eb9291906125a4565b600060405180830381600087803b15801561160557600080fd5b505af1158015611619573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff16856040516116429190612991565b60405180910390207ff2230393318aec06f95b9da980f2c2d7072abbb319e54c05f7284764be8aa89b838760405161167b929190612854565b60405180910390a3505050505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611758610991565b15611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f906130ae565b60405180910390fd5b565b6000600160008761ffff1661ffff16815260200190815260200160002080546117c29061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546117ee9061237d565b801561183b5780601f106118105761010080835404028352916020019161183b565b820191906000526020600020905b81548152906001019060200180831161181e57829003601f168201915b505050505090506000815103611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90613140565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c5803100348884898989896040518863ffffffff1660e01b81526004016118ea9695949392919061316f565b6000604051808303818588803b15801561190357600080fd5b505af1158015611917573d6000803e3d6000fd5b5050505050505050505050565b6000606060008060008661ffff1667ffffffffffffffff81111561194b5761194a611b1c565b5b6040519080825280601f01601f19166020018201604052801561197d5781602001600182028036833780820191505090505b50905060008087516020890160008d8df191503d92508683111561199f578692505b828152826000602083013e81819450945050505094509492505050565b8180519060200120600360008761ffff1661ffff168152602001908152602001600020856040516119ed9190612991565b908152602001604051809103902060008567ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020819055507fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c8585858585604051611a5b9594939291906131e5565b60405180910390a15050505050565b611a72610991565b611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890613299565b60405180910390fd5b565b6000604051905090565b600080fd5b600080fd5b600061ffff82169050919050565b611ade81611ac7565b8114611ae957600080fd5b50565b600081359050611afb81611ad5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b5482611b0b565b810181811067ffffffffffffffff82111715611b7357611b72611b1c565b5b80604052505050565b6000611b86611ab3565b9050611b928282611b4b565b919050565b600067ffffffffffffffff821115611bb257611bb1611b1c565b5b611bbb82611b0b565b9050602081019050919050565b82818337600083830152505050565b6000611bea611be584611b97565b611b7c565b905082815260208101848484011115611c0657611c05611b06565b5b611c11848285611bc8565b509392505050565b600082601f830112611c2e57611c2d611b01565b5b8135611c3e848260208601611bd7565b91505092915050565b600067ffffffffffffffff82169050919050565b611c6481611c47565b8114611c6f57600080fd5b50565b600081359050611c8181611c5b565b92915050565b60008060008060808587031215611ca157611ca0611abd565b5b6000611caf87828801611aec565b945050602085013567ffffffffffffffff811115611cd057611ccf611ac2565b5b611cdc87828801611c19565b9350506040611ced87828801611c72565b925050606085013567ffffffffffffffff811115611d0e57611d0d611ac2565b5b611d1a87828801611c19565b91505092959194509250565b600060208284031215611d3c57611d3b611abd565b5b6000611d4a84828501611aec565b91505092915050565b600080fd5b600080fd5b60008083601f840112611d7357611d72611b01565b5b8235905067ffffffffffffffff811115611d9057611d8f611d53565b5b602083019150836001820283011115611dac57611dab611d58565b5b9250929050565b600080600060408486031215611dcc57611dcb611abd565b5b6000611dda86828701611aec565b935050602084013567ffffffffffffffff811115611dfb57611dfa611ac2565b5b611e0786828701611d5d565b92509250509250925092565b60008115159050919050565b611e2881611e13565b82525050565b6000602082019050611e436000830184611e1f565b92915050565b6000819050919050565b611e5c81611e49565b8114611e6757600080fd5b50565b600081359050611e7981611e53565b92915050565b600060208284031215611e9557611e94611abd565b5b6000611ea384828501611e6a565b91505092915050565b611eb581611e49565b82525050565b6000602082019050611ed06000830184611eac565b92915050565b611edf81611e13565b8114611eea57600080fd5b50565b600081359050611efc81611ed6565b92915050565b600060208284031215611f1857611f17611abd565b5b6000611f2684828501611eed565b91505092915050565b600080600060608486031215611f4857611f47611abd565b5b6000611f5686828701611aec565b935050602084013567ffffffffffffffff811115611f7757611f76611ac2565b5b611f8386828701611c19565b9250506040611f9486828701611c72565b9150509250925092565b6000819050919050565b611fb181611f9e565b82525050565b6000602082019050611fcc6000830184611fa8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561200c578082015181840152602081019050611ff1565b60008484015250505050565b600061202382611fd2565b61202d8185611fdd565b935061203d818560208601611fee565b61204681611b0b565b840191505092915050565b6000602082019050818103600083015261206b8184612018565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061209e82612073565b9050919050565b6120ae81612093565b82525050565b60006020820190506120c960008301846120a5565b92915050565b6000819050919050565b60006120f46120ef6120ea84612073565b6120cf565b612073565b9050919050565b6000612106826120d9565b9050919050565b6000612118826120fb565b9050919050565b6121288161210d565b82525050565b6000602082019050612143600083018461211f565b92915050565b600080604083850312156121605761215f611abd565b5b600061216e85828601611aec565b925050602061217f85828601611e6a565b9150509250929050565b6000806000806000608086880312156121a5576121a4611abd565b5b60006121b388828901611aec565b95505060206121c488828901611aec565b94505060406121d588828901611e6a565b935050606086013567ffffffffffffffff8111156121f6576121f5611ac2565b5b61220288828901611d5d565b92509250509295509295909350565b61221a81612093565b811461222557600080fd5b50565b60008135905061223781612211565b92915050565b60006020828403121561225357612252611abd565b5b600061226184828501612228565b91505092915050565b6000806000806080858703121561228457612283611abd565b5b600061229287828801611aec565b94505060206122a387828801611aec565b93505060406122b487828801612228565b92505060606122c587828801611e6a565b91505092959194509250565b600082825260208201905092915050565b7f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c65720000600082015250565b6000612318601e836122d1565b9150612323826122e2565b602082019050919050565b600060208201905081810360008301526123478161230b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061239557607f821691505b6020821081036123a8576123a761234e565b5b50919050565b7f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b600061240a6026836122d1565b9150612415826123ae565b604082019050919050565b60006020820190508181036000830152612439816123fd565b9050919050565b61244981611ac7565b82525050565b60006020820190506124646000830184612440565b92915050565b600081905092915050565b6000612481838561246a565b935061248e838584611bc8565b82840190509392505050565b60006124a7828486612475565b91508190509392505050565b60006124bf8385611fdd565b93506124cc838584611bc8565b6124d583611b0b565b840190509392505050565b60006040820190506124f56000830186612440565b81810360208301526125088184866124b3565b9050949350505050565b7f426173654e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d757360008201527f74206265204c7a41707000000000000000000000000000000000000000000000602082015250565b600061256e602a836122d1565b915061257982612512565b604082019050919050565b6000602082019050818103600083015261259d81612561565b9050919050565b60006040820190506125b960008301856120a5565b6125c66020830184611eac565b9392505050565b6000815190506125dc81611ad5565b92915050565b6000602082840312156125f8576125f7611abd565b5b6000612606848285016125cd565b91505092915050565b60008160f01b9050919050565b60006126278261260f565b9050919050565b61263f61263a82611ac7565b61261c565b82525050565b6000819050919050565b61266061265b82611e49565b612645565b82525050565b6000612672828561262e565b600282019150612682828461264f565b6020820191508190509392505050565b600060a0820190506126a76000830188612440565b6126b460208301876120a5565b81810360408301526126c68186612018565b90506126d56060830185611e1f565b81810360808301526126e78184612018565b90509695505050505050565b60008151905061270281611e53565b92915050565b6000806040838503121561271f5761271e611abd565b5b600061272d858286016126f3565b925050602061273e858286016126f3565b9150509250929050565b7f4d7573742073656e6420656e6f7567682076616c756520746f20636f7665722060008201527f6d65737361676546656500000000000000000000000000000000000000000000602082015250565b60006127a4602a836122d1565b91506127af82612748565b604082019050919050565b600060208201905081810360008301526127d381612797565b9050919050565b60006040820190506127ef6000830185612440565b6127fc60208301846120a5565b9392505050565b60008151905061281281611c5b565b92915050565b60006020828403121561282e5761282d611abd565b5b600061283c84828501612803565b91505092915050565b61284e81611c47565b82525050565b60006040820190506128696000830185611eac565b6128766020830184612845565b9392505050565b7f4c7a4170703a20696e76616c6964205f647374476173416d6f756e7400000000600082015250565b60006128b3601c836122d1565b91506128be8261287d565b602082019050919050565b600060208201905081810360008301526128e2816128a6565b9050919050565b60006040820190506128fe6000830185612440565b61290b6020830184611eac565b9392505050565b60006080820190506129276000830188612440565b6129346020830187612440565b6129416040830186611eac565b81810360608301526129548184866124b3565b90509695505050505050565b600061296b82611fd2565b612975818561246a565b9350612985818560208601611fee565b80840191505092915050565b600061299d8284612960565b915081905092915050565b7f426173654e6f6e626c6f636b696e674c7a4170703a206e6f2073746f7265642060008201527f6d65737361676500000000000000000000000000000000000000000000000000602082015250565b6000612a046027836122d1565b9150612a0f826129a8565b604082019050919050565b60006020820190508181036000830152612a33816129f7565b9050919050565b7f426173654e6f6e626c6f636b696e674c7a4170703a20696e76616c696420706160008201527f796c6f6164000000000000000000000000000000000000000000000000000000602082015250565b6000612a966025836122d1565b9150612aa182612a3a565b604082019050919050565b60006020820190508181036000830152612ac581612a89565b9050919050565b6000608082019050612ae16000830187612440565b8181036020830152612af38186612018565b9050612b026040830185612845565b612b0f6060830184611fa8565b95945050505050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612b857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612b48565b612b8f8683612b48565b95508019841693508086168417925050509392505050565b6000612bc2612bbd612bb884611e49565b6120cf565b611e49565b9050919050565b6000819050919050565b612bdc83612ba7565b612bf0612be882612bc9565b848454612b55565b825550505050565b600090565b612c05612bf8565b612c10818484612bd3565b505050565b5b81811015612c3457612c29600082612bfd565b600181019050612c16565b5050565b601f821115612c7957612c4a81612b23565b612c5384612b38565b81016020851015612c62578190505b612c76612c6e85612b38565b830182612c15565b50505b505050565b600082821c905092915050565b6000612c9c60001984600802612c7e565b1980831691505092915050565b6000612cb58383612c8b565b9150826002028217905092915050565b612ccf8383612b18565b67ffffffffffffffff811115612ce857612ce7611b1c565b5b612cf2825461237d565b612cfd828285612c38565b6000601f831160018114612d2c5760008415612d1a578287013590505b612d248582612ca9565b865550612d8c565b601f198416612d3a86612b23565b60005b82811015612d6257848901358255600182019150602085019450602081019050612d3d565b86831015612d7f5784890135612d7b601f891682612c8b565b8355505b6001600288020188555050505b50505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612df16026836122d1565b9150612dfc82612d95565b604082019050919050565b60006020820190508181036000830152612e2081612de4565b9050919050565b6000608082019050612e3c6000830187612440565b612e496020830186612440565b612e5660408301856120a5565b612e636060830184611eac565b95945050505050565b6000612e7f612e7a84611b97565b611b7c565b905082815260208101848484011115612e9b57612e9a611b06565b5b612ea6848285611fee565b509392505050565b600082601f830112612ec357612ec2611b01565b5b8151612ed3848260208601612e6c565b91505092915050565b600060208284031215612ef257612ef1611abd565b5b600082015167ffffffffffffffff811115612f1057612f0f611ac2565b5b612f1c84828501612eae565b91505092915050565b6000608082019050612f3a6000830187612440565b8181036020830152612f4c8186612018565b9050612f5b6040830185612845565b8181036060830152612f6d8184612018565b905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fae6020836122d1565b9150612fb982612f78565b602082019050919050565b60006020820190508181036000830152612fdd81612fa1565b9050919050565b6000612fef82612073565b9050919050565b612fff81612fe4565b811461300a57600080fd5b50565b60008151905061301c81612ff6565b92915050565b6000806040838503121561303957613038611abd565b5b60006130478582860161300d565b9250506020613058858286016126f3565b9150509250929050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006130986010836122d1565b91506130a382613062565b602082019050919050565b600060208201905081810360008301526130c78161308b565b9050919050565b7f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060008201527f61207472757374656420736f7572636500000000000000000000000000000000602082015250565b600061312a6030836122d1565b9150613135826130ce565b604082019050919050565b600060208201905081810360008301526131598161311d565b9050919050565b61316981612fe4565b82525050565b600060c0820190506131846000830189612440565b81810360208301526131968188612018565b905081810360408301526131aa8187612018565b90506131b96060830186613160565b6131c660808301856120a5565b81810360a08301526131d88184612018565b9050979650505050505050565b600060a0820190506131fa6000830188612440565b818103602083015261320c8187612018565b905061321b6040830186612845565b818103606083015261322d8185612018565b905081810360808301526132418184612018565b90509695505050505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006132836014836122d1565b915061328e8261324d565b602082019050919050565b600060208201905081810360008301526132b281613276565b905091905056fea2646970667358221220f787f62d10218ad712012121a1366dde1e5ddbceceaf006159111a3018c0dd5c64736f6c6343000811003300000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000e647107d2891a97a485f56fb404f1229c8251b3f

Deployed Bytecode

0x6080604052600436106101295760003560e01c8063715018a6116100ab578063c96568081161006f578063c9656808146103cc578063cbed8b9c146103f5578063d1deba1f1461041e578063eb8d72b71461043a578063f2fde38b14610463578063f5ecbdbc1461048c57610129565b8063715018a6146103065780637533d7881461031d5780638da5cb5b1461035a578063b353aaa714610385578063c1b7aff2146103b057610129565b806342d65a8d116100f257806342d65a8d146102235780634df68ada1461024c5780635b8c41e6146102755780635c975abb146102b257806366ad5c8a146102dd57610129565b80621d35671461012e57806307e0db171461015757806310ddb137146101805780633d8b38f6146101a957806342074136146101e6575b600080fd5b34801561013a57600080fd5b5061015560048036038101906101509190611c87565b6104c9565b005b34801561016357600080fd5b5061017e60048036038101906101799190611d26565b610676565b005b34801561018c57600080fd5b506101a760048036038101906101a29190611d26565b61070c565b005b3480156101b557600080fd5b506101d060048036038101906101cb9190611db3565b6107a2565b6040516101dd9190611e2e565b60405180910390f35b3480156101f257600080fd5b5061020d60048036038101906102089190611e7f565b610876565b60405161021a9190611ebb565b60405180910390f35b34801561022f57600080fd5b5061024a60048036038101906102459190611db3565b61088e565b005b34801561025857600080fd5b50610273600480360381019061026e9190611f02565b61092a565b005b34801561028157600080fd5b5061029c60048036038101906102979190611f2f565b610949565b6040516102a99190611fb7565b60405180910390f35b3480156102be57600080fd5b506102c7610991565b6040516102d49190611e2e565b60405180910390f35b3480156102e957600080fd5b5061030460048036038101906102ff9190611c87565b6109a7565b005b34801561031257600080fd5b5061031b610a2e565b005b34801561032957600080fd5b50610344600480360381019061033f9190611d26565b610a42565b6040516103519190612051565b60405180910390f35b34801561036657600080fd5b5061036f610ae2565b60405161037c91906120b4565b60405180910390f35b34801561039157600080fd5b5061039a610b0b565b6040516103a7919061212e565b60405180910390f35b6103ca60048036038101906103c59190612149565b610b2f565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190612149565b610ece565b005b34801561040157600080fd5b5061041c60048036038101906104179190612189565b610f72565b005b61043860048036038101906104339190611c87565b611014565b005b34801561044657600080fd5b50610461600480360381019061045c9190611db3565b6111b7565b005b34801561046f57600080fd5b5061048a6004803603810190610485919061223d565b61122a565b005b34801561049857600080fd5b506104b360048036038101906104ae919061226a565b6112ad565b6040516104c09190612051565b60405180910390f35b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1661050861135e565b73ffffffffffffffffffffffffffffffffffffffff161461055e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105559061232e565b60405180910390fd5b6000600160008661ffff1661ffff16815260200190815260200160002080546105869061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546105b29061237d565b80156105ff5780601f106105d4576101008083540402835291602001916105ff565b820191906000526020600020905b8154815290600101906020018083116105e257829003601f168201915b5050505050905080518451148015610624575080805190602001208480519060200120145b610663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065a90612420565b60405180910390fd5b61066f85858585611366565b5050505050565b61067e611431565b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166307e0db17826040518263ffffffff1660e01b81526004016106d7919061244f565b600060405180830381600087803b1580156106f157600080fd5b505af1158015610705573d6000803e3d6000fd5b5050505050565b610714611431565b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166310ddb137826040518263ffffffff1660e01b815260040161076d919061244f565b600060405180830381600087803b15801561078757600080fd5b505af115801561079b573d6000803e3d6000fd5b5050505050565b600080600160008661ffff1661ffff16815260200190815260200160002080546107cb9061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546107f79061237d565b80156108445780601f1061081957610100808354040283529160200191610844565b820191906000526020600020905b81548152906001019060200180831161082757829003601f168201915b50505050509050838360405161085b92919061249a565b60405180910390208180519060200120149150509392505050565b60026020528060005260406000206000915090505481565b610896611431565b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166342d65a8d8484846040518463ffffffff1660e01b81526004016108f3939291906124e0565b600060405180830381600087803b15801561090d57600080fd5b505af1158015610921573d6000803e3d6000fd5b50505050505050565b801561093d576109386114af565b610946565b610945611511565b5b50565b60036020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050505481565b60008060009054906101000a900460ff16905090565b3073ffffffffffffffffffffffffffffffffffffffff166109c661135e565b73ffffffffffffffffffffffffffffffffffffffff1614610a1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1390612584565b60405180910390fd5b610a2884848484611573565b50505050565b610a36611431565b610a40600061168b565b565b60016020528060005260406000206000915090508054610a619061237d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d9061237d565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505050505081565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67581565b610b37611750565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16639dc29fac33836040518363ffffffff1660e01b8152600401610b949291906125a4565b600060405180830381600087803b158015610bae57600080fd5b505af1158015610bc2573d6000803e3d6000fd5b5050505060003382604051602001610bdb9291906125a4565b604051602081830303815290604052905060007f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663096568f6306040518263ffffffff1660e01b8152600401610c4791906120b4565b602060405180830381865afa158015610c64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8891906125e2565b600260008661ffff16815260200190815260200160002054604051602001610cb1929190612666565b604051602081830303815290604052905060007f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166340a7bb108630866000876040518663ffffffff1660e01b8152600401610d26959493929190612692565b6040805180830381865afa158015610d42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d669190612708565b50905080341015610dac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da3906127ba565b60405180910390fd5b610dba85843360008661179a565b60007f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff16637a14574887306040518363ffffffff1660e01b8152600401610e179291906127da565b602060405180830381865afa158015610e34573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e589190612818565b90503373ffffffffffffffffffffffffffffffffffffffff168661ffff163373ffffffffffffffffffffffffffffffffffffffff167f7ba7281d6adea9b244b4762a59b0a5ec250f6dea68e861e7e6217c54751e27088885604051610ebe929190612854565b60405180910390a4505050505050565b610ed6611431565b60008111610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f10906128c9565b60405180910390fd5b80600260008461ffff168152602001908152602001600020819055507fc33fa194ad4708b31b18830e6fd01a9d0b547464117d03c9eac291c3f08b452a8282604051610f669291906128e9565b60405180910390a15050565b610f7a611431565b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663cbed8b9c86868686866040518663ffffffff1660e01b8152600401610fdb959493929190612912565b600060405180830381600087803b158015610ff557600080fd5b505af1158015611009573d6000803e3d6000fd5b505050505050505050565b6000600360008661ffff1661ffff1681526020019081526020016000208460405161103f9190612991565b908152602001604051809103902060008467ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000205490506000801b81036110ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b190612a1a565b60405180910390fd5b80828051906020012014611103576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fa90612aac565b60405180910390fd5b6000801b600360008761ffff1661ffff168152602001908152602001600020856040516111309190612991565b908152602001604051809103902060008567ffffffffffffffff1667ffffffffffffffff1681526020019081526020016000208190555061117385858585611573565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5858585846040516111a89493929190612acc565b60405180910390a15050505050565b6111bf611431565b8181600160008661ffff1661ffff16815260200190815260200160002091826111e9929190612cc5565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161121d939291906124e0565b60405180910390a1505050565b611232611431565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036112a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129890612e07565b60405180910390fd5b6112aa8161168b565b50565b60607f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663f5ecbdbc868630866040518563ffffffff1660e01b815260040161130e9493929190612e27565b600060405180830381865afa15801561132b573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113549190612edc565b9050949350505050565b600033905090565b6000806114125a60966366ad5c8a60e01b8989898960405160240161138e9493929190612f25565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050503073ffffffffffffffffffffffffffffffffffffffff16611924909392919063ffffffff16565b91509150816114295761142886868686856119bc565b5b505050505050565b61143961135e565b73ffffffffffffffffffffffffffffffffffffffff16611457610ae2565b73ffffffffffffffffffffffffffffffffffffffff16146114ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a490612fc4565b60405180910390fd5b565b6114b7611750565b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586114fa61135e565b60405161150791906120b4565b60405180910390a1565b611519611a6a565b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61155c61135e565b60405161156991906120b4565b60405180910390a1565b6000808280602001905181019061158a9190613022565b91509150600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1983836040518363ffffffff1660e01b81526004016115eb9291906125a4565b600060405180830381600087803b15801561160557600080fd5b505af1158015611619573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff16856040516116429190612991565b60405180910390207ff2230393318aec06f95b9da980f2c2d7072abbb319e54c05f7284764be8aa89b838760405161167b929190612854565b60405180910390a3505050505050565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611758610991565b15611798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178f906130ae565b60405180910390fd5b565b6000600160008761ffff1661ffff16815260200190815260200160002080546117c29061237d565b80601f01602080910402602001604051908101604052809291908181526020018280546117ee9061237d565b801561183b5780601f106118105761010080835404028352916020019161183b565b820191906000526020600020905b81548152906001019060200180831161181e57829003601f168201915b505050505090506000815103611886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187d90613140565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663c5803100348884898989896040518863ffffffff1660e01b81526004016118ea9695949392919061316f565b6000604051808303818588803b15801561190357600080fd5b505af1158015611917573d6000803e3d6000fd5b5050505050505050505050565b6000606060008060008661ffff1667ffffffffffffffff81111561194b5761194a611b1c565b5b6040519080825280601f01601f19166020018201604052801561197d5781602001600182028036833780820191505090505b50905060008087516020890160008d8df191503d92508683111561199f578692505b828152826000602083013e81819450945050505094509492505050565b8180519060200120600360008761ffff1661ffff168152602001908152602001600020856040516119ed9190612991565b908152602001604051809103902060008567ffffffffffffffff1667ffffffffffffffff168152602001908152602001600020819055507fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c8585858585604051611a5b9594939291906131e5565b60405180910390a15050505050565b611a72610991565b611ab1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa890613299565b60405180910390fd5b565b6000604051905090565b600080fd5b600080fd5b600061ffff82169050919050565b611ade81611ac7565b8114611ae957600080fd5b50565b600081359050611afb81611ad5565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b5482611b0b565b810181811067ffffffffffffffff82111715611b7357611b72611b1c565b5b80604052505050565b6000611b86611ab3565b9050611b928282611b4b565b919050565b600067ffffffffffffffff821115611bb257611bb1611b1c565b5b611bbb82611b0b565b9050602081019050919050565b82818337600083830152505050565b6000611bea611be584611b97565b611b7c565b905082815260208101848484011115611c0657611c05611b06565b5b611c11848285611bc8565b509392505050565b600082601f830112611c2e57611c2d611b01565b5b8135611c3e848260208601611bd7565b91505092915050565b600067ffffffffffffffff82169050919050565b611c6481611c47565b8114611c6f57600080fd5b50565b600081359050611c8181611c5b565b92915050565b60008060008060808587031215611ca157611ca0611abd565b5b6000611caf87828801611aec565b945050602085013567ffffffffffffffff811115611cd057611ccf611ac2565b5b611cdc87828801611c19565b9350506040611ced87828801611c72565b925050606085013567ffffffffffffffff811115611d0e57611d0d611ac2565b5b611d1a87828801611c19565b91505092959194509250565b600060208284031215611d3c57611d3b611abd565b5b6000611d4a84828501611aec565b91505092915050565b600080fd5b600080fd5b60008083601f840112611d7357611d72611b01565b5b8235905067ffffffffffffffff811115611d9057611d8f611d53565b5b602083019150836001820283011115611dac57611dab611d58565b5b9250929050565b600080600060408486031215611dcc57611dcb611abd565b5b6000611dda86828701611aec565b935050602084013567ffffffffffffffff811115611dfb57611dfa611ac2565b5b611e0786828701611d5d565b92509250509250925092565b60008115159050919050565b611e2881611e13565b82525050565b6000602082019050611e436000830184611e1f565b92915050565b6000819050919050565b611e5c81611e49565b8114611e6757600080fd5b50565b600081359050611e7981611e53565b92915050565b600060208284031215611e9557611e94611abd565b5b6000611ea384828501611e6a565b91505092915050565b611eb581611e49565b82525050565b6000602082019050611ed06000830184611eac565b92915050565b611edf81611e13565b8114611eea57600080fd5b50565b600081359050611efc81611ed6565b92915050565b600060208284031215611f1857611f17611abd565b5b6000611f2684828501611eed565b91505092915050565b600080600060608486031215611f4857611f47611abd565b5b6000611f5686828701611aec565b935050602084013567ffffffffffffffff811115611f7757611f76611ac2565b5b611f8386828701611c19565b9250506040611f9486828701611c72565b9150509250925092565b6000819050919050565b611fb181611f9e565b82525050565b6000602082019050611fcc6000830184611fa8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561200c578082015181840152602081019050611ff1565b60008484015250505050565b600061202382611fd2565b61202d8185611fdd565b935061203d818560208601611fee565b61204681611b0b565b840191505092915050565b6000602082019050818103600083015261206b8184612018565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061209e82612073565b9050919050565b6120ae81612093565b82525050565b60006020820190506120c960008301846120a5565b92915050565b6000819050919050565b60006120f46120ef6120ea84612073565b6120cf565b612073565b9050919050565b6000612106826120d9565b9050919050565b6000612118826120fb565b9050919050565b6121288161210d565b82525050565b6000602082019050612143600083018461211f565b92915050565b600080604083850312156121605761215f611abd565b5b600061216e85828601611aec565b925050602061217f85828601611e6a565b9150509250929050565b6000806000806000608086880312156121a5576121a4611abd565b5b60006121b388828901611aec565b95505060206121c488828901611aec565b94505060406121d588828901611e6a565b935050606086013567ffffffffffffffff8111156121f6576121f5611ac2565b5b61220288828901611d5d565b92509250509295509295909350565b61221a81612093565b811461222557600080fd5b50565b60008135905061223781612211565b92915050565b60006020828403121561225357612252611abd565b5b600061226184828501612228565b91505092915050565b6000806000806080858703121561228457612283611abd565b5b600061229287828801611aec565b94505060206122a387828801611aec565b93505060406122b487828801612228565b92505060606122c587828801611e6a565b91505092959194509250565b600082825260208201905092915050565b7f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c65720000600082015250565b6000612318601e836122d1565b9150612323826122e2565b602082019050919050565b600060208201905081810360008301526123478161230b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061239557607f821691505b6020821081036123a8576123a761234e565b5b50919050565b7f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f60008201527f6e74726163740000000000000000000000000000000000000000000000000000602082015250565b600061240a6026836122d1565b9150612415826123ae565b604082019050919050565b60006020820190508181036000830152612439816123fd565b9050919050565b61244981611ac7565b82525050565b60006020820190506124646000830184612440565b92915050565b600081905092915050565b6000612481838561246a565b935061248e838584611bc8565b82840190509392505050565b60006124a7828486612475565b91508190509392505050565b60006124bf8385611fdd565b93506124cc838584611bc8565b6124d583611b0b565b840190509392505050565b60006040820190506124f56000830186612440565b81810360208301526125088184866124b3565b9050949350505050565b7f426173654e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d757360008201527f74206265204c7a41707000000000000000000000000000000000000000000000602082015250565b600061256e602a836122d1565b915061257982612512565b604082019050919050565b6000602082019050818103600083015261259d81612561565b9050919050565b60006040820190506125b960008301856120a5565b6125c66020830184611eac565b9392505050565b6000815190506125dc81611ad5565b92915050565b6000602082840312156125f8576125f7611abd565b5b6000612606848285016125cd565b91505092915050565b60008160f01b9050919050565b60006126278261260f565b9050919050565b61263f61263a82611ac7565b61261c565b82525050565b6000819050919050565b61266061265b82611e49565b612645565b82525050565b6000612672828561262e565b600282019150612682828461264f565b6020820191508190509392505050565b600060a0820190506126a76000830188612440565b6126b460208301876120a5565b81810360408301526126c68186612018565b90506126d56060830185611e1f565b81810360808301526126e78184612018565b90509695505050505050565b60008151905061270281611e53565b92915050565b6000806040838503121561271f5761271e611abd565b5b600061272d858286016126f3565b925050602061273e858286016126f3565b9150509250929050565b7f4d7573742073656e6420656e6f7567682076616c756520746f20636f7665722060008201527f6d65737361676546656500000000000000000000000000000000000000000000602082015250565b60006127a4602a836122d1565b91506127af82612748565b604082019050919050565b600060208201905081810360008301526127d381612797565b9050919050565b60006040820190506127ef6000830185612440565b6127fc60208301846120a5565b9392505050565b60008151905061281281611c5b565b92915050565b60006020828403121561282e5761282d611abd565b5b600061283c84828501612803565b91505092915050565b61284e81611c47565b82525050565b60006040820190506128696000830185611eac565b6128766020830184612845565b9392505050565b7f4c7a4170703a20696e76616c6964205f647374476173416d6f756e7400000000600082015250565b60006128b3601c836122d1565b91506128be8261287d565b602082019050919050565b600060208201905081810360008301526128e2816128a6565b9050919050565b60006040820190506128fe6000830185612440565b61290b6020830184611eac565b9392505050565b60006080820190506129276000830188612440565b6129346020830187612440565b6129416040830186611eac565b81810360608301526129548184866124b3565b90509695505050505050565b600061296b82611fd2565b612975818561246a565b9350612985818560208601611fee565b80840191505092915050565b600061299d8284612960565b915081905092915050565b7f426173654e6f6e626c6f636b696e674c7a4170703a206e6f2073746f7265642060008201527f6d65737361676500000000000000000000000000000000000000000000000000602082015250565b6000612a046027836122d1565b9150612a0f826129a8565b604082019050919050565b60006020820190508181036000830152612a33816129f7565b9050919050565b7f426173654e6f6e626c6f636b696e674c7a4170703a20696e76616c696420706160008201527f796c6f6164000000000000000000000000000000000000000000000000000000602082015250565b6000612a966025836122d1565b9150612aa182612a3a565b604082019050919050565b60006020820190508181036000830152612ac581612a89565b9050919050565b6000608082019050612ae16000830187612440565b8181036020830152612af38186612018565b9050612b026040830185612845565b612b0f6060830184611fa8565b95945050505050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302612b857fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612b48565b612b8f8683612b48565b95508019841693508086168417925050509392505050565b6000612bc2612bbd612bb884611e49565b6120cf565b611e49565b9050919050565b6000819050919050565b612bdc83612ba7565b612bf0612be882612bc9565b848454612b55565b825550505050565b600090565b612c05612bf8565b612c10818484612bd3565b505050565b5b81811015612c3457612c29600082612bfd565b600181019050612c16565b5050565b601f821115612c7957612c4a81612b23565b612c5384612b38565b81016020851015612c62578190505b612c76612c6e85612b38565b830182612c15565b50505b505050565b600082821c905092915050565b6000612c9c60001984600802612c7e565b1980831691505092915050565b6000612cb58383612c8b565b9150826002028217905092915050565b612ccf8383612b18565b67ffffffffffffffff811115612ce857612ce7611b1c565b5b612cf2825461237d565b612cfd828285612c38565b6000601f831160018114612d2c5760008415612d1a578287013590505b612d248582612ca9565b865550612d8c565b601f198416612d3a86612b23565b60005b82811015612d6257848901358255600182019150602085019450602081019050612d3d565b86831015612d7f5784890135612d7b601f891682612c8b565b8355505b6001600288020188555050505b50505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612df16026836122d1565b9150612dfc82612d95565b604082019050919050565b60006020820190508181036000830152612e2081612de4565b9050919050565b6000608082019050612e3c6000830187612440565b612e496020830186612440565b612e5660408301856120a5565b612e636060830184611eac565b95945050505050565b6000612e7f612e7a84611b97565b611b7c565b905082815260208101848484011115612e9b57612e9a611b06565b5b612ea6848285611fee565b509392505050565b600082601f830112612ec357612ec2611b01565b5b8151612ed3848260208601612e6c565b91505092915050565b600060208284031215612ef257612ef1611abd565b5b600082015167ffffffffffffffff811115612f1057612f0f611ac2565b5b612f1c84828501612eae565b91505092915050565b6000608082019050612f3a6000830187612440565b8181036020830152612f4c8186612018565b9050612f5b6040830185612845565b8181036060830152612f6d8184612018565b905095945050505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612fae6020836122d1565b9150612fb982612f78565b602082019050919050565b60006020820190508181036000830152612fdd81612fa1565b9050919050565b6000612fef82612073565b9050919050565b612fff81612fe4565b811461300a57600080fd5b50565b60008151905061301c81612ff6565b92915050565b6000806040838503121561303957613038611abd565b5b60006130478582860161300d565b9250506020613058858286016126f3565b9150509250929050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006130986010836122d1565b91506130a382613062565b602082019050919050565b600060208201905081810360008301526130c78161308b565b9050919050565b7f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060008201527f61207472757374656420736f7572636500000000000000000000000000000000602082015250565b600061312a6030836122d1565b9150613135826130ce565b604082019050919050565b600060208201905081810360008301526131598161311d565b9050919050565b61316981612fe4565b82525050565b600060c0820190506131846000830189612440565b81810360208301526131968188612018565b905081810360408301526131aa8187612018565b90506131b96060830186613160565b6131c660808301856120a5565b81810360a08301526131d88184612018565b9050979650505050505050565b600060a0820190506131fa6000830188612440565b818103602083015261320c8187612018565b905061321b6040830186612845565b818103606083015261322d8185612018565b905081810360808301526132418184612018565b90509695505050505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006132836014836122d1565b915061328e8261324d565b602082019050919050565b600060208201905081810360008301526132b281613276565b905091905056fea2646970667358221220f787f62d10218ad712012121a1366dde1e5ddbceceaf006159111a3018c0dd5c64736f6c63430008110033

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

00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000e647107d2891a97a485f56fb404f1229c8251b3f

-----Decoded View---------------
Arg [0] : _lzEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
Arg [1] : _token (address): 0xe647107D2891a97A485f56FB404f1229c8251B3F

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [1] : 000000000000000000000000e647107d2891a97a485f56fb404f1229c8251b3f


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.