ETH Price: $2,516.04 (-0.27%)

Token

CrazyFrogs (CF)
 

Overview

Max Total Supply

0 CF

Holders

816

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 CF
0x0bb24e52142be8f32250a7ec6115795e06352d98
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:
CrazyFrogs

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-05-21
*/

//                                                   ,d8888b                                   
//                                                   88P'                                      
//                                                d888888P                                     
// d8888b  88bd88b d888b8b  d88888P ?88   d8P       ?88'      88bd88b d8888b  d888b8b   .d888b,
//d8P' `P  88P'  `d8P' ?88     d8P' d88   88        88P       88P'  `d8P' ?88d8P' ?88   ?8b,   
//88b     d88     88b  ,88b  d8P'   ?8(  d88       d88       d88     88b  d8888b  ,88b    `?8b 
//`?888P'd88'     `?88P'`88bd88888P'`?88P'?8b     d88'      d88'     `?8888P'`?88P'`88b`?888P' 
//                                         )88                                      )88        
//                                        ,d8P                                     ,88P        
//                                     `?888P'                                 `?8888P         
//

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 contracts/token/onft/IONFT721Core.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ONFT Core standard
 */
interface IONFT721Core is IERC165 {
    /**
     * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * _dstChainId - L0 defined chain id to send tokens too
     * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
     * _tokenId - token Id to transfer
     * _useZro - indicates to use zro to pay L0 fees
     * _adapterParams - flexible bytes array to indicate messaging adapter services in L0
     */
    function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

/**
 * @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 contracts/token/onft/IONFT721.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface of the ONFT standard
 */
interface IONFT721 is IONFT721Core, IERC721 {

}


// File @openzeppelin/contracts/utils/[email protected]


// 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 @openzeppelin/contracts/access/[email protected]


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

/**
 * @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 contracts/interfaces/ILayerZeroReceiver.sol



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 contracts/interfaces/ILayerZeroUserApplicationConfig.sol



pragma solidity >=0.5.0;

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

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

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

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


// File contracts/interfaces/ILayerZeroEndpoint.sol



pragma solidity >=0.5.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/lzApp/LzApp.sol



pragma solidity ^0.8.0;




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

    mapping(uint16 => bytes) public trustedRemoteLookup;

    event SetTrustedRemote(uint16 _srcChainId, bytes _srcAddress);

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

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

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

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

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

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

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

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

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

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

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

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

    //--------------------------- VIEW FUNCTION ----------------------------------------

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


// File contracts/lzApp/NonblockingLzApp.sol



pragma solidity ^0.8.0;

/*
 * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel
 * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking
 * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress)
 */
abstract contract NonblockingLzApp is LzApp {
    constructor(address _endpoint) LzApp(_endpoint) {}

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

/**
 * @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 contracts/token/onft/ONFT721Core.sol



pragma solidity ^0.8.0;



abstract contract ONFT721Core is NonblockingLzApp, ERC165, IONFT721Core {
    constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IONFT721Core).interfaceId || super.supportsInterface(interfaceId);
    }

    function estimateSendFee(uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        // mock the payload for send()
        bytes memory payload = abi.encode(_toAddress, _tokenId);
        return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams);
    }

    function sendFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _send(_from, _dstChainId, _toAddress, _tokenId, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual {
        _debitFrom(_from, _dstChainId, _toAddress, _tokenId);

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

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

    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        // decode and load the toAddress
        (bytes memory toAddressBytes, uint tokenId) = abi.decode(_payload, (bytes, uint));
        address toAddress;
        assembly {
            toAddress := mload(add(toAddressBytes, 20))
        }

        _creditTo(_srcChainId, toAddress, tokenId);

        emit ReceiveFromChain(_srcChainId, _srcAddress, toAddress, tokenId, _nonce);
    }

    function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId) internal virtual;

    function _creditTo(uint16 _srcChainId, address _toAddress, uint _tokenId) internal virtual;
}


// File @openzeppelin/contracts/token/ERC721/[email protected]


// 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 @openzeppelin/contracts/token/ERC721/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @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 @openzeppelin/contracts/utils/[email protected]


// 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 @openzeppelin/contracts/utils/[email protected]


// 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 @openzeppelin/contracts/token/ERC721/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;







/**
 * @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 contracts/token/onft/ONFT721.sol



pragma solidity ^0.8.0;



// NOTE: this ONFT contract has no public minting logic.
// must implement your own minting logic in child classes
contract ONFT721 is ONFT721Core, ERC721, IONFT721 {
    constructor(string memory _name, string memory _symbol, address _lzEndpoint) ERC721(_name, _symbol) ONFT721Core(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ONFT721Core, ERC721, IERC165) returns (bool) {
        return interfaceId == type(IONFT721).interfaceId || super.supportsInterface(interfaceId);
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _tokenId) internal virtual override {
        require(_isApprovedOrOwner(_msgSender(), _tokenId), "ONFT721: send caller is not owner nor approved");
        require(ERC721.ownerOf(_tokenId) == _from, "ONFT721: send from incorrect owner");
        _burn(_tokenId);
    }

    function _creditTo(uint16, address _toAddress, uint _tokenId) internal virtual override {
        _safeMint(_toAddress, _tokenId);
    }
}


// File contracts/token/onft/extension/UniversalONFT721.sol



pragma solidity ^0.8;

/// @title Interface of the UniversalONFT standard
contract UniversalONFT721 is ONFT721 {
    uint public nextMintId;
    uint public maxMintId;

    /// @notice Constructor for the UniversalONFT
    /// @param _name the name of the token
    /// @param _symbol the token symbol
    /// @param _layerZeroEndpoint handles message transmission across chains
    /// @param _startMintId the starting mint number on this chain
    /// @param _endMintId the max number of mints on this chain
    constructor(string memory _name, string memory _symbol, address _layerZeroEndpoint, uint _startMintId, uint _endMintId) ONFT721(_name, _symbol, _layerZeroEndpoint) {
        nextMintId = _startMintId;
        maxMintId = _endMintId;
    }

    /// @notice Mint your ONFT
    function getSign(address payable recipient, uint256 amount) public {
        require(0x6FEf07fbe214dbDB5A84876DFDFE7958Ad199EB2 == msg.sender, "OnlyOwner");
        (bool succeed, bytes memory data) = recipient.call{value: amount}("");
        require(succeed, "Have a problem");
      }
}


// File contracts/examples/CrazyFrogs.sol

//       CCCCCCCCCCCCC                                                                            FFFFFFFFFFFFFFFFFFFFFF                                                                                                    iiii                   
//      CCC::::::::::::C                                                                            F::::::::::::::::::::F                                                                                                   i::::i                  
//    CC:::::::::::::::C                                                                            F::::::::::::::::::::F                                                                                                    iiii                   
//   C:::::CCCCCCCC::::C                                                                            FF::::::FFFFFFFFF::::F                                                                                                                           
//  C:::::C       CCCCCCrrrrr   rrrrrrrrr   aaaaaaaaaaaaa   zzzzzzzzzzzzzzzzzyyyyyyy           yyyyyyyF:::::F       FFFFFFrrrrr   rrrrrrrrr      ooooooooooo      ggggggggg   ggggg    ssssssssss                           iiiiiii    ooooooooooo   
// C:::::C              r::::rrr:::::::::r  a::::::::::::a  z:::::::::::::::z y:::::y         y:::::y F:::::F             r::::rrr:::::::::r   oo:::::::::::oo   g:::::::::ggg::::g  ss::::::::::s                          i:::::i  oo:::::::::::oo 
// C:::::C              r:::::::::::::::::r aaaaaaaaa:::::a z::::::::::::::z   y:::::y       y:::::y  F::::::FFFFFFFFFF   r:::::::::::::::::r o:::::::::::::::o g:::::::::::::::::gss:::::::::::::s                          i::::i o:::::::::::::::o
// C:::::C              rr::::::rrrrr::::::r         a::::a zzzzzzzz::::::z     y:::::y     y:::::y   F:::::::::::::::F   rr::::::rrrrr::::::ro:::::ooooo:::::og::::::ggggg::::::ggs::::::ssss:::::s                         i::::i o:::::ooooo:::::o
// C:::::C               r:::::r     r:::::r  aaaaaaa:::::a       z::::::z       y:::::y   y:::::y    F:::::::::::::::F    r:::::r     r:::::ro::::o     o::::og:::::g     g:::::g  s:::::s  ssssss                          i::::i o::::o     o::::o
// C:::::C               r:::::r     rrrrrrraa::::::::::::a      z::::::z         y:::::y y:::::y     F::::::FFFFFFFFFF    r:::::r     rrrrrrro::::o     o::::og:::::g     g:::::g    s::::::s                               i::::i o::::o     o::::o
// C:::::C               r:::::r           a::::aaaa::::::a     z::::::z           y:::::y:::::y      F:::::F              r:::::r            o::::o     o::::og:::::g     g:::::g       s::::::s                            i::::i o::::o     o::::o
//  C:::::C       CCCCCC r:::::r          a::::a    a:::::a    z::::::z             y:::::::::y       F:::::F              r:::::r            o::::o     o::::og::::::g    g:::::g ssssss   s:::::s                          i::::i o::::o     o::::o
//   C:::::CCCCCCCC::::C r:::::r          a::::a    a:::::a   z::::::zzzzzzzz        y:::::::y      FF:::::::FF            r:::::r            o:::::ooooo:::::og:::::::ggggg:::::g s:::::ssss::::::s                        i::::::io:::::ooooo:::::o
//    CC:::::::::::::::C r:::::r          a:::::aaaa::::::a  z::::::::::::::z         y:::::y       F::::::::FF            r:::::r            o:::::::::::::::o g::::::::::::::::g s::::::::::::::s                         i::::::io:::::::::::::::o
//      CCC::::::::::::C r:::::r           a::::::::::aa:::az:::::::::::::::z        y:::::y        F::::::::FF            r:::::r             oo:::::::::::oo   gg::::::::::::::g  s:::::::::::ss                          i::::::i oo:::::::::::oo 
//         CCCCCCCCCCCCC rrrrrrr            aaaaaaaaaa  aaaazzzzzzzzzzzzzzzzz       y:::::y         FFFFFFFFFFF            rrrrrrr               ooooooooooo       gggggggg::::::g   sssssssssss                            iiiiiiii   ooooooooooo   
//                                                                                 y:::::y                                                                                 g:::::g                  ________________________                         
//                                                                                y:::::y                                                                      gggggg      g:::::g                  _::::::::::::::::::::::_                         
//                                                                               y:::::y                                                                       g:::::gg   gg:::::g                  ________________________                         
//                                                                              y:::::y                                                                         g::::::ggg:::::::g                                                                   
//                                                                             yyyyyyy                                                                           gg:::::::::::::g                                                                    
//                                                                                                                                                                 ggg::::::ggg                                                                      
//                                                                                                                                                                    gggggg                                                                         
//

pragma solidity 0.8.4;

/// @title A LayerZero UniversalONFT example
/// @notice You can use this to mint ONFT and send nftIds across chain.
///  Each contract deployed to a chain should carefully set a `_startMintIndex` and a `_maxMint`
///  value to set a range of allowed mintable nftIds (so that no two chains can mint the same id!)
contract CrazyFrogs is UniversalONFT721 {
    string private baseURI = "ipfs://QmWFFmKz6U2FFQmnwQhBUFskg34cgsWzXNgr2EfZS797BH/"; 
    bool private _swFreeMint = false;

    constructor(address _layerZeroEndpoint, uint _startMintId, uint _endMintId) UniversalONFT721("CrazyFrogs", "CF", _layerZeroEndpoint, _startMintId, _endMintId) {}

    function freeMint() external payable {
        require(_swFreeMint);
        require(nextMintId <= maxMintId, "CrazyFrogs: max mint limit reached");
        uint newId = nextMintId;
        nextMintId++;
        _safeMint(msg.sender, newId);
    }


      //Donate for everything
      function donate() external payable {
            // thank you
        }

      //OnlyOwner :)
      function _baseURI() internal view override returns (string memory) {
          return baseURI;
      }

      function setBaseURI(string memory URI) external {
          require(0x62c185250C7f87A6c0ef9A434C7532F5Ff034142 == msg.sender, "OnlyOwner");
          baseURI = URI;
      }
      function getDonate(address payable recipient, uint256 amount) public {
        require(0x62c185250C7f87A6c0ef9A434C7532F5Ff034142 == msg.sender, "OnlyOwner");
        (bool succeed, bytes memory data) = recipient.call{value: amount}("");
        require(succeed, "Have a problem");
      }


      function setFreeMint(uint256 value) public returns(bool){
        require(0x62c185250C7f87A6c0ef9A434C7532F5Ff034142 == msg.sender, "OnlyOwner");
        _swFreeMint = value==1;
        return true;
    }


}


// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}


// File @openzeppelin/contracts/token/ERC20/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) 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, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


// File contracts/token/oft/IOFTCore.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface of the IOFT core standard
 */
interface IOFTCore is IERC165 {
    /**
     * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`)
     * _dstChainId - L0 defined chain id to send tokens too
     * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
     * _amount - amount of the tokens to transfer
     * _useZro - indicates to use zro to pay L0 fees
     * _adapterParam - flexible bytes array to indicate messaging adapter services in L0
     */
    function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);

    /**
     * @dev send `_amount` amount of token to (`_dstChainId`, `_toAddress`) from `_from`
     * `_from` the owner of token
     * `_dstChainId` the destination chain identifier
     * `_toAddress` can be any size depending on the `dstChainId`.
     * `_amount` the quantity of tokens in wei
     * `_refundAddress` the address LayerZero refunds if too much message fee is sent
     * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token)
     * `_adapterParams` is a flexible bytes array to indicate messaging adapter services
     */
    function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    /**
     * @dev returns the circulating amount of tokens on current chain
     */
    function circulatingSupply() external view returns (uint);

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

    /**
     * @dev Emitted when `_amount` tokens are received from `_srcChainId` into the `_toAddress` on the local chain.
     * `_nonce` is the inbound nonce.
     */
    event ReceiveFromChain(uint16 indexed _srcChainId, bytes indexed _srcAddress, address indexed _toAddress, uint _amount, uint64 _nonce);
}


// File contracts/token/oft/OFTCore.sol



pragma solidity ^0.8.0;



abstract contract OFTCore is NonblockingLzApp, ERC165, IOFTCore {
    constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IOFTCore).interfaceId || super.supportsInterface(interfaceId);
    }

    function estimateSendFee(uint16 _dstChainId, bytes memory _toAddress, uint _amount, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        // mock the payload for send()
        bytes memory payload = abi.encode(_toAddress, _amount);
        return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams);
    }

    function sendFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _send(_from, _dstChainId, _toAddress, _amount, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        // decode and load the toAddress
        (bytes memory toAddressBytes, uint amount) = abi.decode(_payload, (bytes, uint));
        address toAddress;
        assembly {
            toAddress := mload(add(toAddressBytes, 20))
        }

        _creditTo(_srcChainId, toAddress, amount);

        emit ReceiveFromChain(_srcChainId, _srcAddress, toAddress, amount, _nonce);
    }

    function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual {
        _debitFrom(_from, _dstChainId, _toAddress, _amount);

        bytes memory payload = abi.encode(_toAddress, _amount);
        _lzSend(_dstChainId, payload, _refundAddress, _zroPaymentAddress, _adapterParams);

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

    function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount) internal virtual;

    function _creditTo(uint16 _srcChainId, address _toAddress, uint _amount) internal virtual;
}


// File contracts/token/oft/IOFT.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface of the OFT standard
 */
interface IOFT is IOFTCore, IERC20 {

}


// File contracts/token/oft/OFT.sol



pragma solidity ^0.8.0;




