ETH Price: $3,489.39 (+1.57%)

Token

Omni kids (kids)
 

Overview

Max Total Supply

163 kids

Holders

31

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 kids
0xe290d18efbe3a25aae77ee282c453b3bac37e85b
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:
OmniKids

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : omnikids-eth.sol
//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./interfaces/ILayerZeroReceiver.sol";
import "./interfaces/ILayerZeroEndpoint.sol";

abstract contract NonblockingReceiver is Ownable, ILayerZeroReceiver {
    ILayerZeroEndpoint internal endpoint;

    struct FailedMessages {
        uint256 payloadLength;
        bytes32 payloadHash;
    }

    mapping(uint16 => mapping(bytes => mapping(uint256 => FailedMessages)))
        public failedMessages;
    mapping(uint16 => bytes) public trustedRemoteLookup;

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

    function lzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) external override {
        require(msg.sender == address(endpoint)); // boilerplate! lzReceive must be called by the endpoint for security
        require(
            _srcAddress.length == trustedRemoteLookup[_srcChainId].length &&
                keccak256(_srcAddress) ==
                keccak256(trustedRemoteLookup[_srcChainId]),
            "NonblockingReceiver: invalid source sending contract"
        );

        // try-catch all errors/exceptions
        // having failed messages does not block messages passing
        try this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload) {
            // do nothing
        } catch {
            // error / exception
            failedMessages[_srcChainId][_srcAddress][_nonce] = FailedMessages(
                _payload.length,
                keccak256(_payload)
            );
            emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload);
        }
    }

    function onLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) public {
        // only internal transaction
        require(
            msg.sender == address(this),
            "NonblockingReceiver: caller must be Bridge."
        );

        // handle incoming message
        _LzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    // abstract function
    function _LzReceive(
        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 _txParam
    ) internal {
        endpoint.send{value: msg.value}(
            _dstChainId,
            trustedRemoteLookup[_dstChainId],
            _payload,
            _refundAddress,
            _zroPaymentAddress,
            _txParam
        );
    }

    function retryMessage(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes calldata _payload
    ) external payable {
        // assert there is message to retry
        FailedMessages storage failedMsg = failedMessages[_srcChainId][
            _srcAddress
        ][_nonce];
        require(
            failedMsg.payloadHash != bytes32(0),
            "NonblockingReceiver: no stored message"
        );
        require(
            _payload.length == failedMsg.payloadLength &&
                keccak256(_payload) == failedMsg.payloadHash,
            "LayerZero: invalid payload"
        );
        // clear the stored message
        failedMsg.payloadLength = 0;
        failedMsg.payloadHash = bytes32(0);
        // execute the message. revert if it fails again
        this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload);
    }

    function setTrustedRemote(uint16 _chainId, bytes calldata _trustedRemote)
        external
        onlyOwner
    {
        trustedRemoteLookup[_chainId] = _trustedRemote;
    }
}

