ETH Price: $2,483.91 (-0.62%)

Token

Cyber Rabby (Rabby)
 

Overview

Max Total Supply

2,222 Rabby

Holders

190

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 Rabby
0x8A18a7ea34a476018DA24C385f07Dc2508A45c50
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Rabby

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 23 : Rabby.sol
pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

import "./token/onft/ONFT.sol";
import "./token/ERC721A.sol";
import "./interfaces/IMint.sol";

contract Rabby is ONFT, IMintNFT {
    address public managerAddress;

    modifier onlyManager() {
        require(msg.sender == managerAddress);
        _;
    }

    /// @param _layerZeroEndpoint handles message transmission across chains
    constructor(address _layerZeroEndpoint)
        ONFT("Cyber Rabby", "Rabby", _layerZeroEndpoint)
    {}

    function mintFor(address to, uint64 numTokens)
        external
        override
        onlyManager
    {
        require(_currentIndex + numTokens <= 10000);
        _safeMint(to, numTokens);
    }

    function transferBundle(
        address to,
        uint256 startingIndex,
        uint64 numTokens
    ) external override onlyManager {
        _transferBatch(msg.sender, to, startingIndex, numTokens);
    }

    function setManagerAddress(address _managerAddress) public onlyOwner {
        managerAddress = _managerAddress;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        onlyMinted(_tokenId)
        returns (string memory)
    {
        return
            string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }

    modifier onlyMinted(uint256 _tokenId) {
        require(_exists(_tokenId), "This token id does not minted yet.");
        _;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 3 of 23 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 4 of 23 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 5 of 23 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 6 of 23 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.
     */
    modifier initializer() {
        bool isTopLevelCall = _setInitializedVersion(1);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        bool isTopLevelCall = _setInitializedVersion(version);
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(version);
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     */
    function _disableInitializers() internal virtual {
        _setInitializedVersion(type(uint8).max);
    }

    function _setInitializedVersion(uint8 version) private returns (bool) {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, and for the lowest level
        // of initializers, because in other contexts the contract may have been reentered.
        if (_initializing) {
            require(
                version == 1 && !AddressUpgradeable.isContract(address(this)),
                "Initializable: contract is already initialized"
            );
            return false;
        } else {
            require(_initialized < version, "Initializable: contract is already initialized");
            _initialized = version;
            return true;
        }
    }
}

File 7 of 23 : ONFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IONFT.sol";
import "../../lzApp/NonblockingLzApp.sol";
import "../ERC721A.sol";

// NOTE: this ONFT contract has no minting logic.
// must implement your own minting logic in child classes
contract ONFT is IONFT, NonblockingLzApp, ERC721A {
    string public baseTokenURI;

    constructor(
        string memory _name,
        string memory _symbol,
        address _lzEndpoint
    ) ERC721A(_name, _symbol) NonblockingLzApp(_lzEndpoint) {}

    function sendFrom(
        address _from,
        uint16 _dstChainId,
        bytes calldata _toAddress,
        uint256 _tokenId,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParam
    ) external payable virtual override {
        _send(
            _from,
            _dstChainId,
            _toAddress,
            _tokenId,
            _refundAddress,
            _zroPaymentAddress,
            _adapterParam
        );
    }

    function send(
        uint16 _dstChainId,
        bytes calldata _toAddress,
        uint256 _tokenId,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParam
    ) external payable virtual override {
        _send(
            _msgSender(),
            _dstChainId,
            _toAddress,
            _tokenId,
            _refundAddress,
            _zroPaymentAddress,
            _adapterParam
        );
    }

    function _send(
        address _from,
        uint16 _dstChainId,
        bytes memory _toAddress,
        uint256 _tokenId,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParam
    ) internal virtual {
        bool isApprovedOrOwner = (_msgSender() == _from ||
            isApprovedForAll(_from, _msgSender()) ||
            getApproved(_tokenId) == _msgSender());
        require(isApprovedOrOwner);

        _beforeSend(_from, _dstChainId, _toAddress, _tokenId);
        bytes memory payload = abi.encode(_toAddress, _tokenId);
        _lzSend(
            _dstChainId,
            payload,
            _refundAddress,
            _zroPaymentAddress,
            _adapterParam
        );

        uint64 nonce = lzEndpoint.getOutboundNonce(_dstChainId, address(this));
        emit SendToChain(_from, _dstChainId, _toAddress, _tokenId, nonce);
        _afterSend(_from, _dstChainId, _toAddress, _tokenId);
    }

    function _nonblockingLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) internal virtual override {
        _beforeReceive(_srcChainId, _srcAddress, _payload);

        // decode and load the toAddress
        (bytes memory toAddress, uint256 tokenId) = abi.decode(
            _payload,
            (bytes, uint256)
        );
        address localToAddress;
        assembly {
            localToAddress := mload(add(toAddress, 20))
        }

        // if the toAddress is 0x0, burn it or it will get cached
        if (localToAddress == address(0x0)) localToAddress == address(0xdEaD);

        _afterReceive(_srcChainId, localToAddress, tokenId);

        emit ReceiveFromChain(_srcChainId, localToAddress, tokenId, _nonce);
    }

    function _beforeSend(
        address, /* _from */
        uint16, /* _dstChainId */
        bytes memory, /* _toAddress */
        uint256 _tokenId
    ) internal virtual {
        _burn(_tokenId);
    }

    function _afterSend(
        address, /* _from */
        uint16, /* _dstChainId */
        bytes memory, /* _toAddress */
        uint256 /* _tokenId */
    ) internal virtual {}

    function _beforeReceive(
        uint16, /* _srcChainId */
        bytes memory, /* _srcAddress */
        bytes memory /* _payload */
    ) internal virtual {}

    function _afterReceive(
        uint16, /* _srcChainId */
        address _toAddress,
        uint256 _tokenId
    ) internal virtual {
        _mintWithTokenId(_toAddress, _tokenId);
    }

    function setBaseURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }

    function _baseURI() internal view override returns (string memory) {
        return baseTokenURI;
    }
}

File 8 of 23 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    uint256 internal _omnichainMintCounter;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Burned tokens are calculated here
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndextimes
        unchecked {
            return _omnichainMintCounter + _currentIndex - _burnCounter;
        }
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC165, IERC165)
        returns (bool)
    {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId)
        internal
        view
        returns (TokenOwnership memory)
    {
        uint256 curr = tokenId;

        unchecked {
            if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return
            bytes(baseURI).length != 0
                ? string(abi.encodePacked(baseURI, tokenId.toString()))
                : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId)
        public
        view
        override
        returns (address)
    {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved)
        public
        virtual
        override
    {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        virtual
        override
        returns (bool)
    {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (
            to.isContract() &&
            !_checkContractOnERC721Received(from, to, tokenId, _data)
        ) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < _currentIndex && !_ownerships[tokenId].burned;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (
                        !_checkContractOnERC721Received(
                            address(0),
                            to,
                            updatedIndex++,
                            _data
                        )
                    ) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    function _mintWithTokenId(address to, uint256 tokenId) internal virtual {
        if (to == address(0)) revert MintToZeroAddress();
        require(!_exists(tokenId), "ERC721: token already minted");
        require(tokenId < _currentIndex, "ERC721: we only re-mint");

        _addressData[to].balance += uint64(1);

        _ownerships[tokenId].addr = to;
        _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
        _ownerships[tokenId].burned = false;

        _beforeTokenTransfers(address(0), to, tokenId, 1);
        emit Transfer(address(0), to, tokenId);
        _afterTokenTransfers(address(0), to, tokenId, 1);

        unchecked {
            _omnichainMintCounter++;
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    function _transferBatch(
        address from,
        address to,
        uint256 tokenId,
        uint64 quantity
    ) internal {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= quantity;
            _addressData[to].balance += quantity;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = tokenId;
            uint256 end = updatedIndex + quantity;
            do {
                emit Transfer(from, to, updatedIndex++);
            } while (updatedIndex != end);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + quantity;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                nextSlot.addr = from;
                nextSlot.startTimestamp = prevOwnership.startTimestamp;
            }
        }
    }

    /**
     * @dev This is equivalent to _burn(tokenId, true)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, true);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, from);

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try
            IERC721Receiver(to).onERC721Received(
                _msgSender(),
                from,
                tokenId,
                _data
            )
        returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

File 9 of 23 : IMint.sol
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;

interface IMintNFT {
    function mintFor(address to, uint64 numTokens) external;

    function transferBundle(
        address to,
        uint256 startingIndex,
        uint64 numTokens
    ) external;
}

File 10 of 23 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 23 : IONFT.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/**
 * @dev Interface of the ONFT standard
 */
interface IONFT is IERC721 {
    /**
     * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParam` is a flexible bytes array to indicate messaging adapter services
     */
    function send(
        uint16 _dstChainId,
        bytes calldata _toAddress,
        uint _tokenId,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParam
    ) external payable;

    /**
     * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`) from `_from`
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParam` is a flexible bytes array to indicate messaging adapter services
     */
    function sendFrom(
        address _from,
        uint16 _dstChainId,
        bytes calldata _toAddress,
        uint _tokenId,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParam
    ) external payable;

    /**
     * @dev Emitted when `_tokenId` are moved from the `_sender` to (`_dstChainId`, `_toAddress`)
     * `_nonce` is the outbound nonce from
     */
    event SendToChain(address indexed _sender, uint16 indexed _dstChainId, bytes indexed _toAddress, uint _tokenId, uint64 _nonce);

    /**
     * @dev Emitted when `_tokenId` are sent from `_srcChainId` to the `_toAddress` at this chain. `_nonce` is the inbound nonce.
     */
    event ReceiveFromChain(uint16 _srcChainId, address _toAddress, uint _tokenId, uint64 _nonce);
}

File 14 of 23 : NonblockingLzApp.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./LzApp.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 NonblockingLzApp is LzApp {
    constructor(address _endpoint) LzApp(_endpoint) {}

    mapping(uint16 => mapping(bytes => mapping(uint => bytes32))) public failedMessages;

    event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload);

    // overriding the virtual function in LzReceiver
    function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        // try-catch all errors/exceptions
        try this.nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload) {
            // do nothing
        } catch {
            // error / exception
            failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload);
            emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload);
        }
    }

    function nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public virtual {
        // only internal transaction
        require(_msgSender() == address(this), "LzReceiver: caller must be Bridge.");
        _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 calldata _payload) external payable virtual {
        // assert there is message to retry
        bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce];
        require(payloadHash != bytes32(0), "LzReceiver: no stored message");
        require(keccak256(_payload) == payloadHash, "LzReceiver: invalid payload");
        // clear the stored message
        failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0);
        // execute the message. revert if it fails again
        this.nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }
}