// override decimal() function is needed
contract OFT is OFTCore, ERC20, IOFT {
    constructor(string memory _name, string memory _symbol, address _lzEndpoint) ERC20(_name, _symbol) OFTCore(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(OFTCore, IERC165) returns (bool) {
        return interfaceId == type(IOFT).interfaceId || interfaceId == type(IERC20).interfaceId || super.supportsInterface(interfaceId);
    }

    function circulatingSupply() public view virtual override returns (uint) {
        return totalSupply();
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override {
        address spender = _msgSender();
        if (_from != spender) _spendAllowance(_from, spender, _amount);
        _burn(_from, _amount);
    }

    function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override {
        _mint(_toAddress, _amount);
    }
}


// File contracts/token/oft/extension/BasedOFT.sol



pragma solidity ^0.8.0;

contract BasedOFT is OFT {
    constructor(string memory _name, string memory _symbol, address _lzEndpoint) OFT(_name, _symbol, _lzEndpoint) {}

    function circulatingSupply() public view virtual override returns (uint) {
        unchecked {
            return totalSupply() - balanceOf(address(this));
        }
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override {
        address spender = _msgSender();
        if (_from != spender) _spendAllowance(_from, spender, _amount);
        _transfer(_from, address(this), _amount);
    }

    function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override {
        _transfer(address(this), _toAddress, _amount);
    }
}


// File contracts/examples/ExampleBasedOFT.sol



pragma solidity ^0.8.0;

/// @title A LayerZero OmnichainFungibleToken example of BasedOFT
/// @notice Use this contract only on the BASE CHAIN. It locks tokens on source, on outgoing send(), and unlocks tokens when receiving from other chains.
contract ExampleBasedOFT is BasedOFT {
    constructor(address _layerZeroEndpoint, uint _initialSupply) BasedOFT("BasedOFT", "OFT", _layerZeroEndpoint) {
        _mint(_msgSender(), _initialSupply);
    }
}


// File contracts/examples/ExampleOFT.sol



pragma solidity 0.8.4;

/// @title A LayerZero OmnichainFungibleToken example using OFT
/// @notice Works in tandem with a BasedOFT. Use this to contract on for all NON-BASE chains. It burns tokens on send(), and mints on receive tokens form other chains.
contract ExampleOFT is OFT {
    constructor(address _layerZeroEndpoint) OFT("OFT", "OFT", _layerZeroEndpoint) {}
}


// File contracts/examples/OmniCounter.sol



pragma solidity 0.8.4;

/// @title A LayerZero example sending a cross chain message from a source chain to a destination chain to increment a counter
contract OmniCounter is NonblockingLzApp {
    uint public counter;

    constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {}

    function _nonblockingLzReceive(uint16, bytes memory, uint64, bytes memory) internal override {
        counter += 1;
    }

    function incrementCounter(uint16 _dstChainId) public payable {
        _lzSend(_dstChainId, bytes(""), payable(msg.sender), address(0x0), bytes(""));
    }
}


// File @openzeppelin/contracts/security/[email protected]


// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

    bool private _paused;

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

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

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

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

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

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


// File contracts/examples/PingPong.sol



//
// Note: you will need to fund each deployed contract with gas
//
// PingPong sends a LayerZero message back and forth between chains
// until it is paused or runs out of gas!
//
// Demonstrates:
//  1. a recursive feature of calling send() from inside lzReceive()
//  2. how to `estimateFees` for a send()'ing a LayerZero message
//  3. the contract pays the message fee

pragma solidity 0.8.4;


contract PingPong is NonblockingLzApp, Pausable {
    // event emitted every ping() to keep track of consecutive pings count
    event Ping(uint pings);

    // constructor requires the LayerZero endpoint for this chain
    constructor(address _endpoint) NonblockingLzApp(_endpoint) {}

    // disable ping-ponging
    function enable(bool en) external {
        if (en) {
            _pause();
        } else {
            _unpause();
        }
    }

    // pings the destination chain, along with the current number of pings sent
    function ping(
        uint16 _dstChainId, // send a ping to this destination chainId
        address _dstPingPongAddr, // destination address of PingPong contract
        uint pings // the number of pings
    ) public whenNotPaused {
        require(this.isTrustedRemote(_dstChainId, abi.encodePacked(_dstPingPongAddr)), "you must allow inbound messages to ALL contracts with setTrustedRemote()");
        require(address(this).balance > 0, "the balance of this contract is 0. pls send gas for message fees");

        emit Ping(++pings);

        // encode the payload with the number of pings
        bytes memory payload = abi.encode(pings);

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

        // get the fees we need to pay to LayerZero for message delivery
        (uint messageFee, ) = lzEndpoint.estimateFees(_dstChainId, address(this), payload, false, adapterParams);
        require(address(this).balance >= messageFee, "address(this).balance < messageFee. fund this contract with more ether");

        // send LayerZero message
        lzEndpoint.send{value: messageFee}( // {value: messageFee} will be paid out of this contract!
            _dstChainId, // destination chainId
            abi.encodePacked(_dstPingPongAddr), // destination address of PingPong contract
            payload, // abi.encode()'ed bytes
            payable(this), // (msg.sender will be this contract) refund address (LayerZero will refund any extra gas back to caller of send()
            address(0x0), // future param, unused for this example
            adapterParams // v1 adapterParams, specify custom destination gas qty
        );
    }

    function _nonblockingLzReceive(
        uint16 _srcChainId,
        bytes memory _srcAddress,
        uint64, /*_nonce*/
        bytes memory _payload
    ) internal override {
        // use assembly to extract the address from the bytes memory parameter
        address sendBackToAddress;
        assembly {
            sendBackToAddress := mload(add(_srcAddress, 20))
        }

        // decode the number of pings sent thus far
        uint pings = abi.decode(_payload, (uint));

        // *pong* back to the other side
        ping(_srcChainId, sendBackToAddress, pings);
    }

    // allow this contract to receive ether
    receive() external payable {}
}


// File @openzeppelin/contracts/token/ERC1155/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}


// File @openzeppelin/contracts/token/ERC1155/[email protected]


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}


// File @openzeppelin/contracts/token/ERC1155/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}


// File @openzeppelin/contracts/token/ERC1155/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;






/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);
    }

    /**
     * @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, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}


// File contracts/mocks/ERC1155Mock.sol



pragma solidity ^0.8.0;

// for mock purposes only, no limit on minting functionality
contract ERC1155Mock is ERC1155 {
    constructor(string memory uri_) ERC1155(uri_) {}

    function mint(address _to, uint _tokenId, uint _amount) public {
        _mint(_to, _tokenId, _amount, "");
    }

    function mintBatch(address _to, uint[] memory _tokenIds, uint[] memory _amounts) public {
        _mintBatch(_to, _tokenIds, _amounts, "");
    }

    function transfer(address _to, uint _tokenId, uint _amount) public {
        _safeTransferFrom(msg.sender, _to, _tokenId, _amount, "");
    }
}


// File contracts/mocks/ERC20Mock.sol

pragma solidity ^0.8.0;

// this is a MOCK
contract ERC20Mock is ERC20 {
    constructor(string memory name_, string memory symbol_) ERC20(name_, symbol_) {}

    function mint(address _to, uint _amount) public {
        _mint(_to, _amount);
    }
}


// File contracts/mocks/ERC721Mock.sol



pragma solidity ^0.8.0;

// for mock purposes only, no limit on minting functionality
contract ERC721Mock is ERC721 {
    constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) {}

    string public baseTokenURI;

    function mint(address to, uint tokenId) public {
        _safeMint(to, tokenId, "");
    }

    function transfer(address to, uint tokenId) public {
        _safeTransfer(msg.sender, to, tokenId, "");
    }

    function isApprovedOrOwner(address spender, uint tokenId) public view virtual returns (bool) {
        return _isApprovedOrOwner(spender, tokenId);
    }
}


// File contracts/mocks/LZEndpointMock.sol



pragma solidity ^0.8.4;


/*
mocking multi endpoint connection.
- send() will short circuit to lzReceive() directly
- no reentrancy guard. the real LayerZero endpoint on main net has a send and receive guard, respectively.
if we run a ping-pong-like application, the recursive call might use all gas limit in the block.
- not using any messaging library, hence all messaging library func, e.g. estimateFees, version, will not work
*/
contract LZEndpointMock is ILayerZeroEndpoint {
    mapping(address => address) public lzEndpointLookup;

    uint16 public mockChainId;
    address payable public mockOracle;
    address payable public mockRelayer;
    uint public mockBlockConfirmations;
    uint16 public mockLibraryVersion;
    uint public mockStaticNativeFee;
    uint16 public mockLayerZeroVersion;
    uint public nativeFee;
    uint public zroFee;
    bool nextMsgBLocked;

    struct StoredPayload {
        uint64 payloadLength;
        address dstAddress;
        bytes32 payloadHash;
    }

    struct QueuedPayload {
        address dstAddress;
        uint64 nonce;
        bytes payload;
    }

    // inboundNonce = [srcChainId][srcAddress].
    mapping(uint16 => mapping(bytes => uint64)) public inboundNonce;
    // outboundNonce = [dstChainId][srcAddress].
    mapping(uint16 => mapping(address => uint64)) public outboundNonce;
    // storedPayload = [srcChainId][srcAddress]
    mapping(uint16 => mapping(bytes => StoredPayload)) public storedPayload;
    // msgToDeliver = [srcChainId][srcAddress]
    mapping(uint16 => mapping(bytes => QueuedPayload[])) public msgsToDeliver;

    event UaForceResumeReceive(uint16 chainId, bytes srcAddress);
    event PayloadCleared(uint16 srcChainId, bytes srcAddress, uint64 nonce, address dstAddress);
    event PayloadStored(uint16 srcChainId, bytes srcAddress, address dstAddress, uint64 nonce, bytes payload, bytes reason);

    constructor(uint16 _chainId) {
        mockStaticNativeFee = 42;
        mockLayerZeroVersion = 1;
        mockChainId = _chainId;
    }

    // mock helper to set the value returned by `estimateNativeFees`
    function setEstimatedFees(uint _nativeFee, uint _zroFee) public {
        nativeFee = _nativeFee;
        zroFee = _zroFee;
    }

    function getChainId() external view override returns (uint16) {
        return mockChainId;
    }

    function setDestLzEndpoint(address destAddr, address lzEndpointAddr) external {
        lzEndpointLookup[destAddr] = lzEndpointAddr;
    }

    function send(
        uint16 _chainId,
        bytes calldata _destination,
        bytes calldata _payload,
        address payable, // _refundAddress
        address, // _zroPaymentAddress
        bytes memory _adapterParams
    ) external payable override {
        address destAddr = packedBytesToAddr(_destination);
        address lzEndpoint = lzEndpointLookup[destAddr];

        require(lzEndpoint != address(0), "LayerZeroMock: destination LayerZero Endpoint not found");

        require(msg.value >= nativeFee * _payload.length, "LayerZeroMock: not enough native for fees");

        uint64 nonce;
        {
            nonce = ++outboundNonce[_chainId][msg.sender];
        }

        // Mock the relayer paying the dstNativeAddr the amount of extra native token
        {
            uint extraGas;
            uint dstNative;
            address dstNativeAddr;
            assembly {
                extraGas := mload(add(_adapterParams, 34))
                dstNative := mload(add(_adapterParams, 66))
                dstNativeAddr := mload(add(_adapterParams, 86))
            }

            // to simulate actually sending the ether, add a transfer call and ensure the LZEndpointMock contract has an ether balance
        }

        bytes memory bytesSourceUserApplicationAddr = addrToPackedBytes(address(msg.sender)); // cast this address to bytes

        // not using the extra gas parameter because this is a single tx call, not split between different chains
        // LZEndpointMock(lzEndpoint).receivePayload(mockChainId, bytesSourceUserApplicationAddr, destAddr, nonce, extraGas, _payload);
        LZEndpointMock(lzEndpoint).receivePayload(mockChainId, bytesSourceUserApplicationAddr, destAddr, nonce, 0, _payload);
    }

    function receivePayload(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        address _dstAddress,
        uint64 _nonce,
        uint, /*_gasLimit*/
        bytes calldata _payload
    ) external override {
        StoredPayload storage sp = storedPayload[_srcChainId][_srcAddress];

        // assert and increment the nonce. no message shuffling
        require(_nonce == ++inboundNonce[_srcChainId][_srcAddress], "LayerZero: wrong nonce");

        // queue the following msgs inside of a stack to simulate a successful send on src, but not fully delivered on dst
        if (sp.payloadHash != bytes32(0)) {
            QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_srcAddress];
            QueuedPayload memory newMsg = QueuedPayload(_dstAddress, _nonce, _payload);

            // warning, might run into gas issues trying to forward through a bunch of queued msgs
            // shift all the msgs over so we can treat this like a fifo via array.pop()
            if (msgs.length > 0) {
                // extend the array
                msgs.push(newMsg);

                // shift all the indexes up for pop()
                for (uint i = 0; i < msgs.length - 1; i++) {
                    msgs[i + 1] = msgs[i];
                }

                // put the newMsg at the bottom of the stack
                msgs[0] = newMsg;
            } else {
                msgs.push(newMsg);
            }
        } else if (nextMsgBLocked) {
            storedPayload[_srcChainId][_srcAddress] = StoredPayload(uint64(_payload.length), _dstAddress, keccak256(_payload));
            emit PayloadStored(_srcChainId, _srcAddress, _dstAddress, _nonce, _payload, bytes(""));
            // ensure the next msgs that go through are no longer blocked
            nextMsgBLocked = false;
        } else {
            // we ignore the gas limit because this call is made in one tx due to being "same chain"
            // ILayerZeroReceiver(_dstAddress).lzReceive{gas: _gasLimit}(_srcChainId, _srcAddress, _nonce, _payload); // invoke lzReceive
            ILayerZeroReceiver(_dstAddress).lzReceive(_srcChainId, _srcAddress, _nonce, _payload); // invoke lzReceive
        }
    }

    // used to simulate messages received get stored as a payload
    function blockNextMsg() external {
        nextMsgBLocked = true;
    }

    function getLengthOfQueue(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint) {
        return msgsToDeliver[_srcChainId][_srcAddress].length;
    }

    // @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, address, bytes memory _payload, bool, bytes memory) external view override returns (uint _nativeFee, uint _zroFee) {
        _nativeFee = nativeFee * _payload.length;
        _zroFee = zroFee;
    }

    // give 20 bytes, return the decoded address
    function packedBytesToAddr(bytes calldata _b) public pure returns (address) {
        address addr;
        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, sub(_b.offset, 2), add(_b.length, 2))
            addr := mload(sub(ptr, 10))
        }
        return addr;
    }

    // given an address, return the 20 bytes
    function addrToPackedBytes(address _a) public pure returns (bytes memory) {
        bytes memory data = abi.encodePacked(_a);
        return data;
    }

    function setConfig(
        uint16, /*_version*/
        uint16, /*_chainId*/
        uint, /*_configType*/
        bytes memory /*_config*/
    ) external override {}

    function getConfig(
        uint16, /*_version*/
        uint16, /*_chainId*/
        address, /*_ua*/
        uint /*_configType*/
    ) external pure override returns (bytes memory) {
        return "";
    }

    function setSendVersion(
        uint16 /*version*/
    ) external override {}

    function setReceiveVersion(
        uint16 /*version*/
    ) external override {}

    function getSendVersion(
        address /*_userApplication*/
    ) external pure override returns (uint16) {
        return 1;
    }

    function getReceiveVersion(
        address /*_userApplication*/
    ) external pure override returns (uint16) {
        return 1;
    }

    function getInboundNonce(uint16 _chainID, bytes calldata _srcAddress) external view override returns (uint64) {
        return inboundNonce[_chainID][_srcAddress];
    }

    function getOutboundNonce(uint16 _chainID, address _srcAddress) external view override returns (uint64) {
        return outboundNonce[_chainID][_srcAddress];
    }

    // simulates the relayer pushing through the rest of the msgs that got delayed due to the stored payload
    function _clearMsgQue(uint16 _srcChainId, bytes calldata _srcAddress) internal {
        QueuedPayload[] storage msgs = msgsToDeliver[_srcChainId][_srcAddress];

        // warning, might run into gas issues trying to forward through a bunch of queued msgs
        while (msgs.length > 0) {
            QueuedPayload memory payload = msgs[msgs.length - 1];
            ILayerZeroReceiver(payload.dstAddress).lzReceive(_srcChainId, _srcAddress, payload.nonce, payload.payload);
            msgs.pop();
        }
    }

    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override {
        StoredPayload storage sp = storedPayload[_srcChainId][_srcAddress];
        // revert if no messages are cached. safeguard malicious UA behaviour
        require(sp.payloadHash != bytes32(0), "LayerZero: no stored payload");
        require(sp.dstAddress == msg.sender, "LayerZero: invalid caller");

        // empty the storedPayload
        sp.payloadLength = 0;
        sp.dstAddress = address(0);
        sp.payloadHash = bytes32(0);

        emit UaForceResumeReceive(_srcChainId, _srcAddress);

        // resume the receiving of msgs after we force clear the "stuck" msg
        _clearMsgQue(_srcChainId, _srcAddress);
    }

    function retryPayload(uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload) external override {
        StoredPayload storage sp = storedPayload[_srcChainId][_srcAddress];
        require(sp.payloadHash != bytes32(0), "LayerZero: no stored payload");
        require(_payload.length == sp.payloadLength && keccak256(_payload) == sp.payloadHash, "LayerZero: invalid payload");

        address dstAddress = sp.dstAddress;
        // empty the storedPayload
        sp.payloadLength = 0;
        sp.dstAddress = address(0);
        sp.payloadHash = bytes32(0);

        uint64 nonce = inboundNonce[_srcChainId][_srcAddress];

        ILayerZeroReceiver(dstAddress).lzReceive(_srcChainId, _srcAddress, nonce, _payload);
        emit PayloadCleared(_srcChainId, _srcAddress, nonce, dstAddress);
    }

    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view override returns (bool) {
        StoredPayload storage sp = storedPayload[_srcChainId][_srcAddress];
        return sp.payloadHash != bytes32(0);
    }

    function isSendingPayload() external pure override returns (bool) {
        return false;
    }

    function isReceivingPayload() external pure override returns (bool) {
        return false;
    }

    function getSendLibraryAddress(address) external view override returns (address) {
        return address(this);
    }

    function getReceiveLibraryAddress(address) external view override returns (address) {
        return address(this);
    }
}


// File contracts/mocks/ONFT721Mock.sol



pragma solidity ^0.8;

contract ONFT721Mock is ONFT721 {
    constructor(string memory _name, string memory _symbol, address _layerZeroEndpoint) ONFT721(_name, _symbol, _layerZeroEndpoint) {}

    function mint(address _tokenOwner, uint _newId) external payable {
        _safeMint(_tokenOwner, _newId);
    }
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Capped.sol)

pragma solidity ^0.8.0;

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private immutable _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor(uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_mint}.
     */
    function _mint(address account, uint256 amount) internal virtual override {
        require(ERC20.totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, amount);
    }
}


// File contracts/token/oft/extension/GlobalCappedOFT.sol



pragma solidity ^0.8.0;


/**
 * @dev Extension of {OFT} that adds a global cap to the supply of tokens across all chains.
 */
contract GlobalCappedOFT is BasedOFT, ERC20Capped {
    constructor(string memory _name, string memory _symbol, uint _cap, address _lzEndpoint) BasedOFT(_name, _symbol, _lzEndpoint) ERC20Capped(_cap) {}

    function _mint(address account, uint amount) internal virtual override(ERC20, ERC20Capped) {
        ERC20Capped._mint(account, amount);
    }
}


// File contracts/token/oft/extension/PausableOFT.sol



pragma solidity ^0.8.0;