contract OmniKids is ERC721, Ownable, NonblockingReceiver {
   
    event ReceiveNFT(
        uint16 _srcChainId,
        bytes _from,
        uint256 _tokenId,
        address _to
    );

    event MessageFee(uint fee);

    using Strings for uint256;

    uint public nextId;
    uint public counter;
    uint public gasForDestinationLzReceive = 350000;
    uint public immutable UPPER_BOUND;
    uint public immutable MINT_PRICE;
    uint public constant OMNI_KIDS = 2;
    string public constant placeholderURL = "ipfs://QmYX6ThYhde9jcopAShSrT4VFwWgkise5asCQsLLFkHKhs";
    // address immutable beneficiary;
    string private baseURL;
    bool revealFinalized = false;
    bool paused = true;

    mapping(address => uint) private _mintedCount;

    constructor(
        address endpoint_,
		uint mintPrice_,
        uint startId_,
        uint upperBound_
        // address beneficiary_
    ) 
    ERC721("Omni kids", "kids")
    {
        endpoint = ILayerZeroEndpoint(endpoint_);
        nextId = startId_;
        MINT_PRICE = mintPrice_;
        UPPER_BOUND = upperBound_;
        // beneficiary = beneficiary_;
    }

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

    function totalSupply() external view returns (uint) {
        return nextId;
    }

    function finalizeReveal() external onlyOwner {
        revealFinalized = true;
    }

    function setPauseState(bool state) external onlyOwner {
        paused = state;
    }

    function reveal(string memory url) external onlyOwner {
        require(!revealFinalized, "Metadata is finalized");
        baseURL = url;
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        return bytes(_baseURI()).length > 0 
            ? string(abi.encodePacked(_baseURI(), tokenId.toString(), ".json"))
            : placeholderURL;
    }

    function mint(uint count) external payable {
        require(nextId + count <= UPPER_BOUND, "OmniKids: Didn't find any more kids in Omniverse");
        require(!paused, "Mint is on pause");

        uint payForCount = count;
        uint mintedSoFar = _mintedCount[msg.sender];
        if(mintedSoFar < OMNI_KIDS) {
            uint remainingOmniKids = OMNI_KIDS - mintedSoFar;
            if(count > remainingOmniKids) {
                payForCount = count - remainingOmniKids;
            }
            else {
                payForCount = 0;
            }
        }

        require(msg.value >= payForCount * MINT_PRICE, "Omnikids: Needs more money");

        _mintedCount[msg.sender] += count;
        _mintTokens(msg.sender, count);
    }

    function mintedCount(address wallet) external view returns (uint) {
        return _mintedCount[wallet];
    }

    function _mintTokens(address to, uint count) internal {
        for(uint index = 0; index < count; index++) {
            nextId += 1;
            _safeMint(to, nextId);
        }
    }

    function withdraw() external onlyOwner {
        uint balance = address(this).balance;
        require(balance > 0, "Omnichicks: No balance");

        payable(owner()).transfer(balance);
    }

    function setTrustedRemotes(uint16[] calldata chainIds, bytes[] calldata addresses) external onlyOwner {
        for(uint i = 0; i < chainIds.length; i++) {
            trustedRemoteLookup[chainIds[i]] = addresses[i];
        }
    }

    function traverseChain(uint16 chainId_, uint tokenId) external payable {
        require(
            msg.sender == ownerOf(tokenId),
            "Omnikids: You must own this kid to traverse"
        );
        require(
            trustedRemoteLookup[chainId_].length != 0,
            "Omnikids: This chain is currently unavailable for travel"
        );
        require(
            chainId_ != block.chainid,
            "Omnikids: Destination blockhain can't be the same as source"
        );

        // burn NFT, eliminating it from circulation on src chain
        _burn(tokenId);

        // abi.encode() the payload with the values to send
        bytes memory payload = abi.encode(msg.sender, tokenId);

        // encode adapterParams to specify more gas for the destination
        uint16 version = 1;
        bytes memory adapterParams = abi.encodePacked(
            version,
            gasForDestinationLzReceive
        );

        // get the fees we need to pay to LayerZero + Relayer to cover message delivery
        // you will be refunded for extra gas paid
        (uint256 messageFee, ) = endpoint.estimateFees(
            chainId_,
            address(this),
            payload,
            false,
            // bytes("")
            adapterParams
        );

        emit MessageFee(messageFee);

        require(
            msg.value >= messageFee,
            "Omnikids: value sent is not enough to cover messageFee. Increase gas for message fees"
        );

        endpoint.send{value: msg.value}(
            chainId_, // destination chainId
            trustedRemoteLookup[chainId_], // destination address of nft contract
            payload, // abi.encoded()'ed bytes
            payable(msg.sender), // refund address
            address(0x0), // future use
            // bytes("")
            adapterParams // txParameters
        );
    }

    function setGasForDestinationLzReceive(uint256 newVal) external onlyOwner {
        gasForDestinationLzReceive = newVal;
    }

    function _LzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64 _nonce,
        bytes memory _payload
    ) internal override {
        // decode
        (address toAddr, uint256 tokenId) = abi.decode(
            _payload,
            (address, uint256)
        );

        emit ReceiveNFT(
            _srcChainId,
            _srcAddress,
            tokenId,
            toAddr
        );

        // mint the tokens back into existence on destination chain
        _safeMint(toAddr, tokenId);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 3 of 15 : 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 4 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 5 of 15 : ILayerZeroReceiver.sol
// SPDX-License-Identifier: BUSL-1.1

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 6 of 15 : ILayerZeroEndpoint.sol
// SPDX-License-Identifier: BUSL-1.1

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 receiver 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 7 of 15 : 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 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : 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 13 of 15 : 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 14 of 15 : 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 15 of 15 : ILayerZeroUserApplicationConfig.sol
// SPDX-License-Identifier: BUSL-1.1

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"endpoint_","type":"address"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"uint256","name":"startId_","type":"uint256"},{"internalType":"uint256","name":"upperBound_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"MessageFee","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":"bytes","name":"_from","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"_to","type":"address"}],"name":"ReceiveNFT","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":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OMNI_KIDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPPER_BOUND","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"failedMessages","outputs":[{"internalType":"uint256","name":"payloadLength","type":"uint256"},{"internalType":"bytes32","name":"payloadHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalizeReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForDestinationLzReceive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"onLzReceive","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":"placeholderURL","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"string","name":"url","type":"string"}],"name":"reveal","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":"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newVal","type":"uint256"}],"name":"setGasForDestinationLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setPauseState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"bytes","name":"_trustedRemote","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"chainIds","type":"uint16[]"},{"internalType":"bytes[]","name":"addresses","type":"bytes[]"}],"name":"setTrustedRemotes","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":"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"},{"inputs":[{"internalType":"uint16","name":"chainId_","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"traverseChain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405262055730600c556000600e60006101000a81548160ff0219169083151502179055506001600e60016101000a81548160ff0219169083151502179055503480156200004e57600080fd5b5060405162005d1838038062005d18833981810160405281019062000074919062000342565b6040518060400160405280600981526020017f4f6d6e69206b69647300000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f6b696473000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000f892919062000264565b5080600190805190602001906200011192919062000264565b50505062000134620001286200019660201b60201c565b6200019e60201b60201c565b83600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600a819055508260a0818152505080608081815250505050505062000485565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200027290620003ec565b90600052602060002090601f016020900481019282620002965760008555620002e2565b82601f10620002b157805160ff1916838001178555620002e2565b82800160010185558215620002e2579182015b82811115620002e1578251825591602001919060010190620002c4565b5b509050620002f19190620002f5565b5090565b5b8082111562000310576000816000905550600101620002f6565b5090565b600081519050620003258162000451565b92915050565b6000815190506200033c816200046b565b92915050565b600080600080608085870312156200035957600080fd5b6000620003698782880162000314565b94505060206200037c878288016200032b565b93505060406200038f878288016200032b565b9250506060620003a2878288016200032b565b91505092959194509250565b6000620003bb82620003c2565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060028204905060018216806200040557607f821691505b602082108114156200041c576200041b62000422565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200045c81620003ae565b81146200046857600080fd5b50565b6200047681620003e2565b81146200048257600080fd5b50565b60805160a05161585f620004b960003960008181611752015261189d01526000818161160d0152611f1d015261585f6000f3fe60806040526004361061022f5760003560e01c80638da5cb5b1161012e578063cfa9849d116100ab578063eb8d72b71161006f578063eb8d72b7146107fe578063f2fde38b14610827578063f3234f4014610850578063f7bf55601461087b578063fddcb5ea146108a45761022f565b8063cfa9849d14610733578063d1deba1f1461074f578063de719b761461076b578063e563d9d314610796578063e985e9c5146107c15761022f565b8063a22cb465116100f2578063a22cb46514610650578063b88d4fde14610679578063c002d23d146106a2578063c87b56dd146106cd578063cdb88ad11461070a5761022f565b80638da5cb5b146105775780638ee74912146105a2578063943fb872146105e057806395d89b4114610609578063a0712d68146106345761022f565b80633ccfd60b116101bc5780636352211e116101805780636352211e1461047e5780636b4adc89146104bb57806370a08231146104e6578063715018a6146105235780637533d7881461053a5761022f565b80633ccfd60b146103bf57806342842e0e146103d65780634c261247146103ff57806361b8ce8c1461042857806361bc221a146104535761022f565b8063095ea7b311610203578063095ea7b31461030257806318160ddd1461032b5780631c37a8221461035657806323b872dd1461037f5780633575ae67146103a85761022f565b80621d35671461023457806301ffc9a71461025d57806306fdde031461029a578063081812fc146102c5575b600080fd5b34801561024057600080fd5b5061025b60048036038101906102569190613b00565b6108e1565b005b34801561026957600080fd5b50610284600480360381019061027f91906138ed565b610b23565b604051610291919061443c565b60405180910390f35b3480156102a657600080fd5b506102af610c05565b6040516102bc9190614479565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613bcf565b610c97565b6040516102f991906143ac565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190613813565b610d1c565b005b34801561033757600080fd5b50610340610e34565b60405161034d9190614a06565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613b00565b610e3e565b005b34801561038b57600080fd5b506103a660048036038101906103a1919061370d565b610ebe565b005b3480156103b457600080fd5b506103bd610f1e565b005b3480156103cb57600080fd5b506103d4610fb7565b005b3480156103e257600080fd5b506103fd60048036038101906103f8919061370d565b6110cc565b005b34801561040b57600080fd5b506104266004803603810190610421919061393f565b6110ec565b005b34801561043457600080fd5b5061043d6111d2565b60405161044a9190614a06565b60405180910390f35b34801561045f57600080fd5b506104686111d8565b6040516104759190614a06565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190613bcf565b6111de565b6040516104b291906143ac565b60405180910390f35b3480156104c757600080fd5b506104d0611290565b6040516104dd9190614a06565b60405180910390f35b3480156104f257600080fd5b5061050d6004803603810190610508919061366c565b611295565b60405161051a9190614a06565b60405180910390f35b34801561052f57600080fd5b5061053861134d565b005b34801561054657600080fd5b50610561600480360381019061055c9190613980565b6113d5565b60405161056e9190614457565b60405180910390f35b34801561058357600080fd5b5061058c611475565b60405161059991906143ac565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190613a01565b61149f565b6040516105d7929190614a21565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613bcf565b6114f3565b005b34801561061557600080fd5b5061061e611579565b60405161062b9190614479565b60405180910390f35b61064e60048036038101906106499190613bcf565b61160b565b005b34801561065c57600080fd5b50610677600480360381019061067291906137d7565b611823565b005b34801561068557600080fd5b506106a0600480360381019061069b919061375c565b611839565b005b3480156106ae57600080fd5b506106b761189b565b6040516106c49190614a06565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190613bcf565b6118bf565b6040516107019190614479565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906138c4565b611970565b005b61074d60048036038101906107489190613b93565b611a09565b005b61076960048036038101906107649190613a68565b611d7b565b005b34801561077757600080fd5b50610780611f1b565b60405161078d9190614a06565b60405180910390f35b3480156107a257600080fd5b506107ab611f3f565b6040516107b89190614479565b60405180910390f35b3480156107cd57600080fd5b506107e860048036038101906107e391906136d1565b611f5b565b6040516107f5919061443c565b60405180910390f35b34801561080a57600080fd5b50610825600480360381019061082091906139a9565b611fef565b005b34801561083357600080fd5b5061084e6004803603810190610849919061366c565b61209b565b005b34801561085c57600080fd5b50610865612193565b6040516108729190614a06565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d919061384f565b612199565b005b3480156108b057600080fd5b506108cb60048036038101906108c6919061366c565b6122fe565b6040516108d89190614a06565b60405180910390f35b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461093b57600080fd5b600960008561ffff1661ffff168152602001908152602001600020805461096190614d94565b905083511480156109a75750600960008561ffff1661ffff168152602001908152602001600020604051610995919061433a565b60405180910390208380519060200120145b6109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd906146db565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16631c37a822858585856040518563ffffffff1660e01b8152600401610a25949392919061493d565b600060405180830381600087803b158015610a3f57600080fd5b505af1925050508015610a50575060015b610b1c576040518060400160405280825181526020018280519060200120815250600860008661ffff1661ffff16815260200190815260200160002084604051610a9a9190614323565b908152602001604051809103902060008467ffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050507fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d84848484604051610b0f949392919061493d565b60405180910390a1610b1d565b5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bfe5750610bfd82612347565b5b9050919050565b606060008054610c1490614d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4090614d94565b8015610c8d5780601f10610c6257610100808354040283529160200191610c8d565b820191906000526020600020905b815481529060010190602001808311610c7057829003601f168201915b5050505050905090565b6000610ca2826123b1565b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061469b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d27826111de565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f9061475b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db761241d565b73ffffffffffffffffffffffffffffffffffffffff161480610de65750610de581610de061241d565b611f5b565b5b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c906145fb565b60405180910390fd5b610e2f8383612425565b505050565b6000600a54905090565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea39061465b565b60405180910390fd5b610eb8848484846124de565b50505050565b610ecf610ec961241d565b82612548565b610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f059061479b565b60405180910390fd5b610f19838383612626565b505050565b610f2661241d565b73ffffffffffffffffffffffffffffffffffffffff16610f44611475565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906146bb565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610fbf61241d565b73ffffffffffffffffffffffffffffffffffffffff16610fdd611475565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906146bb565b60405180910390fd5b60004790506000811161107b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611072906145db565b60405180910390fd5b611083611475565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110c8573d6000803e3d6000fd5b5050565b6110e783838360405180602001604052806000815250611839565b505050565b6110f461241d565b73ffffffffffffffffffffffffffffffffffffffff16611112611475565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f906146bb565b60405180910390fd5b600e60009054906101000a900460ff16156111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906144bb565b60405180910390fd5b80600d90805190602001906111ce9291906132d8565b5050565b600a5481565b600b5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e9061463b565b60405180910390fd5b80915050919050565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd9061461b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61135561241d565b73ffffffffffffffffffffffffffffffffffffffff16611373611475565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c0906146bb565b60405180910390fd5b6113d3600061288d565b565b600960205280600052604060002060009150905080546113f490614d94565b80601f016020809104026020016040519081016040528092919081815260200182805461142090614d94565b801561146d5780601f106114425761010080835404028352916020019161146d565b820191906000526020600020905b81548152906001019060200180831161145057829003601f168201915b505050505081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050508060000154908060010154905082565b6114fb61241d565b73ffffffffffffffffffffffffffffffffffffffff16611519611475565b73ffffffffffffffffffffffffffffffffffffffff161461156f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611566906146bb565b60405180910390fd5b80600c8190555050565b60606001805461158890614d94565b80601f01602080910402602001604051908101604052809291908181526020018280546115b490614d94565b80156116015780601f106115d657610100808354040283529160200191611601565b820191906000526020600020905b8154815290600101906020018083116115e457829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081600a5461163a9190614b8b565b111561167b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116729061471b565b60405180910390fd5b600e60019054906101000a900460ff16156116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906147db565b60405180910390fd5b60008190506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600281101561175057600081600261172c9190614c6c565b9050808411156117495780846117429190614c6c565b925061174e565b600092505b505b7f00000000000000000000000000000000000000000000000000000000000000008261177c9190614c12565b3410156117be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b5906147fb565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461180d9190614b8b565b9250508190555061181e3384612953565b505050565b61183561182e61241d565b838361299c565b5050565b61184a61184461241d565b83612548565b611889576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118809061479b565b60405180910390fd5b61189584848484612b09565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606118ca826123b1565b611909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611900906146fb565b60405180910390fd5b6000611913612b65565b5111611937576040518060600160405280603581526020016157f560359139611969565b61193f612b65565b61194883612bf7565b604051602001611959929190614351565b6040516020818303038152906040525b9050919050565b61197861241d565b73ffffffffffffffffffffffffffffffffffffffff16611996611475565b73ffffffffffffffffffffffffffffffffffffffff16146119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e3906146bb565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b611a12816111de565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a769061449b565b60405180910390fd5b6000600960008461ffff1661ffff1681526020019081526020016000208054611aa790614d94565b90501415611aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae19061477b565b60405180910390fd5b468261ffff161415611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b289061473b565b60405180910390fd5b611b3a81612da4565b60003382604051602001611b4f929190614413565b6040516020818303038152906040529050600060019050600081600c54604051602001611b7d929190614380565b60405160208183030381529060405290506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340a7bb108730876000876040518663ffffffff1660e01b8152600401611bf495949392919061483b565b604080518083038186803b158015611c0b57600080fd5b505afa158015611c1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c439190613bf8565b5090507f5b6dd3cd292e9992e63f15316b4cff04aa4a1b86b888b7a53cbfa83a92916cce81604051611c759190614a06565b60405180910390a180341015611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb79061481b565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c58031003488600960008b61ffff1661ffff16815260200190815260200160002088336000896040518863ffffffff1660e01b8152600401611d4196959493929190614990565b6000604051808303818588803b158015611d5a57600080fd5b505af1158015611d6e573d6000803e3d6000fd5b5050505050505050505050565b6000600860008761ffff1661ffff16815260200190815260200160002085604051611da69190614323565b908152602001604051809103902060008567ffffffffffffffff16815260200190815260200160002090506000801b81600101541415611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e12906147bb565b60405180910390fd5b806000015483839050148015611e4b575080600101548383604051611e4192919061430a565b6040518091039020145b611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e819061459b565b60405180910390fd5b600081600001819055506000801b81600101819055503073ffffffffffffffffffffffffffffffffffffffff16631c37a82287878787876040518663ffffffff1660e01b8152600401611ee19594939291906148e8565b600060405180830381600087803b158015611efb57600080fd5b505af1158015611f0f573d6000803e3d6000fd5b50505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6040518060600160405280603581526020016157f56035913981565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ff761241d565b73ffffffffffffffffffffffffffffffffffffffff16612015611475565b73ffffffffffffffffffffffffffffffffffffffff161461206b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612062906146bb565b60405180910390fd5b8181600960008661ffff1661ffff168152602001908152602001600020919061209592919061335e565b50505050565b6120a361241d565b73ffffffffffffffffffffffffffffffffffffffff166120c1611475565b73ffffffffffffffffffffffffffffffffffffffff1614612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e906146bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e906144fb565b60405180910390fd5b6121908161288d565b50565b600c5481565b6121a161241d565b73ffffffffffffffffffffffffffffffffffffffff166121bf611475565b73ffffffffffffffffffffffffffffffffffffffff1614612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c906146bb565b60405180910390fd5b60005b848490508110156122f75782828281811061225c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061226e9190614a4a565b600960008888868181106122ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906122c09190613980565b61ffff1661ffff16815260200190815260200160002091906122e392919061335e565b5080806122ef90614df7565b915050612218565b5050505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612498836111de565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080828060200190518101906124f59190613695565b915091507f8907acb071a04e4771f0aefe2cd026f2ceb820d8ceb32f566be3066b0e4f3ae78686838560405161252e949392919061489c565b60405180910390a16125408282612ec1565b505050505050565b6000612553826123b1565b612592576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612589906145bb565b60405180910390fd5b600061259d836111de565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061260c57508373ffffffffffffffffffffffffffffffffffffffff166125f484610c97565b73ffffffffffffffffffffffffffffffffffffffff16145b8061261d575061261c8185611f5b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612646826111de565b73ffffffffffffffffffffffffffffffffffffffff161461269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126939061451b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561270c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127039061455b565b60405180910390fd5b612717838383612edf565b612722600082612425565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127729190614c6c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127c99190614b8b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612888838383612ee4565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b81811015612997576001600a60008282546129719190614b8b565b9250508190555061298483600a54612ec1565b808061298f90614df7565b915050612956565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a029061457b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612afc919061443c565b60405180910390a3505050565b612b14848484612626565b612b2084848484612ee9565b612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b56906144db565b60405180910390fd5b50505050565b6060600d8054612b7490614d94565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba090614d94565b8015612bed5780601f10612bc257610100808354040283529160200191612bed565b820191906000526020600020905b815481529060010190602001808311612bd057829003601f168201915b5050505050905090565b60606000821415612c3f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d9f565b600082905060005b60008214612c71578080612c5a90614df7565b915050600a82612c6a9190614be1565b9150612c47565b60008167ffffffffffffffff811115612cb3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ce55781602001600182028036833780820191505090505b5090505b60008514612d9857600182612cfe9190614c6c565b9150600a85612d0d9190614e5c565b6030612d199190614b8b565b60f81b818381518110612d55577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d919190614be1565b9450612ce9565b8093505050505b919050565b6000612daf826111de565b9050612dbd81600084612edf565b612dc8600083612425565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e189190614c6c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ebd81600084612ee4565b5050565b612edb828260405180602001604052806000815250613080565b5050565b505050565b505050565b6000612f0a8473ffffffffffffffffffffffffffffffffffffffff166130db565b15613073578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f3361241d565b8786866040518563ffffffff1660e01b8152600401612f5594939291906143c7565b602060405180830381600087803b158015612f6f57600080fd5b505af1925050508015612fa057506040513d601f19601f82011682018060405250810190612f9d9190613916565b60015b613023573d8060008114612fd0576040519150601f19603f3d011682016040523d82523d6000602084013e612fd5565b606091505b5060008151141561301b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613012906144db565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613078565b600190505b949350505050565b61308a83836130fe565b6130976000848484612ee9565b6130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906144db565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561316e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131659061467b565b60405180910390fd5b613177816123b1565b156131b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ae9061453b565b60405180910390fd5b6131c360008383612edf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132139190614b8b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132d460008383612ee4565b5050565b8280546132e490614d94565b90600052602060002090601f016020900481019282613306576000855561334d565b82601f1061331f57805160ff191683800117855561334d565b8280016001018555821561334d579182015b8281111561334c578251825591602001919060010190613331565b5b50905061335a91906133e4565b5090565b82805461336a90614d94565b90600052602060002090601f01602090048101928261338c57600085556133d3565b82601f106133a557803560ff19168380011785556133d3565b828001600101855582156133d3579182015b828111156133d25782358255916020019190600101906133b7565b5b5090506133e091906133e4565b5090565b5b808211156133fd5760008160009055506001016133e5565b5090565b600061341461340f84614ac6565b614aa1565b90508281526020810184848401111561342c57600080fd5b613437848285614d52565b509392505050565b600061345261344d84614af7565b614aa1565b90508281526020810184848401111561346a57600080fd5b613475848285614d52565b509392505050565b60008135905061348c81615753565b92915050565b6000815190506134a18161576a565b92915050565b60008083601f8401126134b957600080fd5b8235905067ffffffffffffffff8111156134d257600080fd5b6020830191508360208202830111156134ea57600080fd5b9250929050565b60008083601f84011261350357600080fd5b8235905067ffffffffffffffff81111561351c57600080fd5b60208301915083602082028301111561353457600080fd5b9250929050565b60008135905061354a81615781565b92915050565b60008135905061355f81615798565b92915050565b60008151905061357481615798565b92915050565b60008083601f84011261358c57600080fd5b8235905067ffffffffffffffff8111156135a557600080fd5b6020830191508360018202830111156135bd57600080fd5b9250929050565b600082601f8301126135d557600080fd5b81356135e5848260208601613401565b91505092915050565b600082601f8301126135ff57600080fd5b813561360f84826020860161343f565b91505092915050565b600081359050613627816157af565b92915050565b60008135905061363c816157c6565b92915050565b600081519050613651816157c6565b92915050565b600081359050613666816157dd565b92915050565b60006020828403121561367e57600080fd5b600061368c8482850161347d565b91505092915050565b600080604083850312156136a857600080fd5b60006136b685828601613492565b92505060206136c785828601613642565b9150509250929050565b600080604083850312156136e457600080fd5b60006136f28582860161347d565b92505060206137038582860161347d565b9150509250929050565b60008060006060848603121561372257600080fd5b60006137308682870161347d565b93505060206137418682870161347d565b92505060406137528682870161362d565b9150509250925092565b6000806000806080858703121561377257600080fd5b60006137808782880161347d565b94505060206137918782880161347d565b93505060406137a28782880161362d565b925050606085013567ffffffffffffffff8111156137bf57600080fd5b6137cb878288016135c4565b91505092959194509250565b600080604083850312156137ea57600080fd5b60006137f88582860161347d565b92505060206138098582860161353b565b9150509250929050565b6000806040838503121561382657600080fd5b60006138348582860161347d565b92505060206138458582860161362d565b9150509250929050565b6000806000806040858703121561386557600080fd5b600085013567ffffffffffffffff81111561387f57600080fd5b61388b878288016134f1565b9450945050602085013567ffffffffffffffff8111156138aa57600080fd5b6138b6878288016134a7565b925092505092959194509250565b6000602082840312156138d657600080fd5b60006138e48482850161353b565b91505092915050565b6000602082840312156138ff57600080fd5b600061390d84828501613550565b91505092915050565b60006020828403121561392857600080fd5b600061393684828501613565565b91505092915050565b60006020828403121561395157600080fd5b600082013567ffffffffffffffff81111561396b57600080fd5b613977848285016135ee565b91505092915050565b60006020828403121561399257600080fd5b60006139a084828501613618565b91505092915050565b6000806000604084860312156139be57600080fd5b60006139cc86828701613618565b935050602084013567ffffffffffffffff8111156139e957600080fd5b6139f58682870161357a565b92509250509250925092565b600080600060608486031215613a1657600080fd5b6000613a2486828701613618565b935050602084013567ffffffffffffffff811115613a4157600080fd5b613a4d868287016135c4565b9250506040613a5e8682870161362d565b9150509250925092565b600080600080600060808688031215613a8057600080fd5b6000613a8e88828901613618565b955050602086013567ffffffffffffffff811115613aab57600080fd5b613ab7888289016135c4565b9450506040613ac888828901613657565b935050606086013567ffffffffffffffff811115613ae557600080fd5b613af18882890161357a565b92509250509295509295909350565b60008060008060808587031215613b1657600080fd5b6000613b2487828801613618565b945050602085013567ffffffffffffffff811115613b4157600080fd5b613b4d878288016135c4565b9350506040613b5e87828801613657565b925050606085013567ffffffffffffffff811115613b7b57600080fd5b613b87878288016135c4565b91505092959194509250565b60008060408385031215613ba657600080fd5b6000613bb485828601613618565b9250506020613bc58582860161362d565b9150509250929050565b600060208284031215613be157600080fd5b6000613bef8482850161362d565b91505092915050565b60008060408385031215613c0b57600080fd5b6000613c1985828601613642565b9250506020613c2a85828601613642565b9150509250929050565b613c3d81614cb2565b82525050565b613c4c81614ca0565b82525050565b613c5b81614cc4565b82525050565b613c6a81614cd0565b82525050565b6000613c7c8385614b53565b9350613c89838584614d52565b613c9283614f49565b840190509392505050565b6000613ca98385614b64565b9350613cb6838584614d52565b82840190509392505050565b6000613ccd82614b3d565b613cd78185614b53565b9350613ce7818560208601614d61565b613cf081614f49565b840191505092915050565b6000613d0682614b3d565b613d108185614b64565b9350613d20818560208601614d61565b80840191505092915050565b60008154613d3981614d94565b613d438186614b53565b94506001821660008114613d5e5760018114613d7057613da3565b60ff1983168652602086019350613da3565b613d7985614b28565b60005b83811015613d9b57815481890152600182019150602081019050613d7c565b808801955050505b50505092915050565b60008154613db981614d94565b613dc38186614b64565b94506001821660008114613dde5760018114613def57613e22565b60ff19831686528186019350613e22565b613df885614b28565b60005b83811015613e1a57815481890152600182019150602081019050613dfb565b838801955050505b50505092915050565b6000613e3682614b48565b613e408185614b6f565b9350613e50818560208601614d61565b613e5981614f49565b840191505092915050565b6000613e6f82614b48565b613e798185614b80565b9350613e89818560208601614d61565b80840191505092915050565b6000613ea2602b83614b6f565b9150613ead82614f67565b604082019050919050565b6000613ec5601583614b6f565b9150613ed082614fb6565b602082019050919050565b6000613ee8603283614b6f565b9150613ef382614fdf565b604082019050919050565b6000613f0b602683614b6f565b9150613f168261502e565b604082019050919050565b6000613f2e602583614b6f565b9150613f398261507d565b604082019050919050565b6000613f51601c83614b6f565b9150613f5c826150cc565b602082019050919050565b6000613f74602483614b6f565b9150613f7f826150f5565b604082019050919050565b6000613f97601983614b6f565b9150613fa282615144565b602082019050919050565b6000613fba601a83614b6f565b9150613fc58261516d565b602082019050919050565b6000613fdd602c83614b6f565b9150613fe882615196565b604082019050919050565b6000614000601683614b6f565b915061400b826151e5565b602082019050919050565b6000614023603883614b6f565b915061402e8261520e565b604082019050919050565b6000614046602a83614b6f565b91506140518261525d565b604082019050919050565b6000614069602983614b6f565b9150614074826152ac565b604082019050919050565b600061408c602b83614b6f565b9150614097826152fb565b604082019050919050565b60006140af602083614b6f565b91506140ba8261534a565b602082019050919050565b60006140d2602c83614b6f565b91506140dd82615373565b604082019050919050565b60006140f5600583614b80565b9150614100826153c2565b600582019050919050565b6000614118602083614b6f565b9150614123826153eb565b602082019050919050565b600061413b603483614b6f565b915061414682615414565b604082019050919050565b600061415e602f83614b6f565b915061416982615463565b604082019050919050565b6000614181603083614b6f565b915061418c826154b2565b604082019050919050565b60006141a4603b83614b6f565b91506141af82615501565b604082019050919050565b60006141c7602183614b6f565b91506141d282615550565b604082019050919050565b60006141ea603883614b6f565b91506141f58261559f565b604082019050919050565b600061420d603183614b6f565b9150614218826155ee565b604082019050919050565b6000614230602683614b6f565b915061423b8261563d565b604082019050919050565b6000614253601083614b6f565b915061425e8261568c565b602082019050919050565b6000614276601a83614b6f565b9150614281826156b5565b602082019050919050565b6000614299605583614b6f565b91506142a4826156de565b606082019050919050565b6142b881614d06565b82525050565b6142cf6142ca82614d06565b614e40565b82525050565b6142de81614d34565b82525050565b6142f56142f082614d34565b614e52565b82525050565b61430481614d3e565b82525050565b6000614317828486613c9d565b91508190509392505050565b600061432f8284613cfb565b915081905092915050565b60006143468284613dac565b915081905092915050565b600061435d8285613e64565b91506143698284613e64565b9150614374826140e8565b91508190509392505050565b600061438c82856142be565b60028201915061439c82846142e4565b6020820191508190509392505050565b60006020820190506143c16000830184613c43565b92915050565b60006080820190506143dc6000830187613c43565b6143e96020830186613c43565b6143f660408301856142d5565b81810360608301526144088184613cc2565b905095945050505050565b60006040820190506144286000830185613c43565b61443560208301846142d5565b9392505050565b60006020820190506144516000830184613c52565b92915050565b600060208201905081810360008301526144718184613cc2565b905092915050565b600060208201905081810360008301526144938184613e2b565b905092915050565b600060208201905081810360008301526144b481613e95565b9050919050565b600060208201905081810360008301526144d481613eb8565b9050919050565b600060208201905081810360008301526144f481613edb565b9050919050565b6000602082019050818103600083015261451481613efe565b9050919050565b6000602082019050818103600083015261453481613f21565b9050919050565b6000602082019050818103600083015261455481613f44565b9050919050565b6000602082019050818103600083015261457481613f67565b9050919050565b6000602082019050818103600083015261459481613f8a565b9050919050565b600060208201905081810360008301526145b481613fad565b9050919050565b600060208201905081810360008301526145d481613fd0565b9050919050565b600060208201905081810360008301526145f481613ff3565b9050919050565b6000602082019050818103600083015261461481614016565b9050919050565b6000602082019050818103600083015261463481614039565b9050919050565b600060208201905081810360008301526146548161405c565b9050919050565b600060208201905081810360008301526146748161407f565b9050919050565b60006020820190508181036000830152614694816140a2565b9050919050565b600060208201905081810360008301526146b4816140c5565b9050919050565b600060208201905081810360008301526146d48161410b565b9050919050565b600060208201905081810360008301526146f48161412e565b9050919050565b6000602082019050818103600083015261471481614151565b9050919050565b6000602082019050818103600083015261473481614174565b9050919050565b6000602082019050818103600083015261475481614197565b9050919050565b60006020820190508181036000830152614774816141ba565b9050919050565b60006020820190508181036000830152614794816141dd565b9050919050565b600060208201905081810360008301526147b481614200565b9050919050565b600060208201905081810360008301526147d481614223565b9050919050565b600060208201905081810360008301526147f481614246565b9050919050565b6000602082019050818103600083015261481481614269565b9050919050565b600060208201905081810360008301526148348161428c565b9050919050565b600060a08201905061485060008301886142af565b61485d6020830187613c43565b818103604083015261486f8186613cc2565b905061487e6060830185613c52565b81810360808301526148908184613cc2565b90509695505050505050565b60006080820190506148b160008301876142af565b81810360208301526148c38186613cc2565b90506148d260408301856142d5565b6148df6060830184613c43565b95945050505050565b60006080820190506148fd60008301886142af565b818103602083015261490f8187613cc2565b905061491e60408301866142fb565b8181036060830152614931818486613c70565b90509695505050505050565b600060808201905061495260008301876142af565b81810360208301526149648186613cc2565b905061497360408301856142fb565b81810360608301526149858184613cc2565b905095945050505050565b600060c0820190506149a560008301896142af565b81810360208301526149b78188613d2c565b905081810360408301526149cb8187613cc2565b90506149da6060830186613c34565b6149e76080830185613c43565b81810360a08301526149f98184613cc2565b9050979650505050505050565b6000602082019050614a1b60008301846142d5565b92915050565b6000604082019050614a3660008301856142d5565b614a436020830184613c61565b9392505050565b60008083356001602003843603038112614a6357600080fd5b80840192508235915067ffffffffffffffff821115614a8157600080fd5b602083019250600182023603831315614a9957600080fd5b509250929050565b6000614aab614abc565b9050614ab78282614dc6565b919050565b6000604051905090565b600067ffffffffffffffff821115614ae157614ae0614f1a565b5b614aea82614f49565b9050602081019050919050565b600067ffffffffffffffff821115614b1257614b11614f1a565b5b614b1b82614f49565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b9682614d34565b9150614ba183614d34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bd657614bd5614e8d565b5b828201905092915050565b6000614bec82614d34565b9150614bf783614d34565b925082614c0757614c06614ebc565b5b828204905092915050565b6000614c1d82614d34565b9150614c2883614d34565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6157614c60614e8d565b5b828202905092915050565b6000614c7782614d34565b9150614c8283614d34565b925082821015614c9557614c94614e8d565b5b828203905092915050565b6000614cab82614d14565b9050919050565b6000614cbd82614d14565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614d7f578082015181840152602081019050614d64565b83811115614d8e576000848401525b50505050565b60006002820490506001821680614dac57607f821691505b60208210811415614dc057614dbf614eeb565b5b50919050565b614dcf82614f49565b810181811067ffffffffffffffff82111715614dee57614ded614f1a565b5b80604052505050565b6000614e0282614d34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3557614e34614e8d565b5b600182019050919050565b6000614e4b82614f5a565b9050919050565b6000819050919050565b6000614e6782614d34565b9150614e7283614d34565b925082614e8257614e81614ebc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f01b9050919050565b7f4f6d6e696b6964733a20596f75206d757374206f776e2074686973206b69642060008201527f746f207472617665727365000000000000000000000000000000000000000000602082015250565b7f4d657461646174612069732066696e616c697a65640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4c617965725a65726f3a20696e76616c6964207061796c6f6164000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f6d6e69636869636b733a204e6f2062616c616e636500000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460008201527f206265204272696467652e000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f7560008201527f7263652073656e64696e6720636f6e7472616374000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6d6e694b6964733a204469646e27742066696e6420616e79206d6f7265206b60008201527f69647320696e204f6d6e69766572736500000000000000000000000000000000602082015250565b7f4f6d6e696b6964733a2044657374696e6174696f6e20626c6f636b6861696e2060008201527f63616e2774206265207468652073616d6520617320736f757263650000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6d6e696b6964733a205468697320636861696e2069732063757272656e746c60008201527f7920756e617661696c61626c6520666f722074726176656c0000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60008201527f6573736167650000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74206973206f6e20706175736500000000000000000000000000000000600082015250565b7f4f6d6e696b6964733a204e65656473206d6f7265206d6f6e6579000000000000600082015250565b7f4f6d6e696b6964733a2076616c75652073656e74206973206e6f7420656e6f7560008201527f676820746f20636f766572206d6573736167654665652e20496e63726561736560208201527f2067617320666f72206d65737361676520666565730000000000000000000000604082015250565b61575c81614ca0565b811461576757600080fd5b50565b61577381614cb2565b811461577e57600080fd5b50565b61578a81614cc4565b811461579557600080fd5b50565b6157a181614cda565b81146157ac57600080fd5b50565b6157b881614d06565b81146157c357600080fd5b50565b6157cf81614d34565b81146157da57600080fd5b50565b6157e681614d3e565b81146157f157600080fd5b5056fe697066733a2f2f516d595836546859686465396a636f704153685372543456467757676b6973653561734351734c4c466b484b6873a26469706673582212205b0539347a475f409683257949fd2a08c3e380460db05efd4e2f6fd360544a7a64736f6c63430008010033000000000000000000000000c80cb27474d72d06e6389c90f82a8a13547e963b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b58

Deployed Bytecode

0x60806040526004361061022f5760003560e01c80638da5cb5b1161012e578063cfa9849d116100ab578063eb8d72b71161006f578063eb8d72b7146107fe578063f2fde38b14610827578063f3234f4014610850578063f7bf55601461087b578063fddcb5ea146108a45761022f565b8063cfa9849d14610733578063d1deba1f1461074f578063de719b761461076b578063e563d9d314610796578063e985e9c5146107c15761022f565b8063a22cb465116100f2578063a22cb46514610650578063b88d4fde14610679578063c002d23d146106a2578063c87b56dd146106cd578063cdb88ad11461070a5761022f565b80638da5cb5b146105775780638ee74912146105a2578063943fb872146105e057806395d89b4114610609578063a0712d68146106345761022f565b80633ccfd60b116101bc5780636352211e116101805780636352211e1461047e5780636b4adc89146104bb57806370a08231146104e6578063715018a6146105235780637533d7881461053a5761022f565b80633ccfd60b146103bf57806342842e0e146103d65780634c261247146103ff57806361b8ce8c1461042857806361bc221a146104535761022f565b8063095ea7b311610203578063095ea7b31461030257806318160ddd1461032b5780631c37a8221461035657806323b872dd1461037f5780633575ae67146103a85761022f565b80621d35671461023457806301ffc9a71461025d57806306fdde031461029a578063081812fc146102c5575b600080fd5b34801561024057600080fd5b5061025b60048036038101906102569190613b00565b6108e1565b005b34801561026957600080fd5b50610284600480360381019061027f91906138ed565b610b23565b604051610291919061443c565b60405180910390f35b3480156102a657600080fd5b506102af610c05565b6040516102bc9190614479565b60405180910390f35b3480156102d157600080fd5b506102ec60048036038101906102e79190613bcf565b610c97565b6040516102f991906143ac565b60405180910390f35b34801561030e57600080fd5b5061032960048036038101906103249190613813565b610d1c565b005b34801561033757600080fd5b50610340610e34565b60405161034d9190614a06565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613b00565b610e3e565b005b34801561038b57600080fd5b506103a660048036038101906103a1919061370d565b610ebe565b005b3480156103b457600080fd5b506103bd610f1e565b005b3480156103cb57600080fd5b506103d4610fb7565b005b3480156103e257600080fd5b506103fd60048036038101906103f8919061370d565b6110cc565b005b34801561040b57600080fd5b506104266004803603810190610421919061393f565b6110ec565b005b34801561043457600080fd5b5061043d6111d2565b60405161044a9190614a06565b60405180910390f35b34801561045f57600080fd5b506104686111d8565b6040516104759190614a06565b60405180910390f35b34801561048a57600080fd5b506104a560048036038101906104a09190613bcf565b6111de565b6040516104b291906143ac565b60405180910390f35b3480156104c757600080fd5b506104d0611290565b6040516104dd9190614a06565b60405180910390f35b3480156104f257600080fd5b5061050d6004803603810190610508919061366c565b611295565b60405161051a9190614a06565b60405180910390f35b34801561052f57600080fd5b5061053861134d565b005b34801561054657600080fd5b50610561600480360381019061055c9190613980565b6113d5565b60405161056e9190614457565b60405180910390f35b34801561058357600080fd5b5061058c611475565b60405161059991906143ac565b60405180910390f35b3480156105ae57600080fd5b506105c960048036038101906105c49190613a01565b61149f565b6040516105d7929190614a21565b60405180910390f35b3480156105ec57600080fd5b5061060760048036038101906106029190613bcf565b6114f3565b005b34801561061557600080fd5b5061061e611579565b60405161062b9190614479565b60405180910390f35b61064e60048036038101906106499190613bcf565b61160b565b005b34801561065c57600080fd5b50610677600480360381019061067291906137d7565b611823565b005b34801561068557600080fd5b506106a0600480360381019061069b919061375c565b611839565b005b3480156106ae57600080fd5b506106b761189b565b6040516106c49190614a06565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef9190613bcf565b6118bf565b6040516107019190614479565b60405180910390f35b34801561071657600080fd5b50610731600480360381019061072c91906138c4565b611970565b005b61074d60048036038101906107489190613b93565b611a09565b005b61076960048036038101906107649190613a68565b611d7b565b005b34801561077757600080fd5b50610780611f1b565b60405161078d9190614a06565b60405180910390f35b3480156107a257600080fd5b506107ab611f3f565b6040516107b89190614479565b60405180910390f35b3480156107cd57600080fd5b506107e860048036038101906107e391906136d1565b611f5b565b6040516107f5919061443c565b60405180910390f35b34801561080a57600080fd5b50610825600480360381019061082091906139a9565b611fef565b005b34801561083357600080fd5b5061084e6004803603810190610849919061366c565b61209b565b005b34801561085c57600080fd5b50610865612193565b6040516108729190614a06565b60405180910390f35b34801561088757600080fd5b506108a2600480360381019061089d919061384f565b612199565b005b3480156108b057600080fd5b506108cb60048036038101906108c6919061366c565b6122fe565b6040516108d89190614a06565b60405180910390f35b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461093b57600080fd5b600960008561ffff1661ffff168152602001908152602001600020805461096190614d94565b905083511480156109a75750600960008561ffff1661ffff168152602001908152602001600020604051610995919061433a565b60405180910390208380519060200120145b6109e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109dd906146db565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff16631c37a822858585856040518563ffffffff1660e01b8152600401610a25949392919061493d565b600060405180830381600087803b158015610a3f57600080fd5b505af1925050508015610a50575060015b610b1c576040518060400160405280825181526020018280519060200120815250600860008661ffff1661ffff16815260200190815260200160002084604051610a9a9190614323565b908152602001604051809103902060008467ffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050507fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d84848484604051610b0f949392919061493d565b60405180910390a1610b1d565b5b50505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bee57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610bfe5750610bfd82612347565b5b9050919050565b606060008054610c1490614d94565b80601f0160208091040260200160405190810160405280929190818152602001828054610c4090614d94565b8015610c8d5780601f10610c6257610100808354040283529160200191610c8d565b820191906000526020600020905b815481529060010190602001808311610c7057829003601f168201915b5050505050905090565b6000610ca2826123b1565b610ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd89061469b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d27826111de565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f9061475b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610db761241d565b73ffffffffffffffffffffffffffffffffffffffff161480610de65750610de581610de061241d565b611f5b565b5b610e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1c906145fb565b60405180910390fd5b610e2f8383612425565b505050565b6000600a54905090565b3073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea39061465b565b60405180910390fd5b610eb8848484846124de565b50505050565b610ecf610ec961241d565b82612548565b610f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f059061479b565b60405180910390fd5b610f19838383612626565b505050565b610f2661241d565b73ffffffffffffffffffffffffffffffffffffffff16610f44611475565b73ffffffffffffffffffffffffffffffffffffffff1614610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f91906146bb565b60405180910390fd5b6001600e60006101000a81548160ff021916908315150217905550565b610fbf61241d565b73ffffffffffffffffffffffffffffffffffffffff16610fdd611475565b73ffffffffffffffffffffffffffffffffffffffff1614611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102a906146bb565b60405180910390fd5b60004790506000811161107b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611072906145db565b60405180910390fd5b611083611475565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156110c8573d6000803e3d6000fd5b5050565b6110e783838360405180602001604052806000815250611839565b505050565b6110f461241d565b73ffffffffffffffffffffffffffffffffffffffff16611112611475565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f906146bb565b60405180910390fd5b600e60009054906101000a900460ff16156111b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111af906144bb565b60405180910390fd5b80600d90805190602001906111ce9291906132d8565b5050565b600a5481565b600b5481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127e9061463b565b60405180910390fd5b80915050919050565b600281565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611306576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fd9061461b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61135561241d565b73ffffffffffffffffffffffffffffffffffffffff16611373611475565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c0906146bb565b60405180910390fd5b6113d3600061288d565b565b600960205280600052604060002060009150905080546113f490614d94565b80601f016020809104026020016040519081016040528092919081815260200182805461142090614d94565b801561146d5780601f106114425761010080835404028352916020019161146d565b820191906000526020600020905b81548152906001019060200180831161145057829003601f168201915b505050505081565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528260005260406000208280516020810182018051848252602083016020850120818352809550505050505060205280600052604060002060009250925050508060000154908060010154905082565b6114fb61241d565b73ffffffffffffffffffffffffffffffffffffffff16611519611475565b73ffffffffffffffffffffffffffffffffffffffff161461156f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611566906146bb565b60405180910390fd5b80600c8190555050565b60606001805461158890614d94565b80601f01602080910402602001604051908101604052809291908181526020018280546115b490614d94565b80156116015780601f106115d657610100808354040283529160200191611601565b820191906000526020600020905b8154815290600101906020018083116115e457829003601f168201915b5050505050905090565b7f0000000000000000000000000000000000000000000000000000000000001b5881600a5461163a9190614b8b565b111561167b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116729061471b565b60405180910390fd5b600e60019054906101000a900460ff16156116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906147db565b60405180910390fd5b60008190506000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600281101561175057600081600261172c9190614c6c565b9050808411156117495780846117429190614c6c565b925061174e565b600092505b505b7f00000000000000000000000000000000000000000000000000000000000000008261177c9190614c12565b3410156117be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b5906147fb565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461180d9190614b8b565b9250508190555061181e3384612953565b505050565b61183561182e61241d565b838361299c565b5050565b61184a61184461241d565b83612548565b611889576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118809061479b565b60405180910390fd5b61189584848484612b09565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606118ca826123b1565b611909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611900906146fb565b60405180910390fd5b6000611913612b65565b5111611937576040518060600160405280603581526020016157f560359139611969565b61193f612b65565b61194883612bf7565b604051602001611959929190614351565b6040516020818303038152906040525b9050919050565b61197861241d565b73ffffffffffffffffffffffffffffffffffffffff16611996611475565b73ffffffffffffffffffffffffffffffffffffffff16146119ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e3906146bb565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b611a12816111de565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a769061449b565b60405180910390fd5b6000600960008461ffff1661ffff1681526020019081526020016000208054611aa790614d94565b90501415611aea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae19061477b565b60405180910390fd5b468261ffff161415611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b289061473b565b60405180910390fd5b611b3a81612da4565b60003382604051602001611b4f929190614413565b6040516020818303038152906040529050600060019050600081600c54604051602001611b7d929190614380565b60405160208183030381529060405290506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340a7bb108730876000876040518663ffffffff1660e01b8152600401611bf495949392919061483b565b604080518083038186803b158015611c0b57600080fd5b505afa158015611c1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c439190613bf8565b5090507f5b6dd3cd292e9992e63f15316b4cff04aa4a1b86b888b7a53cbfa83a92916cce81604051611c759190614a06565b60405180910390a180341015611cc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb79061481b565b60405180910390fd5b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c58031003488600960008b61ffff1661ffff16815260200190815260200160002088336000896040518863ffffffff1660e01b8152600401611d4196959493929190614990565b6000604051808303818588803b158015611d5a57600080fd5b505af1158015611d6e573d6000803e3d6000fd5b5050505050505050505050565b6000600860008761ffff1661ffff16815260200190815260200160002085604051611da69190614323565b908152602001604051809103902060008567ffffffffffffffff16815260200190815260200160002090506000801b81600101541415611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e12906147bb565b60405180910390fd5b806000015483839050148015611e4b575080600101548383604051611e4192919061430a565b6040518091039020145b611e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e819061459b565b60405180910390fd5b600081600001819055506000801b81600101819055503073ffffffffffffffffffffffffffffffffffffffff16631c37a82287878787876040518663ffffffff1660e01b8152600401611ee19594939291906148e8565b600060405180830381600087803b158015611efb57600080fd5b505af1158015611f0f573d6000803e3d6000fd5b50505050505050505050565b7f0000000000000000000000000000000000000000000000000000000000001b5881565b6040518060600160405280603581526020016157f56035913981565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611ff761241d565b73ffffffffffffffffffffffffffffffffffffffff16612015611475565b73ffffffffffffffffffffffffffffffffffffffff161461206b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612062906146bb565b60405180910390fd5b8181600960008661ffff1661ffff168152602001908152602001600020919061209592919061335e565b50505050565b6120a361241d565b73ffffffffffffffffffffffffffffffffffffffff166120c1611475565b73ffffffffffffffffffffffffffffffffffffffff1614612117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210e906146bb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217e906144fb565b60405180910390fd5b6121908161288d565b50565b600c5481565b6121a161241d565b73ffffffffffffffffffffffffffffffffffffffff166121bf611475565b73ffffffffffffffffffffffffffffffffffffffff1614612215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220c906146bb565b60405180910390fd5b60005b848490508110156122f75782828281811061225c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200281019061226e9190614a4a565b600960008888868181106122ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906122c09190613980565b61ffff1661ffff16815260200190815260200160002091906122e392919061335e565b5080806122ef90614df7565b915050612218565b5050505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612498836111de565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080828060200190518101906124f59190613695565b915091507f8907acb071a04e4771f0aefe2cd026f2ceb820d8ceb32f566be3066b0e4f3ae78686838560405161252e949392919061489c565b60405180910390a16125408282612ec1565b505050505050565b6000612553826123b1565b612592576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612589906145bb565b60405180910390fd5b600061259d836111de565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061260c57508373ffffffffffffffffffffffffffffffffffffffff166125f484610c97565b73ffffffffffffffffffffffffffffffffffffffff16145b8061261d575061261c8185611f5b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612646826111de565b73ffffffffffffffffffffffffffffffffffffffff161461269c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126939061451b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561270c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127039061455b565b60405180910390fd5b612717838383612edf565b612722600082612425565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127729190614c6c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127c99190614b8b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612888838383612ee4565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60005b81811015612997576001600a60008282546129719190614b8b565b9250508190555061298483600a54612ec1565b808061298f90614df7565b915050612956565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a029061457b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612afc919061443c565b60405180910390a3505050565b612b14848484612626565b612b2084848484612ee9565b612b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b56906144db565b60405180910390fd5b50505050565b6060600d8054612b7490614d94565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba090614d94565b8015612bed5780601f10612bc257610100808354040283529160200191612bed565b820191906000526020600020905b815481529060010190602001808311612bd057829003601f168201915b5050505050905090565b60606000821415612c3f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d9f565b600082905060005b60008214612c71578080612c5a90614df7565b915050600a82612c6a9190614be1565b9150612c47565b60008167ffffffffffffffff811115612cb3577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612ce55781602001600182028036833780820191505090505b5090505b60008514612d9857600182612cfe9190614c6c565b9150600a85612d0d9190614e5c565b6030612d199190614b8b565b60f81b818381518110612d55577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d919190614be1565b9450612ce9565b8093505050505b919050565b6000612daf826111de565b9050612dbd81600084612edf565b612dc8600083612425565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e189190614c6c565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ebd81600084612ee4565b5050565b612edb828260405180602001604052806000815250613080565b5050565b505050565b505050565b6000612f0a8473ffffffffffffffffffffffffffffffffffffffff166130db565b15613073578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f3361241d565b8786866040518563ffffffff1660e01b8152600401612f5594939291906143c7565b602060405180830381600087803b158015612f6f57600080fd5b505af1925050508015612fa057506040513d601f19601f82011682018060405250810190612f9d9190613916565b60015b613023573d8060008114612fd0576040519150601f19603f3d011682016040523d82523d6000602084013e612fd5565b606091505b5060008151141561301b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613012906144db565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613078565b600190505b949350505050565b61308a83836130fe565b6130976000848484612ee9565b6130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906144db565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561316e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131659061467b565b60405180910390fd5b613177816123b1565b156131b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ae9061453b565b60405180910390fd5b6131c360008383612edf565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132139190614b8b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132d460008383612ee4565b5050565b8280546132e490614d94565b90600052602060002090601f016020900481019282613306576000855561334d565b82601f1061331f57805160ff191683800117855561334d565b8280016001018555821561334d579182015b8281111561334c578251825591602001919060010190613331565b5b50905061335a91906133e4565b5090565b82805461336a90614d94565b90600052602060002090601f01602090048101928261338c57600085556133d3565b82601f106133a557803560ff19168380011785556133d3565b828001600101855582156133d3579182015b828111156133d25782358255916020019190600101906133b7565b5b5090506133e091906133e4565b5090565b5b808211156133fd5760008160009055506001016133e5565b5090565b600061341461340f84614ac6565b614aa1565b90508281526020810184848401111561342c57600080fd5b613437848285614d52565b509392505050565b600061345261344d84614af7565b614aa1565b90508281526020810184848401111561346a57600080fd5b613475848285614d52565b509392505050565b60008135905061348c81615753565b92915050565b6000815190506134a18161576a565b92915050565b60008083601f8401126134b957600080fd5b8235905067ffffffffffffffff8111156134d257600080fd5b6020830191508360208202830111156134ea57600080fd5b9250929050565b60008083601f84011261350357600080fd5b8235905067ffffffffffffffff81111561351c57600080fd5b60208301915083602082028301111561353457600080fd5b9250929050565b60008135905061354a81615781565b92915050565b60008135905061355f81615798565b92915050565b60008151905061357481615798565b92915050565b60008083601f84011261358c57600080fd5b8235905067ffffffffffffffff8111156135a557600080fd5b6020830191508360018202830111156135bd57600080fd5b9250929050565b600082601f8301126135d557600080fd5b81356135e5848260208601613401565b91505092915050565b600082601f8301126135ff57600080fd5b813561360f84826020860161343f565b91505092915050565b600081359050613627816157af565b92915050565b60008135905061363c816157c6565b92915050565b600081519050613651816157c6565b92915050565b600081359050613666816157dd565b92915050565b60006020828403121561367e57600080fd5b600061368c8482850161347d565b91505092915050565b600080604083850312156136a857600080fd5b60006136b685828601613492565b92505060206136c785828601613642565b9150509250929050565b600080604083850312156136e457600080fd5b60006136f28582860161347d565b92505060206137038582860161347d565b9150509250929050565b60008060006060848603121561372257600080fd5b60006137308682870161347d565b93505060206137418682870161347d565b92505060406137528682870161362d565b9150509250925092565b6000806000806080858703121561377257600080fd5b60006137808782880161347d565b94505060206137918782880161347d565b93505060406137a28782880161362d565b925050606085013567ffffffffffffffff8111156137bf57600080fd5b6137cb878288016135c4565b91505092959194509250565b600080604083850312156137ea57600080fd5b60006137f88582860161347d565b92505060206138098582860161353b565b9150509250929050565b6000806040838503121561382657600080fd5b60006138348582860161347d565b92505060206138458582860161362d565b9150509250929050565b6000806000806040858703121561386557600080fd5b600085013567ffffffffffffffff81111561387f57600080fd5b61388b878288016134f1565b9450945050602085013567ffffffffffffffff8111156138aa57600080fd5b6138b6878288016134a7565b925092505092959194509250565b6000602082840312156138d657600080fd5b60006138e48482850161353b565b91505092915050565b6000602082840312156138ff57600080fd5b600061390d84828501613550565b91505092915050565b60006020828403121561392857600080fd5b600061393684828501613565565b91505092915050565b60006020828403121561395157600080fd5b600082013567ffffffffffffffff81111561396b57600080fd5b613977848285016135ee565b91505092915050565b60006020828403121561399257600080fd5b60006139a084828501613618565b91505092915050565b6000806000604084860312156139be57600080fd5b60006139cc86828701613618565b935050602084013567ffffffffffffffff8111156139e957600080fd5b6139f58682870161357a565b92509250509250925092565b600080600060608486031215613a1657600080fd5b6000613a2486828701613618565b935050602084013567ffffffffffffffff811115613a4157600080fd5b613a4d868287016135c4565b9250506040613a5e8682870161362d565b9150509250925092565b600080600080600060808688031215613a8057600080fd5b6000613a8e88828901613618565b955050602086013567ffffffffffffffff811115613aab57600080fd5b613ab7888289016135c4565b9450506040613ac888828901613657565b935050606086013567ffffffffffffffff811115613ae557600080fd5b613af18882890161357a565b92509250509295509295909350565b60008060008060808587031215613b1657600080fd5b6000613b2487828801613618565b945050602085013567ffffffffffffffff811115613b4157600080fd5b613b4d878288016135c4565b9350506040613b5e87828801613657565b925050606085013567ffffffffffffffff811115613b7b57600080fd5b613b87878288016135c4565b91505092959194509250565b60008060408385031215613ba657600080fd5b6000613bb485828601613618565b9250506020613bc58582860161362d565b9150509250929050565b600060208284031215613be157600080fd5b6000613bef8482850161362d565b91505092915050565b60008060408385031215613c0b57600080fd5b6000613c1985828601613642565b9250506020613c2a85828601613642565b9150509250929050565b613c3d81614cb2565b82525050565b613c4c81614ca0565b82525050565b613c5b81614cc4565b82525050565b613c6a81614cd0565b82525050565b6000613c7c8385614b53565b9350613c89838584614d52565b613c9283614f49565b840190509392505050565b6000613ca98385614b64565b9350613cb6838584614d52565b82840190509392505050565b6000613ccd82614b3d565b613cd78185614b53565b9350613ce7818560208601614d61565b613cf081614f49565b840191505092915050565b6000613d0682614b3d565b613d108185614b64565b9350613d20818560208601614d61565b80840191505092915050565b60008154613d3981614d94565b613d438186614b53565b94506001821660008114613d5e5760018114613d7057613da3565b60ff1983168652602086019350613da3565b613d7985614b28565b60005b83811015613d9b57815481890152600182019150602081019050613d7c565b808801955050505b50505092915050565b60008154613db981614d94565b613dc38186614b64565b94506001821660008114613dde5760018114613def57613e22565b60ff19831686528186019350613e22565b613df885614b28565b60005b83811015613e1a57815481890152600182019150602081019050613dfb565b838801955050505b50505092915050565b6000613e3682614b48565b613e408185614b6f565b9350613e50818560208601614d61565b613e5981614f49565b840191505092915050565b6000613e6f82614b48565b613e798185614b80565b9350613e89818560208601614d61565b80840191505092915050565b6000613ea2602b83614b6f565b9150613ead82614f67565b604082019050919050565b6000613ec5601583614b6f565b9150613ed082614fb6565b602082019050919050565b6000613ee8603283614b6f565b9150613ef382614fdf565b604082019050919050565b6000613f0b602683614b6f565b9150613f168261502e565b604082019050919050565b6000613f2e602583614b6f565b9150613f398261507d565b604082019050919050565b6000613f51601c83614b6f565b9150613f5c826150cc565b602082019050919050565b6000613f74602483614b6f565b9150613f7f826150f5565b604082019050919050565b6000613f97601983614b6f565b9150613fa282615144565b602082019050919050565b6000613fba601a83614b6f565b9150613fc58261516d565b602082019050919050565b6000613fdd602c83614b6f565b9150613fe882615196565b604082019050919050565b6000614000601683614b6f565b915061400b826151e5565b602082019050919050565b6000614023603883614b6f565b915061402e8261520e565b604082019050919050565b6000614046602a83614b6f565b91506140518261525d565b604082019050919050565b6000614069602983614b6f565b9150614074826152ac565b604082019050919050565b600061408c602b83614b6f565b9150614097826152fb565b604082019050919050565b60006140af602083614b6f565b91506140ba8261534a565b602082019050919050565b60006140d2602c83614b6f565b91506140dd82615373565b604082019050919050565b60006140f5600583614b80565b9150614100826153c2565b600582019050919050565b6000614118602083614b6f565b9150614123826153eb565b602082019050919050565b600061413b603483614b6f565b915061414682615414565b604082019050919050565b600061415e602f83614b6f565b915061416982615463565b604082019050919050565b6000614181603083614b6f565b915061418c826154b2565b604082019050919050565b60006141a4603b83614b6f565b91506141af82615501565b604082019050919050565b60006141c7602183614b6f565b91506141d282615550565b604082019050919050565b60006141ea603883614b6f565b91506141f58261559f565b604082019050919050565b600061420d603183614b6f565b9150614218826155ee565b604082019050919050565b6000614230602683614b6f565b915061423b8261563d565b604082019050919050565b6000614253601083614b6f565b915061425e8261568c565b602082019050919050565b6000614276601a83614b6f565b9150614281826156b5565b602082019050919050565b6000614299605583614b6f565b91506142a4826156de565b606082019050919050565b6142b881614d06565b82525050565b6142cf6142ca82614d06565b614e40565b82525050565b6142de81614d34565b82525050565b6142f56142f082614d34565b614e52565b82525050565b61430481614d3e565b82525050565b6000614317828486613c9d565b91508190509392505050565b600061432f8284613cfb565b915081905092915050565b60006143468284613dac565b915081905092915050565b600061435d8285613e64565b91506143698284613e64565b9150614374826140e8565b91508190509392505050565b600061438c82856142be565b60028201915061439c82846142e4565b6020820191508190509392505050565b60006020820190506143c16000830184613c43565b92915050565b60006080820190506143dc6000830187613c43565b6143e96020830186613c43565b6143f660408301856142d5565b81810360608301526144088184613cc2565b905095945050505050565b60006040820190506144286000830185613c43565b61443560208301846142d5565b9392505050565b60006020820190506144516000830184613c52565b92915050565b600060208201905081810360008301526144718184613cc2565b905092915050565b600060208201905081810360008301526144938184613e2b565b905092915050565b600060208201905081810360008301526144b481613e95565b9050919050565b600060208201905081810360008301526144d481613eb8565b9050919050565b600060208201905081810360008301526144f481613edb565b9050919050565b6000602082019050818103600083015261451481613efe565b9050919050565b6000602082019050818103600083015261453481613f21565b9050919050565b6000602082019050818103600083015261455481613f44565b9050919050565b6000602082019050818103600083015261457481613f67565b9050919050565b6000602082019050818103600083015261459481613f8a565b9050919050565b600060208201905081810360008301526145b481613fad565b9050919050565b600060208201905081810360008301526145d481613fd0565b9050919050565b600060208201905081810360008301526145f481613ff3565b9050919050565b6000602082019050818103600083015261461481614016565b9050919050565b6000602082019050818103600083015261463481614039565b9050919050565b600060208201905081810360008301526146548161405c565b9050919050565b600060208201905081810360008301526146748161407f565b9050919050565b60006020820190508181036000830152614694816140a2565b9050919050565b600060208201905081810360008301526146b4816140c5565b9050919050565b600060208201905081810360008301526146d48161410b565b9050919050565b600060208201905081810360008301526146f48161412e565b9050919050565b6000602082019050818103600083015261471481614151565b9050919050565b6000602082019050818103600083015261473481614174565b9050919050565b6000602082019050818103600083015261475481614197565b9050919050565b60006020820190508181036000830152614774816141ba565b9050919050565b60006020820190508181036000830152614794816141dd565b9050919050565b600060208201905081810360008301526147b481614200565b9050919050565b600060208201905081810360008301526147d481614223565b9050919050565b600060208201905081810360008301526147f481614246565b9050919050565b6000602082019050818103600083015261481481614269565b9050919050565b600060208201905081810360008301526148348161428c565b9050919050565b600060a08201905061485060008301886142af565b61485d6020830187613c43565b818103604083015261486f8186613cc2565b905061487e6060830185613c52565b81810360808301526148908184613cc2565b90509695505050505050565b60006080820190506148b160008301876142af565b81810360208301526148c38186613cc2565b90506148d260408301856142d5565b6148df6060830184613c43565b95945050505050565b60006080820190506148fd60008301886142af565b818103602083015261490f8187613cc2565b905061491e60408301866142fb565b8181036060830152614931818486613c70565b90509695505050505050565b600060808201905061495260008301876142af565b81810360208301526149648186613cc2565b905061497360408301856142fb565b81810360608301526149858184613cc2565b905095945050505050565b600060c0820190506149a560008301896142af565b81810360208301526149b78188613d2c565b905081810360408301526149cb8187613cc2565b90506149da6060830186613c34565b6149e76080830185613c43565b81810360a08301526149f98184613cc2565b9050979650505050505050565b6000602082019050614a1b60008301846142d5565b92915050565b6000604082019050614a3660008301856142d5565b614a436020830184613c61565b9392505050565b60008083356001602003843603038112614a6357600080fd5b80840192508235915067ffffffffffffffff821115614a8157600080fd5b602083019250600182023603831315614a9957600080fd5b509250929050565b6000614aab614abc565b9050614ab78282614dc6565b919050565b6000604051905090565b600067ffffffffffffffff821115614ae157614ae0614f1a565b5b614aea82614f49565b9050602081019050919050565b600067ffffffffffffffff821115614b1257614b11614f1a565b5b614b1b82614f49565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b9682614d34565b9150614ba183614d34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bd657614bd5614e8d565b5b828201905092915050565b6000614bec82614d34565b9150614bf783614d34565b925082614c0757614c06614ebc565b5b828204905092915050565b6000614c1d82614d34565b9150614c2883614d34565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c6157614c60614e8d565b5b828202905092915050565b6000614c7782614d34565b9150614c8283614d34565b925082821015614c9557614c94614e8d565b5b828203905092915050565b6000614cab82614d14565b9050919050565b6000614cbd82614d14565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b82818337600083830152505050565b60005b83811015614d7f578082015181840152602081019050614d64565b83811115614d8e576000848401525b50505050565b60006002820490506001821680614dac57607f821691505b60208210811415614dc057614dbf614eeb565b5b50919050565b614dcf82614f49565b810181811067ffffffffffffffff82111715614dee57614ded614f1a565b5b80604052505050565b6000614e0282614d34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e3557614e34614e8d565b5b600182019050919050565b6000614e4b82614f5a565b9050919050565b6000819050919050565b6000614e6782614d34565b9150614e7283614d34565b925082614e8257614e81614ebc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160f01b9050919050565b7f4f6d6e696b6964733a20596f75206d757374206f776e2074686973206b69642060008201527f746f207472617665727365000000000000000000000000000000000000000000602082015250565b7f4d657461646174612069732066696e616c697a65640000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4c617965725a65726f3a20696e76616c6964207061796c6f6164000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f6d6e69636869636b733a204e6f2062616c616e636500000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460008201527f206265204272696467652e000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f7560008201527f7263652073656e64696e6720636f6e7472616374000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4f6d6e694b6964733a204469646e27742066696e6420616e79206d6f7265206b60008201527f69647320696e204f6d6e69766572736500000000000000000000000000000000602082015250565b7f4f6d6e696b6964733a2044657374696e6174696f6e20626c6f636b6861696e2060008201527f63616e2774206265207468652073616d6520617320736f757263650000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f6d6e696b6964733a205468697320636861696e2069732063757272656e746c60008201527f7920756e617661696c61626c6520666f722074726176656c0000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60008201527f6573736167650000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74206973206f6e20706175736500000000000000000000000000000000600082015250565b7f4f6d6e696b6964733a204e65656473206d6f7265206d6f6e6579000000000000600082015250565b7f4f6d6e696b6964733a2076616c75652073656e74206973206e6f7420656e6f7560008201527f676820746f20636f766572206d6573736167654665652e20496e63726561736560208201527f2067617320666f72206d65737361676520666565730000000000000000000000604082015250565b61575c81614ca0565b811461576757600080fd5b50565b61577381614cb2565b811461577e57600080fd5b50565b61578a81614cc4565b811461579557600080fd5b50565b6157a181614cda565b81146157ac57600080fd5b50565b6157b881614d06565b81146157c357600080fd5b50565b6157cf81614d34565b81146157da57600080fd5b50565b6157e681614d3e565b81146157f157600080fd5b5056fe697066733a2f2f516d595836546859686465396a636f704153685372543456467757676b6973653561734351734c4c466b484b6873a26469706673582212205b0539347a475f409683257949fd2a08c3e380460db05efd4e2f6fd360544a7a64736f6c63430008010033

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

000000000000000000000000c80cb27474d72d06e6389c90f82a8a13547e963b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001b58

-----Decoded View---------------
Arg [0] : endpoint_ (address): 0xC80cb27474d72D06e6389c90f82A8a13547e963B
Arg [1] : mintPrice_ (uint256): 0
Arg [2] : startId_ (uint256): 0
Arg [3] : upperBound_ (uint256): 7000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c80cb27474d72d06e6389c90f82a8a13547e963b
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001b58


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.