File 15 of 23 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 16 of 23 : LzApp.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/*
 * a generic LzReceiver implementation
 */
abstract contract LzApp is
    Ownable,
    ILayerZeroReceiver,
    ILayerZeroUserApplicationConfig
{
    ILayerZeroEndpoint internal immutable lzEndpoint;

    mapping(uint16 => bytes) internal trustedRemoteLookup;

    event SetTrustedRemote(uint16 _srcChainId, bytes _srcAddress);

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

    function lzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) external override {
        // lzReceive must be called by the endpoint for security
        require(_msgSender() == address(lzEndpoint));
        // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote.
        require(
            _srcAddress.length == trustedRemoteLookup[_srcChainId].length &&
                keccak256(_srcAddress) ==
                keccak256(trustedRemoteLookup[_srcChainId]),
            "LzReceiver: 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 _adapterParam
    ) internal {
        require(
            trustedRemoteLookup[_dstChainId].length != 0,
            "LzSend: destination chain is not a trusted source."
        );
        lzEndpoint.send{value: msg.value}(
            _dstChainId,
            trustedRemoteLookup[_dstChainId],
            _payload,
            _refundAddress,
            _zroPaymentAddress,
            _adapterParam
        );
    }

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

    // generic config for LayerZero user Application
    function setConfig(
        uint16 _version,
        uint16 _chainId,
        uint256 _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 isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress)
        external
        view
        returns (bool)
    {
        bytes memory trustedSource = trustedRemoteLookup[_srcChainId];
        return keccak256(trustedSource) == keccak256(_srcAddress);
    }

    //--------------------------- VIEW FUNCTION ----------------------------------------
    // interacting with the LayerZero Endpoint and remote contracts

    function getTrustedRemote(uint16 _chainId)
        external
        view
        returns (bytes memory)
    {
        return trustedRemoteLookup[_chainId];
    }

    function getLzEndpoint() external view returns (address) {
        return address(lzEndpoint);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 18 of 23 : ILayerZeroReceiver.sol
// 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;
}

File 19 of 23 : ILayerZeroUserApplicationConfig.sol
// 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;
}

File 20 of 23 : ILayerZeroEndpoint.sol
// 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);
}