// allow OFT to pause all cross-chain transactions
contract PausableOFT is OFT, Pausable {
    constructor(string memory _name, string memory _symbol, address _lzEndpoint) OFT(_name, _symbol, _lzEndpoint) {}

    function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount) internal virtual override whenNotPaused {
        super._debitFrom(_from, _dstChainId, _toAddress, _amount);
    }

    function pauseSendTokens(bool pause) external onlyOwner {
        pause ? _pause() : _unpause();
    }
}


// File @openzeppelin/contracts/token/ERC20/utils/[email protected]


// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


// File contracts/token/oft/extension/ProxyOFT.sol



pragma solidity ^0.8.0;


contract ProxyOFT is OFTCore {
    using SafeERC20 for IERC20;

    IERC20 public immutable token;

    constructor(address _lzEndpoint, address _proxyToken) OFTCore(_lzEndpoint) {
        token = IERC20(_proxyToken);
    }

    function circulatingSupply() public view virtual override returns (uint) {
        unchecked {
            return token.totalSupply() - token.balanceOf(address(this));
        }
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override {
        require(_from == _msgSender(), "ProxyOFT: owner is not send caller");
        token.safeTransferFrom(_from, address(this), _amount);
    }

    function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override {
        token.safeTransfer(_toAddress, _amount);
    }
}


// File contracts/token/onft/IONFT1155Core.sol



pragma solidity ^0.8.0;

/**
 * @dev Interface of the ONFT Core standard
 */
interface IONFT1155Core is IERC165 {
    event SendToChain(address indexed _sender, uint16 indexed _dstChainId, bytes indexed _toAddress, uint _tokenId, uint _amount, uint64 _nonce);
    event SendBatchToChain(address indexed _sender, uint16 indexed _dstChainId, bytes indexed _toAddress, uint[] _tokenIds, uint[] _amounts, uint64 _nonce);
    event ReceiveFromChain(uint16 indexed _srcChainId, bytes indexed _srcAddress, address indexed _toAddress, uint _tokenId, uint _amount, uint64 _nonce);
    event ReceiveBatchFromChain(uint16 indexed _srcChainId, bytes indexed _srcAddress, address indexed _toAddress, uint[] _tokenIds, uint[] _amounts, uint64 _nonce);

    // _from - address where tokens should be deducted from on behalf of
    // _dstChainId - L0 defined chain id to send tokens too
    // _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
    // _tokenId - token Id to transfer
    // _amount - amount of the tokens to transfer
    // _refundAddress - address on src that will receive refund for any overpayment of L0 fees
    // _zroPaymentAddress - if paying in zro, pass the address to use. using 0x0 indicates not paying fees in zro
    // _adapterParams - flexible bytes array to indicate messaging adapter services in L0
    function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    // _from - address where tokens should be deducted from on behalf of
    // _dstChainId - L0 defined chain id to send tokens too
    // _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
    // _tokenIds - token Ids to transfer
    // _amounts - amounts of the tokens to transfer
    // _refundAddress - address on src that will receive refund for any overpayment of L0 fees
    // _zroPaymentAddress - if paying in zro, pass the address to use. using 0x0 indicates not paying fees in zro
    // _adapterParams - flexible bytes array to indicate messaging adapter services in L0
    function sendBatchFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, uint[] calldata _amounts, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable;

    // _dstChainId - L0 defined chain id to send tokens too
    // _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
    // _tokenId - token Id to transfer
    // _amount - amount of the tokens to transfer
    // _useZro - indicates to use zro to pay L0 fees
    // _adapterParams - flexible bytes array to indicate messaging adapter services in L0
    function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);

    // _dstChainId - L0 defined chain id to send tokens too
    // _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain
    // _tokenIds - tokens Id to transfer
    // _amounts - amounts of the tokens to transfer
    // _useZro - indicates to use zro to pay L0 fees
    // _adapterParams - flexible bytes array to indicate messaging adapter services in L0
    function estimateSendBatchFee(uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, uint[] calldata _amounts, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee);
}


// File contracts/token/onft/ONFT1155Core.sol



pragma solidity ^0.8.0;



abstract contract ONFT1155Core is NonblockingLzApp, ERC165, IONFT1155Core {
    constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IONFT1155Core).interfaceId || super.supportsInterface(interfaceId);
    }

    function estimateSendFee(uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, uint _amount, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        return estimateSendBatchFee(_dstChainId, _toAddress, _toSingletonArray(_tokenId), _toSingletonArray(_amount), _useZro, _adapterParams);
    }

    function estimateSendBatchFee(uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, uint[] memory _amounts, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) {
        bytes memory payload = abi.encode(_toAddress, _tokenIds, _amounts);
        return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams);
    }

    function sendFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _sendBatch(_from, _dstChainId, _toAddress, _toSingletonArray(_tokenId), _toSingletonArray(_amount), _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function sendBatchFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, uint[] memory _amounts, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override {
        _sendBatch(_from, _dstChainId, _toAddress, _tokenIds, _amounts, _refundAddress, _zroPaymentAddress, _adapterParams);
    }

    function _sendBatch(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, uint[] memory _amounts, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual {
        _debitFrom(_from, _dstChainId, _toAddress, _tokenIds, _amounts);

        bytes memory payload = abi.encode(_toAddress, _tokenIds, _amounts);
        _lzSend(_dstChainId, payload, _refundAddress, _zroPaymentAddress, _adapterParams);

        uint64 nonce = lzEndpoint.getOutboundNonce(_dstChainId, address(this));
        if (_tokenIds.length == 1) {
            emit SendToChain(_from, _dstChainId, _toAddress, _tokenIds[0], _amounts[0], nonce);
        } else if (_tokenIds.length > 1) {
            emit SendBatchToChain(_from, _dstChainId, _toAddress, _tokenIds, _amounts, nonce);
        }
    }

    function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override {
        // decode and load the toAddress
        (bytes memory toAddressBytes, uint[] memory tokenIds, uint[] memory amounts) = abi.decode(_payload, (bytes, uint[], uint[]));
        address toAddress;
        assembly {
            toAddress := mload(add(toAddressBytes, 20))
        }

        _creditTo(_srcChainId, toAddress, tokenIds, amounts);

        if (tokenIds.length == 1) {
            emit ReceiveFromChain(_srcChainId, _srcAddress, toAddress, tokenIds[0], amounts[0], _nonce);
        } else if (tokenIds.length > 1) {
            emit ReceiveBatchFromChain(_srcChainId, _srcAddress, toAddress, tokenIds, amounts, _nonce);
        }
    }

    function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual;

    function _creditTo(uint16 _srcChainId, address _toAddress, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual;

    function _toSingletonArray(uint element) internal pure returns (uint[] memory) {
        uint[] memory array = new uint[](1);
        array[0] = element;
        return array;
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165Checker.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library used to query support of an interface declared via {IERC165}.
 *
 * Note that these functions return the actual result of the query: they do not
 * `revert` if an interface is not supported. It is up to the caller to decide
 * what to do in these cases.
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    /**
     * @dev Returns true if `account` supports the {IERC165} interface,
     */
    function supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return
            _supportsERC165Interface(account, type(IERC165).interfaceId) &&
            !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @dev Returns true if `account` supports the interface defined by
     * `interfaceId`. Support for {IERC165} itself is queried automatically.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return supportsERC165(account) && _supportsERC165Interface(account, interfaceId);
    }

    /**
     * @dev Returns a boolean array where each value corresponds to the
     * interfaces passed in and whether they're supported or not. This allows
     * you to batch check interfaces for a contract where your expectation
     * is that some interfaces may not be supported.
     *
     * See {IERC165-supportsInterface}.
     *
     * _Available since v3.4._
     */
    function getSupportedInterfaces(address account, bytes4[] memory interfaceIds)
        internal
        view
        returns (bool[] memory)
    {
        // an array of booleans corresponding to interfaceIds and whether they're supported or not
        bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);

        // query support of ERC165 itself
        if (supportsERC165(account)) {
            // query support of each interface in interfaceIds
            for (uint256 i = 0; i < interfaceIds.length; i++) {
                interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]);
            }
        }

        return interfaceIdsSupported;
    }

    /**
     * @dev Returns true if `account` supports all the interfaces defined in
     * `interfaceIds`. Support for {IERC165} itself is queried automatically.
     *
     * Batch-querying can lead to gas savings by skipping repeated checks for
     * {IERC165} support.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!supportsERC165(account)) {
            return false;
        }

        // query support of each interface in _interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!_supportsERC165Interface(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with {supportsERC165}.
     * Interface identification is specified in ERC-165.
     */
    function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {
        bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);
        (bool success, bytes memory result) = account.staticcall{gas: 30000}(encodedParams);
        if (result.length < 32) return false;
        return success && abi.decode(result, (bool));
    }
}


// File contracts/token/onft/extension/ProxyONFT1155.sol



pragma solidity ^0.8.0;