File 21 of 23 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 22 of 23 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_layerZeroEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","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":"bytes","name":"_payload","type":"bytes"}],"name":"MessageFailed","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":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"ReceiveFromChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"SendToChain","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","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":[],"name":"getLzEndpoint","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"}],"name":"getTrustedRemote","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"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":[],"name":"managerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint64","name":"numTokens","type":"uint64"}],"name":"mintFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParam","type":"bytes"}],"name":"send","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParam","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","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":"address","name":"_managerAddress","type":"address"}],"name":"setManagerAddress","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"startingIndex","type":"uint256"},{"internalType":"uint64","name":"numTokens","type":"uint64"}],"name":"transferBundle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162006344380380620063448339818101604052810190620000379190620002ed565b6040518060400160405280600b81526020017f43796265722052616262790000000000000000000000000000000000000000008152506040518060400160405280600581526020017f52616262790000000000000000000000000000000000000000000000000000008152508282828280620000c8620000bc6200015560201b60201c565b6200015d60201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505081600590805190602001906200011992919062000226565b5080600690805190602001906200013292919062000226565b50620001436200022160201b60201c565b600381905550505050505050620003cc565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600090565b82805462000234906200034d565b90600052602060002090601f016020900481019282620002585760008555620002a4565b82601f106200027357805160ff1916838001178555620002a4565b82800160010185558215620002a4579182015b82811115620002a357825182559160200191906001019062000286565b5b509050620002b39190620002b7565b5090565b5b80821115620002d2576000816000905550600101620002b8565b5090565b600081519050620002e781620003b2565b92915050565b6000602082840312156200030057600080fd5b60006200031084828501620002d6565b91505092915050565b600062000326826200032d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200036657607f821691505b602082108114156200037d576200037c62000383565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003bd8162000319565b8114620003c957600080fd5b50565b60805160601c615f1a6200042a600039600081816108de01528181610bea01528181610e7b0152818161115b01528181611a7a01528181611d9501528181612095015281816120d101528181612a6901526136a10152615f1a6000f3fe6080604052600436106102245760003560e01c806370a0823111610123578063cbed8b9c116100ab578063e985e9c51161006f578063e985e9c5146107f4578063eb8d72b714610831578063eed33cef1461085a578063f2fde38b14610876578063f5ecbdbc1461089f57610224565b8063cbed8b9c1461072e578063cf73a1bc14610757578063d1deba1f14610782578063d547cfb71461079e578063dacbcbe2146107c957610224565b80638ee74912116100f25780638ee749121461063757806395d89b4114610674578063a22cb4651461069f578063b88d4fde146106c8578063c87b56dd146106f157610224565b806370a082311461058f578063715018a6146105cc578063794b97e3146105e35780638da5cb5b1461060c57610224565b80633d8b38f6116101b1578063519056361161017557806351905636146104a757806355f804b3146104c35780636352211e146104ec57806366ad5c8a1461052957806369b41f951461055257610224565b80633d8b38f6146103c6578063414319081461040357806342842e0e1461042c57806342d65a8d1461045557806346514dfe1461047e57610224565b8063081812fc116101f8578063081812fc146102e3578063095ea7b31461032057806310ddb1371461034957806318160ddd1461037257806323b872dd1461039d57610224565b80621d35671461022957806301ffc9a71461025257806306fdde031461028f57806307e0db17146102ba575b600080fd5b34801561023557600080fd5b50610250600480360381019061024b9190614bb6565b6108dc565b005b34801561025e57600080fd5b5061027960048036038101906102749190614822565b6109f8565b60405161028691906152bb565b60405180910390f35b34801561029b57600080fd5b506102a4610ada565b6040516102b19190615343565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc919061494a565b610b6c565b005b3480156102ef57600080fd5b5061030a60048036038101906103059190614d2c565b610c76565b6040516103179190615254565b60405180910390f35b34801561032c57600080fd5b506103476004803603810190610342919061475b565b610cf2565b005b34801561035557600080fd5b50610370600480360381019061036b919061494a565b610dfd565b005b34801561037e57600080fd5b50610387610f07565b6040516103949190615711565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf919061457f565b610f19565b005b3480156103d257600080fd5b506103ed60048036038101906103e8919061499c565b610f29565b6040516103fa91906152bb565b60405180910390f35b34801561040f57600080fd5b5061042a6004803603810190610425919061451a565b610ffd565b005b34801561043857600080fd5b50610453600480360381019061044e919061457f565b6110bd565b005b34801561046157600080fd5b5061047c6004803603810190610477919061499c565b6110dd565b005b34801561048a57600080fd5b506104a560048036038101906104a091906147e6565b6111ed565b005b6104c160048036038101906104bc9190614685565b611285565b005b3480156104cf57600080fd5b506104ea60048036038101906104e59190614909565b6112e4565b005b3480156104f857600080fd5b50610513600480360381019061050e9190614d2c565b61137a565b6040516105209190615254565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190614bb6565b611390565b005b34801561055e57600080fd5b506105796004803603810190610574919061494a565b611417565b60405161058691906152f1565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b1919061451a565b6114c4565b6040516105c39190615711565b60405180910390f35b3480156105d857600080fd5b506105e1611594565b005b3480156105ef57600080fd5b5061060a60048036038101906106059190614797565b61161c565b005b34801561061857600080fd5b50610621611687565b60405161062e9190615254565b60405180910390f35b34801561064357600080fd5b5061065e60048036038101906106599190614ab7565b6116b0565b60405161066b91906152d6565b60405180910390f35b34801561068057600080fd5b506106896116f8565b6040516106969190615343565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190614649565b61178a565b005b3480156106d457600080fd5b506106ef60048036038101906106ea91906145ce565b611902565b005b3480156106fd57600080fd5b5061071860048036038101906107139190614d2c565b61197e565b6040516107259190615343565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190614cac565b6119fc565b005b34801561076357600080fd5b5061076c611b12565b6040516107799190615254565b60405180910390f35b61079c60048036038101906107979190614b1e565b611b38565b005b3480156107aa57600080fd5b506107b3611d03565b6040516107c09190615343565b60405180910390f35b3480156107d557600080fd5b506107de611d91565b6040516107eb9190615254565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190614543565b611db9565b60405161082891906152bb565b60405180910390f35b34801561083d57600080fd5b506108586004803603810190610853919061499c565b611e4d565b005b610874600480360381019061086f91906149f4565b611f34565b005b34801561088257600080fd5b5061089d6004803603810190610898919061451a565b611f99565b005b3480156108ab57600080fd5b506108c660048036038101906108c19190614c49565b612091565b6040516108d391906152f1565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1661091b6121f9565b73ffffffffffffffffffffffffffffffffffffffff161461093b57600080fd5b600160008561ffff1661ffff168152602001908152602001600020805461096190615a41565b905083511480156109a75750600160008561ffff1661ffff1681526020019081526020016000206040516109959190615219565b60405180910390208380519060200120145b6109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd906153a5565b60405180910390fd5b6109f284848484612201565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ad35750610ad282612316565b5b9050919050565b606060058054610ae990615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1590615a41565b8015610b625780601f10610b3757610100808354040283529160200191610b62565b820191906000526020600020905b815481529060010190602001808311610b4557829003601f168201915b5050505050905090565b610b746121f9565b73ffffffffffffffffffffffffffffffffffffffff16610b92611687565b73ffffffffffffffffffffffffffffffffffffffff1614610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90615465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166307e0db17826040518263ffffffff1660e01b8152600401610c4191906154a5565b600060405180830381600087803b158015610c5b57600080fd5b505af1158015610c6f573d6000803e3d6000fd5b5050505050565b6000610c8182612380565b610cb7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cfd8261137a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d65576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d846121f9565b73ffffffffffffffffffffffffffffffffffffffff1614158015610db65750610db481610daf6121f9565b611db9565b155b15610ded576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610df88383836123bb565b505050565b610e056121f9565b73ffffffffffffffffffffffffffffffffffffffff16610e23611687565b73ffffffffffffffffffffffffffffffffffffffff1614610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7090615465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166310ddb137826040518263ffffffff1660e01b8152600401610ed291906154a5565b600060405180830381600087803b158015610eec57600080fd5b505af1158015610f00573d6000803e3d6000fd5b5050505050565b60006004546003546007540103905090565b610f2483838361246d565b505050565b600080600160008661ffff1661ffff1681526020019081526020016000208054610f5290615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e90615a41565b8015610fcb5780601f10610fa057610100808354040283529160200191610fcb565b820191906000526020600020905b815481529060010190602001808311610fae57829003601f168201915b505050505090508383604051610fe29291906151e9565b60405180910390208180519060200120149150509392505050565b6110056121f9565b73ffffffffffffffffffffffffffffffffffffffff16611023611687565b73ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090615465565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110d883838360405180602001604052806000815250611902565b505050565b6110e56121f9565b73ffffffffffffffffffffffffffffffffffffffff16611103611687565b73ffffffffffffffffffffffffffffffffffffffff1614611159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115090615465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166342d65a8d8484846040518463ffffffff1660e01b81526004016111b69392919061552e565b600060405180830381600087803b1580156111d057600080fd5b505af11580156111e4573d6000803e3d6000fd5b50505050505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124757600080fd5b6127108167ffffffffffffffff166003546112629190615854565b111561126d57600080fd5b611281828267ffffffffffffffff16612923565b5050565b6112d9898989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508888888888612941565b505050505050505050565b6112ec6121f9565b73ffffffffffffffffffffffffffffffffffffffff1661130a611687565b73ffffffffffffffffffffffffffffffffffffffff1614611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790615465565b60405180910390fd5b80600c9080519060200190611376929190614145565b5050565b600061138582612b98565b600001519050919050565b3073ffffffffffffffffffffffffffffffffffffffff166113af6121f9565b73ffffffffffffffffffffffffffffffffffffffff1614611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc906153c5565b60405180910390fd5b61141184848484612e14565b50505050565b6060600160008361ffff1661ffff168152602001908152602001600020805461143f90615a41565b80601f016020809104026020016040519081016040528092919081815260200182805461146b90615a41565b80156114b85780601f1061148d576101008083540402835291602001916114b8565b820191906000526020600020905b81548152906001019060200180831161149b57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561152c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61159c6121f9565b73ffffffffffffffffffffffffffffffffffffffff166115ba611687565b73ffffffffffffffffffffffffffffffffffffffff1614611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790615465565b60405180910390fd5b61161a6000612e94565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461167657600080fd5b61168233848484612f58565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050505481565b60606006805461170790615a41565b80601f016020809104026020016040519081016040528092919081815260200182805461173390615a41565b80156117805780601f1061175557610100808354040283529160200191611780565b820191906000526020600020905b81548152906001019060200180831161176357829003601f168201915b5050505050905090565b6117926121f9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117f7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60006118046121f9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118b16121f9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f691906152bb565b60405180910390a35050565b61190d84848461246d565b61192c8373ffffffffffffffffffffffffffffffffffffffff166132d7565b8015611941575061193f848484846132fa565b155b15611978576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60608161198a81612380565b6119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c090615485565b60405180910390fd5b600c6119d48461345a565b6040516020016119e5929190615230565b604051602081830303815290604052915050919050565b611a046121f9565b73ffffffffffffffffffffffffffffffffffffffff16611a22611687565b73ffffffffffffffffffffffffffffffffffffffff1614611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90615465565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663cbed8b9c86868686866040518663ffffffff1660e01b8152600401611ad99594939291906156c3565b600060405180830381600087803b158015611af357600080fd5b505af1158015611b07573d6000803e3d6000fd5b505050505050505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008761ffff1661ffff16815260200190815260200160002085604051611b639190615202565b908152602001604051809103902060008567ffffffffffffffff1681526020019081526020016000205490506000801b811415611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc90615445565b60405180910390fd5b808383604051611be69291906151e9565b604051809103902014611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590615425565b60405180910390fd5b6000801b600260008861ffff1661ffff16815260200190815260200160002086604051611c5b9190615202565b908152602001604051809103902060008667ffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff166366ad5c8a87878787876040518663ffffffff1660e01b8152600401611cc9959493929190615560565b600060405180830381600087803b158015611ce357600080fd5b505af1158015611cf7573d6000803e3d6000fd5b50505050505050505050565b600c8054611d1090615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3c90615a41565b8015611d895780601f10611d5e57610100808354040283529160200191611d89565b820191906000526020600020905b815481529060010190602001808311611d6c57829003601f168201915b505050505081565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e556121f9565b73ffffffffffffffffffffffffffffffffffffffff16611e73611687565b73ffffffffffffffffffffffffffffffffffffffff1614611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090615465565b60405180910390fd5b8181600160008661ffff1661ffff1681526020019081526020016000209190611ef39291906141cb565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611f279392919061552e565b60405180910390a1505050565b611f8f611f3f6121f9565b8989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508888888888612941565b5050505050505050565b611fa16121f9565b73ffffffffffffffffffffffffffffffffffffffff16611fbf611687565b73ffffffffffffffffffffffffffffffffffffffff1614612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90615465565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c90615365565b60405180910390fd5b61208e81612e94565b50565b60607f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f5ecbdbc7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663096568f6306040518263ffffffff1660e01b81526004016121289190615254565b60206040518083038186803b15801561214057600080fd5b505afa158015612154573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121789190614973565b8630866040518563ffffffff1660e01b815260040161219a949392919061567e565b60006040518083038186803b1580156121b257600080fd5b505afa1580156121c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121ef9190614874565b9050949350505050565b600033905090565b3073ffffffffffffffffffffffffffffffffffffffff166366ad5c8a858585856040518563ffffffff1660e01b815260040161224094939291906155b5565b600060405180830381600087803b15801561225a57600080fd5b505af192505050801561226b575060015b61230f578080519060200120600260008661ffff1661ffff168152602001908152602001600020846040516122a09190615202565b908152602001604051809103902060008467ffffffffffffffff168152602001908152602001600020819055507fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d8484848460405161230294939291906155b5565b60405180910390a1612310565b5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600354821080156123b4575060086000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b82600a600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061247882612b98565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166125046121f9565b73ffffffffffffffffffffffffffffffffffffffff16148061253357506125328561252d6121f9565b611db9565b5b8061257857506125416121f9565b73ffffffffffffffffffffffffffffffffffffffff1661256084610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612618576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126258585856001613607565b612631600084876123bb565b6001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128b15760035482146128b057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291c858585600161360d565b5050505050565b61293d828260405180602001604052806000815250613613565b5050565b60008873ffffffffffffffffffffffffffffffffffffffff166129626121f9565b73ffffffffffffffffffffffffffffffffffffffff16148061299157506129908961298b6121f9565b611db9565b5b806129d6575061299f6121f9565b73ffffffffffffffffffffffffffffffffffffffff166129be87610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806129e257600080fd5b6129ee89898989613625565b60008787604051602001612a03929190615313565b6040516020818303038152906040529050612a658982888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613634565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637a1457488b306040518363ffffffff1660e01b8152600401612ac29291906154c0565b60206040518083038186803b158015612ada57600080fd5b505afa158015612aee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b129190614d55565b905088604051612b229190615202565b60405180910390208a61ffff168c73ffffffffffffffffffffffffffffffffffffffff167f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce15438b85604051612b7792919061572c565b60405180910390a4612b8b8b8b8b8b613756565b5050505050505050505050565b612ba0614251565b6000829050600354811015612ddd576000600860008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ddb57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cbf578092505050612e0f565b5b600115612dda57818060019003925050600860008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612dd5578092505050612e0f565b612cc0565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b612e1f84848361375c565b60008082806020019051810190612e3691906148b5565b91509150600060148301519050612e4e878284613761565b7fd4d39d20f72eabd06c301e516d54653dfc9116de62c1d54bf1cb48cf3b42a7db87828488604051612e8394939291906154e9565b60405180910390a150505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612f6383612b98565b90508473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fce576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600084905060008467ffffffffffffffff16820190505b818060010192508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561316e5760008567ffffffffffffffff16870190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132cb57898160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b50505050505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133206121f9565b8786866040518563ffffffff1660e01b8152600401613342949392919061526f565b602060405180830381600087803b15801561335c57600080fd5b505af192505050801561338d57506040513d601f19601f8201168201806040525081019061338a919061484b565b60015b613407573d80600081146133bd576040519150601f19603f3d011682016040523d82523d6000602084013e6133c2565b606091505b506000815114156133ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156134a2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613602565b600082905060005b600082146134d45780806134bd90615aa4565b915050600a826134cd91906158e8565b91506134aa565b60008167ffffffffffffffff811115613516577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135485781602001600182028036833780820191505090505b5090505b600085146135fb576001826135619190615919565b9150600a856135709190615aed565b603061357c9190615854565b60f81b8183815181106135b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135f491906158e8565b945061354c565b8093505050505b919050565b50505050565b50505050565b6136208383836001613770565b505050565b61362e81613abd565b50505050565b6000600160008761ffff1661ffff168152602001908152602001600020805461365c90615a41565b9050141561369f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613696906153e5565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663c58031003487600160008a61ffff1661ffff168152602001908152602001600020888888886040518863ffffffff1660e01b815260040161371d96959493929190615608565b6000604051808303818588803b15801561373657600080fd5b505af115801561374a573d6000803e3d6000fd5b50505050505050505050565b50505050565b505050565b61376b8282613acb565b505050565b60006003549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156137de576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613819576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138266000868387613607565b83600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846008600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426008600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561396e575061396d8773ffffffffffffffffffffffffffffffffffffffff166132d7565b5b15613a34575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139e360008884806001019550886132fa565b613a19576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613974578260035414613a2f57600080fd5b613aa0565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613a35575b816003819055505050613ab6600086838761360d565b5050505050565b613ac8816001613d9a565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b32576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b3b81612380565b15613b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7290615385565b60405180910390fd5b6003548110613bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb690615405565b60405180910390fd5b6001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff16613c2591906158aa565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816008600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426008600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600060086000838152602001908152602001600020600001601c6101000a81548160ff021916908315150217905550613d1a600083836001613607565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d8460008383600161360d565b6007600081548092919060010191905055505050565b6000613da583612b98565b90506000816000015190508215613e865760008173ffffffffffffffffffffffffffffffffffffffff16613dd76121f9565b73ffffffffffffffffffffffffffffffffffffffff161480613e065750613e0582613e006121f9565b611db9565b5b80613e4b5750613e146121f9565b73ffffffffffffffffffffffffffffffffffffffff16613e3386610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613e84576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b613e94816000866001613607565b613ea0600085836123bb565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156140bf5760035482146140be57848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461412d81600086600161360d565b60046000815480929190600101919050555050505050565b82805461415190615a41565b90600052602060002090601f01602090048101928261417357600085556141ba565b82601f1061418c57805160ff19168380011785556141ba565b828001600101855582156141ba579182015b828111156141b957825182559160200191906001019061419e565b5b5090506141c79190614294565b5090565b8280546141d790615a41565b90600052602060002090601f0160209004810192826141f95760008555614240565b82601f1061421257803560ff1916838001178555614240565b82800160010185558215614240579182015b8281111561423f578235825591602001919060010190614224565b5b50905061424d9190614294565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156142ad576000816000905550600101614295565b5090565b60006142c46142bf8461577a565b615755565b9050828152602081018484840111156142dc57600080fd5b6142e78482856159ff565b509392505050565b60006143026142fd8461577a565b615755565b90508281526020810184848401111561431a57600080fd5b614325848285615a0e565b509392505050565b600061434061433b846157ab565b615755565b90508281526020810184848401111561435857600080fd5b6143638482856159ff565b509392505050565b60008135905061437a81615e43565b92915050565b60008135905061438f81615e5a565b92915050565b6000813590506143a481615e71565b92915050565b6000813590506143b981615e88565b92915050565b6000815190506143ce81615e88565b92915050565b60008083601f8401126143e657600080fd5b8235905067ffffffffffffffff8111156143ff57600080fd5b60208301915083600182028301111561441757600080fd5b9250929050565b600082601f83011261442f57600080fd5b813561443f8482602086016142b1565b91505092915050565b600082601f83011261445957600080fd5b81516144698482602086016142ef565b91505092915050565b600082601f83011261448357600080fd5b813561449384826020860161432d565b91505092915050565b6000813590506144ab81615e9f565b92915050565b6000815190506144c081615e9f565b92915050565b6000813590506144d581615eb6565b92915050565b6000815190506144ea81615eb6565b92915050565b6000813590506144ff81615ecd565b92915050565b60008151905061451481615ecd565b92915050565b60006020828403121561452c57600080fd5b600061453a8482850161436b565b91505092915050565b6000806040838503121561455657600080fd5b60006145648582860161436b565b92505060206145758582860161436b565b9150509250929050565b60008060006060848603121561459457600080fd5b60006145a28682870161436b565b93505060206145b38682870161436b565b92505060406145c4868287016144c6565b9150509250925092565b600080600080608085870312156145e457600080fd5b60006145f28782880161436b565b94505060206146038782880161436b565b9350506040614614878288016144c6565b925050606085013567ffffffffffffffff81111561463157600080fd5b61463d8782880161441e565b91505092959194509250565b6000806040838503121561465c57600080fd5b600061466a8582860161436b565b925050602061467b85828601614395565b9150509250929050565b600080600080600080600080600060e08a8c0312156146a357600080fd5b60006146b18c828d0161436b565b99505060206146c28c828d0161449c565b98505060408a013567ffffffffffffffff8111156146df57600080fd5b6146eb8c828d016143d4565b975097505060606146fe8c828d016144c6565b955050608061470f8c828d01614380565b94505060a06147208c828d0161436b565b93505060c08a013567ffffffffffffffff81111561473d57600080fd5b6147498c828d016143d4565b92509250509295985092959850929598565b6000806040838503121561476e57600080fd5b600061477c8582860161436b565b925050602061478d858286016144c6565b9150509250929050565b6000806000606084860312156147ac57600080fd5b60006147ba8682870161436b565b93505060206147cb868287016144c6565b92505060406147dc868287016144f0565b9150509250925092565b600080604083850312156147f957600080fd5b60006148078582860161436b565b9250506020614818858286016144f0565b9150509250929050565b60006020828403121561483457600080fd5b6000614842848285016143aa565b91505092915050565b60006020828403121561485d57600080fd5b600061486b848285016143bf565b91505092915050565b60006020828403121561488657600080fd5b600082015167ffffffffffffffff8111156148a057600080fd5b6148ac84828501614448565b91505092915050565b600080604083850312156148c857600080fd5b600083015167ffffffffffffffff8111156148e257600080fd5b6148ee85828601614448565b92505060206148ff858286016144db565b9150509250929050565b60006020828403121561491b57600080fd5b600082013567ffffffffffffffff81111561493557600080fd5b61494184828501614472565b91505092915050565b60006020828403121561495c57600080fd5b600061496a8482850161449c565b91505092915050565b60006020828403121561498557600080fd5b6000614993848285016144b1565b91505092915050565b6000806000604084860312156149b157600080fd5b60006149bf8682870161449c565b935050602084013567ffffffffffffffff8111156149dc57600080fd5b6149e8868287016143d4565b92509250509250925092565b60008060008060008060008060c0898b031215614a1057600080fd5b6000614a1e8b828c0161449c565b985050602089013567ffffffffffffffff811115614a3b57600080fd5b614a478b828c016143d4565b97509750506040614a5a8b828c016144c6565b9550506060614a6b8b828c01614380565b9450506080614a7c8b828c0161436b565b93505060a089013567ffffffffffffffff811115614a9957600080fd5b614aa58b828c016143d4565b92509250509295985092959890939650565b600080600060608486031215614acc57600080fd5b6000614ada8682870161449c565b935050602084013567ffffffffffffffff811115614af757600080fd5b614b038682870161441e565b9250506040614b14868287016144c6565b9150509250925092565b600080600080600060808688031215614b3657600080fd5b6000614b448882890161449c565b955050602086013567ffffffffffffffff811115614b6157600080fd5b614b6d8882890161441e565b9450506040614b7e888289016144f0565b935050606086013567ffffffffffffffff811115614b9b57600080fd5b614ba7888289016143d4565b92509250509295509295909350565b60008060008060808587031215614bcc57600080fd5b6000614bda8782880161449c565b945050602085013567ffffffffffffffff811115614bf757600080fd5b614c038782880161441e565b9350506040614c14878288016144f0565b925050606085013567ffffffffffffffff811115614c3157600080fd5b614c3d8782880161441e565b91505092959194509250565b60008060008060808587031215614c5f57600080fd5b6000614c6d8782880161449c565b9450506020614c7e8782880161449c565b9350506040614c8f8782880161436b565b9250506060614ca0878288016144c6565b91505092959194509250565b600080600080600060808688031215614cc457600080fd5b6000614cd28882890161449c565b9550506020614ce38882890161449c565b9450506040614cf4888289016144c6565b935050606086013567ffffffffffffffff811115614d1157600080fd5b614d1d888289016143d4565b92509250509295509295909350565b600060208284031215614d3e57600080fd5b6000614d4c848285016144c6565b91505092915050565b600060208284031215614d6757600080fd5b6000614d7584828501614505565b91505092915050565b614d878161595f565b82525050565b614d968161594d565b82525050565b614da581615971565b82525050565b614db48161597d565b82525050565b6000614dc6838561581c565b9350614dd38385846159ff565b614ddc83615bda565b840190509392505050565b6000614df3838561582d565b9350614e008385846159ff565b82840190509392505050565b6000614e1782615806565b614e21818561581c565b9350614e31818560208601615a0e565b614e3a81615bda565b840191505092915050565b6000614e5082615806565b614e5a818561582d565b9350614e6a818560208601615a0e565b80840191505092915050565b60008154614e8381615a41565b614e8d818661581c565b94506001821660008114614ea85760018114614eba57614eed565b60ff1983168652602086019350614eed565b614ec3856157dc565b60005b83811015614ee557815481890152600182019150602081019050614ec6565b808801955050505b50505092915050565b60008154614f0381615a41565b614f0d818661582d565b94506001821660008114614f285760018114614f3957614f6c565b60ff19831686528186019350614f6c565b614f42856157dc565b60005b83811015614f6457815481890152600182019150602081019050614f45565b838801955050505b50505092915050565b6000614f8082615811565b614f8a8185615838565b9350614f9a818560208601615a0e565b614fa381615bda565b840191505092915050565b6000614fb982615811565b614fc38185615849565b9350614fd3818560208601615a0e565b80840191505092915050565b60008154614fec81615a41565b614ff68186615849565b94506001821660008114615011576001811461502257615055565b60ff19831686528186019350615055565b61502b856157f1565b60005b8381101561504d5781548189015260018201915060208101905061502e565b838801955050505b50505092915050565b600061506b602683615838565b915061507682615beb565b604082019050919050565b600061508e601c83615838565b915061509982615c3a565b602082019050919050565b60006150b1602b83615838565b91506150bc82615c63565b604082019050919050565b60006150d4602283615838565b91506150df82615cb2565b604082019050919050565b60006150f7603283615838565b915061510282615d01565b604082019050919050565b600061511a601783615838565b915061512582615d50565b602082019050919050565b600061513d601b83615838565b915061514882615d79565b602082019050919050565b6000615160601d83615838565b915061516b82615da2565b602082019050919050565b6000615183602083615838565b915061518e82615dcb565b602082019050919050565b60006151a6602283615838565b91506151b182615df4565b604082019050919050565b6151c5816159b3565b82525050565b6151d4816159e1565b82525050565b6151e3816159eb565b82525050565b60006151f6828486614de7565b91508190509392505050565b600061520e8284614e45565b915081905092915050565b60006152258284614ef6565b915081905092915050565b600061523c8285614fdf565b91506152488284614fae565b91508190509392505050565b60006020820190506152696000830184614d8d565b92915050565b60006080820190506152846000830187614d8d565b6152916020830186614d8d565b61529e60408301856151cb565b81810360608301526152b08184614e0c565b905095945050505050565b60006020820190506152d06000830184614d9c565b92915050565b60006020820190506152eb6000830184614dab565b92915050565b6000602082019050818103600083015261530b8184614e0c565b905092915050565b6000604082019050818103600083015261532d8185614e0c565b905061533c60208301846151cb565b9392505050565b6000602082019050818103600083015261535d8184614f75565b905092915050565b6000602082019050818103600083015261537e8161505e565b9050919050565b6000602082019050818103600083015261539e81615081565b9050919050565b600060208201905081810360008301526153be816150a4565b9050919050565b600060208201905081810360008301526153de816150c7565b9050919050565b600060208201905081810360008301526153fe816150ea565b9050919050565b6000602082019050818103600083015261541e8161510d565b9050919050565b6000602082019050818103600083015261543e81615130565b9050919050565b6000602082019050818103600083015261545e81615153565b9050919050565b6000602082019050818103600083015261547e81615176565b9050919050565b6000602082019050818103600083015261549e81615199565b9050919050565b60006020820190506154ba60008301846151bc565b92915050565b60006040820190506154d560008301856151bc565b6154e26020830184614d8d565b9392505050565b60006080820190506154fe60008301876151bc565b61550b6020830186614d8d565b61551860408301856151cb565b61552560608301846151da565b95945050505050565b600060408201905061554360008301866151bc565b8181036020830152615556818486614dba565b9050949350505050565b600060808201905061557560008301886151bc565b81810360208301526155878187614e0c565b905061559660408301866151da565b81810360608301526155a9818486614dba565b90509695505050505050565b60006080820190506155ca60008301876151bc565b81810360208301526155dc8186614e0c565b90506155eb60408301856151da565b81810360608301526155fd8184614e0c565b905095945050505050565b600060c08201905061561d60008301896151bc565b818103602083015261562f8188614e76565b905081810360408301526156438187614e0c565b90506156526060830186614d7e565b61565f6080830185614d8d565b81810360a08301526156718184614e0c565b9050979650505050505050565b600060808201905061569360008301876151bc565b6156a060208301866151bc565b6156ad6040830185614d8d565b6156ba60608301846151cb565b95945050505050565b60006080820190506156d860008301886151bc565b6156e560208301876151bc565b6156f260408301866151cb565b8181036060830152615705818486614dba565b90509695505050505050565b600060208201905061572660008301846151cb565b92915050565b600060408201905061574160008301856151cb565b61574e60208301846151da565b9392505050565b600061575f615770565b905061576b8282615a73565b919050565b6000604051905090565b600067ffffffffffffffff82111561579557615794615bab565b5b61579e82615bda565b9050602081019050919050565b600067ffffffffffffffff8211156157c6576157c5615bab565b5b6157cf82615bda565b9050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061585f826159e1565b915061586a836159e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561589f5761589e615b1e565b5b828201905092915050565b60006158b5826159eb565b91506158c0836159eb565b92508267ffffffffffffffff038211156158dd576158dc615b1e565b5b828201905092915050565b60006158f3826159e1565b91506158fe836159e1565b92508261590e5761590d615b4d565b5b828204905092915050565b6000615924826159e1565b915061592f836159e1565b92508282101561594257615941615b1e565b5b828203905092915050565b6000615958826159c1565b9050919050565b600061596a826159c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015615a2c578082015181840152602081019050615a11565b83811115615a3b576000848401525b50505050565b60006002820490506001821680615a5957607f821691505b60208210811415615a6d57615a6c615b7c565b5b50919050565b615a7c82615bda565b810181811067ffffffffffffffff82111715615a9b57615a9a615bab565b5b80604052505050565b6000615aaf826159e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615ae257615ae1615b1e565b5b600182019050919050565b6000615af8826159e1565b9150615b03836159e1565b925082615b1357615b12615b4d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4c7a52656365697665723a20696e76616c696420736f757263652073656e646960008201527f6e6720636f6e7472616374000000000000000000000000000000000000000000602082015250565b7f4c7a52656365697665723a2063616c6c6572206d75737420626520427269646760008201527f652e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4c7a53656e643a2064657374696e6174696f6e20636861696e206973206e6f7460008201527f2061207472757374656420736f757263652e0000000000000000000000000000602082015250565b7f4552433732313a207765206f6e6c792072652d6d696e74000000000000000000600082015250565b7f4c7a52656365697665723a20696e76616c6964207061796c6f61640000000000600082015250565b7f4c7a52656365697665723a206e6f2073746f726564206d657373616765000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20696420646f6573206e6f74206d696e74656420796560008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b615e4c8161594d565b8114615e5757600080fd5b50565b615e638161595f565b8114615e6e57600080fd5b50565b615e7a81615971565b8114615e8557600080fd5b50565b615e9181615987565b8114615e9c57600080fd5b50565b615ea8816159b3565b8114615eb357600080fd5b50565b615ebf816159e1565b8114615eca57600080fd5b50565b615ed6816159eb565b8114615ee157600080fd5b5056fea2646970667358221220f47b143863c8ba5245fae04d7ffd7ffc2e2eb66f41c12513c416e58a70dabee864736f6c6343000804003300000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675

Deployed Bytecode

0x6080604052600436106102245760003560e01c806370a0823111610123578063cbed8b9c116100ab578063e985e9c51161006f578063e985e9c5146107f4578063eb8d72b714610831578063eed33cef1461085a578063f2fde38b14610876578063f5ecbdbc1461089f57610224565b8063cbed8b9c1461072e578063cf73a1bc14610757578063d1deba1f14610782578063d547cfb71461079e578063dacbcbe2146107c957610224565b80638ee74912116100f25780638ee749121461063757806395d89b4114610674578063a22cb4651461069f578063b88d4fde146106c8578063c87b56dd146106f157610224565b806370a082311461058f578063715018a6146105cc578063794b97e3146105e35780638da5cb5b1461060c57610224565b80633d8b38f6116101b1578063519056361161017557806351905636146104a757806355f804b3146104c35780636352211e146104ec57806366ad5c8a1461052957806369b41f951461055257610224565b80633d8b38f6146103c6578063414319081461040357806342842e0e1461042c57806342d65a8d1461045557806346514dfe1461047e57610224565b8063081812fc116101f8578063081812fc146102e3578063095ea7b31461032057806310ddb1371461034957806318160ddd1461037257806323b872dd1461039d57610224565b80621d35671461022957806301ffc9a71461025257806306fdde031461028f57806307e0db17146102ba575b600080fd5b34801561023557600080fd5b50610250600480360381019061024b9190614bb6565b6108dc565b005b34801561025e57600080fd5b5061027960048036038101906102749190614822565b6109f8565b60405161028691906152bb565b60405180910390f35b34801561029b57600080fd5b506102a4610ada565b6040516102b19190615343565b60405180910390f35b3480156102c657600080fd5b506102e160048036038101906102dc919061494a565b610b6c565b005b3480156102ef57600080fd5b5061030a60048036038101906103059190614d2c565b610c76565b6040516103179190615254565b60405180910390f35b34801561032c57600080fd5b506103476004803603810190610342919061475b565b610cf2565b005b34801561035557600080fd5b50610370600480360381019061036b919061494a565b610dfd565b005b34801561037e57600080fd5b50610387610f07565b6040516103949190615711565b60405180910390f35b3480156103a957600080fd5b506103c460048036038101906103bf919061457f565b610f19565b005b3480156103d257600080fd5b506103ed60048036038101906103e8919061499c565b610f29565b6040516103fa91906152bb565b60405180910390f35b34801561040f57600080fd5b5061042a6004803603810190610425919061451a565b610ffd565b005b34801561043857600080fd5b50610453600480360381019061044e919061457f565b6110bd565b005b34801561046157600080fd5b5061047c6004803603810190610477919061499c565b6110dd565b005b34801561048a57600080fd5b506104a560048036038101906104a091906147e6565b6111ed565b005b6104c160048036038101906104bc9190614685565b611285565b005b3480156104cf57600080fd5b506104ea60048036038101906104e59190614909565b6112e4565b005b3480156104f857600080fd5b50610513600480360381019061050e9190614d2c565b61137a565b6040516105209190615254565b60405180910390f35b34801561053557600080fd5b50610550600480360381019061054b9190614bb6565b611390565b005b34801561055e57600080fd5b506105796004803603810190610574919061494a565b611417565b60405161058691906152f1565b60405180910390f35b34801561059b57600080fd5b506105b660048036038101906105b1919061451a565b6114c4565b6040516105c39190615711565b60405180910390f35b3480156105d857600080fd5b506105e1611594565b005b3480156105ef57600080fd5b5061060a60048036038101906106059190614797565b61161c565b005b34801561061857600080fd5b50610621611687565b60405161062e9190615254565b60405180910390f35b34801561064357600080fd5b5061065e60048036038101906106599190614ab7565b6116b0565b60405161066b91906152d6565b60405180910390f35b34801561068057600080fd5b506106896116f8565b6040516106969190615343565b60405180910390f35b3480156106ab57600080fd5b506106c660048036038101906106c19190614649565b61178a565b005b3480156106d457600080fd5b506106ef60048036038101906106ea91906145ce565b611902565b005b3480156106fd57600080fd5b5061071860048036038101906107139190614d2c565b61197e565b6040516107259190615343565b60405180910390f35b34801561073a57600080fd5b5061075560048036038101906107509190614cac565b6119fc565b005b34801561076357600080fd5b5061076c611b12565b6040516107799190615254565b60405180910390f35b61079c60048036038101906107979190614b1e565b611b38565b005b3480156107aa57600080fd5b506107b3611d03565b6040516107c09190615343565b60405180910390f35b3480156107d557600080fd5b506107de611d91565b6040516107eb9190615254565b60405180910390f35b34801561080057600080fd5b5061081b60048036038101906108169190614543565b611db9565b60405161082891906152bb565b60405180910390f35b34801561083d57600080fd5b506108586004803603810190610853919061499c565b611e4d565b005b610874600480360381019061086f91906149f4565b611f34565b005b34801561088257600080fd5b5061089d6004803603810190610898919061451a565b611f99565b005b3480156108ab57600080fd5b506108c660048036038101906108c19190614c49565b612091565b6040516108d391906152f1565b60405180910390f35b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1661091b6121f9565b73ffffffffffffffffffffffffffffffffffffffff161461093b57600080fd5b600160008561ffff1661ffff168152602001908152602001600020805461096190615a41565b905083511480156109a75750600160008561ffff1661ffff1681526020019081526020016000206040516109959190615219565b60405180910390208380519060200120145b6109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd906153a5565b60405180910390fd5b6109f284848484612201565b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ad35750610ad282612316565b5b9050919050565b606060058054610ae990615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1590615a41565b8015610b625780601f10610b3757610100808354040283529160200191610b62565b820191906000526020600020905b815481529060010190602001808311610b4557829003601f168201915b5050505050905090565b610b746121f9565b73ffffffffffffffffffffffffffffffffffffffff16610b92611687565b73ffffffffffffffffffffffffffffffffffffffff1614610be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf90615465565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166307e0db17826040518263ffffffff1660e01b8152600401610c4191906154a5565b600060405180830381600087803b158015610c5b57600080fd5b505af1158015610c6f573d6000803e3d6000fd5b5050505050565b6000610c8182612380565b610cb7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cfd8261137a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d65576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d846121f9565b73ffffffffffffffffffffffffffffffffffffffff1614158015610db65750610db481610daf6121f9565b611db9565b155b15610ded576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610df88383836123bb565b505050565b610e056121f9565b73ffffffffffffffffffffffffffffffffffffffff16610e23611687565b73ffffffffffffffffffffffffffffffffffffffff1614610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7090615465565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166310ddb137826040518263ffffffff1660e01b8152600401610ed291906154a5565b600060405180830381600087803b158015610eec57600080fd5b505af1158015610f00573d6000803e3d6000fd5b5050505050565b60006004546003546007540103905090565b610f2483838361246d565b505050565b600080600160008661ffff1661ffff1681526020019081526020016000208054610f5290615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7e90615a41565b8015610fcb5780601f10610fa057610100808354040283529160200191610fcb565b820191906000526020600020905b815481529060010190602001808311610fae57829003601f168201915b505050505090508383604051610fe29291906151e9565b60405180910390208180519060200120149150509392505050565b6110056121f9565b73ffffffffffffffffffffffffffffffffffffffff16611023611687565b73ffffffffffffffffffffffffffffffffffffffff1614611079576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107090615465565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110d883838360405180602001604052806000815250611902565b505050565b6110e56121f9565b73ffffffffffffffffffffffffffffffffffffffff16611103611687565b73ffffffffffffffffffffffffffffffffffffffff1614611159576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115090615465565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff166342d65a8d8484846040518463ffffffff1660e01b81526004016111b69392919061552e565b600060405180830381600087803b1580156111d057600080fd5b505af11580156111e4573d6000803e3d6000fd5b50505050505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461124757600080fd5b6127108167ffffffffffffffff166003546112629190615854565b111561126d57600080fd5b611281828267ffffffffffffffff16612923565b5050565b6112d9898989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508888888888612941565b505050505050505050565b6112ec6121f9565b73ffffffffffffffffffffffffffffffffffffffff1661130a611687565b73ffffffffffffffffffffffffffffffffffffffff1614611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790615465565b60405180910390fd5b80600c9080519060200190611376929190614145565b5050565b600061138582612b98565b600001519050919050565b3073ffffffffffffffffffffffffffffffffffffffff166113af6121f9565b73ffffffffffffffffffffffffffffffffffffffff1614611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc906153c5565b60405180910390fd5b61141184848484612e14565b50505050565b6060600160008361ffff1661ffff168152602001908152602001600020805461143f90615a41565b80601f016020809104026020016040519081016040528092919081815260200182805461146b90615a41565b80156114b85780601f1061148d576101008083540402835291602001916114b8565b820191906000526020600020905b81548152906001019060200180831161149b57829003601f168201915b50505050509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561152c576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61159c6121f9565b73ffffffffffffffffffffffffffffffffffffffff166115ba611687565b73ffffffffffffffffffffffffffffffffffffffff1614611610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160790615465565b60405180910390fd5b61161a6000612e94565b565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461167657600080fd5b61168233848484612f58565b505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050505481565b60606006805461170790615a41565b80601f016020809104026020016040519081016040528092919081815260200182805461173390615a41565b80156117805780601f1061175557610100808354040283529160200191611780565b820191906000526020600020905b81548152906001019060200180831161176357829003601f168201915b5050505050905090565b6117926121f9565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117f7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b60006118046121f9565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118b16121f9565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118f691906152bb565b60405180910390a35050565b61190d84848461246d565b61192c8373ffffffffffffffffffffffffffffffffffffffff166132d7565b8015611941575061193f848484846132fa565b155b15611978576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60608161198a81612380565b6119c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c090615485565b60405180910390fd5b600c6119d48461345a565b6040516020016119e5929190615230565b604051602081830303815290604052915050919050565b611a046121f9565b73ffffffffffffffffffffffffffffffffffffffff16611a22611687565b73ffffffffffffffffffffffffffffffffffffffff1614611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90615465565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663cbed8b9c86868686866040518663ffffffff1660e01b8152600401611ad99594939291906156c3565b600060405180830381600087803b158015611af357600080fd5b505af1158015611b07573d6000803e3d6000fd5b505050505050505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008761ffff1661ffff16815260200190815260200160002085604051611b639190615202565b908152602001604051809103902060008567ffffffffffffffff1681526020019081526020016000205490506000801b811415611bd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcc90615445565b60405180910390fd5b808383604051611be69291906151e9565b604051809103902014611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590615425565b60405180910390fd5b6000801b600260008861ffff1661ffff16815260200190815260200160002086604051611c5b9190615202565b908152602001604051809103902060008667ffffffffffffffff168152602001908152602001600020819055503073ffffffffffffffffffffffffffffffffffffffff166366ad5c8a87878787876040518663ffffffff1660e01b8152600401611cc9959493929190615560565b600060405180830381600087803b158015611ce357600080fd5b505af1158015611cf7573d6000803e3d6000fd5b50505050505050505050565b600c8054611d1090615a41565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3c90615a41565b8015611d895780601f10611d5e57610100808354040283529160200191611d89565b820191906000526020600020905b815481529060010190602001808311611d6c57829003601f168201915b505050505081565b60007f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675905090565b6000600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611e556121f9565b73ffffffffffffffffffffffffffffffffffffffff16611e73611687565b73ffffffffffffffffffffffffffffffffffffffff1614611ec9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec090615465565b60405180910390fd5b8181600160008661ffff1661ffff1681526020019081526020016000209190611ef39291906141cb565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611f279392919061552e565b60405180910390a1505050565b611f8f611f3f6121f9565b8989898080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050508888888888612941565b5050505050505050565b611fa16121f9565b73ffffffffffffffffffffffffffffffffffffffff16611fbf611687565b73ffffffffffffffffffffffffffffffffffffffff1614612015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200c90615465565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612085576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207c90615365565b60405180910390fd5b61208e81612e94565b50565b60607f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663f5ecbdbc7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663096568f6306040518263ffffffff1660e01b81526004016121289190615254565b60206040518083038186803b15801561214057600080fd5b505afa158015612154573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121789190614973565b8630866040518563ffffffff1660e01b815260040161219a949392919061567e565b60006040518083038186803b1580156121b257600080fd5b505afa1580156121c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906121ef9190614874565b9050949350505050565b600033905090565b3073ffffffffffffffffffffffffffffffffffffffff166366ad5c8a858585856040518563ffffffff1660e01b815260040161224094939291906155b5565b600060405180830381600087803b15801561225a57600080fd5b505af192505050801561226b575060015b61230f578080519060200120600260008661ffff1661ffff168152602001908152602001600020846040516122a09190615202565b908152602001604051809103902060008467ffffffffffffffff168152602001908152602001600020819055507fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d8484848460405161230294939291906155b5565b60405180910390a1612310565b5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000600354821080156123b4575060086000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b82600a600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061247882612b98565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146124e3576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166125046121f9565b73ffffffffffffffffffffffffffffffffffffffff16148061253357506125328561252d6121f9565b611db9565b5b8061257857506125416121f9565b73ffffffffffffffffffffffffffffffffffffffff1661256084610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806125b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612618576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6126258585856001613607565b612631600084876123bb565b6001600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156128b15760035482146128b057878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461291c858585600161360d565b5050505050565b61293d828260405180602001604052806000815250613613565b5050565b60008873ffffffffffffffffffffffffffffffffffffffff166129626121f9565b73ffffffffffffffffffffffffffffffffffffffff16148061299157506129908961298b6121f9565b611db9565b5b806129d6575061299f6121f9565b73ffffffffffffffffffffffffffffffffffffffff166129be87610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806129e257600080fd5b6129ee89898989613625565b60008787604051602001612a03929190615313565b6040516020818303038152906040529050612a658982888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613634565b60007f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff16637a1457488b306040518363ffffffff1660e01b8152600401612ac29291906154c0565b60206040518083038186803b158015612ada57600080fd5b505afa158015612aee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b129190614d55565b905088604051612b229190615202565b60405180910390208a61ffff168c73ffffffffffffffffffffffffffffffffffffffff167f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce15438b85604051612b7792919061572c565b60405180910390a4612b8b8b8b8b8b613756565b5050505050505050505050565b612ba0614251565b6000829050600354811015612ddd576000600860008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612ddb57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612cbf578092505050612e0f565b5b600115612dda57818060019003925050600860008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612dd5578092505050612e0f565b612cc0565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b612e1f84848361375c565b60008082806020019051810190612e3691906148b5565b91509150600060148301519050612e4e878284613761565b7fd4d39d20f72eabd06c301e516d54653dfc9116de62c1d54bf1cb48cf3b42a7db87828488604051612e8394939291906154e9565b60405180910390a150505050505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612f6383612b98565b90508473ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612fce576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600084905060008467ffffffffffffffff16820190505b818060010192508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082141561316e5760008567ffffffffffffffff16870190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156132cb57898160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b50505050505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133206121f9565b8786866040518563ffffffff1660e01b8152600401613342949392919061526f565b602060405180830381600087803b15801561335c57600080fd5b505af192505050801561338d57506040513d601f19601f8201168201806040525081019061338a919061484b565b60015b613407573d80600081146133bd576040519150601f19603f3d011682016040523d82523d6000602084013e6133c2565b606091505b506000815114156133ff576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008214156134a2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613602565b600082905060005b600082146134d45780806134bd90615aa4565b915050600a826134cd91906158e8565b91506134aa565b60008167ffffffffffffffff811115613516577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135485781602001600182028036833780820191505090505b5090505b600085146135fb576001826135619190615919565b9150600a856135709190615aed565b603061357c9190615854565b60f81b8183815181106135b8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856135f491906158e8565b945061354c565b8093505050505b919050565b50505050565b50505050565b6136208383836001613770565b505050565b61362e81613abd565b50505050565b6000600160008761ffff1661ffff168152602001908152602001600020805461365c90615a41565b9050141561369f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613696906153e5565b60405180910390fd5b7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67573ffffffffffffffffffffffffffffffffffffffff1663c58031003487600160008a61ffff1661ffff168152602001908152602001600020888888886040518863ffffffff1660e01b815260040161371d96959493929190615608565b6000604051808303818588803b15801561373657600080fd5b505af115801561374a573d6000803e3d6000fd5b50505050505050505050565b50505050565b505050565b61376b8282613acb565b505050565b60006003549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156137de576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415613819576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138266000868387613607565b83600960008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846008600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426008600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561396e575061396d8773ffffffffffffffffffffffffffffffffffffffff166132d7565b5b15613a34575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139e360008884806001019550886132fa565b613a19576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415613974578260035414613a2f57600080fd5b613aa0565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415613a35575b816003819055505050613ab6600086838761360d565b5050505050565b613ac8816001613d9a565b50565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613b32576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613b3b81612380565b15613b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7290615385565b60405180910390fd5b6003548110613bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613bb690615405565b60405180910390fd5b6001600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff16613c2591906158aa565b92506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550816008600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426008600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600060086000838152602001908152602001600020600001601c6101000a81548160ff021916908315150217905550613d1a600083836001613607565b808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613d8460008383600161360d565b6007600081548092919060010191905055505050565b6000613da583612b98565b90506000816000015190508215613e865760008173ffffffffffffffffffffffffffffffffffffffff16613dd76121f9565b73ffffffffffffffffffffffffffffffffffffffff161480613e065750613e0582613e006121f9565b611db9565b5b80613e4b5750613e146121f9565b73ffffffffffffffffffffffffffffffffffffffff16613e3386610c76565b73ffffffffffffffffffffffffffffffffffffffff16145b905080613e84576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b613e94816000866001613607565b613ea0600085836123bb565b6000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060018160000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600860008781526020019081526020016000209050828160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600181600001601c6101000a81548160ff02191690831515021790555060006001870190506000600860008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156140bf5760035482146140be57848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555085602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5050505083600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461412d81600086600161360d565b60046000815480929190600101919050555050505050565b82805461415190615a41565b90600052602060002090601f01602090048101928261417357600085556141ba565b82601f1061418c57805160ff19168380011785556141ba565b828001600101855582156141ba579182015b828111156141b957825182559160200191906001019061419e565b5b5090506141c79190614294565b5090565b8280546141d790615a41565b90600052602060002090601f0160209004810192826141f95760008555614240565b82601f1061421257803560ff1916838001178555614240565b82800160010185558215614240579182015b8281111561423f578235825591602001919060010190614224565b5b50905061424d9190614294565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156142ad576000816000905550600101614295565b5090565b60006142c46142bf8461577a565b615755565b9050828152602081018484840111156142dc57600080fd5b6142e78482856159ff565b509392505050565b60006143026142fd8461577a565b615755565b90508281526020810184848401111561431a57600080fd5b614325848285615a0e565b509392505050565b600061434061433b846157ab565b615755565b90508281526020810184848401111561435857600080fd5b6143638482856159ff565b509392505050565b60008135905061437a81615e43565b92915050565b60008135905061438f81615e5a565b92915050565b6000813590506143a481615e71565b92915050565b6000813590506143b981615e88565b92915050565b6000815190506143ce81615e88565b92915050565b60008083601f8401126143e657600080fd5b8235905067ffffffffffffffff8111156143ff57600080fd5b60208301915083600182028301111561441757600080fd5b9250929050565b600082601f83011261442f57600080fd5b813561443f8482602086016142b1565b91505092915050565b600082601f83011261445957600080fd5b81516144698482602086016142ef565b91505092915050565b600082601f83011261448357600080fd5b813561449384826020860161432d565b91505092915050565b6000813590506144ab81615e9f565b92915050565b6000815190506144c081615e9f565b92915050565b6000813590506144d581615eb6565b92915050565b6000815190506144ea81615eb6565b92915050565b6000813590506144ff81615ecd565b92915050565b60008151905061451481615ecd565b92915050565b60006020828403121561452c57600080fd5b600061453a8482850161436b565b91505092915050565b6000806040838503121561455657600080fd5b60006145648582860161436b565b92505060206145758582860161436b565b9150509250929050565b60008060006060848603121561459457600080fd5b60006145a28682870161436b565b93505060206145b38682870161436b565b92505060406145c4868287016144c6565b9150509250925092565b600080600080608085870312156145e457600080fd5b60006145f28782880161436b565b94505060206146038782880161436b565b9350506040614614878288016144c6565b925050606085013567ffffffffffffffff81111561463157600080fd5b61463d8782880161441e565b91505092959194509250565b6000806040838503121561465c57600080fd5b600061466a8582860161436b565b925050602061467b85828601614395565b9150509250929050565b600080600080600080600080600060e08a8c0312156146a357600080fd5b60006146b18c828d0161436b565b99505060206146c28c828d0161449c565b98505060408a013567ffffffffffffffff8111156146df57600080fd5b6146eb8c828d016143d4565b975097505060606146fe8c828d016144c6565b955050608061470f8c828d01614380565b94505060a06147208c828d0161436b565b93505060c08a013567ffffffffffffffff81111561473d57600080fd5b6147498c828d016143d4565b92509250509295985092959850929598565b6000806040838503121561476e57600080fd5b600061477c8582860161436b565b925050602061478d858286016144c6565b9150509250929050565b6000806000606084860312156147ac57600080fd5b60006147ba8682870161436b565b93505060206147cb868287016144c6565b92505060406147dc868287016144f0565b9150509250925092565b600080604083850312156147f957600080fd5b60006148078582860161436b565b9250506020614818858286016144f0565b9150509250929050565b60006020828403121561483457600080fd5b6000614842848285016143aa565b91505092915050565b60006020828403121561485d57600080fd5b600061486b848285016143bf565b91505092915050565b60006020828403121561488657600080fd5b600082015167ffffffffffffffff8111156148a057600080fd5b6148ac84828501614448565b91505092915050565b600080604083850312156148c857600080fd5b600083015167ffffffffffffffff8111156148e257600080fd5b6148ee85828601614448565b92505060206148ff858286016144db565b9150509250929050565b60006020828403121561491b57600080fd5b600082013567ffffffffffffffff81111561493557600080fd5b61494184828501614472565b91505092915050565b60006020828403121561495c57600080fd5b600061496a8482850161449c565b91505092915050565b60006020828403121561498557600080fd5b6000614993848285016144b1565b91505092915050565b6000806000604084860312156149b157600080fd5b60006149bf8682870161449c565b935050602084013567ffffffffffffffff8111156149dc57600080fd5b6149e8868287016143d4565b92509250509250925092565b60008060008060008060008060c0898b031215614a1057600080fd5b6000614a1e8b828c0161449c565b985050602089013567ffffffffffffffff811115614a3b57600080fd5b614a478b828c016143d4565b97509750506040614a5a8b828c016144c6565b9550506060614a6b8b828c01614380565b9450506080614a7c8b828c0161436b565b93505060a089013567ffffffffffffffff811115614a9957600080fd5b614aa58b828c016143d4565b92509250509295985092959890939650565b600080600060608486031215614acc57600080fd5b6000614ada8682870161449c565b935050602084013567ffffffffffffffff811115614af757600080fd5b614b038682870161441e565b9250506040614b14868287016144c6565b9150509250925092565b600080600080600060808688031215614b3657600080fd5b6000614b448882890161449c565b955050602086013567ffffffffffffffff811115614b6157600080fd5b614b6d8882890161441e565b9450506040614b7e888289016144f0565b935050606086013567ffffffffffffffff811115614b9b57600080fd5b614ba7888289016143d4565b92509250509295509295909350565b60008060008060808587031215614bcc57600080fd5b6000614bda8782880161449c565b945050602085013567ffffffffffffffff811115614bf757600080fd5b614c038782880161441e565b9350506040614c14878288016144f0565b925050606085013567ffffffffffffffff811115614c3157600080fd5b614c3d8782880161441e565b91505092959194509250565b60008060008060808587031215614c5f57600080fd5b6000614c6d8782880161449c565b9450506020614c7e8782880161449c565b9350506040614c8f8782880161436b565b9250506060614ca0878288016144c6565b91505092959194509250565b600080600080600060808688031215614cc457600080fd5b6000614cd28882890161449c565b9550506020614ce38882890161449c565b9450506040614cf4888289016144c6565b935050606086013567ffffffffffffffff811115614d1157600080fd5b614d1d888289016143d4565b92509250509295509295909350565b600060208284031215614d3e57600080fd5b6000614d4c848285016144c6565b91505092915050565b600060208284031215614d6757600080fd5b6000614d7584828501614505565b91505092915050565b614d878161595f565b82525050565b614d968161594d565b82525050565b614da581615971565b82525050565b614db48161597d565b82525050565b6000614dc6838561581c565b9350614dd38385846159ff565b614ddc83615bda565b840190509392505050565b6000614df3838561582d565b9350614e008385846159ff565b82840190509392505050565b6000614e1782615806565b614e21818561581c565b9350614e31818560208601615a0e565b614e3a81615bda565b840191505092915050565b6000614e5082615806565b614e5a818561582d565b9350614e6a818560208601615a0e565b80840191505092915050565b60008154614e8381615a41565b614e8d818661581c565b94506001821660008114614ea85760018114614eba57614eed565b60ff1983168652602086019350614eed565b614ec3856157dc565b60005b83811015614ee557815481890152600182019150602081019050614ec6565b808801955050505b50505092915050565b60008154614f0381615a41565b614f0d818661582d565b94506001821660008114614f285760018114614f3957614f6c565b60ff19831686528186019350614f6c565b614f42856157dc565b60005b83811015614f6457815481890152600182019150602081019050614f45565b838801955050505b50505092915050565b6000614f8082615811565b614f8a8185615838565b9350614f9a818560208601615a0e565b614fa381615bda565b840191505092915050565b6000614fb982615811565b614fc38185615849565b9350614fd3818560208601615a0e565b80840191505092915050565b60008154614fec81615a41565b614ff68186615849565b94506001821660008114615011576001811461502257615055565b60ff19831686528186019350615055565b61502b856157f1565b60005b8381101561504d5781548189015260018201915060208101905061502e565b838801955050505b50505092915050565b600061506b602683615838565b915061507682615beb565b604082019050919050565b600061508e601c83615838565b915061509982615c3a565b602082019050919050565b60006150b1602b83615838565b91506150bc82615c63565b604082019050919050565b60006150d4602283615838565b91506150df82615cb2565b604082019050919050565b60006150f7603283615838565b915061510282615d01565b604082019050919050565b600061511a601783615838565b915061512582615d50565b602082019050919050565b600061513d601b83615838565b915061514882615d79565b602082019050919050565b6000615160601d83615838565b915061516b82615da2565b602082019050919050565b6000615183602083615838565b915061518e82615dcb565b602082019050919050565b60006151a6602283615838565b91506151b182615df4565b604082019050919050565b6151c5816159b3565b82525050565b6151d4816159e1565b82525050565b6151e3816159eb565b82525050565b60006151f6828486614de7565b91508190509392505050565b600061520e8284614e45565b915081905092915050565b60006152258284614ef6565b915081905092915050565b600061523c8285614fdf565b91506152488284614fae565b91508190509392505050565b60006020820190506152696000830184614d8d565b92915050565b60006080820190506152846000830187614d8d565b6152916020830186614d8d565b61529e60408301856151cb565b81810360608301526152b08184614e0c565b905095945050505050565b60006020820190506152d06000830184614d9c565b92915050565b60006020820190506152eb6000830184614dab565b92915050565b6000602082019050818103600083015261530b8184614e0c565b905092915050565b6000604082019050818103600083015261532d8185614e0c565b905061533c60208301846151cb565b9392505050565b6000602082019050818103600083015261535d8184614f75565b905092915050565b6000602082019050818103600083015261537e8161505e565b9050919050565b6000602082019050818103600083015261539e81615081565b9050919050565b600060208201905081810360008301526153be816150a4565b9050919050565b600060208201905081810360008301526153de816150c7565b9050919050565b600060208201905081810360008301526153fe816150ea565b9050919050565b6000602082019050818103600083015261541e8161510d565b9050919050565b6000602082019050818103600083015261543e81615130565b9050919050565b6000602082019050818103600083015261545e81615153565b9050919050565b6000602082019050818103600083015261547e81615176565b9050919050565b6000602082019050818103600083015261549e81615199565b9050919050565b60006020820190506154ba60008301846151bc565b92915050565b60006040820190506154d560008301856151bc565b6154e26020830184614d8d565b9392505050565b60006080820190506154fe60008301876151bc565b61550b6020830186614d8d565b61551860408301856151cb565b61552560608301846151da565b95945050505050565b600060408201905061554360008301866151bc565b8181036020830152615556818486614dba565b9050949350505050565b600060808201905061557560008301886151bc565b81810360208301526155878187614e0c565b905061559660408301866151da565b81810360608301526155a9818486614dba565b90509695505050505050565b60006080820190506155ca60008301876151bc565b81810360208301526155dc8186614e0c565b90506155eb60408301856151da565b81810360608301526155fd8184614e0c565b905095945050505050565b600060c08201905061561d60008301896151bc565b818103602083015261562f8188614e76565b905081810360408301526156438187614e0c565b90506156526060830186614d7e565b61565f6080830185614d8d565b81810360a08301526156718184614e0c565b9050979650505050505050565b600060808201905061569360008301876151bc565b6156a060208301866151bc565b6156ad6040830185614d8d565b6156ba60608301846151cb565b95945050505050565b60006080820190506156d860008301886151bc565b6156e560208301876151bc565b6156f260408301866151cb565b8181036060830152615705818486614dba565b90509695505050505050565b600060208201905061572660008301846151cb565b92915050565b600060408201905061574160008301856151cb565b61574e60208301846151da565b9392505050565b600061575f615770565b905061576b8282615a73565b919050565b6000604051905090565b600067ffffffffffffffff82111561579557615794615bab565b5b61579e82615bda565b9050602081019050919050565b600067ffffffffffffffff8211156157c6576157c5615bab565b5b6157cf82615bda565b9050602081019050919050565b60008190508160005260206000209050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061585f826159e1565b915061586a836159e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561589f5761589e615b1e565b5b828201905092915050565b60006158b5826159eb565b91506158c0836159eb565b92508267ffffffffffffffff038211156158dd576158dc615b1e565b5b828201905092915050565b60006158f3826159e1565b91506158fe836159e1565b92508261590e5761590d615b4d565b5b828204905092915050565b6000615924826159e1565b915061592f836159e1565b92508282101561594257615941615b1e565b5b828203905092915050565b6000615958826159c1565b9050919050565b600061596a826159c1565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015615a2c578082015181840152602081019050615a11565b83811115615a3b576000848401525b50505050565b60006002820490506001821680615a5957607f821691505b60208210811415615a6d57615a6c615b7c565b5b50919050565b615a7c82615bda565b810181811067ffffffffffffffff82111715615a9b57615a9a615bab565b5b80604052505050565b6000615aaf826159e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615ae257615ae1615b1e565b5b600182019050919050565b6000615af8826159e1565b9150615b03836159e1565b925082615b1357615b12615b4d565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4c7a52656365697665723a20696e76616c696420736f757263652073656e646960008201527f6e6720636f6e7472616374000000000000000000000000000000000000000000602082015250565b7f4c7a52656365697665723a2063616c6c6572206d75737420626520427269646760008201527f652e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4c7a53656e643a2064657374696e6174696f6e20636861696e206973206e6f7460008201527f2061207472757374656420736f757263652e0000000000000000000000000000602082015250565b7f4552433732313a207765206f6e6c792072652d6d696e74000000000000000000600082015250565b7f4c7a52656365697665723a20696e76616c6964207061796c6f61640000000000600082015250565b7f4c7a52656365697665723a206e6f2073746f726564206d657373616765000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5468697320746f6b656e20696420646f6573206e6f74206d696e74656420796560008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b615e4c8161594d565b8114615e5757600080fd5b50565b615e638161595f565b8114615e6e57600080fd5b50565b615e7a81615971565b8114615e8557600080fd5b50565b615e9181615987565b8114615e9c57600080fd5b50565b615ea8816159b3565b8114615eb357600080fd5b50565b615ebf816159e1565b8114615eca57600080fd5b50565b615ed6816159eb565b8114615ee157600080fd5b5056fea2646970667358221220f47b143863c8ba5245fae04d7ffd7ffc2e2eb66f41c12513c416e58a70dabee864736f6c63430008040033

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

00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675

-----Decoded View---------------
Arg [0] : _layerZeroEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675

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


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.