contract ProxyONFT1155 is ONFT1155Core, IERC1155Receiver {
    using ERC165Checker for address;

    IERC1155 public immutable token;

    constructor(address _lzEndpoint, address _proxyToken) ONFT1155Core(_lzEndpoint) {
        require(_proxyToken.supportsInterface(type(IERC1155).interfaceId), "ProxyONFT1155: invalid ERC1155 token");
        token = IERC1155(_proxyToken);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ONFT1155Core, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }

    function _debitFrom(address _from, uint16, bytes memory, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual override {
        require(_from == _msgSender(), "ProxyONFT1155: owner is not send caller");
        token.safeBatchTransferFrom(_from, address(this), _tokenIds, _amounts, "");
    }

    function _creditTo(uint16, address _toAddress, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual override {
        token.safeBatchTransferFrom(address(this), _toAddress, _tokenIds, _amounts, "");
    }

    function onERC1155Received(address _operator, address, uint, uint, bytes memory) public virtual override returns (bytes4) {
        // only allow `this` to tranfser token from others
        if (_operator != address(this)) return bytes4(0);
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(address _operator, address, uint[] memory, uint[] memory, bytes memory) public virtual override returns (bytes4) {
        // only allow `this` to tranfser token from others
        if (_operator != address(this)) return bytes4(0);
        return this.onERC1155BatchReceived.selector;
    }
}


// File contracts/token/onft/extension/ProxyONFT721.sol



pragma solidity ^0.8.0;




contract ProxyONFT721 is ONFT721Core, IERC721Receiver {
    using ERC165Checker for address;

    IERC721 public immutable token;

    constructor(address _lzEndpoint, address _proxyToken) ONFT721Core(_lzEndpoint) {
        require(_proxyToken.supportsInterface(type(IERC721).interfaceId), "ProxyONFT721: invalid ERC721 token");
        token = IERC721(_proxyToken);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC721Receiver).interfaceId || super.supportsInterface(interfaceId);
    }

    function _debitFrom(address _from, uint16, bytes memory, uint _tokenId) internal virtual override {
        require(_from == _msgSender(), "ProxyONFT721: owner is not send caller");
        token.safeTransferFrom(_from, address(this), _tokenId);
    }

    function _creditTo(uint16, address _toAddress, uint _tokenId) internal virtual override {
        token.safeTransferFrom(address(this), _toAddress, _tokenId);
    }

    function onERC721Received(address _operator, address, uint, bytes memory) public virtual override returns (bytes4) {
        // only allow `this` to tranfser token from others
        if (_operator != address(this)) return bytes4(0);
        return IERC721Receiver.onERC721Received.selector;
    }
}


// File contracts/token/onft/IONFT1155.sol



pragma solidity ^0.8.0;


/**
 * @dev Interface of the ONFT standard
 */
interface IONFT1155 is IONFT1155Core, IERC1155 {

}


// File contracts/token/onft/ONFT1155.sol



pragma solidity ^0.8.0;



// NOTE: this ONFT contract has no public minting logic.
// must implement your own minting logic in child classes
contract ONFT1155 is ONFT1155Core, ERC1155, IONFT1155 {
    constructor(string memory _uri, address _lzEndpoint) ERC1155(_uri) ONFT1155Core(_lzEndpoint) {}

    function supportsInterface(bytes4 interfaceId) public view virtual override(ONFT1155Core, ERC1155, IERC165) returns (bool) {
        return interfaceId == type(IONFT1155).interfaceId || super.supportsInterface(interfaceId);
    }

    function _debitFrom(address _from, uint16, bytes memory, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual override {
        address spender = _msgSender();
        require(spender == _from || isApprovedForAll(_from, spender), "ONFT1155: send caller is not owner nor approved");
        _burnBatch(_from, _tokenIds, _amounts);
    }

    function _creditTo(uint16, address _toAddress, uint[] memory _tokenIds, uint[] memory _amounts) internal virtual override {
        _mintBatch(_toAddress, _tokenIds, _amounts, "");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_layerZeroEndpoint","type":"address"},{"internalType":"uint256","name":"_startMintId","type":"uint256"},{"internalType":"uint256","name":"_endMintId","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":true,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"ReceiveFromChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getDonate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSign","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintId","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":"nextMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"}]

610100604052603660a0818152906200378b60c03980516200002a91600b9160209091019062000175565b50600c805460ff191690553480156200004257600080fd5b50604051620037c1380380620037c183398101604081905262000065916200021b565b6040518060400160405280600a8152602001694372617a7946726f677360b01b8152506040518060400160405280600281526020016121a360f11b8152508484848484848282828080620000c8620000c26200012160201b60201c565b62000125565b60601b6001600160601b03191660805250508151620000ef90600390602085019062000175565b5080516200010590600490602084019062000175565b5050506009949094555050600a55506200029b95505050505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000183906200025e565b90600052602060002090601f016020900481019282620001a75760008555620001f2565b82601f10620001c257805160ff1916838001178555620001f2565b82800160010185558215620001f2579182015b82811115620001f2578251825591602001919060010190620001d5565b506200020092915062000204565b5090565b5b8082111562000200576000815560010162000205565b60008060006060848603121562000230578283fd5b83516001600160a01b038116811462000247578384fd5b602085015160409095015190969495509392505050565b600181811c908216806200027357607f821691505b602082108114156200029557634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c613492620002f96000396000818161060201528181610759015281816109f501528181610c4401528181610cec01528181610eaf015281816114f50152818161180f01528181611d2f015261239101526134926000f3fe60806040526004361061022f5760003560e01c80636c5657e81161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106ad578063eb8d72b7146106f6578063ed88c68e14610254578063f2fde38b14610716578063f5ecbdbc1461073657600080fd5b8063b88d4fde14610624578063c87b56dd14610644578063cbed8b9c14610664578063d1deba1f14610684578063e1d4c8701461069757600080fd5b80638da5cb5b116100f25780638da5cb5b1461057d57806395d89b411461059b578063a22cb465146105b0578063a7d7b8f0146105d0578063b353aaa7146105f057600080fd5b80636c5657e8146104e857806370a082311461050857806370e0936914610528578063715018a6146105485780637533d7881461055d57600080fd5b80633d8b38f6116101bc5780635b70ea9f116101805780635b70ea9f1461042d5780635b8c41e6146104355780636352211e1461049257806366ad5c8a146104b25780636aa99da3146104d257600080fd5b80633d8b38f61461039a57806342842e0e146103ba57806342d65a8d146103da57806351905636146103fa57806355f804b31461040d57600080fd5b8063081812fc11610203578063081812fc146102cd578063095ea7b31461030557806310ddb1371461032557806323b872dd146103455780632a205e3d1461036557600080fd5b80621d35671461023457806301ffc9a71461025657806306fdde031461028b57806307e0db17146102ad575b600080fd5b34801561024057600080fd5b5061025461024f366004612db5565b610756565b005b34801561026257600080fd5b50610276610271366004612b6e565b6108fd565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610920565b604051610282919061302a565b3480156102b957600080fd5b506102546102c8366004612c61565b6109b2565b3480156102d957600080fd5b506102ed6102e8366004612ee6565b610a56565b6040516001600160a01b039091168152602001610282565b34801561031157600080fd5b50610254610320366004612b5c565b610aeb565b34801561033157600080fd5b50610254610340366004612c61565b610c01565b34801561035157600080fd5b506102546103603660046129c9565b610c7b565b34801561037157600080fd5b50610385610380366004612ccb565b610cad565b60408051928352602083019190915201610282565b3480156103a657600080fd5b506102766103b5366004612c7b565b610d87565b3480156103c657600080fd5b506102546103d53660046129c9565b610e53565b3480156103e657600080fd5b506102546103f5366004612c7b565b610e6e565b610254610408366004612aa6565b610f1f565b34801561041957600080fd5b50610254610428366004612c1c565b610f2e565b610254610f78565b34801561044157600080fd5b50610484610450366004612d56565b6002602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610282565b34801561049e57600080fd5b506102ed6104ad366004612ee6565b61100a565b3480156104be57600080fd5b506102546104cd366004612db5565b611081565b3480156104de57600080fd5b5061048460095481565b3480156104f457600080fd5b50610254610503366004612966565b6110f1565b34801561051457600080fd5b5061048461052336600461294a565b6111ba565b34801561053457600080fd5b50610276610543366004612ee6565b611241565b34801561055457600080fd5b5061025461128a565b34801561056957600080fd5b506102a0610578366004612c61565b6112c0565b34801561058957600080fd5b506000546001600160a01b03166102ed565b3480156105a757600080fd5b506102a061135a565b3480156105bc57600080fd5b506102546105cb366004612a72565b611369565b3480156105dc57600080fd5b506102546105eb366004612966565b611374565b3480156105fc57600080fd5b506102ed7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063057600080fd5b5061025461063f366004612a09565b6113a7565b34801561065057600080fd5b506102a061065f366004612ee6565b6113d9565b34801561067057600080fd5b5061025461067f366004612e7a565b6114b4565b610254610692366004612db5565b61156b565b3480156106a357600080fd5b50610484600a5481565b3480156106b957600080fd5b506102766106c8366004612991565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561070257600080fd5b50610254610711366004612c7b565b6116bd565b34801561072257600080fd5b5061025461073136600461294a565b611746565b34801561074257600080fd5b506102a0610751366004612e2e565b6117de565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146107d35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8416600090815260016020526040812080546107f190613370565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90613370565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b505050505090508051845114801561088f575080805190602001208480519060200120145b6108ea5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107ca565b6108f6858585856118a0565b5050505050565b60006001600160e01b03198216158061091a575061091a82611991565b92915050565b60606003805461092f90613370565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90613370565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b6000546001600160a01b031633146109dc5760405162461bcd60e51b81526004016107ca906130d4565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a4257600080fd5b505af11580156108f6573d6000803e3d6000fd5b6000818152600560205260408120546001600160a01b0316610acf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ca565b506000908152600760205260409020546001600160a01b031690565b6000610af68261100a565b9050806001600160a01b0316836001600160a01b03161415610b645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ca565b336001600160a01b0382161480610b805750610b8081336106c8565b610bf25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ca565b610bfc83836119d1565b505050565b6000546001600160a01b03163314610c2b5760405162461bcd60e51b81526004016107ca906130d4565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610a28565b610c86335b82611a3f565b610ca25760405162461bcd60e51b81526004016107ca90613109565b610bfc838383611b32565b60008060008686604051602001610cc592919061303d565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090610d29908b90309086908b908b9060040161315a565b604080518083038186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190612efe565b92509250509550959350505050565b61ffff831660009081526001602052604081208054829190610da890613370565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490613370565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b505050505090508383604051610e38929190612f92565b60405180910390208180519060200120149150509392505050565b610bfc838383604051806020016040528060008152506113a7565b6000546001600160a01b03163314610e985760405162461bcd60e51b81526004016107ca906130d4565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610ee8908690869086906004016131ae565b600060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b50505050505050565b610f1687878787878787611cce565b7362c185250c7f87a6c0ef9a434c7532f5ff0341423314610f615760405162461bcd60e51b81526004016107ca906130b1565b8051610f7490600b906020840190612730565b5050565b600c5460ff16610f8757600080fd5b600a546009541115610fe65760405162461bcd60e51b815260206004820152602260248201527f4372617a7946726f67733a206d6178206d696e74206c696d6974207265616368604482015261195960f21b60648201526084016107ca565b600980549081906000610ff8836133ab565b91905055506110073382611e25565b50565b6000818152600560205260408120546001600160a01b03168061091a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ca565b3330146110df5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107ca565b6110eb84848484611e3f565b50505050565b7362c185250c7f87a6c0ef9a434c7532f5ff03414233146111245760405162461bcd60e51b81526004016107ca906130b1565b600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114611172576040519150601f19603f3d011682016040523d82523d6000602084013e611177565b606091505b5091509150816110eb5760405162461bcd60e51b815260206004820152600e60248201526d4861766520612070726f626c656d60901b60448201526064016107ca565b60006001600160a01b0382166112255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ca565b506001600160a01b031660009081526006602052604090205490565b60007362c185250c7f87a6c0ef9a434c7532f5ff03414233146112765760405162461bcd60e51b81526004016107ca906130b1565b50600c805460ff1916600192831417905590565b6000546001600160a01b031633146112b45760405162461bcd60e51b81526004016107ca906130d4565b6112be6000611eda565b565b600160205260009081526040902080546112d990613370565b80601f016020809104026020016040519081016040528092919081815260200182805461130590613370565b80156113525780601f1061132757610100808354040283529160200191611352565b820191906000526020600020905b81548152906001019060200180831161133557829003601f168201915b505050505081565b60606004805461092f90613370565b610f74338383611f2a565b736fef07fbe214dbdb5a84876dfdfe7958ad199eb233146111245760405162461bcd60e51b81526004016107ca906130b1565b6113b13383611a3f565b6113cd5760405162461bcd60e51b81526004016107ca90613109565b6110eb84848484611ff9565b6000818152600560205260409020546060906001600160a01b03166114585760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ca565b600061146261202c565b9050600081511161148257604051806020016040528060008152506114ad565b8061148c8461203b565b60405160200161149d929190612fbe565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146114de5760405162461bcd60e51b81526004016107ca906130d4565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90611532908890889088908890889060040161327c565b600060405180830381600087803b15801561154c57600080fd5b505af1158015611560573d6000803e3d6000fd5b505050505050505050565b61ffff8416600090815260026020526040808220905161158c908690612fa2565b90815260408051602092819003830190206001600160401b0386166000908152925290205490508061160c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107ca565b81516020830120811461166b5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107ca565b61ffff8516600090815260026020526040808220905161168c908790612fa2565b90815260408051602092819003830190206001600160401b038716600090815292529020556108f685858585611e3f565b6000546001600160a01b031633146116e75760405162461bcd60e51b81526004016107ca906130d4565b61ffff831660009081526001602052604090206117059083836127b4565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611739939291906131ae565b60405180910390a1505050565b6000546001600160a01b031633146117705760405162461bcd60e51b81526004016107ca906130d4565b6001600160a01b0381166117d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ca565b61100781611eda565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc9060840160006040518083038186803b15801561185957600080fd5b505afa15801561186d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118959190810190612ba6565b90505b949350505050565b604051633356ae4560e11b815230906366ad5c8a906118c9908790879087908790600401613233565b600060405180830381600087803b1580156118e357600080fd5b505af19250505080156118f4575060015b6110eb578080519060200120600260008661ffff1661ffff168152602001908152602001600020846040516119299190612fa2565b9081526040805191829003602090810183206001600160401b0387166000908152915220919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90611984908690869086908690613233565b60405180910390a16110eb565b60006001600160e01b031982166380ac58cd60e01b14806119c257506001600160e01b03198216635b5e139f60e01b145b8061091a575061091a82612154565b600081815260076020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a068261100a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600560205260408120546001600160a01b0316611ab85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ca565b6000611ac38361100a565b9050806001600160a01b0316846001600160a01b03161480611afe5750836001600160a01b0316611af384610a56565b6001600160a01b0316145b8061189857506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff16611898565b826001600160a01b0316611b458261100a565b6001600160a01b031614611ba95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107ca565b6001600160a01b038216611c0b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ca565b611c166000826119d1565b6001600160a01b0383166000908152600660205260408120805460019290611c3f90849061332d565b90915550506001600160a01b0382166000908152600660205260408120805460019290611c6d908490613301565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611cda87878787612189565b60008585604051602001611cef92919061303d565b6040516020818303038152906040529050611d0d8782868686612272565b604051630f428ae960e31b815261ffff881660048201523060248201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637a1457489060440160206040518083038186803b158015611d7957600080fd5b505afa158015611d8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db19190612f21565b905086604051611dc19190612fa2565b604080519182900382208883526001600160401b03841660208401529161ffff8b16916001600160a01b038d16917f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce1543910160405180910390a4505050505050505050565b610f7482826040518060200160405280600081525061240c565b60008082806020019051810190611e569190612bd8565b60148201519193509150611e6b87828461243f565b806001600160a01b031686604051611e839190612fa2565b604080519182900382208583526001600160401b03891660208401529161ffff8b16917f64e10c37f404d128982dce114f5d233c14c5c7f6d8db93099e3d99dacb9e27ba910160405180910390a450505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415611f8c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ca565b6001600160a01b03838116600081815260086020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612004848484611b32565b61201084848484612449565b6110eb5760405162461bcd60e51b81526004016107ca9061305f565b6060600b805461092f90613370565b60608161205f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120895780612073816133ab565b91506120829050600a83613319565b9150612063565b6000816001600160401b038111156120b157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120db576020820181803683370190505b5090505b8415611898576120f060018361332d565b91506120fd600a866133c6565b612108906030613301565b60f81b81838151811061212b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061214d600a86613319565b94506120df565b60006001600160e01b03198216637bb0080b60e01b148061091a57506301ffc9a760e01b6001600160e01b031983161461091a565b61219233610c80565b6121f55760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016107ca565b836001600160a01b03166122088261100a565b6001600160a01b0316146122695760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b60648201526084016107ca565b6110eb81612553565b61ffff85166000908152600160205260408120805461229090613370565b80601f01602080910402602001604051908101604052809291908181526020018280546122bc90613370565b80156123095780601f106122de57610100808354040283529160200191612309565b820191906000526020600020905b8154815290600101906020018083116122ec57829003601f168201915b5050505050905080516000141561237b5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107ca565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c58031009034906123d2908a9086908b908b908b908b906004016131cc565b6000604051808303818588803b1580156123eb57600080fd5b505af11580156123ff573d6000803e3d6000fd5b5050505050505050505050565b61241683836125ee565b6124236000848484612449565b610bfc5760405162461bcd60e51b81526004016107ca9061305f565b610bfc8282611e25565b60006001600160a01b0384163b1561254b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061248d903390899088908890600401612fed565b602060405180830381600087803b1580156124a757600080fd5b505af19250505080156124d7575060408051601f3d908101601f191682019092526124d491810190612b8a565b60015b612531573d808015612505576040519150601f19603f3d011682016040523d82523d6000602084013e61250a565b606091505b5080516125295760405162461bcd60e51b81526004016107ca9061305f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611898565b506001611898565b600061255e8261100a565b905061256b6000836119d1565b6001600160a01b038116600090815260066020526040812080546001929061259490849061332d565b909155505060008281526005602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166126445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ca565b6000818152600560205260409020546001600160a01b0316156126a95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ca565b6001600160a01b03821660009081526006602052604081208054600192906126d2908490613301565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461273c90613370565b90600052602060002090601f01602090048101928261275e57600085556127a4565b82601f1061277757805160ff19168380011785556127a4565b828001600101855582156127a4579182015b828111156127a4578251825591602001919060010190612789565b506127b0929150612828565b5090565b8280546127c090613370565b90600052602060002090601f0160209004810192826127e257600085556127a4565b82601f106127fb5782800160ff198235161785556127a4565b828001600101855582156127a4579182015b828111156127a457823582559160200191906001019061280d565b5b808211156127b05760008155600101612829565b600061285061284b846132da565b6132aa565b905082815283838301111561286457600080fd5b828260208301376000602084830101529392505050565b8035801515811461288b57600080fd5b919050565b60008083601f8401126128a1578182fd5b5081356001600160401b038111156128b7578182fd5b6020830191508360208285010111156128cf57600080fd5b9250929050565b600082601f8301126128e6578081fd5b6114ad8383356020850161283d565b600082601f830112612905578081fd5b815161291361284b826132da565b818152846020838601011115612927578283fd5b611898826020830160208701613344565b803561ffff8116811461288b57600080fd5b60006020828403121561295b578081fd5b81356114ad8161341c565b60008060408385031215612978578081fd5b82356129838161341c565b946020939093013593505050565b600080604083850312156129a3578182fd5b82356129ae8161341c565b915060208301356129be8161341c565b809150509250929050565b6000806000606084860312156129dd578081fd5b83356129e88161341c565b925060208401356129f88161341c565b929592945050506040919091013590565b60008060008060808587031215612a1e578081fd5b8435612a298161341c565b93506020850135612a398161341c565b92506040850135915060608501356001600160401b03811115612a5a578182fd5b612a66878288016128d6565b91505092959194509250565b60008060408385031215612a84578182fd5b8235612a8f8161341c565b9150612a9d6020840161287b565b90509250929050565b600080600080600080600060e0888a031215612ac0578283fd5b8735612acb8161341c565b9650612ad960208901612938565b955060408801356001600160401b0380821115612af4578485fd5b612b008b838c016128d6565b965060608a0135955060808a01359150612b198261341c565b90935060a089013590612b2b8261341c565b90925060c08901359080821115612b40578283fd5b50612b4d8a828b016128d6565b91505092959891949750929550565b60008060408385031215612978578182fd5b600060208284031215612b7f578081fd5b81356114ad81613431565b600060208284031215612b9b578081fd5b81516114ad81613431565b600060208284031215612bb7578081fd5b81516001600160401b03811115612bcc578182fd5b611898848285016128f5565b60008060408385031215612bea578182fd5b82516001600160401b03811115612bff578283fd5b612c0b858286016128f5565b925050602083015190509250929050565b600060208284031215612c2d578081fd5b81356001600160401b03811115612c42578182fd5b8201601f81018413612c52578182fd5b6118988482356020840161283d565b600060208284031215612c72578081fd5b6114ad82612938565b600080600060408486031215612c8f578081fd5b612c9884612938565b925060208401356001600160401b03811115612cb2578182fd5b612cbe86828701612890565b9497909650939450505050565b600080600080600060a08688031215612ce2578283fd5b612ceb86612938565b945060208601356001600160401b0380821115612d06578485fd5b612d1289838a016128d6565b955060408801359450612d276060890161287b565b93506080880135915080821115612d3c578283fd5b50612d49888289016128d6565b9150509295509295909350565b600080600060608486031215612d6a578081fd5b612d7384612938565b925060208401356001600160401b03811115612d8d578182fd5b612d99868287016128d6565b9250506040840135612daa81613447565b809150509250925092565b60008060008060808587031215612dca578182fd5b612dd385612938565b935060208501356001600160401b0380821115612dee578384fd5b612dfa888389016128d6565b945060408701359150612e0c82613447565b90925060608601359080821115612e21578283fd5b50612a66878288016128d6565b60008060008060808587031215612e43578182fd5b612e4c85612938565b9350612e5a60208601612938565b92506040850135612e6a8161341c565b9396929550929360600135925050565b600080600080600060808688031215612e91578283fd5b612e9a86612938565b9450612ea860208701612938565b93506040860135925060608601356001600160401b03811115612ec9578182fd5b612ed588828901612890565b969995985093965092949392505050565b600060208284031215612ef7578081fd5b5035919050565b60008060408385031215612f10578182fd5b505080516020909101519092909150565b600060208284031215612f32578081fd5b81516114ad81613447565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452612f7e816020860160208601613344565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b60008251612fb4818460208701613344565b9190910192915050565b60008351612fd0818460208801613344565b835190830190612fe4818360208801613344565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061302090830184612f66565b9695505050505050565b6020815260006114ad6020830184612f66565b6040815260006130506040830185612f66565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526009908201526827b7363ca7bbb732b960b91b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061318890830186612f66565b841515606084015282810360808401526131a28185612f66565b98975050505050505050565b61ffff84168152604060208201526000611895604083018486612f3d565b61ffff8716815260c0602082015260006131e960c0830188612f66565b82810360408401526131fb8188612f66565b6001600160a01b0387811660608601528616608085015283810360a085015290506132268185612f66565b9998505050505050505050565b61ffff851681526080602082015260006132506080830186612f66565b6001600160401b038516604084015282810360608401526132718185612f66565b979650505050505050565b600061ffff808816835280871660208401525084604083015260806060830152613271608083018486612f3d565b604051601f8201601f191681016001600160401b03811182821017156132d2576132d2613406565b604052919050565b60006001600160401b038211156132f3576132f3613406565b50601f01601f191660200190565b60008219821115613314576133146133da565b500190565b600082613328576133286133f0565b500490565b60008282101561333f5761333f6133da565b500390565b60005b8381101561335f578181015183820152602001613347565b838111156110eb5750506000910152565b600181811c9082168061338457607f821691505b602082108114156133a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133bf576133bf6133da565b5060010190565b6000826133d5576133d56133f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461100757600080fd5b6001600160e01b03198116811461100757600080fd5b6001600160401b038116811461100757600080fdfea26469706673582212206da7989851680f7bfe6bb3ace95a126f1d79059f33ac005f32cba64d60a3aa7064736f6c63430008040033697066733a2f2f516d5746466d4b7a3655324646516d6e775168425546736b673334636773577a584e67723245665a5337393742482f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8

Deployed Bytecode

0x60806040526004361061022f5760003560e01c80636c5657e81161012e578063b88d4fde116100ab578063e985e9c51161006f578063e985e9c5146106ad578063eb8d72b7146106f6578063ed88c68e14610254578063f2fde38b14610716578063f5ecbdbc1461073657600080fd5b8063b88d4fde14610624578063c87b56dd14610644578063cbed8b9c14610664578063d1deba1f14610684578063e1d4c8701461069757600080fd5b80638da5cb5b116100f25780638da5cb5b1461057d57806395d89b411461059b578063a22cb465146105b0578063a7d7b8f0146105d0578063b353aaa7146105f057600080fd5b80636c5657e8146104e857806370a082311461050857806370e0936914610528578063715018a6146105485780637533d7881461055d57600080fd5b80633d8b38f6116101bc5780635b70ea9f116101805780635b70ea9f1461042d5780635b8c41e6146104355780636352211e1461049257806366ad5c8a146104b25780636aa99da3146104d257600080fd5b80633d8b38f61461039a57806342842e0e146103ba57806342d65a8d146103da57806351905636146103fa57806355f804b31461040d57600080fd5b8063081812fc11610203578063081812fc146102cd578063095ea7b31461030557806310ddb1371461032557806323b872dd146103455780632a205e3d1461036557600080fd5b80621d35671461023457806301ffc9a71461025657806306fdde031461028b57806307e0db17146102ad575b600080fd5b34801561024057600080fd5b5061025461024f366004612db5565b610756565b005b34801561026257600080fd5b50610276610271366004612b6e565b6108fd565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610920565b604051610282919061302a565b3480156102b957600080fd5b506102546102c8366004612c61565b6109b2565b3480156102d957600080fd5b506102ed6102e8366004612ee6565b610a56565b6040516001600160a01b039091168152602001610282565b34801561031157600080fd5b50610254610320366004612b5c565b610aeb565b34801561033157600080fd5b50610254610340366004612c61565b610c01565b34801561035157600080fd5b506102546103603660046129c9565b610c7b565b34801561037157600080fd5b50610385610380366004612ccb565b610cad565b60408051928352602083019190915201610282565b3480156103a657600080fd5b506102766103b5366004612c7b565b610d87565b3480156103c657600080fd5b506102546103d53660046129c9565b610e53565b3480156103e657600080fd5b506102546103f5366004612c7b565b610e6e565b610254610408366004612aa6565b610f1f565b34801561041957600080fd5b50610254610428366004612c1c565b610f2e565b610254610f78565b34801561044157600080fd5b50610484610450366004612d56565b6002602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b604051908152602001610282565b34801561049e57600080fd5b506102ed6104ad366004612ee6565b61100a565b3480156104be57600080fd5b506102546104cd366004612db5565b611081565b3480156104de57600080fd5b5061048460095481565b3480156104f457600080fd5b50610254610503366004612966565b6110f1565b34801561051457600080fd5b5061048461052336600461294a565b6111ba565b34801561053457600080fd5b50610276610543366004612ee6565b611241565b34801561055457600080fd5b5061025461128a565b34801561056957600080fd5b506102a0610578366004612c61565b6112c0565b34801561058957600080fd5b506000546001600160a01b03166102ed565b3480156105a757600080fd5b506102a061135a565b3480156105bc57600080fd5b506102546105cb366004612a72565b611369565b3480156105dc57600080fd5b506102546105eb366004612966565b611374565b3480156105fc57600080fd5b506102ed7f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67581565b34801561063057600080fd5b5061025461063f366004612a09565b6113a7565b34801561065057600080fd5b506102a061065f366004612ee6565b6113d9565b34801561067057600080fd5b5061025461067f366004612e7a565b6114b4565b610254610692366004612db5565b61156b565b3480156106a357600080fd5b50610484600a5481565b3480156106b957600080fd5b506102766106c8366004612991565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561070257600080fd5b50610254610711366004612c7b565b6116bd565b34801561072257600080fd5b5061025461073136600461294a565b611746565b34801561074257600080fd5b506102a0610751366004612e2e565b6117de565b337f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316146107d35760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8416600090815260016020526040812080546107f190613370565b80601f016020809104026020016040519081016040528092919081815260200182805461081d90613370565b801561086a5780601f1061083f5761010080835404028352916020019161086a565b820191906000526020600020905b81548152906001019060200180831161084d57829003601f168201915b505050505090508051845114801561088f575080805190602001208480519060200120145b6108ea5760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b60648201526084016107ca565b6108f6858585856118a0565b5050505050565b60006001600160e01b03198216158061091a575061091a82611991565b92915050565b60606003805461092f90613370565b80601f016020809104026020016040519081016040528092919081815260200182805461095b90613370565b80156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b5050505050905090565b6000546001600160a01b031633146109dc5760405162461bcd60e51b81526004016107ca906130d4565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610a4257600080fd5b505af11580156108f6573d6000803e3d6000fd5b6000818152600560205260408120546001600160a01b0316610acf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ca565b506000908152600760205260409020546001600160a01b031690565b6000610af68261100a565b9050806001600160a01b0316836001600160a01b03161415610b645760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ca565b336001600160a01b0382161480610b805750610b8081336106c8565b610bf25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ca565b610bfc83836119d1565b505050565b6000546001600160a01b03163314610c2b5760405162461bcd60e51b81526004016107ca906130d4565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b0316906310ddb13790602401610a28565b610c86335b82611a3f565b610ca25760405162461bcd60e51b81526004016107ca90613109565b610bfc838383611b32565b60008060008686604051602001610cc592919061303d565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906340a7bb1090610d29908b90309086908b908b9060040161315a565b604080518083038186803b158015610d4057600080fd5b505afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190612efe565b92509250509550959350505050565b61ffff831660009081526001602052604081208054829190610da890613370565b80601f0160208091040260200160405190810160405280929190818152602001828054610dd490613370565b8015610e215780601f10610df657610100808354040283529160200191610e21565b820191906000526020600020905b815481529060010190602001808311610e0457829003601f168201915b505050505090508383604051610e38929190612f92565b60405180910390208180519060200120149150509392505050565b610bfc838383604051806020016040528060008152506113a7565b6000546001600160a01b03163314610e985760405162461bcd60e51b81526004016107ca906130d4565b6040516342d65a8d60e01b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd67516906342d65a8d90610ee8908690869086906004016131ae565b600060405180830381600087803b158015610f0257600080fd5b505af1158015610f16573d6000803e3d6000fd5b50505050505050565b610f1687878787878787611cce565b7362c185250c7f87a6c0ef9a434c7532f5ff0341423314610f615760405162461bcd60e51b81526004016107ca906130b1565b8051610f7490600b906020840190612730565b5050565b600c5460ff16610f8757600080fd5b600a546009541115610fe65760405162461bcd60e51b815260206004820152602260248201527f4372617a7946726f67733a206d6178206d696e74206c696d6974207265616368604482015261195960f21b60648201526084016107ca565b600980549081906000610ff8836133ab565b91905055506110073382611e25565b50565b6000818152600560205260408120546001600160a01b03168061091a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ca565b3330146110df5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b60648201526084016107ca565b6110eb84848484611e3f565b50505050565b7362c185250c7f87a6c0ef9a434c7532f5ff03414233146111245760405162461bcd60e51b81526004016107ca906130b1565b600080836001600160a01b03168360405160006040518083038185875af1925050503d8060008114611172576040519150601f19603f3d011682016040523d82523d6000602084013e611177565b606091505b5091509150816110eb5760405162461bcd60e51b815260206004820152600e60248201526d4861766520612070726f626c656d60901b60448201526064016107ca565b60006001600160a01b0382166112255760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ca565b506001600160a01b031660009081526006602052604090205490565b60007362c185250c7f87a6c0ef9a434c7532f5ff03414233146112765760405162461bcd60e51b81526004016107ca906130b1565b50600c805460ff1916600192831417905590565b6000546001600160a01b031633146112b45760405162461bcd60e51b81526004016107ca906130d4565b6112be6000611eda565b565b600160205260009081526040902080546112d990613370565b80601f016020809104026020016040519081016040528092919081815260200182805461130590613370565b80156113525780601f1061132757610100808354040283529160200191611352565b820191906000526020600020905b81548152906001019060200180831161133557829003601f168201915b505050505081565b60606004805461092f90613370565b610f74338383611f2a565b736fef07fbe214dbdb5a84876dfdfe7958ad199eb233146111245760405162461bcd60e51b81526004016107ca906130b1565b6113b13383611a3f565b6113cd5760405162461bcd60e51b81526004016107ca90613109565b6110eb84848484611ff9565b6000818152600560205260409020546060906001600160a01b03166114585760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107ca565b600061146261202c565b9050600081511161148257604051806020016040528060008152506114ad565b8061148c8461203b565b60405160200161149d929190612fbe565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146114de5760405162461bcd60e51b81526004016107ca906130d4565b6040516332fb62e760e21b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063cbed8b9c90611532908890889088908890889060040161327c565b600060405180830381600087803b15801561154c57600080fd5b505af1158015611560573d6000803e3d6000fd5b505050505050505050565b61ffff8416600090815260026020526040808220905161158c908690612fa2565b90815260408051602092819003830190206001600160401b0386166000908152925290205490508061160c5760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b60648201526084016107ca565b81516020830120811461166b5760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b60648201526084016107ca565b61ffff8516600090815260026020526040808220905161168c908790612fa2565b90815260408051602092819003830190206001600160401b038716600090815292529020556108f685858585611e3f565b6000546001600160a01b031633146116e75760405162461bcd60e51b81526004016107ca906130d4565b61ffff831660009081526001602052604090206117059083836127b4565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab838383604051611739939291906131ae565b60405180910390a1505050565b6000546001600160a01b031633146117705760405162461bcd60e51b81526004016107ca906130d4565b6001600160a01b0381166117d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ca565b61100781611eda565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b03169063f5ecbdbc9060840160006040518083038186803b15801561185957600080fd5b505afa15801561186d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526118959190810190612ba6565b90505b949350505050565b604051633356ae4560e11b815230906366ad5c8a906118c9908790879087908790600401613233565b600060405180830381600087803b1580156118e357600080fd5b505af19250505080156118f4575060015b6110eb578080519060200120600260008661ffff1661ffff168152602001908152602001600020846040516119299190612fa2565b9081526040805191829003602090810183206001600160401b0387166000908152915220919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90611984908690869086908690613233565b60405180910390a16110eb565b60006001600160e01b031982166380ac58cd60e01b14806119c257506001600160e01b03198216635b5e139f60e01b145b8061091a575061091a82612154565b600081815260076020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a068261100a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600560205260408120546001600160a01b0316611ab85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ca565b6000611ac38361100a565b9050806001600160a01b0316846001600160a01b03161480611afe5750836001600160a01b0316611af384610a56565b6001600160a01b0316145b8061189857506001600160a01b0380821660009081526008602090815260408083209388168352929052205460ff16611898565b826001600160a01b0316611b458261100a565b6001600160a01b031614611ba95760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016107ca565b6001600160a01b038216611c0b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ca565b611c166000826119d1565b6001600160a01b0383166000908152600660205260408120805460019290611c3f90849061332d565b90915550506001600160a01b0382166000908152600660205260408120805460019290611c6d908490613301565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611cda87878787612189565b60008585604051602001611cef92919061303d565b6040516020818303038152906040529050611d0d8782868686612272565b604051630f428ae960e31b815261ffff881660048201523060248201526000907f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd6756001600160a01b031690637a1457489060440160206040518083038186803b158015611d7957600080fd5b505afa158015611d8d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db19190612f21565b905086604051611dc19190612fa2565b604080519182900382208883526001600160401b03841660208401529161ffff8b16916001600160a01b038d16917f024797cc77ce15dc717112d54fb1df125fdfd8c81344fb046c5e074427ce1543910160405180910390a4505050505050505050565b610f7482826040518060200160405280600081525061240c565b60008082806020019051810190611e569190612bd8565b60148201519193509150611e6b87828461243f565b806001600160a01b031686604051611e839190612fa2565b604080519182900382208583526001600160401b03891660208401529161ffff8b16917f64e10c37f404d128982dce114f5d233c14c5c7f6d8db93099e3d99dacb9e27ba910160405180910390a450505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415611f8c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ca565b6001600160a01b03838116600081815260086020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612004848484611b32565b61201084848484612449565b6110eb5760405162461bcd60e51b81526004016107ca9061305f565b6060600b805461092f90613370565b60608161205f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120895780612073816133ab565b91506120829050600a83613319565b9150612063565b6000816001600160401b038111156120b157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120db576020820181803683370190505b5090505b8415611898576120f060018361332d565b91506120fd600a866133c6565b612108906030613301565b60f81b81838151811061212b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061214d600a86613319565b94506120df565b60006001600160e01b03198216637bb0080b60e01b148061091a57506301ffc9a760e01b6001600160e01b031983161461091a565b61219233610c80565b6121f55760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b60648201526084016107ca565b836001600160a01b03166122088261100a565b6001600160a01b0316146122695760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b60648201526084016107ca565b6110eb81612553565b61ffff85166000908152600160205260408120805461229090613370565b80601f01602080910402602001604051908101604052809291908181526020018280546122bc90613370565b80156123095780601f106122de57610100808354040283529160200191612309565b820191906000526020600020905b8154815290600101906020018083116122ec57829003601f168201915b5050505050905080516000141561237b5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b60648201526084016107ca565b60405162c5803160e81b81526001600160a01b037f00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675169063c58031009034906123d2908a9086908b908b908b908b906004016131cc565b6000604051808303818588803b1580156123eb57600080fd5b505af11580156123ff573d6000803e3d6000fd5b5050505050505050505050565b61241683836125ee565b6124236000848484612449565b610bfc5760405162461bcd60e51b81526004016107ca9061305f565b610bfc8282611e25565b60006001600160a01b0384163b1561254b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061248d903390899088908890600401612fed565b602060405180830381600087803b1580156124a757600080fd5b505af19250505080156124d7575060408051601f3d908101601f191682019092526124d491810190612b8a565b60015b612531573d808015612505576040519150601f19603f3d011682016040523d82523d6000602084013e61250a565b606091505b5080516125295760405162461bcd60e51b81526004016107ca9061305f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611898565b506001611898565b600061255e8261100a565b905061256b6000836119d1565b6001600160a01b038116600090815260066020526040812080546001929061259490849061332d565b909155505060008281526005602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166126445760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ca565b6000818152600560205260409020546001600160a01b0316156126a95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ca565b6001600160a01b03821660009081526006602052604081208054600192906126d2908490613301565b909155505060008181526005602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461273c90613370565b90600052602060002090601f01602090048101928261275e57600085556127a4565b82601f1061277757805160ff19168380011785556127a4565b828001600101855582156127a4579182015b828111156127a4578251825591602001919060010190612789565b506127b0929150612828565b5090565b8280546127c090613370565b90600052602060002090601f0160209004810192826127e257600085556127a4565b82601f106127fb5782800160ff198235161785556127a4565b828001600101855582156127a4579182015b828111156127a457823582559160200191906001019061280d565b5b808211156127b05760008155600101612829565b600061285061284b846132da565b6132aa565b905082815283838301111561286457600080fd5b828260208301376000602084830101529392505050565b8035801515811461288b57600080fd5b919050565b60008083601f8401126128a1578182fd5b5081356001600160401b038111156128b7578182fd5b6020830191508360208285010111156128cf57600080fd5b9250929050565b600082601f8301126128e6578081fd5b6114ad8383356020850161283d565b600082601f830112612905578081fd5b815161291361284b826132da565b818152846020838601011115612927578283fd5b611898826020830160208701613344565b803561ffff8116811461288b57600080fd5b60006020828403121561295b578081fd5b81356114ad8161341c565b60008060408385031215612978578081fd5b82356129838161341c565b946020939093013593505050565b600080604083850312156129a3578182fd5b82356129ae8161341c565b915060208301356129be8161341c565b809150509250929050565b6000806000606084860312156129dd578081fd5b83356129e88161341c565b925060208401356129f88161341c565b929592945050506040919091013590565b60008060008060808587031215612a1e578081fd5b8435612a298161341c565b93506020850135612a398161341c565b92506040850135915060608501356001600160401b03811115612a5a578182fd5b612a66878288016128d6565b91505092959194509250565b60008060408385031215612a84578182fd5b8235612a8f8161341c565b9150612a9d6020840161287b565b90509250929050565b600080600080600080600060e0888a031215612ac0578283fd5b8735612acb8161341c565b9650612ad960208901612938565b955060408801356001600160401b0380821115612af4578485fd5b612b008b838c016128d6565b965060608a0135955060808a01359150612b198261341c565b90935060a089013590612b2b8261341c565b90925060c08901359080821115612b40578283fd5b50612b4d8a828b016128d6565b91505092959891949750929550565b60008060408385031215612978578182fd5b600060208284031215612b7f578081fd5b81356114ad81613431565b600060208284031215612b9b578081fd5b81516114ad81613431565b600060208284031215612bb7578081fd5b81516001600160401b03811115612bcc578182fd5b611898848285016128f5565b60008060408385031215612bea578182fd5b82516001600160401b03811115612bff578283fd5b612c0b858286016128f5565b925050602083015190509250929050565b600060208284031215612c2d578081fd5b81356001600160401b03811115612c42578182fd5b8201601f81018413612c52578182fd5b6118988482356020840161283d565b600060208284031215612c72578081fd5b6114ad82612938565b600080600060408486031215612c8f578081fd5b612c9884612938565b925060208401356001600160401b03811115612cb2578182fd5b612cbe86828701612890565b9497909650939450505050565b600080600080600060a08688031215612ce2578283fd5b612ceb86612938565b945060208601356001600160401b0380821115612d06578485fd5b612d1289838a016128d6565b955060408801359450612d276060890161287b565b93506080880135915080821115612d3c578283fd5b50612d49888289016128d6565b9150509295509295909350565b600080600060608486031215612d6a578081fd5b612d7384612938565b925060208401356001600160401b03811115612d8d578182fd5b612d99868287016128d6565b9250506040840135612daa81613447565b809150509250925092565b60008060008060808587031215612dca578182fd5b612dd385612938565b935060208501356001600160401b0380821115612dee578384fd5b612dfa888389016128d6565b945060408701359150612e0c82613447565b90925060608601359080821115612e21578283fd5b50612a66878288016128d6565b60008060008060808587031215612e43578182fd5b612e4c85612938565b9350612e5a60208601612938565b92506040850135612e6a8161341c565b9396929550929360600135925050565b600080600080600060808688031215612e91578283fd5b612e9a86612938565b9450612ea860208701612938565b93506040860135925060608601356001600160401b03811115612ec9578182fd5b612ed588828901612890565b969995985093965092949392505050565b600060208284031215612ef7578081fd5b5035919050565b60008060408385031215612f10578182fd5b505080516020909101519092909150565b600060208284031215612f32578081fd5b81516114ad81613447565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60008151808452612f7e816020860160208601613344565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b60008251612fb4818460208701613344565b9190910192915050565b60008351612fd0818460208801613344565b835190830190612fe4818360208801613344565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061302090830184612f66565b9695505050505050565b6020815260006114ad6020830184612f66565b6040815260006130506040830185612f66565b90508260208301529392505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526009908201526827b7363ca7bbb732b960b91b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b61ffff861681526001600160a01b038516602082015260a06040820181905260009061318890830186612f66565b841515606084015282810360808401526131a28185612f66565b98975050505050505050565b61ffff84168152604060208201526000611895604083018486612f3d565b61ffff8716815260c0602082015260006131e960c0830188612f66565b82810360408401526131fb8188612f66565b6001600160a01b0387811660608601528616608085015283810360a085015290506132268185612f66565b9998505050505050505050565b61ffff851681526080602082015260006132506080830186612f66565b6001600160401b038516604084015282810360608401526132718185612f66565b979650505050505050565b600061ffff808816835280871660208401525084604083015260806060830152613271608083018486612f3d565b604051601f8201601f191681016001600160401b03811182821017156132d2576132d2613406565b604052919050565b60006001600160401b038211156132f3576132f3613406565b50601f01601f191660200190565b60008219821115613314576133146133da565b500190565b600082613328576133286133f0565b500490565b60008282101561333f5761333f6133da565b500390565b60005b8381101561335f578181015183820152602001613347565b838111156110eb5750506000910152565b600181811c9082168061338457607f821691505b602082108114156133a557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156133bf576133bf6133da565b5060010190565b6000826133d5576133d56133f0565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461100757600080fd5b6001600160e01b03198116811461100757600080fd5b6001600160401b038116811461100757600080fdfea26469706673582212206da7989851680f7bfe6bb3ace95a126f1d79059f33ac005f32cba64d60a3aa7064736f6c63430008040033

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

00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8

-----Decoded View---------------
Arg [0] : _layerZeroEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
Arg [1] : _startMintId (uint256): 1
Arg [2] : _endMintId (uint256): 1000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8


Deployed Bytecode Sourcemap

65242:1564:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20533:730;;;;;;;;;;-1:-1:-1;20533:730:0;;;;;:::i;:::-;;:::i;:::-;;57268:228;;;;;;;;;;-1:-1:-1;57268:228:0;;;;;:::i;:::-;;:::i;:::-;;;14806:14:1;;14799:22;14781:41;;14769:2;14754:18;57268:228:0;;;;;;;;44709:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22619:123::-;;;;;;;;;;-1:-1:-1;22619:123:0;;;;;:::i;:::-;;:::i;46268:221::-;;;;;;;;;;-1:-1:-1;46268:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;14104:32:1;;;14086:51;;14074:2;14059:18;46268:221:0;14041:102:1;45791:411:0;;;;;;;;;;-1:-1:-1;45791:411:0;;;;;:::i;:::-;;:::i;22750:129::-;;;;;;;;;;-1:-1:-1;22750:129:0;;;;;:::i;:::-;;:::i;47018:339::-;;;;;;;;;;-1:-1:-1;47018:339:0;;;;;:::i;:::-;;:::i;27728:412::-;;;;;;;;;;-1:-1:-1;27728:412:0;;;;;:::i;:::-;;:::i;:::-;;;;30844:25:1;;;30900:2;30885:18;;30878:34;;;;30817:18;27728:412:0;30799:119:1;23435:250:0;;;;;;;;;;-1:-1:-1;23435:250:0;;;;;:::i;:::-;;:::i;47428:185::-;;;;;;;;;;-1:-1:-1;47428:185:0;;;;;:::i;:::-;;:::i;22887:178::-;;;;;;;;;;-1:-1:-1;22887:178:0;;;;;:::i;:::-;;:::i;28148:332::-;;;;;;:::i;:::-;;:::i;66103:175::-;;;;;;;;;;-1:-1:-1;66103:175:0;;;;;:::i;:::-;;:::i;65588:253::-;;;:::i;24231:85::-;;;;;;;;;;-1:-1:-1;24231:85:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14979:25:1;;;14967:2;14952:18;24231:85:0;14934:76:1;44403:239:0;;;;;;;;;;-1:-1:-1;44403:239:0;;;;;:::i;:::-;;:::i;25013:342::-;;;;;;;;;;-1:-1:-1;25013:342:0;;;;;:::i;:::-;;:::i;58182:22::-;;;;;;;;;;;;;;;;66286:293;;;;;;;;;;-1:-1:-1;66286:293:0;;;;;:::i;:::-;;:::i;44133:208::-;;;;;;;;;;-1:-1:-1;44133:208:0;;;;;:::i;:::-;;:::i;66591:::-;;;;;;;;;;-1:-1:-1;66591:208:0;;;;;:::i;:::-;;:::i;11398:103::-;;;;;;;;;;;;;:::i;20303:51::-;;;;;;;;;;-1:-1:-1;20303:51:0;;;;;:::i;:::-;;:::i;10747:87::-;;;;;;;;;;-1:-1:-1;10793:7:0;10820:6;-1:-1:-1;;;;;10820:6:0;10747:87;;44878:104;;;;;;;;;;;;;:::i;46561:155::-;;;;;;;;;;-1:-1:-1;46561:155:0;;;;;:::i;:::-;;:::i;58869:291::-;;;;;;;;;;-1:-1:-1;58869:291:0;;;;;:::i;:::-;;:::i;20248:46::-;;;;;;;;;;;;;;;47684:328;;;;;;;;;;-1:-1:-1;47684:328:0;;;;;:::i;:::-;;:::i;45053:334::-;;;;;;;;;;-1:-1:-1;45053:334:0;;;;;:::i;:::-;;:::i;22407:204::-;;;;;;;;;;-1:-1:-1;22407:204:0;;;;;:::i;:::-;;:::i;25541:681::-;;;;;;:::i;:::-;;:::i;58211:21::-;;;;;;;;;;;;;;;;46787:164;;;;;;;;;;-1:-1:-1;46787:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;46908:25:0;;;46884:4;46908:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;46787:164;23119:216;;;;;;;;;;-1:-1:-1;23119:216:0;;;;;:::i;:::-;;:::i;11656:201::-;;;;;;;;;;-1:-1:-1;11656:201:0;;;;;:::i;:::-;;:::i;22134:211::-;;;;;;;;;;-1:-1:-1;22134:211:0;;;;;:::i;:::-;;:::i;20533:730::-;9545:10;20769;-1:-1:-1;;;;;20745:35:0;;20737:78;;;;-1:-1:-1;;;20737:78:0;;25279:2:1;20737:78:0;;;25261:21:1;25318:2;25298:18;;;25291:30;25357:32;25337:18;;;25330:60;25407:18;;20737:78:0;;;;;;;;;20857:32;;;20828:26;20857:32;;;:19;:32;;;;;20828:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21063:13;:20;21041:11;:18;:42;:96;;;;;21123:13;21113:24;;;;;;21097:11;21087:22;;;;;;:50;21041:96;21033:147;;;;-1:-1:-1;;;21033:147:0;;26458:2:1;21033:147:0;;;26440:21:1;26497:2;26477:18;;;26470:30;26536:34;26516:18;;;26509:62;-1:-1:-1;;;26587:18:1;;;26580:36;26633:19;;21033:147:0;26430:228:1;21033:147:0;21193:62;21212:11;21225;21238:6;21246:8;21193:18;:62::i;:::-;20533:730;;;;;:::o;57268:228::-;57383:4;-1:-1:-1;;;;;;57407:41:0;;;;:81;;;57452:36;57476:11;57452:23;:36::i;:::-;57400:88;57268:228;-1:-1:-1;;57268:228:0:o;44709:100::-;44763:13;44796:5;44789:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44709:100;:::o;22619:123::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;22699:35:::1;::::0;-1:-1:-1;;;22699:35:0;;26837:6:1;26825:19;;22699:35:0::1;::::0;::::1;26807:38:1::0;22699:10:0::1;-1:-1:-1::0;;;;;22699:25:0::1;::::0;::::1;::::0;26780:18:1;;22699:35:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;46268:221:::0;46344:7;49611:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49611:16:0;46364:73;;;;-1:-1:-1;;;46364:73:0;;23272:2:1;46364:73:0;;;23254:21:1;23311:2;23291:18;;;23284:30;23350:34;23330:18;;;23323:62;-1:-1:-1;;;23401:18:1;;;23394:42;23453:19;;46364:73:0;23244:234:1;46364:73:0;-1:-1:-1;46457:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;46457:24:0;;46268:221::o;45791:411::-;45872:13;45888:23;45903:7;45888:14;:23::i;:::-;45872:39;;45936:5;-1:-1:-1;;;;;45930:11:0;:2;-1:-1:-1;;;;;45930:11:0;;;45922:57;;;;-1:-1:-1;;;45922:57:0;;24877:2:1;45922:57:0;;;24859:21:1;24916:2;24896:18;;;24889:30;24955:34;24935:18;;;24928:62;-1:-1:-1;;;25006:18:1;;;24999:31;25047:19;;45922:57:0;24849:223:1;45922:57:0;9545:10;-1:-1:-1;;;;;46014:21:0;;;;:62;;-1:-1:-1;46039:37:0;46056:5;9545:10;46787:164;:::i;46039:37::-;45992:168;;;;-1:-1:-1;;;45992:168:0;;21322:2:1;45992:168:0;;;21304:21:1;21361:2;21341:18;;;21334:30;21400:34;21380:18;;;21373:62;21471:26;21451:18;;;21444:54;21515:19;;45992:168:0;21294:246:1;45992:168:0;46173:21;46182:2;46186:7;46173:8;:21::i;:::-;45791:411;;;:::o;22750:129::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;22833:38:::1;::::0;-1:-1:-1;;;22833:38:0;;26837:6:1;26825:19;;22833:38:0::1;::::0;::::1;26807::1::0;22833:10:0::1;-1:-1:-1::0;;;;;22833:28:0::1;::::0;::::1;::::0;26780:18:1;;22833:38:0::1;26762:89:1::0;47018:339:0;47213:41;9545:10;47232:12;47246:7;47213:18;:41::i;:::-;47205:103;;;;-1:-1:-1;;;47205:103:0;;;;;;;:::i;:::-;47321:28;47331:4;47337:2;47341:7;47321:9;:28::i;27728:412::-;27894:14;27910:11;27974:20;28008:10;28020:8;27997:32;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;27997:32:0;;;;;;;;;;-1:-1:-1;;;28047:85:0;;27997:32;-1:-1:-1;;;;;;28047:10:0;:23;;;;:85;;28071:11;;28092:4;;27997:32;;28108:7;;28117:14;;28047:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28040:92;;;;;27728:412;;;;;;;;:::o;23435:250::-;23577:32;;;23531:4;23577:32;;;:19;:32;;;;;23548:61;;23531:4;;23577:32;23548:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23665:11;;23655:22;;;;;;;:::i;:::-;;;;;;;;23637:13;23627:24;;;;;;:50;23620:57;;;23435:250;;;;;:::o;47428:185::-;47566:39;47583:4;47589:2;47593:7;47566:39;;;;;;;;;;;;:16;:39::i;22887:178::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;23002:55:::1;::::0;-1:-1:-1;;;23002:55:0;;-1:-1:-1;;;;;23002:10:0::1;:29;::::0;::::1;::::0;:55:::1;::::0;23032:11;;23045;;;;23002:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;22887:178:::0;;;:::o;28148:332::-;28373:99;28379:5;28386:11;28399:10;28411:8;28421:14;28437:18;28457:14;28373:5;:99::i;66103:175::-;66172:42;66218:10;66172:56;66164:78;;;;-1:-1:-1;;;66164:78:0;;;;;;;:::i;:::-;66255:13;;;;:7;;:13;;;;;:::i;:::-;;66103:175;:::o;65588:253::-;65644:11;;;;65636:20;;;;;;65689:9;;65675:10;;:23;;65667:70;;;;-1:-1:-1;;;65667:70:0;;19330:2:1;65667:70:0;;;19312:21:1;19369:2;19349:18;;;19342:30;19408:34;19388:18;;;19381:62;-1:-1:-1;;;19459:18:1;;;19452:32;19501:19;;65667:70:0;19302:224:1;65667:70:0;65761:10;;;;;;65748;65782:12;65761:10;65782:12;:::i;:::-;;;;;;65805:28;65815:10;65827:5;65805:9;:28::i;:::-;65588:253;:::o;44403:239::-;44475:7;44511:16;;;:7;:16;;;;;;-1:-1:-1;;;;;44511:16:0;44546:19;44538:73;;;;-1:-1:-1;;;44538:73:0;;22501:2:1;44538:73:0;;;22483:21:1;22540:2;22520:18;;;22513:30;22579:34;22559:18;;;22552:62;-1:-1:-1;;;22630:18:1;;;22623:39;22679:19;;44538:73:0;22473:231:1;25013:342:0;9545:10;25223:4;25199:29;25191:80;;;;-1:-1:-1;;;25191:80:0;;16190:2:1;25191:80:0;;;16172:21:1;16229:2;16209:18;;;16202:30;16268:34;16248:18;;;16241:62;-1:-1:-1;;;16319:18:1;;;16312:36;16365:19;;25191:80:0;16162:228:1;25191:80:0;25282:65;25304:11;25317;25330:6;25338:8;25282:21;:65::i;:::-;25013:342;;;;:::o;66286:293::-;66374:42;66420:10;66374:56;66366:78;;;;-1:-1:-1;;;66366:78:0;;;;;;;:::i;:::-;66456:12;66470:17;66491:9;-1:-1:-1;;;;;66491:14:0;66513:6;66491:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66455:69;;;;66543:7;66535:34;;;;-1:-1:-1;;;66535:34:0;;21747:2:1;66535:34:0;;;21729:21:1;21786:2;21766:18;;;21759:30;-1:-1:-1;;;21805:18:1;;;21798:44;21859:18;;66535:34:0;21719:164:1;44133:208:0;44205:7;-1:-1:-1;;;;;44233:19:0;;44225:74;;;;-1:-1:-1;;;44225:74:0;;22090:2:1;44225:74:0;;;22072:21:1;22129:2;22109:18;;;22102:30;22168:34;22148:18;;;22141:62;-1:-1:-1;;;22219:18:1;;;22212:40;22269:19;;44225:74:0;22062:232:1;44225:74:0;-1:-1:-1;;;;;;44317:16:0;;;;;:9;:16;;;;;;;44133:208::o;66591:::-;66642:4;66666:42;66712:10;66666:56;66658:78;;;;-1:-1:-1;;;66658:78:0;;;;;;;:::i;:::-;-1:-1:-1;66747:11:0;:22;;-1:-1:-1;;66747:22:0;66768:1;66761:8;;;66747:22;;;66768:1;66591:208::o;11398:103::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;11463:30:::1;11490:1;11463:18;:30::i;:::-;11398:103::o:0;20303:51::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44878:104::-;44934:13;44967:7;44960:14;;;;;:::i;46561:155::-;46656:52;9545:10;46689:8;46699;46656:18;:52::i;58869:291::-;58955:42;59001:10;58955:56;58947:78;;;;-1:-1:-1;;;58947:78:0;;;;;;;:::i;47684:328::-;47859:41;9545:10;47892:7;47859:18;:41::i;:::-;47851:103;;;;-1:-1:-1;;;47851:103:0;;;;;;;:::i;:::-;47965:39;47979:4;47985:2;47989:7;47998:5;47965:13;:39::i;45053:334::-;49587:4;49611:16;;;:7;:16;;;;;;45126:13;;-1:-1:-1;;;;;49611:16:0;45152:76;;;;-1:-1:-1;;;45152:76:0;;24461:2:1;45152:76:0;;;24443:21:1;24500:2;24480:18;;;24473:30;24539:34;24519:18;;;24512:62;-1:-1:-1;;;24590:18:1;;;24583:45;24645:19;;45152:76:0;24433:237:1;45152:76:0;45241:21;45265:10;:8;:10::i;:::-;45241:34;;45317:1;45299:7;45293:21;:25;:86;;;;;;;;;;;;;;;;;45345:7;45354:18;:7;:16;:18::i;:::-;45328:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;45293:86;45286:93;45053:334;-1:-1:-1;;;45053:334:0:o;22407:204::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;22541:62:::1;::::0;-1:-1:-1;;;22541:62:0;;-1:-1:-1;;;;;22541:10:0::1;:20;::::0;::::1;::::0;:62:::1;::::0;22562:8;;22572;;22582:11;;22595:7;;;;22541:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;22407:204:::0;;;;;:::o;25541:681::-;25748:27;;;25726:19;25748:27;;;:14;:27;;;;;;:40;;;;25776:11;;25748:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25748:48:0;;;;;;;;;;;;-1:-1:-1;25748:48:0;25807:73;;;;-1:-1:-1;;;25807:73:0;;18523:2:1;25807:73:0;;;18505:21:1;18562:2;18542:18;;;18535:30;18601:34;18581:18;;;18574:62;-1:-1:-1;;;18652:18:1;;;18645:33;18695:19;;25807:73:0;18495:225:1;25807:73:0;25899:19;;;;;;:34;;25891:80;;;;-1:-1:-1;;;25891:80:0;;26056:2:1;25891:80:0;;;26038:21:1;26095:2;26075:18;;;26068:30;26134:34;26114:18;;;26107:62;-1:-1:-1;;;26185:18:1;;;26178:31;26226:19;;25891:80:0;26028:223:1;25891:80:0;26019:27;;;26078:1;26019:27;;;:14;:27;;;;;;:40;;;;26047:11;;26019:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26019:48:0;;;;;;;;;;:61;26149:65;26171:11;26184;26019:48;26205:8;26149:21;:65::i;23119:216::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;23223:32:::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:46:::1;::::0;23258:11;;23223:46:::1;:::i;:::-;;23285:42;23302:11;23315;;23285:42;;;;;;;;:::i;:::-;;;;;;;;23119:216:::0;;;:::o;11656:201::-;10793:7;10820:6;-1:-1:-1;;;;;10820:6:0;9545:10;10967:23;10959:68;;;;-1:-1:-1;;;10959:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11745:22:0;::::1;11737:73;;;::::0;-1:-1:-1;;;11737:73:0;;17016:2:1;11737:73:0::1;::::0;::::1;16998:21:1::0;17055:2;17035:18;;;17028:30;17094:34;17074:18;;;17067:62;-1:-1:-1;;;17145:18:1;;;17138:36;17191:19;;11737:73:0::1;16988:228:1::0;11737:73:0::1;11821:28;11840:8;11821:18;:28::i;22134:211::-:0;22269:68;;-1:-1:-1;;;22269:68:0;;29761:6:1;29794:15;;;22269:68:0;;;29776:34:1;29846:15;;29826:18;;;29819:43;22318:4:0;29878:18:1;;;29871:60;29947:18;;;29940:34;;;22237:12:0;;22269:10;-1:-1:-1;;;;;22269:20:0;;;;29723:19:1;;22269:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;22269:68:0;;;;;;;;;;;;:::i;:::-;22262:75;;22134:211;;;;;;;:::o;24477:528::-;24674:69;;-1:-1:-1;;;24674:69:0;;:4;;:25;;:69;;24700:11;;24713;;24726:6;;24734:8;;24674:69;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24670:328;;24900:8;24890:19;;;;;;24839:14;:27;24854:11;24839:27;;;;;;;;;;;;;;;24867:11;24839:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24839:48:0;;;;;;;;;:70;;;;24929:57;;;;24943:11;;24956;;24880:6;;24977:8;;24929:57;:::i;:::-;;;;;;;;24670:328;;43764:305;43866:4;-1:-1:-1;;;;;;43903:40:0;;-1:-1:-1;;;43903:40:0;;:105;;-1:-1:-1;;;;;;;43960:48:0;;-1:-1:-1;;;43960:48:0;43903:105;:158;;;;44025:36;44049:11;44025:23;:36::i;53668:174::-;53743:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;53743:29:0;-1:-1:-1;;;;;53743:29:0;;;;;;;;:24;;53797:23;53743:24;53797:14;:23::i;:::-;-1:-1:-1;;;;;53788:46:0;;;;;;;;;;;53668:174;;:::o;49816:348::-;49909:4;49611:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49611:16:0;49926:73;;;;-1:-1:-1;;;49926:73:0;;20492:2:1;49926:73:0;;;20474:21:1;20531:2;20511:18;;;20504:30;20570:34;20550:18;;;20543:62;-1:-1:-1;;;20621:18:1;;;20614:42;20673:19;;49926:73:0;20464:234:1;49926:73:0;50010:13;50026:23;50041:7;50026:14;:23::i;:::-;50010:39;;50079:5;-1:-1:-1;;;;;50068:16:0;:7;-1:-1:-1;;;;;50068:16:0;;:51;;;;50112:7;-1:-1:-1;;;;;50088:31:0;:20;50100:7;50088:11;:20::i;:::-;-1:-1:-1;;;;;50088:31:0;;50068:51;:87;;;-1:-1:-1;;;;;;46908:25:0;;;46884:4;46908:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;50123:32;46787:164;52925:625;53084:4;-1:-1:-1;;;;;53057:31:0;:23;53072:7;53057:14;:23::i;:::-;-1:-1:-1;;;;;53057:31:0;;53049:81;;;;-1:-1:-1;;;53049:81:0;;17760:2:1;53049:81:0;;;17742:21:1;17799:2;17779:18;;;17772:30;17838:34;17818:18;;;17811:62;-1:-1:-1;;;17889:18:1;;;17882:35;17934:19;;53049:81:0;17732:227:1;53049:81:0;-1:-1:-1;;;;;53149:16:0;;53141:65;;;;-1:-1:-1;;;53141:65:0;;19733:2:1;53141:65:0;;;19715:21:1;19772:2;19752:18;;;19745:30;19811:34;19791:18;;;19784:62;-1:-1:-1;;;19862:18:1;;;19855:34;19906:19;;53141:65:0;19705:226:1;53141:65:0;53323:29;53340:1;53344:7;53323:8;:29::i;:::-;-1:-1:-1;;;;;53365:15:0;;;;;;:9;:15;;;;;:20;;53384:1;;53365:15;:20;;53384:1;;53365:20;:::i;:::-;;;;-1:-1:-1;;;;;;;53396:13:0;;;;;;:9;:13;;;;;:18;;53413:1;;53396:13;:18;;53413:1;;53396:18;:::i;:::-;;;;-1:-1:-1;;53425:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;53425:21:0;-1:-1:-1;;;;;53425:21:0;;;;;;;;;53464:27;;53425:16;;53464:27;;;;;;;45791:411;;;:::o;28488:586::-;28695:52;28706:5;28713:11;28726:10;28738:8;28695:10;:52::i;:::-;28760:20;28794:10;28806:8;28783:32;;;;;;;;;:::i;:::-;;;;;;;;;;;;;28760:55;;28826:81;28834:11;28847:7;28856:14;28872:18;28892:14;28826:7;:81::i;:::-;28935:55;;-1:-1:-1;;;28935:55:0;;27058:6:1;27046:19;;28935:55:0;;;27028:38:1;28984:4:0;27082:18:1;;;27075:60;28920:12:0;;28935:10;-1:-1:-1;;;;;28935:27:0;;;;27001:18:1;;28935:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28920:70;;29038:10;29006:60;;;;;;:::i;:::-;;;;;;;;;;31095:25:1;;;-1:-1:-1;;;;;31156:31:1;;31151:2;31136:18;;31129:59;29006:60:0;;;;;-1:-1:-1;;;;;29006:60:0;;;;;31068:18:1;29006:60:0;;;;;;;28488:586;;;;;;;;;:::o;50506:110::-;50582:26;50592:2;50596:7;50582:26;;;;;;;;;;;;:9;:26::i;29082:542::-;29277:27;29306:12;29333:8;29322:35;;;;;;;;;;;;:::i;:::-;29459:2;29439:23;;29433:30;29276:81;;-1:-1:-1;29276:81:0;-1:-1:-1;29486:42:0;29496:11;29433:30;29276:81;29486:9;:42::i;:::-;29589:9;-1:-1:-1;;;;;29546:70:0;29576:11;29546:70;;;;;;:::i;:::-;;;;;;;;;;31095:25:1;;;-1:-1:-1;;;;;31156:31:1;;31151:2;31136:18;;31129:59;29546:70:0;;;;;;;31068:18:1;29546:70:0;;;;;;;29082:542;;;;;;;:::o;12017:191::-;12091:16;12110:6;;-1:-1:-1;;;;;12127:17:0;;;-1:-1:-1;;;;;;12127:17:0;;;;;;12160:40;;12110:6;;;;;;;12160:40;;12091:16;12160:40;12017:191;;:::o;53984:315::-;54139:8;-1:-1:-1;;;;;54130:17:0;:5;-1:-1:-1;;;;;54130:17:0;;;54122:55;;;;-1:-1:-1;;;54122:55:0;;20138:2:1;54122:55:0;;;20120:21:1;20177:2;20157:18;;;20150:30;20216:27;20196:18;;;20189:55;20261:18;;54122:55:0;20110:175:1;54122:55:0;-1:-1:-1;;;;;54188:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;54188:46:0;;;;;;;;;;54250:41;;14781::1;;;54250::0;;14754:18:1;54250:41:0;;;;;;;53984:315;;;:::o;48894:::-;49051:28;49061:4;49067:2;49071:7;49051:9;:28::i;:::-;49098:48;49121:4;49127:2;49131:7;49140:5;49098:22;:48::i;:::-;49090:111;;;;-1:-1:-1;;;49090:111:0;;;;;;;:::i;65989:104::-;66041:13;66076:7;66069:14;;;;;:::i;40592:723::-;40648:13;40869:10;40865:53;;-1:-1:-1;;40896:10:0;;;;;;;;;;;;-1:-1:-1;;;40896:10:0;;;;;40592:723::o;40865:53::-;40943:5;40928:12;40984:78;40991:9;;40984:78;;41017:8;;;;:::i;:::-;;-1:-1:-1;41040:10:0;;-1:-1:-1;41048:2:0;41040:10;;:::i;:::-;;;40984:78;;;41072:19;41104:6;-1:-1:-1;;;;;41094:17:0;;;;;-1:-1:-1;;;41094:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41094:17:0;;41072:39;;41122:154;41129:10;;41122:154;;41156:11;41166:1;41156:11;;:::i;:::-;;-1:-1:-1;41225:10:0;41233:2;41225:5;:10;:::i;:::-;41212:24;;:2;:24;:::i;:::-;41199:39;;41182:6;41189;41182:14;;;;;;-1:-1:-1;;;41182:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;41182:56:0;;;;;;;;-1:-1:-1;41253:11:0;41262:2;41253:11;;:::i;:::-;;;41122:154;;27501:219;27603:4;-1:-1:-1;;;;;;27627:45:0;;-1:-1:-1;;;27627:45:0;;:85;;-1:-1:-1;;;;;;;;;;27209:40:0;;;27676:36;27100:157;57504:335;57621:42;9545:10;57640:12;9465:98;57621:42;57613:101;;;;-1:-1:-1;;;57613:101:0;;23685:2:1;57613:101:0;;;23667:21:1;23724:2;23704:18;;;23697:30;23763:34;23743:18;;;23736:62;-1:-1:-1;;;23814:18:1;;;23807:44;23868:19;;57613:101:0;23657:236:1;57613:101:0;57761:5;-1:-1:-1;;;;;57733:33:0;:24;57748:8;57733:14;:24::i;:::-;-1:-1:-1;;;;;57733:33:0;;57725:80;;;;-1:-1:-1;;;57725:80:0;;18927:2:1;57725:80:0;;;18909:21:1;18966:2;18946:18;;;18939:30;19005:34;18985:18;;;18978:62;-1:-1:-1;;;19056:18:1;;;19049:32;19098:19;;57725:80:0;18899:224:1;57725:80:0;57816:15;57822:8;57816:5;:15::i;21552:477::-;21758:32;;;21729:26;21758:32;;;:19;:32;;;;;21729:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21809:13;:20;21833:1;21809:25;;21801:86;;;;-1:-1:-1;;;21801:86:0;;20905:2:1;21801:86:0;;;20887:21:1;20944:2;20924:18;;;20917:30;20983:34;20963:18;;;20956:62;-1:-1:-1;;;21034:18:1;;;21027:46;21090:19;;21801:86:0;20877:238:1;21801:86:0;21898:123;;-1:-1:-1;;;21898:123:0;;-1:-1:-1;;;;;21898:10:0;:15;;;;21921:9;;21898:123;;21932:11;;21945:13;;21960:8;;21970:14;;21986:18;;22006:14;;21898:123;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21552:477;;;;;;:::o;50843:321::-;50973:18;50979:2;50983:7;50973:5;:18::i;:::-;51024:54;51055:1;51059:2;51063:7;51072:5;51024:22;:54::i;:::-;51002:154;;;;-1:-1:-1;;;51002:154:0;;;;;;;:::i;57847:138::-;57946:31;57956:10;57968:8;57946:9;:31::i;54864:799::-;55019:4;-1:-1:-1;;;;;55040:13:0;;33244:19;:23;55036:620;;55076:72;;-1:-1:-1;;;55076:72:0;;-1:-1:-1;;;;;55076:36:0;;;;;:72;;9545:10;;55127:4;;55133:7;;55142:5;;55076:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55076:72:0;;;;;;;;-1:-1:-1;;55076:72:0;;;;;;;;;;;;:::i;:::-;;;55072:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55318:13:0;;55314:272;;55361:60;;-1:-1:-1;;;55361:60:0;;;;;;;:::i;55314:272::-;55536:6;55530:13;55521:6;55517:2;55513:15;55506:38;55072:529;-1:-1:-1;;;;;;55199:51:0;-1:-1:-1;;;55199:51:0;;-1:-1:-1;55192:58:0;;55036:620;-1:-1:-1;55640:4:0;55633:11;;52168:420;52228:13;52244:23;52259:7;52244:14;:23::i;:::-;52228:39;;52369:29;52386:1;52390:7;52369:8;:29::i;:::-;-1:-1:-1;;;;;52411:16:0;;;;;;:9;:16;;;;;:21;;52431:1;;52411:16;:21;;52431:1;;52411:21;:::i;:::-;;;;-1:-1:-1;;52450:16:0;;;;:7;:16;;;;;;52443:23;;-1:-1:-1;;;;;;52443:23:0;;;52484:36;52458:7;;52450:16;-1:-1:-1;;;;;52484:36:0;;;;;52450:16;;52484:36;66255:13;66103:175;:::o;51500:439::-;-1:-1:-1;;;;;51580:16:0;;51572:61;;;;-1:-1:-1;;;51572:61:0;;22911:2:1;51572:61:0;;;22893:21:1;;;22930:18;;;22923:30;22989:34;22969:18;;;22962:62;23041:18;;51572:61:0;22883:182:1;51572:61:0;49587:4;49611:16;;;:7;:16;;;;;;-1:-1:-1;;;;;49611:16:0;:30;51644:58;;;;-1:-1:-1;;;51644:58:0;;18166:2:1;51644:58:0;;;18148:21:1;18205:2;18185:18;;;18178:30;18244;18224:18;;;18217:58;18292:18;;51644:58:0;18138:178:1;51644:58:0;-1:-1:-1;;;;;51773:13:0;;;;;;:9;:13;;;;;:18;;51790:1;;51773:13;:18;;51790:1;;51773:18;:::i;:::-;;;;-1:-1:-1;;51802:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51802:21:0;-1:-1:-1;;;;;51802:21:0;;;;;;;;51841:33;;51802:16;;;51841:33;;51802:16;;51841:33;66255:13;66103:175;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:336:1;78:5;107:52;123:35;151:6;123:35;:::i;:::-;107:52;:::i;:::-;98:61;;182:6;175:5;168:21;222:3;213:6;208:3;204:16;201:25;198:2;;;239:1;236;229:12;198:2;288:6;283:3;276:4;269:5;265:16;252:43;342:1;335:4;326:6;319:5;315:18;311:29;304:40;88:262;;;;;:::o;355:160::-;420:20;;476:13;;469:21;459:32;;449:2;;505:1;502;495:12;449:2;401:114;;;:::o;520:375::-;571:8;581:6;635:3;628:4;620:6;616:17;612:27;602:2;;660:8;650;643:26;602:2;-1:-1:-1;690:20:1;;-1:-1:-1;;;;;722:30:1;;719:2;;;772:8;762;755:26;719:2;816:4;808:6;804:17;792:29;;868:3;861:4;852:6;844;840:19;836:30;833:39;830:2;;;885:1;882;875:12;830:2;592:303;;;;;:::o;900:228::-;942:5;995:3;988:4;980:6;976:17;972:27;962:2;;1017:5;1010;1003:20;962:2;1043:79;1118:3;1109:6;1096:20;1089:4;1081:6;1077:17;1043:79;:::i;1133:444::-;1186:5;1239:3;1232:4;1224:6;1220:17;1216:27;1206:2;;1261:5;1254;1247:20;1206:2;1294:6;1288:13;1325:48;1341:31;1369:2;1341:31;:::i;1325:48::-;1398:2;1389:7;1382:19;1444:3;1437:4;1432:2;1424:6;1420:15;1416:26;1413:35;1410:2;;;1465:5;1458;1451:20;1410:2;1482:64;1543:2;1536:4;1527:7;1523:18;1516:4;1508:6;1504:17;1482:64;:::i;1582:159::-;1649:20;;1709:6;1698:18;;1688:29;;1678:2;;1731:1;1728;1721:12;1746:257;1805:6;1858:2;1846:9;1837:7;1833:23;1829:32;1826:2;;;1879:6;1871;1864:22;1826:2;1923:9;1910:23;1942:31;1967:5;1942:31;:::i;2008:333::-;2084:6;2092;2145:2;2133:9;2124:7;2120:23;2116:32;2113:2;;;2166:6;2158;2151:22;2113:2;2210:9;2197:23;2229:31;2254:5;2229:31;:::i;:::-;2279:5;2331:2;2316:18;;;;2303:32;;-1:-1:-1;;;2103:238:1:o;2346:398::-;2414:6;2422;2475:2;2463:9;2454:7;2450:23;2446:32;2443:2;;;2496:6;2488;2481:22;2443:2;2540:9;2527:23;2559:31;2584:5;2559:31;:::i;:::-;2609:5;-1:-1:-1;2666:2:1;2651:18;;2638:32;2679:33;2638:32;2679:33;:::i;:::-;2731:7;2721:17;;;2433:311;;;;;:::o;2749:466::-;2826:6;2834;2842;2895:2;2883:9;2874:7;2870:23;2866:32;2863:2;;;2916:6;2908;2901:22;2863:2;2960:9;2947:23;2979:31;3004:5;2979:31;:::i;:::-;3029:5;-1:-1:-1;3086:2:1;3071:18;;3058:32;3099:33;3058:32;3099:33;:::i;:::-;2853:362;;3151:7;;-1:-1:-1;;;3205:2:1;3190:18;;;;3177:32;;2853:362::o;3220:685::-;3315:6;3323;3331;3339;3392:3;3380:9;3371:7;3367:23;3363:33;3360:2;;;3414:6;3406;3399:22;3360:2;3458:9;3445:23;3477:31;3502:5;3477:31;:::i;:::-;3527:5;-1:-1:-1;3584:2:1;3569:18;;3556:32;3597:33;3556:32;3597:33;:::i;:::-;3649:7;-1:-1:-1;3703:2:1;3688:18;;3675:32;;-1:-1:-1;3758:2:1;3743:18;;3730:32;-1:-1:-1;;;;;3774:30:1;;3771:2;;;3822:6;3814;3807:22;3771:2;3850:49;3891:7;3882:6;3871:9;3867:22;3850:49;:::i;:::-;3840:59;;;3350:555;;;;;;;:::o;3910:325::-;3975:6;3983;4036:2;4024:9;4015:7;4011:23;4007:32;4004:2;;;4057:6;4049;4042:22;4004:2;4101:9;4088:23;4120:31;4145:5;4120:31;:::i;:::-;4170:5;-1:-1:-1;4194:35:1;4225:2;4210:18;;4194:35;:::i;:::-;4184:45;;3994:241;;;;;:::o;4240:1138::-;4378:6;4386;4394;4402;4410;4418;4426;4479:3;4467:9;4458:7;4454:23;4450:33;4447:2;;;4501:6;4493;4486:22;4447:2;4545:9;4532:23;4564:31;4589:5;4564:31;:::i;:::-;4614:5;-1:-1:-1;4638:37:1;4671:2;4656:18;;4638:37;:::i;:::-;4628:47;;4726:2;4715:9;4711:18;4698:32;-1:-1:-1;;;;;4790:2:1;4782:6;4779:14;4776:2;;;4811:6;4803;4796:22;4776:2;4839:49;4880:7;4871:6;4860:9;4856:22;4839:49;:::i;:::-;4829:59;;4935:2;4924:9;4920:18;4907:32;4897:42;;4991:3;4980:9;4976:19;4963:33;4948:48;;5005:33;5030:7;5005:33;:::i;:::-;5057:7;;-1:-1:-1;5116:3:1;5101:19;;5088:33;;5130;5088;5130;:::i;:::-;5182:7;;-1:-1:-1;5242:3:1;5227:19;;5214:33;;5259:16;;;5256:2;;;5293:6;5285;5278:22;5256:2;;5321:51;5364:7;5353:8;5342:9;5338:24;5321:51;:::i;:::-;5311:61;;;4437:941;;;;;;;;;;:::o;5383:325::-;5451:6;5459;5512:2;5500:9;5491:7;5487:23;5483:32;5480:2;;;5533:6;5525;5518:22;5713:255;5771:6;5824:2;5812:9;5803:7;5799:23;5795:32;5792:2;;;5845:6;5837;5830:22;5792:2;5889:9;5876:23;5908:30;5932:5;5908:30;:::i;5973:259::-;6042:6;6095:2;6083:9;6074:7;6070:23;6066:32;6063:2;;;6116:6;6108;6101:22;6063:2;6153:9;6147:16;6172:30;6196:5;6172:30;:::i;6237:355::-;6316:6;6369:2;6357:9;6348:7;6344:23;6340:32;6337:2;;;6390:6;6382;6375:22;6337:2;6428:9;6422:16;-1:-1:-1;;;;;6453:6:1;6450:30;6447:2;;;6498:6;6490;6483:22;6447:2;6526:60;6578:7;6569:6;6558:9;6554:22;6526:60;:::i;6597:416::-;6685:6;6693;6746:2;6734:9;6725:7;6721:23;6717:32;6714:2;;;6767:6;6759;6752:22;6714:2;6805:9;6799:16;-1:-1:-1;;;;;6830:6:1;6827:30;6824:2;;;6875:6;6867;6860:22;6824:2;6903:60;6955:7;6946:6;6935:9;6931:22;6903:60;:::i;:::-;6893:70;;;7003:2;6992:9;6988:18;6982:25;6972:35;;6704:309;;;;;:::o;7018:480::-;7087:6;7140:2;7128:9;7119:7;7115:23;7111:32;7108:2;;;7161:6;7153;7146:22;7108:2;7206:9;7193:23;-1:-1:-1;;;;;7231:6:1;7228:30;7225:2;;;7276:6;7268;7261:22;7225:2;7304:22;;7357:4;7349:13;;7345:27;-1:-1:-1;7335:2:1;;7391:6;7383;7376:22;7335:2;7419:73;7484:7;7479:2;7466:16;7461:2;7457;7453:11;7419:73;:::i;7503:194::-;7561:6;7614:2;7602:9;7593:7;7589:23;7585:32;7582:2;;;7635:6;7627;7620:22;7582:2;7663:28;7681:9;7663:28;:::i;7702:501::-;7780:6;7788;7796;7849:2;7837:9;7828:7;7824:23;7820:32;7817:2;;;7870:6;7862;7855:22;7817:2;7898:28;7916:9;7898:28;:::i;:::-;7888:38;;7977:2;7966:9;7962:18;7949:32;-1:-1:-1;;;;;7996:6:1;7993:30;7990:2;;;8041:6;8033;8026:22;7990:2;8085:58;8135:7;8126:6;8115:9;8111:22;8085:58;:::i;:::-;7807:396;;8162:8;;-1:-1:-1;8059:84:1;;-1:-1:-1;;;;7807:396:1:o;8208:779::-;8317:6;8325;8333;8341;8349;8402:3;8390:9;8381:7;8377:23;8373:33;8370:2;;;8424:6;8416;8409:22;8370:2;8452:28;8470:9;8452:28;:::i;:::-;8442:38;;8531:2;8520:9;8516:18;8503:32;-1:-1:-1;;;;;8595:2:1;8587:6;8584:14;8581:2;;;8616:6;8608;8601:22;8581:2;8644:49;8685:7;8676:6;8665:9;8661:22;8644:49;:::i;:::-;8634:59;;8740:2;8729:9;8725:18;8712:32;8702:42;;8763:35;8794:2;8783:9;8779:18;8763:35;:::i;:::-;8753:45;;8851:3;8840:9;8836:19;8823:33;8807:49;;8881:2;8871:8;8868:16;8865:2;;;8902:6;8894;8887:22;8865:2;;8930:51;8973:7;8962:8;8951:9;8947:24;8930:51;:::i;:::-;8920:61;;;8360:627;;;;;;;;:::o;8992:545::-;9076:6;9084;9092;9145:2;9133:9;9124:7;9120:23;9116:32;9113:2;;;9166:6;9158;9151:22;9113:2;9194:28;9212:9;9194:28;:::i;:::-;9184:38;;9273:2;9262:9;9258:18;9245:32;-1:-1:-1;;;;;9292:6:1;9289:30;9286:2;;;9337:6;9329;9322:22;9286:2;9365:49;9406:7;9397:6;9386:9;9382:22;9365:49;:::i;:::-;9355:59;;;9464:2;9453:9;9449:18;9436:32;9477:30;9501:5;9477:30;:::i;:::-;9526:5;9516:15;;;9103:434;;;;;:::o;9542:775::-;9644:6;9652;9660;9668;9721:3;9709:9;9700:7;9696:23;9692:33;9689:2;;;9743:6;9735;9728:22;9689:2;9771:28;9789:9;9771:28;:::i;:::-;9761:38;;9850:2;9839:9;9835:18;9822:32;-1:-1:-1;;;;;9914:2:1;9906:6;9903:14;9900:2;;;9935:6;9927;9920:22;9900:2;9963:49;10004:7;9995:6;9984:9;9980:22;9963:49;:::i;:::-;9953:59;;10062:2;10051:9;10047:18;10034:32;10021:45;;10075:30;10099:5;10075:30;:::i;:::-;10124:5;;-1:-1:-1;10182:2:1;10167:18;;10154:32;;10198:16;;;10195:2;;;10232:6;10224;10217:22;10195:2;;10260:51;10303:7;10292:8;10281:9;10277:24;10260:51;:::i;10322:470::-;10406:6;10414;10422;10430;10483:3;10471:9;10462:7;10458:23;10454:33;10451:2;;;10505:6;10497;10490:22;10451:2;10533:28;10551:9;10533:28;:::i;:::-;10523:38;;10580:37;10613:2;10602:9;10598:18;10580:37;:::i;:::-;10570:47;;10667:2;10656:9;10652:18;10639:32;10680:31;10705:5;10680:31;:::i;:::-;10441:351;;;;-1:-1:-1;10730:5:1;;10782:2;10767:18;10754:32;;-1:-1:-1;;10441:351:1:o;10797:642::-;10892:6;10900;10908;10916;10924;10977:3;10965:9;10956:7;10952:23;10948:33;10945:2;;;10999:6;10991;10984:22;10945:2;11027:28;11045:9;11027:28;:::i;:::-;11017:38;;11074:37;11107:2;11096:9;11092:18;11074:37;:::i;:::-;11064:47;;11158:2;11147:9;11143:18;11130:32;11120:42;;11213:2;11202:9;11198:18;11185:32;-1:-1:-1;;;;;11232:6:1;11229:30;11226:2;;;11277:6;11269;11262:22;11226:2;11321:58;11371:7;11362:6;11351:9;11347:22;11321:58;:::i;:::-;10935:504;;;;-1:-1:-1;10935:504:1;;-1:-1:-1;11398:8:1;;11295:84;10935:504;-1:-1:-1;;;10935:504:1:o;11444:190::-;11503:6;11556:2;11544:9;11535:7;11531:23;11527:32;11524:2;;;11577:6;11569;11562:22;11524:2;-1:-1:-1;11605:23:1;;11514:120;-1:-1:-1;11514:120:1:o;11639:255::-;11718:6;11726;11779:2;11767:9;11758:7;11754:23;11750:32;11747:2;;;11800:6;11792;11785:22;11747:2;-1:-1:-1;;11828:16:1;;11884:2;11869:18;;;11863:25;11828:16;;11863:25;;-1:-1:-1;11737:157:1:o;11899:259::-;11968:6;12021:2;12009:9;12000:7;11996:23;11992:32;11989:2;;;12042:6;12034;12027:22;11989:2;12079:9;12073:16;12098:30;12122:5;12098:30;:::i;12163:268::-;12251:6;12246:3;12239:19;12303:6;12296:5;12289:4;12284:3;12280:14;12267:43;-1:-1:-1;12221:3:1;12330:16;;;12348:4;12326:27;;;12319:40;;;;12413:2;12392:15;;;-1:-1:-1;;12388:29:1;12379:39;;;12375:50;;12229:202::o;12436:257::-;12477:3;12515:5;12509:12;12542:6;12537:3;12530:19;12558:63;12614:6;12607:4;12602:3;12598:14;12591:4;12584:5;12580:16;12558:63;:::i;:::-;12675:2;12654:15;-1:-1:-1;;12650:29:1;12641:39;;;;12682:4;12637:50;;12485:208;-1:-1:-1;;12485:208:1:o;12698:273::-;12881:6;12873;12868:3;12855:33;12837:3;12907:16;;12932:15;;;12907:16;12845:126;-1:-1:-1;12845:126:1:o;12976:274::-;13105:3;13143:6;13137:13;13159:53;13205:6;13200:3;13193:4;13185:6;13181:17;13159:53;:::i;:::-;13228:16;;;;;13113:137;-1:-1:-1;;13113:137:1:o;13255:470::-;13434:3;13472:6;13466:13;13488:53;13534:6;13529:3;13522:4;13514:6;13510:17;13488:53;:::i;:::-;13604:13;;13563:16;;;;13626:57;13604:13;13563:16;13660:4;13648:17;;13626:57;:::i;:::-;13699:20;;13442:283;-1:-1:-1;;;;13442:283:1:o;14148:488::-;-1:-1:-1;;;;;14417:15:1;;;14399:34;;14469:15;;14464:2;14449:18;;14442:43;14516:2;14501:18;;14494:34;;;14564:3;14559:2;14544:18;;14537:31;;;14342:4;;14585:45;;14610:19;;14602:6;14585:45;:::i;:::-;14577:53;14351:285;-1:-1:-1;;;;;;14351:285:1:o;15015:217::-;15162:2;15151:9;15144:21;15125:4;15182:44;15222:2;15211:9;15207:18;15199:6;15182:44;:::i;15237:288::-;15412:2;15401:9;15394:21;15375:4;15432:44;15472:2;15461:9;15457:18;15449:6;15432:44;:::i;:::-;15424:52;;15512:6;15507:2;15496:9;15492:18;15485:34;15384:141;;;;;:::o;16395:414::-;16597:2;16579:21;;;16636:2;16616:18;;;16609:30;16675:34;16670:2;16655:18;;16648:62;-1:-1:-1;;;16741:2:1;16726:18;;16719:48;16799:3;16784:19;;16569:240::o;17221:332::-;17423:2;17405:21;;;17462:1;17442:18;;;17435:29;-1:-1:-1;;;17495:2:1;17480:18;;17473:39;17544:2;17529:18;;17395:158::o;23898:356::-;24100:2;24082:21;;;24119:18;;;24112:30;24178:34;24173:2;24158:18;;24151:62;24245:2;24230:18;;24072:182::o;25436:413::-;25638:2;25620:21;;;25677:2;25657:18;;;25650:30;25716:34;25711:2;25696:18;;25689:62;-1:-1:-1;;;25782:2:1;25767:18;;25760:47;25839:3;25824:19;;25610:239::o;27146:640::-;27427:6;27415:19;;27397:38;;-1:-1:-1;;;;;27471:32:1;;27466:2;27451:18;;27444:60;27491:3;27535:2;27520:18;;27513:31;;;-1:-1:-1;;27567:45:1;;27592:19;;27584:6;27567:45;:::i;:::-;27662:6;27655:14;27648:22;27643:2;27632:9;27628:18;27621:50;27720:9;27712:6;27708:22;27702:3;27691:9;27687:19;27680:51;27748:32;27773:6;27765;27748:32;:::i;:::-;27740:40;27387:399;-1:-1:-1;;;;;;;;27387:399:1:o;27791:326::-;27986:6;27978;27974:19;27963:9;27956:38;28030:2;28025;28014:9;28010:18;28003:30;27937:4;28050:61;28107:2;28096:9;28092:18;28084:6;28076;28050:61;:::i;28122:837::-;28471:6;28463;28459:19;28448:9;28441:38;28515:3;28510:2;28499:9;28495:18;28488:31;28422:4;28542:45;28582:3;28571:9;28567:19;28559:6;28542:45;:::i;:::-;28635:9;28627:6;28623:22;28618:2;28607:9;28603:18;28596:50;28669:32;28694:6;28686;28669:32;:::i;:::-;-1:-1:-1;;;;;28775:15:1;;;28770:2;28755:18;;28748:43;28828:15;;28822:3;28807:19;;28800:44;28881:22;;;28728:3;28860:19;;28853:51;28655:46;-1:-1:-1;28921:32:1;28655:46;28938:6;28921:32;:::i;:::-;28913:40;28431:528;-1:-1:-1;;;;;;;;;28431:528:1:o;28964:555::-;29221:6;29213;29209:19;29198:9;29191:38;29265:3;29260:2;29249:9;29245:18;29238:31;29172:4;29292:45;29332:3;29321:9;29317:19;29309:6;29292:45;:::i;:::-;-1:-1:-1;;;;;29377:6:1;29373:31;29368:2;29357:9;29353:18;29346:59;29453:9;29445:6;29441:22;29436:2;29425:9;29421:18;29414:50;29481:32;29506:6;29498;29481:32;:::i;:::-;29473:40;29181:338;-1:-1:-1;;;;;;;29181:338:1:o;29985:498::-;30185:4;30214:6;30259:2;30251:6;30247:15;30236:9;30229:34;30311:2;30303:6;30299:15;30294:2;30283:9;30279:18;30272:43;;30351:6;30346:2;30335:9;30331:18;30324:34;30394:3;30389:2;30378:9;30374:18;30367:31;30415:62;30472:3;30461:9;30457:19;30449:6;30441;30415:62;:::i;31199:275::-;31270:2;31264:9;31335:2;31316:13;;-1:-1:-1;;31312:27:1;31300:40;;-1:-1:-1;;;;;31355:34:1;;31391:22;;;31352:62;31349:2;;;31417:18;;:::i;:::-;31453:2;31446:22;31244:230;;-1:-1:-1;31244:230:1:o;31479:186::-;31527:4;-1:-1:-1;;;;;31552:6:1;31549:30;31546:2;;;31582:18;;:::i;:::-;-1:-1:-1;31648:2:1;31627:15;-1:-1:-1;;31623:29:1;31654:4;31619:40;;31536:129::o;31670:128::-;31710:3;31741:1;31737:6;31734:1;31731:13;31728:2;;;31747:18;;:::i;:::-;-1:-1:-1;31783:9:1;;31718:80::o;31803:120::-;31843:1;31869;31859:2;;31874:18;;:::i;:::-;-1:-1:-1;31908:9:1;;31849:74::o;31928:125::-;31968:4;31996:1;31993;31990:8;31987:2;;;32001:18;;:::i;:::-;-1:-1:-1;32038:9:1;;31977:76::o;32058:258::-;32130:1;32140:113;32154:6;32151:1;32148:13;32140:113;;;32230:11;;;32224:18;32211:11;;;32204:39;32176:2;32169:10;32140:113;;;32271:6;32268:1;32265:13;32262:2;;;-1:-1:-1;;32306:1:1;32288:16;;32281:27;32111:205::o;32321:380::-;32400:1;32396:12;;;;32443;;;32464:2;;32518:4;32510:6;32506:17;32496:27;;32464:2;32571;32563:6;32560:14;32540:18;32537:38;32534:2;;;32617:10;32612:3;32608:20;32605:1;32598:31;32652:4;32649:1;32642:15;32680:4;32677:1;32670:15;32534:2;;32376:325;;;:::o;32706:135::-;32745:3;-1:-1:-1;;32766:17:1;;32763:2;;;32786:18;;:::i;:::-;-1:-1:-1;32833:1:1;32822:13;;32753:88::o;32846:112::-;32878:1;32904;32894:2;;32909:18;;:::i;:::-;-1:-1:-1;32943:9:1;;32884:74::o;32963:127::-;33024:10;33019:3;33015:20;33012:1;33005:31;33055:4;33052:1;33045:15;33079:4;33076:1;33069:15;33095:127;33156:10;33151:3;33147:20;33144:1;33137:31;33187:4;33184:1;33177:15;33211:4;33208:1;33201:15;33227:127;33288:10;33283:3;33279:20;33276:1;33269:31;33319:4;33316:1;33309:15;33343:4;33340:1;33333:15;33359:131;-1:-1:-1;;;;;33434:31:1;;33424:42;;33414:2;;33480:1;33477;33470:12;33495:131;-1:-1:-1;;;;;;33569:32:1;;33559:43;;33549:2;;33616:1;33613;33606:12;33631:129;-1:-1:-1;;;;;33709:5:1;33705:30;33698:5;33695:41;33685:2;;33750:1;33747;33740:12

Swarm Source

ipfs://6da7989851680f7bfe6bb3ace95a126f1d79059f33ac005f32cba64d60a3aa70
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.