ETH Price: $3,399.97 (+1.01%)

Token

T Rex Sapiens Order (TREX)
 

Overview

Max Total Supply

5,959 TREX

Holders

1,136

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
15 TREX
0xc2e8240cab4457acb669eafc94448a6c1d483f95
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:
TRexSapiensOrder

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol

// 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/utils/Address.sol

// 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/token/ERC721/IERC721Receiver.sol

// 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/utils/introspection/IERC165.sol

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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol

// 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: @openzeppelin/contracts/token/ERC721/IERC721.sol

// 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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol

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

pragma solidity ^0.8.0;

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

// 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/security/ReentrancyGuard.sol

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/Context.sol

// 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: contracts/ERC721A.sol

pragma solidity ^0.8.4;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

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

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

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

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

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

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

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

// 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/TRexSapiensOrder.sol

pragma solidity ^0.8.0;

contract TRexSapiensOrder is Ownable, ERC721A, ReentrancyGuard {
    uint private MAX_SUPPLY = 5959;
    uint private constant MAX_PER_WALLET = 5;
    bytes32 public firstSaleMerkleRoot;
    mapping(address => uint256) public firstSaleClaimed;
    mapping(address => bool) public firstSaleClaimedChecker;
    bytes32 public secondSaleMerkleRoot;
    mapping(address => uint256) public secondSaleClaimed;
    mapping(address => bool) public secondSaleClaimedChecker;

    struct SaleConfig {
        uint32 publicSaleStartTime;
        uint64 firstSalePrice;
        uint64 secondSalePrice;
        uint64 publicPrice;
        uint32 publicSaleKey;
    }

    SaleConfig public saleConfig;

    constructor() ERC721A("T Rex Sapiens Order", "TREX") {}

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(totalSupply() + receivers.length <= MAX_SUPPLY, "MAX_MINT");
        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], 1);
        }
    }

    function reserveGiveaway(uint256 num, address walletAddress)
        public
        onlyOwner
    {
        require(totalSupply() + num <= MAX_SUPPLY, "Exceeds total supply");
        _safeMint(walletAddress, num);
    }

    function firstSaleMint(bytes32[] calldata _merkleProof, uint256 quantity) external payable callerIsUser {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, firstSaleMerkleRoot, leaf),
            "Invalid Merkle Proof.");
        uint256 price = uint256(saleConfig.firstSalePrice);
        require(price != 0, "sale has not begun yet");
        if (!firstSaleClaimedChecker[msg.sender]) {
            firstSaleClaimedChecker[msg.sender] = true;
            firstSaleClaimed[msg.sender] = MAX_SUPPLY;
        }
        require(firstSaleClaimed[msg.sender] > 0, "Address already minted num of tokens allowed");
        firstSaleClaimed[msg.sender] = firstSaleClaimed[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
        refundIfOver(price * quantity);
    }

    function secondSaleMint(bytes32[] calldata _merkleProof, uint256 quantity) external payable callerIsUser {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, secondSaleMerkleRoot, leaf),
            "Invalid Merkle Proof.");
        uint256 price = uint256(saleConfig.secondSalePrice);
        if (!secondSaleClaimedChecker[msg.sender]) {
            secondSaleClaimedChecker[msg.sender] = true;
            secondSaleClaimed[msg.sender] = 5;
        }
        require(secondSaleClaimed[msg.sender] > 0, "Address already minted num of tokens allowed");
        secondSaleClaimed[msg.sender] = secondSaleClaimed[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
        refundIfOver(price * quantity);
    }

    function publicSaleMint(uint256 quantity, uint256 callerPublicSaleKey)
        external
        payable
        callerIsUser
    {
        SaleConfig memory config = saleConfig;
        uint256 publicSaleKey = uint256(config.publicSaleKey);
        uint256 publicPrice = uint256(config.publicPrice);
        uint256 publicSaleStartTime = uint256(config.publicSaleStartTime);
        require(
            publicSaleKey == callerPublicSaleKey,
            "called with incorrect public sale key"
        );

        require(
            isPublicSaleOn(publicPrice, publicSaleKey, publicSaleStartTime),
            "public sale has not begun yet"
        );
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "reached max supply"
        );
        require(
            numberMinted(msg.sender) + quantity <= MAX_PER_WALLET,
            "this wallet cannot mint any more"
        );
        _safeMint(msg.sender, quantity);
        refundIfOver(publicPrice * quantity);
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "Need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function isPublicSaleOn(
        uint256 publicPriceWei,
        uint256 publicSaleKey,
        uint256 publicSaleStartTime
    ) public view returns (bool) {
        return
            publicPriceWei != 0 &&
            publicSaleKey != 0 &&
            block.timestamp >= publicSaleStartTime;
    }

    function setupSaleInfo(
        uint64 firstSalePriceWei,
        uint64 secondSalePriceWei,
        uint64 publicPriceWei,
        uint32 publicSaleStartTime
    ) external onlyOwner {
        saleConfig = SaleConfig(
            publicSaleStartTime,
            firstSalePriceWei,
            secondSalePriceWei,
            publicPriceWei,
            saleConfig.publicSaleKey
        );
    }

    function setPublicSaleKey(uint32 key) external onlyOwner {
        saleConfig.publicSaleKey = key;
    }

    function setPublicPrice(uint64 price) external onlyOwner {
        saleConfig.publicPrice = price;
    }

    function setFirstSalePrice(uint64 price) external onlyOwner {
        saleConfig.firstSalePrice = price;
    }

    function setSecondSalePrice(uint64 price) external onlyOwner {
        saleConfig.secondSalePrice = price;
    }

    function setPublicSaleStartTime(uint32 time) external onlyOwner {
        saleConfig.publicSaleStartTime = time;
    }

    function setFirstSaleMerkleRoot(bytes32 merkle_root) external onlyOwner {
        firstSaleMerkleRoot = merkle_root;
    }

    function setSecondSaleMerkleRoot(bytes32 merkle_root) external onlyOwner {
        secondSaleMerkleRoot = merkle_root;
    }

    function setMaxSupply(uint number) external onlyOwner {
        MAX_SUPPLY = number;
    }

    string private _baseTokenURI;

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdrawMoney() external nonReentrant {
        uint256 balance = address(this).balance;
        payable(0x2E6961aa4d7A31104b23E578DBf4764AD7a8E5ea).transfer(
            (balance * 84) / 100
        );
        payable(0x2521b63703e369324b1873C120c1daA3aaF2D1c5).transfer(
            (balance * 16) / 100
        );
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function getOwnershipData(uint256 tokenId)
        external
        view
        returns (TokenOwnership memory)
    {
        return ownershipOf(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"internalType":"address","name":"","type":"address"}],"name":"firstSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstSaleClaimedChecker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"firstSaleMint","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","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":"uint256","name":"publicPriceWei","type":"uint256"},{"internalType":"uint256","name":"publicSaleKey","type":"uint256"},{"internalType":"uint256","name":"publicSaleStartTime","type":"uint256"}],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"callerPublicSaleKey","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"reserveGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"firstSalePrice","type":"uint64"},{"internalType":"uint64","name":"secondSalePrice","type":"uint64"},{"internalType":"uint64","name":"publicPrice","type":"uint64"},{"internalType":"uint32","name":"publicSaleKey","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"secondSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"secondSaleClaimedChecker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"secondSaleMint","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkle_root","type":"bytes32"}],"name":"setFirstSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setFirstSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"number","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"key","type":"uint32"}],"name":"setPublicSaleKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"time","type":"uint32"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkle_root","type":"bytes32"}],"name":"setSecondSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setSecondSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"firstSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"secondSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"publicPriceWei","type":"uint64"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"}],"name":"setupSaleInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611747600a553480156200001757600080fd5b506040518060400160405280601381526020017f54205265782053617069656e73204f7264657200000000000000000000000000815250604051806040016040528060048152602001630a8a48ab60e31b815250620000856200007f620000c360201b60201c565b620000c7565b81516200009a90600390602085019062000117565b508051620000b090600490602084019062000117565b50506000600190815560095550620001fa565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200012590620001bd565b90600052602060002090601f01602090048101928262000149576000855562000194565b82601f106200016457805160ff191683800117855562000194565b8280016001018555821562000194579182015b828111156200019457825182559160200191906001019062000177565b50620001a2929150620001a6565b5090565b5b80821115620001a25760008155600101620001a7565b600181811c90821680620001d257607f821691505b60208210811415620001f457634e487b7160e01b600052602260045260246000fd5b50919050565b612a5f806200020a6000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063a22cb465116100b6578063cb91d8b31161007a578063cb91d8b3146107b2578063d8929c8b146107c5578063dc33e681146107e5578063e0e3f5ef14610805578063e985e9c514610832578063f2fde38b1461087b57600080fd5b8063a22cb4651461071d578063ac4460021461073d578063b88d4fde14610752578063bb3f683314610772578063c87b56dd1461079257600080fd5b80638da5cb5b116101085780638da5cb5b146105c957806390028083146105e757806390aa0b0f146106075780639231ab2a1461069257806395d89b41146106e85780639da1a34d146106fd57600080fd5b806370a08231146105215780637138f80d14610541578063715018a61461056e57806371d782d014610583578063899e6003146105b357600080fd5b80632bf59ba5116101dd57806355f804b3116101a157806355f804b31461046157806359cd09bb146104815780635fd84c28146104a15780636352211e146104c157806368010d6e146104e15780636f8b44b01461050157600080fd5b80632bf59ba5146103c85780633b438ad1146103db578063422030ba1461040b57806342842e0e1461042b57806352c4cbaf1461044b57600080fd5b8063101f027911610224578063101f027914610332578063163e1e611461035257806318160ddd1461037257806322c3f7af1461039557806323b872dd146103a857600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f05780630c29dbae14610312575b600080fd5b34801561026d57600080fd5b5061028161027c3660046122ce565b61089b565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6108ed565b60405161028d9190612343565b3480156102c457600080fd5b506102d86102d3366004612356565b61097f565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b36600461238b565b6109c3565b005b34801561031e57600080fd5b5061031061032d3660046123cc565b610a51565b34801561033e57600080fd5b5061031061034d3660046123cc565b610ab1565b34801561035e57600080fd5b5061031061036d366004612432565b610b08565b34801561037e57600080fd5b50600254600154035b60405190815260200161028d565b6103106103a3366004612473565b610bd4565b3480156103b457600080fd5b506103106103c33660046124be565b610d7e565b6103106103d6366004612473565b610d89565b3480156103e757600080fd5b506102816103f63660046124fa565b600d6020526000908152604090205460ff1681565b34801561041757600080fd5b50610281610426366004612515565b610f60565b34801561043757600080fd5b506103106104463660046124be565b610f84565b34801561045757600080fd5b50610387600b5481565b34801561046d57600080fd5b5061031061047c366004612541565b610f9f565b34801561048d57600080fd5b5061031061049c3660046125c6565b610fd5565b3480156104ad57600080fd5b506103106104bc36600461261a565b6110b9565b3480156104cd57600080fd5b506102d86104dc366004612356565b6110ff565b3480156104ed57600080fd5b506103106104fc366004612635565b611111565b34801561050d57600080fd5b5061031061051c366004612356565b6111a9565b34801561052d57600080fd5b5061038761053c3660046124fa565b6111d8565b34801561054d57600080fd5b5061038761055c3660046124fa565b600f6020526000908152604090205481565b34801561057a57600080fd5b50610310611226565b34801561058f57600080fd5b5061028161059e3660046124fa565b60106020526000908152604090205460ff1681565b3480156105bf57600080fd5b50610387600e5481565b3480156105d557600080fd5b506000546001600160a01b03166102d8565b3480156105f357600080fd5b5061031061060236600461261a565b61125c565b34801561061357600080fd5b506011546106579063ffffffff808216916001600160401b036401000000008204811692600160601b8304821692600160a01b810490921691600160e01b90041685565b6040805163ffffffff96871681526001600160401b03958616602082015293851690840152921660608201529116608082015260a00161028d565b34801561069e57600080fd5b506106b26106ad366004612356565b6112ab565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161028d565b3480156106f457600080fd5b506102ab6112d1565b34801561070957600080fd5b50610310610718366004612356565b6112e0565b34801561072957600080fd5b50610310610738366004612661565b61130f565b34801561074957600080fd5b506103106113a5565b34801561075e57600080fd5b5061031061076d3660046126b3565b6114b6565b34801561077e57600080fd5b5061031061078d3660046123cc565b611507565b34801561079e57600080fd5b506102ab6107ad366004612356565b611560565b6103106107c036600461278e565b6115e5565b3480156107d157600080fd5b506103106107e0366004612356565b6117fb565b3480156107f157600080fd5b506103876108003660046124fa565b61182a565b34801561081157600080fd5b506103876108203660046124fa565b600c6020526000908152604090205481565b34801561083e57600080fd5b5061028161084d3660046127b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561088757600080fd5b506103106108963660046124fa565b611835565b60006001600160e01b031982166380ac58cd60e01b14806108cc57506001600160e01b03198216635b5e139f60e01b145b806108e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108fc906127da565b80601f0160208091040260200160405190810160405280929190818152602001828054610928906127da565b80156109755780601f1061094a57610100808354040283529160200191610975565b820191906000526020600020905b81548152906001019060200180831161095857829003601f168201915b5050505050905090565b600061098a826118d0565b6109a7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ce826110ff565b9050806001600160a01b0316836001600160a01b03161415610a035760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a235750610a21813361084d565b155b15610a41576040516367d9dca160e11b815260040160405180910390fd5b610a4c8383836118fc565b505050565b6000546001600160a01b03163314610a845760405162461bcd60e51b8152600401610a7b90612815565b60405180910390fd5b601180546001600160401b03909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b6000546001600160a01b03163314610adb5760405162461bcd60e51b8152600401610a7b90612815565b601180546001600160401b03909216600160601b0267ffffffffffffffff60601b19909216919091179055565b6000546001600160a01b03163314610b325760405162461bcd60e51b8152600401610a7b90612815565b600a5481610b436002546001540390565b610b4d9190612860565b1115610b865760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b6044820152606401610a7b565b60005b81811015610a4c57610bc2838383818110610ba657610ba6612878565b9050602002016020810190610bbb91906124fa565b6001611958565b80610bcc8161288e565b915050610b89565b323314610bf35760405162461bcd60e51b8152600401610a7b906128a9565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610c6884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e549150849050611972565b610cac5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a7b565b60115433600090815260106020526040902054600160601b9091046001600160401b03169060ff16610d0157336000908152601060209081526040808320805460ff19166001179055600f9091529020600590555b336000908152600f6020526040902054610d2d5760405162461bcd60e51b8152600401610a7b906128e0565b336000908152600f6020526040902054610d4890849061292c565b336000818152600f6020526040902091909155610d659084611958565b610d77610d728483612943565b611988565b5050505050565b610a4c838383611a0f565b323314610da85760405162461bcd60e51b8152600401610a7b906128a9565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e1d84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611972565b610e615760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a7b565b60115464010000000090046001600160401b031680610ebb5760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610a7b565b336000908152600d602052604090205460ff16610efc57336000908152600d60209081526040808320805460ff19166001179055600a54600c909252909120555b336000908152600c6020526040902054610f285760405162461bcd60e51b8152600401610a7b906128e0565b336000908152600c6020526040902054610f4390849061292c565b336000818152600c6020526040902091909155610d659084611958565b60008315801590610f7057508215155b8015610f7c5750814210155b949350505050565b610a4c838383604051806020016040528060008152506114b6565b6000546001600160a01b03163314610fc95760405162461bcd60e51b8152600401610a7b90612815565b610a4c6012838361221f565b6000546001600160a01b03163314610fff5760405162461bcd60e51b8152600401610a7b90612815565b6040805160a08101825263ffffffff9283168082526001600160401b0396871660208301819052958716928201839052939095166060860181905260118054600160e01b80820490951660809098018890526001600160601b031916909417640100000000909502949094176fffffffffffffffffffffffffffffffff60601b1916600160601b90910267ffffffffffffffff60a01b191617600160a01b909302929092176001600160e01b031692909102919091179055565b6000546001600160a01b031633146110e35760405162461bcd60e51b8152600401610a7b90612815565b6011805463ffffffff191663ffffffff92909216919091179055565b600061110a82611c20565b5192915050565b6000546001600160a01b0316331461113b5760405162461bcd60e51b8152600401610a7b90612815565b600a548261114c6002546001540390565b6111569190612860565b111561119b5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a7b565b6111a58183611958565b5050565b6000546001600160a01b031633146111d35760405162461bcd60e51b8152600401610a7b90612815565b600a55565b60006001600160a01b038216611201576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146112505760405162461bcd60e51b8152600401610a7b90612815565b61125a6000611d3a565b565b6000546001600160a01b031633146112865760405162461bcd60e51b8152600401610a7b90612815565b6011805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b60408051606081018252600080825260208201819052918101919091526108e782611c20565b6060600480546108fc906127da565b6000546001600160a01b0316331461130a5760405162461bcd60e51b8152600401610a7b90612815565b600e55565b6001600160a01b0382163314156113395760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260095414156113f85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a7b565b600260095547732e6961aa4d7a31104b23e578dbf4764ad7a8e5ea6108fc6064611423846054612943565b61142d9190612978565b6040518115909202916000818181858888f19350505050158015611455573d6000803e3d6000fd5b50732521b63703e369324b1873c120c1daa3aaf2d1c56108fc606461147b846010612943565b6114859190612978565b6040518115909202916000818181858888f193505050501580156114ad573d6000803e3d6000fd5b50506001600955565b6114c1848484611a0f565b6001600160a01b0383163b151580156114e357506114e184848484611d8a565b155b15611501576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146115315760405162461bcd60e51b8152600401610a7b90612815565b601180546001600160401b03909216640100000000026bffffffffffffffff0000000019909216919091179055565b606061156b826118d0565b61158857604051630a14c4b560e41b815260040160405180910390fd5b6000611592611e72565b90508051600014156115b357604051806020016040528060008152506115de565b806115bd84611e81565b6040516020016115ce92919061298c565b6040516020818303038152906040525b9392505050565b3233146116045760405162461bcd60e51b8152600401610a7b906128a9565b6040805160a08101825260115463ffffffff8082168084526001600160401b03640100000000840481166020860152600160601b8404811695850195909552600160a01b830490941660608401819052600160e01b909204166080830181905291928483146116c35760405162461bcd60e51b815260206004820152602560248201527f63616c6c6564207769746820696e636f7272656374207075626c69632073616c60448201526465206b657960d81b6064820152608401610a7b565b6116ce828483610f60565b61171a5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a7b565b600a548661172b6002546001540390565b6117359190612860565b11156117785760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610a7b565b6005866117843361182a565b61178e9190612860565b11156117dc5760405162461bcd60e51b815260206004820181905260248201527f746869732077616c6c65742063616e6e6f74206d696e7420616e79206d6f72656044820152606401610a7b565b6117e63387611958565b6117f3610d728784612943565b505050505050565b6000546001600160a01b031633146118255760405162461bcd60e51b8152600401610a7b90612815565b600b55565b60006108e782611f7e565b6000546001600160a01b0316331461185f5760405162461bcd60e51b8152600401610a7b90612815565b6001600160a01b0381166118c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7b565b6118cd81611d3a565b50565b6000600154821080156108e7575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6111a5828260405180602001604052806000815250611fd3565b60008261197f8584611fe0565b14949350505050565b803410156119d15760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610a7b565b803411156118cd57336108fc6119e7833461292c565b6040518115909202916000818181858888f193505050501580156111a5573d6000803e3d6000fd5b6000611a1a82611c20565b80519091506000906001600160a01b0316336001600160a01b03161480611a4857508151611a48903361084d565b80611a63575033611a588461097f565b6001600160a01b0316145b905080611a8357604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611ab85760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611adf57604051633a954ecd60e21b815260040160405180910390fd5b611aef60008484600001516118fc565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611bd957600154811015611bd957825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d77565b604080516060810182526000808252602082018190529181019190915281600154811015611d2157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d1f5780516001600160a01b031615611cb6579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d1a579392505050565b611cb6565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dbf9033908990889088906004016129bb565b6020604051808303816000875af1925050508015611dfa575060408051601f3d908101601f19168201909252611df7918101906129f8565b60015b611e55573d808015611e28576040519150601f19603f3d011682016040523d82523d6000602084013e611e2d565b606091505b508051611e4d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601280546108fc906127da565b606081611ea55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ecf5780611eb98161288e565b9150611ec89050600a83612978565b9150611ea9565b6000816001600160401b03811115611ee957611ee961269d565b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415610f7c57611f2860018361292c565b9150611f35600a86612a15565b611f40906030612860565b60f81b818381518110611f5557611f55612878565b60200101906001600160f81b031916908160001a905350611f77600a86612978565b9450611f17565b60006001600160a01b038216611fa7576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b610a4c8383836001612054565b600081815b845181101561204c57600085828151811061200257612002612878565b602002602001015190508083116120285760008381526020829052604090209250612039565b600081815260208490526040902092505b50806120448161288e565b915050611fe5565b509392505050565b6001546001600160a01b03851661207d57604051622e076360e81b815260040160405180910390fd5b8361209b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561214757506001600160a01b0387163b15155b156121d0575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121986000888480600101955088611d8a565b6121b5576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561214d5782600154146121cb57600080fd5b612216565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156121d1575b50600155610d77565b82805461222b906127da565b90600052602060002090601f01602090048101928261224d5760008555612293565b82601f106122665782800160ff19823516178555612293565b82800160010185558215612293579182015b82811115612293578235825591602001919060010190612278565b5061229f9291506122a3565b5090565b5b8082111561229f57600081556001016122a4565b6001600160e01b0319811681146118cd57600080fd5b6000602082840312156122e057600080fd5b81356115de816122b8565b60005b838110156123065781810151838201526020016122ee565b838111156115015750506000910152565b6000815180845261232f8160208601602086016122eb565b601f01601f19169290920160200192915050565b6020815260006115de6020830184612317565b60006020828403121561236857600080fd5b5035919050565b80356001600160a01b038116811461238657600080fd5b919050565b6000806040838503121561239e57600080fd5b6123a78361236f565b946020939093013593505050565b80356001600160401b038116811461238657600080fd5b6000602082840312156123de57600080fd5b6115de826123b5565b60008083601f8401126123f957600080fd5b5081356001600160401b0381111561241057600080fd5b6020830191508360208260051b850101111561242b57600080fd5b9250929050565b6000806020838503121561244557600080fd5b82356001600160401b0381111561245b57600080fd5b612467858286016123e7565b90969095509350505050565b60008060006040848603121561248857600080fd5b83356001600160401b0381111561249e57600080fd5b6124aa868287016123e7565b909790965060209590950135949350505050565b6000806000606084860312156124d357600080fd5b6124dc8461236f565b92506124ea6020850161236f565b9150604084013590509250925092565b60006020828403121561250c57600080fd5b6115de8261236f565b60008060006060848603121561252a57600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561255457600080fd5b82356001600160401b038082111561256b57600080fd5b818501915085601f83011261257f57600080fd5b81358181111561258e57600080fd5b8660208285010111156125a057600080fd5b60209290920196919550909350505050565b803563ffffffff8116811461238657600080fd5b600080600080608085870312156125dc57600080fd5b6125e5856123b5565b93506125f3602086016123b5565b9250612601604086016123b5565b915061260f606086016125b2565b905092959194509250565b60006020828403121561262c57600080fd5b6115de826125b2565b6000806040838503121561264857600080fd5b823591506126586020840161236f565b90509250929050565b6000806040838503121561267457600080fd5b61267d8361236f565b91506020830135801515811461269257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156126c957600080fd5b6126d28561236f565b93506126e06020860161236f565b92506040850135915060608501356001600160401b038082111561270357600080fd5b818701915087601f83011261271757600080fd5b8135818111156127295761272961269d565b604051601f8201601f19908116603f011681019083821181831017156127515761275161269d565b816040528281528a602084870101111561276a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156127a157600080fd5b50508035926020909101359150565b600080604083850312156127c357600080fd5b6127cc8361236f565b91506126586020840161236f565b600181811c908216806127ee57607f821691505b6020821081141561280f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128735761287361284a565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156128a2576128a261284a565b5060010190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252602c908201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60408201526b1ad95b9cc8185b1b1bddd95960a21b606082015260800190565b60008282101561293e5761293e61284a565b500390565b600081600019048311821515161561295d5761295d61284a565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261298757612987612962565b500490565b6000835161299e8184602088016122eb565b8351908301906129b28183602088016122eb565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ee90830184612317565b9695505050505050565b600060208284031215612a0a57600080fd5b81516115de816122b8565b600082612a2457612a24612962565b50069056fea264697066735822122063bc6ee2a77a45c7c6261e862846fa7e44664a4eaceacecf258a78475df8ccfd64736f6c634300080b0033

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063a22cb465116100b6578063cb91d8b31161007a578063cb91d8b3146107b2578063d8929c8b146107c5578063dc33e681146107e5578063e0e3f5ef14610805578063e985e9c514610832578063f2fde38b1461087b57600080fd5b8063a22cb4651461071d578063ac4460021461073d578063b88d4fde14610752578063bb3f683314610772578063c87b56dd1461079257600080fd5b80638da5cb5b116101085780638da5cb5b146105c957806390028083146105e757806390aa0b0f146106075780639231ab2a1461069257806395d89b41146106e85780639da1a34d146106fd57600080fd5b806370a08231146105215780637138f80d14610541578063715018a61461056e57806371d782d014610583578063899e6003146105b357600080fd5b80632bf59ba5116101dd57806355f804b3116101a157806355f804b31461046157806359cd09bb146104815780635fd84c28146104a15780636352211e146104c157806368010d6e146104e15780636f8b44b01461050157600080fd5b80632bf59ba5146103c85780633b438ad1146103db578063422030ba1461040b57806342842e0e1461042b57806352c4cbaf1461044b57600080fd5b8063101f027911610224578063101f027914610332578063163e1e611461035257806318160ddd1461037257806322c3f7af1461039557806323b872dd146103a857600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f05780630c29dbae14610312575b600080fd5b34801561026d57600080fd5b5061028161027c3660046122ce565b61089b565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6108ed565b60405161028d9190612343565b3480156102c457600080fd5b506102d86102d3366004612356565b61097f565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b36600461238b565b6109c3565b005b34801561031e57600080fd5b5061031061032d3660046123cc565b610a51565b34801561033e57600080fd5b5061031061034d3660046123cc565b610ab1565b34801561035e57600080fd5b5061031061036d366004612432565b610b08565b34801561037e57600080fd5b50600254600154035b60405190815260200161028d565b6103106103a3366004612473565b610bd4565b3480156103b457600080fd5b506103106103c33660046124be565b610d7e565b6103106103d6366004612473565b610d89565b3480156103e757600080fd5b506102816103f63660046124fa565b600d6020526000908152604090205460ff1681565b34801561041757600080fd5b50610281610426366004612515565b610f60565b34801561043757600080fd5b506103106104463660046124be565b610f84565b34801561045757600080fd5b50610387600b5481565b34801561046d57600080fd5b5061031061047c366004612541565b610f9f565b34801561048d57600080fd5b5061031061049c3660046125c6565b610fd5565b3480156104ad57600080fd5b506103106104bc36600461261a565b6110b9565b3480156104cd57600080fd5b506102d86104dc366004612356565b6110ff565b3480156104ed57600080fd5b506103106104fc366004612635565b611111565b34801561050d57600080fd5b5061031061051c366004612356565b6111a9565b34801561052d57600080fd5b5061038761053c3660046124fa565b6111d8565b34801561054d57600080fd5b5061038761055c3660046124fa565b600f6020526000908152604090205481565b34801561057a57600080fd5b50610310611226565b34801561058f57600080fd5b5061028161059e3660046124fa565b60106020526000908152604090205460ff1681565b3480156105bf57600080fd5b50610387600e5481565b3480156105d557600080fd5b506000546001600160a01b03166102d8565b3480156105f357600080fd5b5061031061060236600461261a565b61125c565b34801561061357600080fd5b506011546106579063ffffffff808216916001600160401b036401000000008204811692600160601b8304821692600160a01b810490921691600160e01b90041685565b6040805163ffffffff96871681526001600160401b03958616602082015293851690840152921660608201529116608082015260a00161028d565b34801561069e57600080fd5b506106b26106ad366004612356565b6112ab565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161028d565b3480156106f457600080fd5b506102ab6112d1565b34801561070957600080fd5b50610310610718366004612356565b6112e0565b34801561072957600080fd5b50610310610738366004612661565b61130f565b34801561074957600080fd5b506103106113a5565b34801561075e57600080fd5b5061031061076d3660046126b3565b6114b6565b34801561077e57600080fd5b5061031061078d3660046123cc565b611507565b34801561079e57600080fd5b506102ab6107ad366004612356565b611560565b6103106107c036600461278e565b6115e5565b3480156107d157600080fd5b506103106107e0366004612356565b6117fb565b3480156107f157600080fd5b506103876108003660046124fa565b61182a565b34801561081157600080fd5b506103876108203660046124fa565b600c6020526000908152604090205481565b34801561083e57600080fd5b5061028161084d3660046127b0565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561088757600080fd5b506103106108963660046124fa565b611835565b60006001600160e01b031982166380ac58cd60e01b14806108cc57506001600160e01b03198216635b5e139f60e01b145b806108e757506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108fc906127da565b80601f0160208091040260200160405190810160405280929190818152602001828054610928906127da565b80156109755780601f1061094a57610100808354040283529160200191610975565b820191906000526020600020905b81548152906001019060200180831161095857829003601f168201915b5050505050905090565b600061098a826118d0565b6109a7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006109ce826110ff565b9050806001600160a01b0316836001600160a01b03161415610a035760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a235750610a21813361084d565b155b15610a41576040516367d9dca160e11b815260040160405180910390fd5b610a4c8383836118fc565b505050565b6000546001600160a01b03163314610a845760405162461bcd60e51b8152600401610a7b90612815565b60405180910390fd5b601180546001600160401b03909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b6000546001600160a01b03163314610adb5760405162461bcd60e51b8152600401610a7b90612815565b601180546001600160401b03909216600160601b0267ffffffffffffffff60601b19909216919091179055565b6000546001600160a01b03163314610b325760405162461bcd60e51b8152600401610a7b90612815565b600a5481610b436002546001540390565b610b4d9190612860565b1115610b865760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b6044820152606401610a7b565b60005b81811015610a4c57610bc2838383818110610ba657610ba6612878565b9050602002016020810190610bbb91906124fa565b6001611958565b80610bcc8161288e565b915050610b89565b323314610bf35760405162461bcd60e51b8152600401610a7b906128a9565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610c6884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600e549150849050611972565b610cac5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a7b565b60115433600090815260106020526040902054600160601b9091046001600160401b03169060ff16610d0157336000908152601060209081526040808320805460ff19166001179055600f9091529020600590555b336000908152600f6020526040902054610d2d5760405162461bcd60e51b8152600401610a7b906128e0565b336000908152600f6020526040902054610d4890849061292c565b336000818152600f6020526040902091909155610d659084611958565b610d77610d728483612943565b611988565b5050505050565b610a4c838383611a0f565b323314610da85760405162461bcd60e51b8152600401610a7b906128a9565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610e1d84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611972565b610e615760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a7b565b60115464010000000090046001600160401b031680610ebb5760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610a7b565b336000908152600d602052604090205460ff16610efc57336000908152600d60209081526040808320805460ff19166001179055600a54600c909252909120555b336000908152600c6020526040902054610f285760405162461bcd60e51b8152600401610a7b906128e0565b336000908152600c6020526040902054610f4390849061292c565b336000818152600c6020526040902091909155610d659084611958565b60008315801590610f7057508215155b8015610f7c5750814210155b949350505050565b610a4c838383604051806020016040528060008152506114b6565b6000546001600160a01b03163314610fc95760405162461bcd60e51b8152600401610a7b90612815565b610a4c6012838361221f565b6000546001600160a01b03163314610fff5760405162461bcd60e51b8152600401610a7b90612815565b6040805160a08101825263ffffffff9283168082526001600160401b0396871660208301819052958716928201839052939095166060860181905260118054600160e01b80820490951660809098018890526001600160601b031916909417640100000000909502949094176fffffffffffffffffffffffffffffffff60601b1916600160601b90910267ffffffffffffffff60a01b191617600160a01b909302929092176001600160e01b031692909102919091179055565b6000546001600160a01b031633146110e35760405162461bcd60e51b8152600401610a7b90612815565b6011805463ffffffff191663ffffffff92909216919091179055565b600061110a82611c20565b5192915050565b6000546001600160a01b0316331461113b5760405162461bcd60e51b8152600401610a7b90612815565b600a548261114c6002546001540390565b6111569190612860565b111561119b5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a7b565b6111a58183611958565b5050565b6000546001600160a01b031633146111d35760405162461bcd60e51b8152600401610a7b90612815565b600a55565b60006001600160a01b038216611201576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146112505760405162461bcd60e51b8152600401610a7b90612815565b61125a6000611d3a565b565b6000546001600160a01b031633146112865760405162461bcd60e51b8152600401610a7b90612815565b6011805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b60408051606081018252600080825260208201819052918101919091526108e782611c20565b6060600480546108fc906127da565b6000546001600160a01b0316331461130a5760405162461bcd60e51b8152600401610a7b90612815565b600e55565b6001600160a01b0382163314156113395760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600260095414156113f85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a7b565b600260095547732e6961aa4d7a31104b23e578dbf4764ad7a8e5ea6108fc6064611423846054612943565b61142d9190612978565b6040518115909202916000818181858888f19350505050158015611455573d6000803e3d6000fd5b50732521b63703e369324b1873c120c1daa3aaf2d1c56108fc606461147b846010612943565b6114859190612978565b6040518115909202916000818181858888f193505050501580156114ad573d6000803e3d6000fd5b50506001600955565b6114c1848484611a0f565b6001600160a01b0383163b151580156114e357506114e184848484611d8a565b155b15611501576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146115315760405162461bcd60e51b8152600401610a7b90612815565b601180546001600160401b03909216640100000000026bffffffffffffffff0000000019909216919091179055565b606061156b826118d0565b61158857604051630a14c4b560e41b815260040160405180910390fd5b6000611592611e72565b90508051600014156115b357604051806020016040528060008152506115de565b806115bd84611e81565b6040516020016115ce92919061298c565b6040516020818303038152906040525b9392505050565b3233146116045760405162461bcd60e51b8152600401610a7b906128a9565b6040805160a08101825260115463ffffffff8082168084526001600160401b03640100000000840481166020860152600160601b8404811695850195909552600160a01b830490941660608401819052600160e01b909204166080830181905291928483146116c35760405162461bcd60e51b815260206004820152602560248201527f63616c6c6564207769746820696e636f7272656374207075626c69632073616c60448201526465206b657960d81b6064820152608401610a7b565b6116ce828483610f60565b61171a5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a7b565b600a548661172b6002546001540390565b6117359190612860565b11156117785760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610a7b565b6005866117843361182a565b61178e9190612860565b11156117dc5760405162461bcd60e51b815260206004820181905260248201527f746869732077616c6c65742063616e6e6f74206d696e7420616e79206d6f72656044820152606401610a7b565b6117e63387611958565b6117f3610d728784612943565b505050505050565b6000546001600160a01b031633146118255760405162461bcd60e51b8152600401610a7b90612815565b600b55565b60006108e782611f7e565b6000546001600160a01b0316331461185f5760405162461bcd60e51b8152600401610a7b90612815565b6001600160a01b0381166118c45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a7b565b6118cd81611d3a565b50565b6000600154821080156108e7575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6111a5828260405180602001604052806000815250611fd3565b60008261197f8584611fe0565b14949350505050565b803410156119d15760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610a7b565b803411156118cd57336108fc6119e7833461292c565b6040518115909202916000818181858888f193505050501580156111a5573d6000803e3d6000fd5b6000611a1a82611c20565b80519091506000906001600160a01b0316336001600160a01b03161480611a4857508151611a48903361084d565b80611a63575033611a588461097f565b6001600160a01b0316145b905080611a8357604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611ab85760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611adf57604051633a954ecd60e21b815260040160405180910390fd5b611aef60008484600001516118fc565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611bd957600154811015611bd957825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610d77565b604080516060810182526000808252602082018190529181019190915281600154811015611d2157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611d1f5780516001600160a01b031615611cb6579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611d1a579392505050565b611cb6565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dbf9033908990889088906004016129bb565b6020604051808303816000875af1925050508015611dfa575060408051601f3d908101601f19168201909252611df7918101906129f8565b60015b611e55573d808015611e28576040519150601f19603f3d011682016040523d82523d6000602084013e611e2d565b606091505b508051611e4d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601280546108fc906127da565b606081611ea55750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ecf5780611eb98161288e565b9150611ec89050600a83612978565b9150611ea9565b6000816001600160401b03811115611ee957611ee961269d565b6040519080825280601f01601f191660200182016040528015611f13576020820181803683370190505b5090505b8415610f7c57611f2860018361292c565b9150611f35600a86612a15565b611f40906030612860565b60f81b818381518110611f5557611f55612878565b60200101906001600160f81b031916908160001a905350611f77600a86612978565b9450611f17565b60006001600160a01b038216611fa7576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b610a4c8383836001612054565b600081815b845181101561204c57600085828151811061200257612002612878565b602002602001015190508083116120285760008381526020829052604090209250612039565b600081815260208490526040902092505b50806120448161288e565b915050611fe5565b509392505050565b6001546001600160a01b03851661207d57604051622e076360e81b815260040160405180910390fd5b8361209b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561214757506001600160a01b0387163b15155b156121d0575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46121986000888480600101955088611d8a565b6121b5576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561214d5782600154146121cb57600080fd5b612216565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156121d1575b50600155610d77565b82805461222b906127da565b90600052602060002090601f01602090048101928261224d5760008555612293565b82601f106122665782800160ff19823516178555612293565b82800160010185558215612293579182015b82811115612293578235825591602001919060010190612278565b5061229f9291506122a3565b5090565b5b8082111561229f57600081556001016122a4565b6001600160e01b0319811681146118cd57600080fd5b6000602082840312156122e057600080fd5b81356115de816122b8565b60005b838110156123065781810151838201526020016122ee565b838111156115015750506000910152565b6000815180845261232f8160208601602086016122eb565b601f01601f19169290920160200192915050565b6020815260006115de6020830184612317565b60006020828403121561236857600080fd5b5035919050565b80356001600160a01b038116811461238657600080fd5b919050565b6000806040838503121561239e57600080fd5b6123a78361236f565b946020939093013593505050565b80356001600160401b038116811461238657600080fd5b6000602082840312156123de57600080fd5b6115de826123b5565b60008083601f8401126123f957600080fd5b5081356001600160401b0381111561241057600080fd5b6020830191508360208260051b850101111561242b57600080fd5b9250929050565b6000806020838503121561244557600080fd5b82356001600160401b0381111561245b57600080fd5b612467858286016123e7565b90969095509350505050565b60008060006040848603121561248857600080fd5b83356001600160401b0381111561249e57600080fd5b6124aa868287016123e7565b909790965060209590950135949350505050565b6000806000606084860312156124d357600080fd5b6124dc8461236f565b92506124ea6020850161236f565b9150604084013590509250925092565b60006020828403121561250c57600080fd5b6115de8261236f565b60008060006060848603121561252a57600080fd5b505081359360208301359350604090920135919050565b6000806020838503121561255457600080fd5b82356001600160401b038082111561256b57600080fd5b818501915085601f83011261257f57600080fd5b81358181111561258e57600080fd5b8660208285010111156125a057600080fd5b60209290920196919550909350505050565b803563ffffffff8116811461238657600080fd5b600080600080608085870312156125dc57600080fd5b6125e5856123b5565b93506125f3602086016123b5565b9250612601604086016123b5565b915061260f606086016125b2565b905092959194509250565b60006020828403121561262c57600080fd5b6115de826125b2565b6000806040838503121561264857600080fd5b823591506126586020840161236f565b90509250929050565b6000806040838503121561267457600080fd5b61267d8361236f565b91506020830135801515811461269257600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156126c957600080fd5b6126d28561236f565b93506126e06020860161236f565b92506040850135915060608501356001600160401b038082111561270357600080fd5b818701915087601f83011261271757600080fd5b8135818111156127295761272961269d565b604051601f8201601f19908116603f011681019083821181831017156127515761275161269d565b816040528281528a602084870101111561276a57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156127a157600080fd5b50508035926020909101359150565b600080604083850312156127c357600080fd5b6127cc8361236f565b91506126586020840161236f565b600181811c908216806127ee57607f821691505b6020821081141561280f57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156128735761287361284a565b500190565b634e487b7160e01b600052603260045260246000fd5b60006000198214156128a2576128a261284a565b5060010190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252602c908201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60408201526b1ad95b9cc8185b1b1bddd95960a21b606082015260800190565b60008282101561293e5761293e61284a565b500390565b600081600019048311821515161561295d5761295d61284a565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261298757612987612962565b500490565b6000835161299e8184602088016122eb565b8351908301906129b28183602088016122eb565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ee90830184612317565b9695505050505050565b600060208284031215612a0a57600080fd5b81516115de816122b8565b600082612a2457612a24612962565b50069056fea264697066735822122063bc6ee2a77a45c7c6261e862846fa7e44664a4eaceacecf258a78475df8ccfd64736f6c634300080b0033

Deployed Bytecode Sourcemap

50875:6950:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30810:305;;;;;;;;;;-1:-1:-1;30810:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;30810:305:0;;;;;;;;34195:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35698:204::-;;;;;;;;;;-1:-1:-1;35698:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;35698:204:0;1528:203:1;35261:371:0;;;;;;;;;;-1:-1:-1;35261:371:0;;;;;:::i;:::-;;:::i;:::-;;56064:106;;;;;;;;;;-1:-1:-1;56064:106:0;;;;;:::i;:::-;;:::i;56298:114::-;;;;;;;;;;-1:-1:-1;56298:114:0;;;;;:::i;:::-;;:::i;51781:259::-;;;;;;;;;;-1:-1:-1;51781:259:0;;;;;:::i;:::-;;:::i;30059:303::-;;;;;;;;;;-1:-1:-1;30313:12:0;;30297:13;;:28;30059:303;;;3498:25:1;;;3486:2;3471:18;30059:303:0;3352:177:1;53142:796:0;;;;;;:::i;:::-;;:::i;36563:170::-;;;;;;;;;;-1:-1:-1;36563:170:0;;;;;:::i;:::-;;:::i;52282:852::-;;;;;;:::i;:::-;;:::i;51128:55::-;;;;;;;;;;-1:-1:-1;51128:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;55216:309;;;;;;;;;;-1:-1:-1;55216:309:0;;;;;:::i;:::-;;:::i;36804:185::-;;;;;;;;;;-1:-1:-1;36804:185:0;;;;;:::i;:::-;;:::i;51029:34::-;;;;;;;;;;;;;;;;57073:106;;;;;;;;;;-1:-1:-1;57073:106:0;;;;;:::i;:::-;;:::i;55533:409::-;;;;;;;;;;-1:-1:-1;55533:409:0;;;;;:::i;:::-;;:::i;56420:120::-;;;;;;;;;;-1:-1:-1;56420:120:0;;;;;:::i;:::-;;:::i;34004:124::-;;;;;;;;;;-1:-1:-1;34004:124:0;;;;;:::i;:::-;;:::i;52048:226::-;;;;;;;;;;-1:-1:-1;52048:226:0;;;;;:::i;:::-;;:::i;56814:92::-;;;;;;;;;;-1:-1:-1;56814:92:0;;;;;:::i;:::-;;:::i;31179:206::-;;;;;;;;;;-1:-1:-1;31179:206:0;;;;;:::i;:::-;;:::i;51232:52::-;;;;;;;;;;-1:-1:-1;51232:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;49988:103;;;;;;;;;;;;;:::i;51291:56::-;;;;;;;;;;-1:-1:-1;51291:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;51190:35;;;;;;;;;;;;;;;;49337:87;;;;;;;;;;-1:-1:-1;49383:7:0;49410:6;-1:-1:-1;;;;;49410:6:0;49337:87;;55950:106;;;;;;;;;;-1:-1:-1;55950:106:0;;;;;:::i;:::-;;:::i;51552:28::-;;;;;;;;;;-1:-1:-1;51552:28:0;;;;;;;;;-1:-1:-1;;;;;51552:28:0;;;;;;-1:-1:-1;;;51552:28:0;;;;;-1:-1:-1;;;51552:28:0;;;;;;-1:-1:-1;;;51552:28:0;;;;;;;;;6949:10:1;6986:15;;;6968:34;;-1:-1:-1;;;;;7075:15:1;;;7070:2;7055:18;;7048:43;7127:15;;;7107:18;;;7100:43;7179:15;;7174:2;7159:18;;7152:43;7232:15;;7226:3;7211:19;;7204:44;6926:3;6911:19;51552:28:0;6690:564:1;57655:167:0;;;;;;;;;;-1:-1:-1;57655:167:0;;;;;:::i;:::-;;:::i;:::-;;;;7489:13:1;;-1:-1:-1;;;;;7485:39:1;7467:58;;7585:4;7573:17;;;7567:24;-1:-1:-1;;;;;7563:49:1;7541:20;;;7534:79;7671:17;;;7665:24;7658:32;7651:40;7629:20;;;7622:70;7455:2;7440:18;57655:167:0;7259:439:1;34364:104:0;;;;;;;;;;;;;:::i;56680:126::-;;;;;;;;;;-1:-1:-1;56680:126:0;;;;;:::i;:::-;;:::i;35974:287::-;;;;;;;;;;-1:-1:-1;35974:287:0;;;;;:::i;:::-;;:::i;57187:339::-;;;;;;;;;;;;;:::i;37060:369::-;;;;;;;;;;-1:-1:-1;37060:369:0;;;;;:::i;:::-;;:::i;56178:112::-;;;;;;;;;;-1:-1:-1;56178:112:0;;;;;:::i;:::-;;:::i;34539:318::-;;;;;;;;;;-1:-1:-1;34539:318:0;;;;;:::i;:::-;;:::i;53946:1030::-;;;;;;:::i;:::-;;:::i;56548:124::-;;;;;;;;;;-1:-1:-1;56548:124:0;;;;;:::i;:::-;;:::i;57534:113::-;;;;;;;;;;-1:-1:-1;57534:113:0;;;;;:::i;:::-;;:::i;51070:51::-;;;;;;;;;;-1:-1:-1;51070:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;36332:164;;;;;;;;;;-1:-1:-1;36332:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36453:25:0;;;36429:4;36453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36332:164;50246:201;;;;;;;;;;-1:-1:-1;50246:201:0;;;;;:::i;:::-;;:::i;30810:305::-;30912:4;-1:-1:-1;;;;;;30949:40:0;;-1:-1:-1;;;30949:40:0;;:105;;-1:-1:-1;;;;;;;31006:48:0;;-1:-1:-1;;;31006:48:0;30949:105;:158;;;-1:-1:-1;;;;;;;;;;15926:40:0;;;31071:36;30929:178;30810:305;-1:-1:-1;;30810:305:0:o;34195:100::-;34249:13;34282:5;34275:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34195:100;:::o;35698:204::-;35766:7;35791:16;35799:7;35791;:16::i;:::-;35786:64;;35816:34;;-1:-1:-1;;;35816:34:0;;;;;;;;;;;35786:64;-1:-1:-1;35870:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35870:24:0;;35698:204::o;35261:371::-;35334:13;35350:24;35366:7;35350:15;:24::i;:::-;35334:40;;35395:5;-1:-1:-1;;;;;35389:11:0;:2;-1:-1:-1;;;;;35389:11:0;;35385:48;;;35409:24;;-1:-1:-1;;;35409:24:0;;;;;;;;;;;35385:48;26238:10;-1:-1:-1;;;;;35450:21:0;;;;;;:63;;-1:-1:-1;35476:37:0;35493:5;26238:10;36332:164;:::i;35476:37::-;35475:38;35450:63;35446:138;;;35537:35;;-1:-1:-1;;;35537:35:0;;;;;;;;;;;35446:138;35596:28;35605:2;35609:7;35618:5;35596:8;:28::i;:::-;35323:309;35261:371;;:::o;56064:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;;;;;;;;;56132:10:::1;:30:::0;;-1:-1:-1;;;;;56132:30:0;;::::1;-1:-1:-1::0;;;56132:30:0::1;-1:-1:-1::0;;;;56132:30:0;;::::1;::::0;;;::::1;::::0;;56064:106::o;56298:114::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56370:10:::1;:34:::0;;-1:-1:-1;;;;;56370:34:0;;::::1;-1:-1:-1::0;;;56370:34:0::1;-1:-1:-1::0;;;;56370:34:0;;::::1;::::0;;;::::1;::::0;;56298:114::o;51781:259::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;51899:10:::1;::::0;51879:9;51863:13:::1;30313:12:::0;;30297:13;;:28;;30059:303;51863:13:::1;:32;;;;:::i;:::-;:46;;51855:67;;;::::0;-1:-1:-1;;;51855:67:0;;11246:2:1;51855:67:0::1;::::0;::::1;11228:21:1::0;11285:1;11265:18;;;11258:29;-1:-1:-1;;;11303:18:1;;;11296:38;11351:18;;51855:67:0::1;11044:331:1::0;51855:67:0::1;51938:9;51933:100;51953:20:::0;;::::1;51933:100;;;51995:26;52005:9;;52015:1;52005:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;52019:1;51995:9;:26::i;:::-;51975:3:::0;::::1;::::0;::::1;:::i;:::-;;;;51933:100;;53142:796:::0;51695:9;51708:10;51695:23;51687:66;;;;-1:-1:-1;;;51687:66:0;;;;;;;:::i;:::-;53283:28:::1;::::0;-1:-1:-1;;;;;;53300:10:0::1;12160:2:1::0;12156:15;12152:53;53283:28:0::1;::::0;::::1;12140:66:1::0;53258:12:0::1;::::0;12222::1;;53283:28:0::1;;;;;;;;;;;;53273:39;;;;;;53258:54;;53331:60;53350:12;;53331:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;53364:20:0::1;::::0;;-1:-1:-1;53386:4:0;;-1:-1:-1;53331:18:0::1;:60::i;:::-;53323:107;;;::::0;-1:-1:-1;;;53323:107:0;;12447:2:1;53323:107:0::1;::::0;::::1;12429:21:1::0;12486:2;12466:18;;;12459:30;-1:-1:-1;;;12505:18:1;;;12498:51;12566:18;;53323:107:0::1;12245:345:1::0;53323:107:0::1;53465:10;:26:::0;53533:10:::1;53441:13;53508:36:::0;;;:24:::1;:36;::::0;;;;;-1:-1:-1;;;53465:26:0;;::::1;-1:-1:-1::0;;;;;53465:26:0::1;::::0;53508:36:::1;;53503:161;;53586:10;53561:36;::::0;;;:24:::1;:36;::::0;;;;;;;:43;;-1:-1:-1;;53561:43:0::1;53600:4;53561:43;::::0;;53619:17:::1;:29:::0;;;;;53651:1:::1;53619:33:::0;;53503:161:::1;53700:10;53714:1;53682:29:::0;;;:17:::1;:29;::::0;;;;;53674:90:::1;;;;-1:-1:-1::0;;;53674:90:0::1;;;;;;;:::i;:::-;53825:10;53807:29;::::0;;;:17:::1;:29;::::0;;;;;:40:::1;::::0;53839:8;;53807:40:::1;:::i;:::-;53793:10;53775:29;::::0;;;:17:::1;:29;::::0;;;;:72;;;;53858:31:::1;::::0;53880:8;53858:9:::1;:31::i;:::-;53900:30;53913:16;53921:8:::0;53913:5;:16:::1;:::i;:::-;53900:12;:30::i;:::-;53247:691;;53142:796:::0;;;:::o;36563:170::-;36697:28;36707:4;36713:2;36717:7;36697:9;:28::i;52282:852::-;51695:9;51708:10;51695:23;51687:66;;;;-1:-1:-1;;;51687:66:0;;;;;;;:::i;:::-;52422:28:::1;::::0;-1:-1:-1;;;;;;52439:10:0::1;12160:2:1::0;12156:15;12152:53;52422:28:0::1;::::0;::::1;12140:66:1::0;52397:12:0::1;::::0;12222::1;;52422:28:0::1;;;;;;;;;;;;52412:39;;;;;;52397:54;;52470:59;52489:12;;52470:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;52503:19:0::1;::::0;;-1:-1:-1;52524:4:0;;-1:-1:-1;52470:18:0::1;:59::i;:::-;52462:106;;;::::0;-1:-1:-1;;;52462:106:0;;12447:2:1;52462:106:0::1;::::0;::::1;12429:21:1::0;12486:2;12466:18;;;12459:30;-1:-1:-1;;;12505:18:1;;;12498:51;12566:18;;52462:106:0::1;12245:345:1::0;52462:106:0::1;52603:10;:25:::0;;;::::1;-1:-1:-1::0;;;;;52603:25:0::1;::::0;52640:45:::1;;;::::0;-1:-1:-1;;;52640:45:0;;13513:2:1;52640:45:0::1;::::0;::::1;13495:21:1::0;13552:2;13532:18;;;13525:30;-1:-1:-1;;;13571:18:1;;;13564:52;13633:18;;52640:45:0::1;13311:346:1::0;52640:45:0::1;52725:10;52701:35;::::0;;;:23:::1;:35;::::0;;;;;::::1;;52696:167;;52777:10;52753:35;::::0;;;:23:::1;:35;::::0;;;;;;;:42;;-1:-1:-1;;52753:42:0::1;52791:4;52753:42;::::0;;52841:10:::1;::::0;52810:16:::1;:28:::0;;;;;;:41;52696:167:::1;52898:10;52912:1;52881:28:::0;;;:16:::1;:28;::::0;;;;;52873:89:::1;;;;-1:-1:-1::0;;;52873:89:0::1;;;;;;;:::i;:::-;53021:10;53004:28;::::0;;;:16:::1;:28;::::0;;;;;:39:::1;::::0;53035:8;;53004:39:::1;:::i;:::-;52990:10;52973:28;::::0;;;:16:::1;:28;::::0;;;;:70;;;;53054:31:::1;::::0;53076:8;53054:9:::1;:31::i;55216:309::-:0;55371:4;55408:19;;;;;:54;;-1:-1:-1;55444:18:0;;;55408:54;:109;;;;;55498:19;55479:15;:38;;55408:109;55388:129;55216:309;-1:-1:-1;;;;55216:309:0:o;36804:185::-;36942:39;36959:4;36965:2;36969:7;36942:39;;;;;;;;;;;;:16;:39::i;57073:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;57148:23:::1;:13;57164:7:::0;;57148:23:::1;:::i;55533:409::-:0;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;55746:188:::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;55746:188:0;;::::1;;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;55899:10:::1;:24:::0;;-1:-1:-1;;;55899:24:0;;::::1;::::0;;::::1;55746:188:::0;;;;;;;-1:-1:-1;;;;;;55733:201:0;;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;55733:201:0;-1:-1:-1;;;55733:201:0;;::::1;-1:-1:-1::0;;;;55733:201:0;;-1:-1:-1;;;55733:201:0;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;55733:201:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;55533:409::o;56420:120::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56495:10:::1;:37:::0;;-1:-1:-1;;56495:37:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;56420:120::o;34004:124::-;34068:7;34095:20;34107:7;34095:11;:20::i;:::-;:25;;34004:124;-1:-1:-1;;34004:124:0:o;52048:226::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;52191:10:::1;;52184:3;52168:13;30313:12:::0;;30297:13;;:28;;30059:303;52168:13:::1;:19;;;;:::i;:::-;:33;;52160:66;;;::::0;-1:-1:-1;;;52160:66:0;;13864:2:1;52160:66:0::1;::::0;::::1;13846:21:1::0;13903:2;13883:18;;;13876:30;-1:-1:-1;;;13922:18:1;;;13915:50;13982:18;;52160:66:0::1;13662:344:1::0;52160:66:0::1;52237:29;52247:13;52262:3;52237:9;:29::i;:::-;52048:226:::0;;:::o;56814:92::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56879:10:::1;:19:::0;56814:92::o;31179:206::-;31243:7;-1:-1:-1;;;;;31267:19:0;;31263:60;;31295:28;;-1:-1:-1;;;31295:28:0;;;;;;;;;;;31263:60;-1:-1:-1;;;;;;31349:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31349:27:0;;31179:206::o;49988:103::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;50053:30:::1;50080:1;50053:18;:30::i;:::-;49988:103::o:0;55950:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56018:10:::1;:30:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;56018:30:0::1;-1:-1:-1::0;;;;;56018:30:0;;::::1;::::0;;;::::1;::::0;;55950:106::o;57655:167::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;57794:20:0;57806:7;57794:11;:20::i;34364:104::-;34420:13;34453:7;34446:14;;;;;:::i;56680:126::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56764:20:::1;:34:::0;56680:126::o;35974:287::-;-1:-1:-1;;;;;36073:24:0;;26238:10;36073:24;36069:54;;;36106:17;;-1:-1:-1;;;36106:17:0;;;;;;;;;;;36069:54;26238:10;36136:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36136:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36136:53:0;;;;;;;;;;36205:48;;540:41:1;;;36136:42:0;;26238:10;36205:48;;513:18:1;36205:48:0;;;;;;;35974:287;;:::o;57187:339::-;24534:1;25132:7;;:19;;25124:63;;;;-1:-1:-1;;;25124:63:0;;14213:2:1;25124:63:0;;;14195:21:1;14252:2;14232:18;;;14225:30;14291:33;14271:18;;;14264:61;14342:18;;25124:63:0;14011:355:1;25124:63:0;24534:1;25265:7;:18;57263:21:::1;57303:42;57295:106;57387:3;57371:12;57263:21:::0;57381:2:::1;57371:12;:::i;:::-;57370:20;;;;:::i;:::-;57295:106;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;57420:42:0::1;57412:106;57504:3;57488:12;:7:::0;57498:2:::1;57488:12;:::i;:::-;57487:20;;;;:::i;:::-;57412:106;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;24490:1:0;25444:7;:22;57187:339::o;37060:369::-;37227:28;37237:4;37243:2;37247:7;37227:9;:28::i;:::-;-1:-1:-1;;;;;37270:13:0;;6035:19;:23;;37270:76;;;;;37290:56;37321:4;37327:2;37331:7;37340:5;37290:30;:56::i;:::-;37289:57;37270:76;37266:156;;;37370:40;;-1:-1:-1;;;37370:40:0;;;;;;;;;;;37266:156;37060:369;;;;:::o;56178:112::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56249:10:::1;:33:::0;;-1:-1:-1;;;;;56249:33:0;;::::1;::::0;::::1;-1:-1:-1::0;;56249:33:0;;::::1;::::0;;;::::1;::::0;;56178:112::o;34539:318::-;34612:13;34643:16;34651:7;34643;:16::i;:::-;34638:59;;34668:29;;-1:-1:-1;;;34668:29:0;;;;;;;;;;;34638:59;34710:21;34734:10;:8;:10::i;:::-;34710:34;;34768:7;34762:21;34787:1;34762:26;;:87;;;;;;;;;;;;;;;;;34815:7;34824:18;:7;:16;:18::i;:::-;34798:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;34762:87;34755:94;34539:318;-1:-1:-1;;;34539:318:0:o;53946:1030::-;51695:9;51708:10;51695:23;51687:66;;;;-1:-1:-1;;;51687:66:0;;;;;;;:::i;:::-;54090:37:::1;::::0;;::::1;::::0;::::1;::::0;;54117:10:::1;54090:37:::0;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;54090:37:0;;::::1;::::0;::::1;;::::0;::::1;::::0;-1:-1:-1;;;54090:37:0;::::1;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;54090:37:0;::::1;::::0;;::::1;::::0;;;;;;-1:-1:-1;;;54090:37:0;;::::1;;::::0;;;;;;;;54360:36;;::::1;54338:123;;;::::0;-1:-1:-1;;;54338:123:0;;15305:2:1;54338:123:0::1;::::0;::::1;15287:21:1::0;15344:2;15324:18;;;15317:30;15383:34;15363:18;;;15356:62;-1:-1:-1;;;15434:18:1;;;15427:35;15479:19;;54338:123:0::1;15103:401:1::0;54338:123:0::1;54496:63;54511:11;54524:13;54539:19;54496:14;:63::i;:::-;54474:142;;;::::0;-1:-1:-1;;;54474:142:0;;15711:2:1;54474:142:0::1;::::0;::::1;15693:21:1::0;15750:2;15730:18;;;15723:30;15789:31;15769:18;;;15762:59;15838:18;;54474:142:0::1;15509:353:1::0;54474:142:0::1;54677:10;;54665:8;54649:13;30313:12:::0;;30297:13;;:28;;30059:303;54649:13:::1;:24;;;;:::i;:::-;:38;;54627:106;;;::::0;-1:-1:-1;;;54627:106:0;;16069:2:1;54627:106:0::1;::::0;::::1;16051:21:1::0;16108:2;16088:18;;;16081:30;-1:-1:-1;;;16127:18:1;;;16120:48;16185:18;;54627:106:0::1;15867:342:1::0;54627:106:0::1;51021:1;54793:8;54766:24;54779:10;54766:12;:24::i;:::-;:35;;;;:::i;:::-;:53;;54744:135;;;::::0;-1:-1:-1;;;54744:135:0;;16416:2:1;54744:135:0::1;::::0;::::1;16398:21:1::0;;;16435:18;;;16428:30;16494:34;16474:18;;;16467:62;16546:18;;54744:135:0::1;16214:356:1::0;54744:135:0::1;54890:31;54900:10;54912:8;54890:9;:31::i;:::-;54932:36;54945:22;54959:8:::0;54945:11;:22:::1;:::i;54932:36::-;54079:897;;;;53946:1030:::0;;:::o;56548:124::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56631:19:::1;:33:::0;56548:124::o;57534:113::-;57592:7;57619:20;57633:5;57619:13;:20::i;50246:201::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50335:22:0;::::1;50327:73;;;::::0;-1:-1:-1;;;50327:73:0;;16777:2:1;50327:73:0::1;::::0;::::1;16759:21:1::0;16816:2;16796:18;;;16789:30;16855:34;16835:18;;;16828:62;-1:-1:-1;;;16906:18:1;;;16899:36;16952:19;;50327:73:0::1;16575:402:1::0;50327:73:0::1;50411:28;50430:8;50411:18;:28::i;:::-;50246:201:::0;:::o;37684:187::-;37741:4;37805:13;;37795:7;:23;37765:98;;;;-1:-1:-1;;37836:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;37836:27:0;;;;37835:28;;37684:187::o;45295:196::-;45410:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45410:29:0;-1:-1:-1;;;;;45410:29:0;;;;;;;;;45455:28;;45410:24;;45455:28;;;;;;;45295:196;;;:::o;37879:104::-;37948:27;37958:2;37962:8;37948:27;;;;;;;;;;;;:9;:27::i;921:190::-;1046:4;1099;1070:25;1083:5;1090:4;1070:12;:25::i;:::-;:33;;921:190;-1:-1:-1;;;;921:190:0:o;54984:224::-;55061:5;55048:9;:18;;55040:53;;;;-1:-1:-1;;;55040:53:0;;17184:2:1;55040:53:0;;;17166:21:1;17223:2;17203:18;;;17196:30;-1:-1:-1;;;17242:18:1;;;17235:52;17304:18;;55040:53:0;16982:346:1;55040:53:0;55120:5;55108:9;:17;55104:97;;;55150:10;55142:47;55171:17;55183:5;55171:9;:17;:::i;:::-;55142:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40797:2112;40912:35;40950:20;40962:7;40950:11;:20::i;:::-;41025:18;;40912:58;;-1:-1:-1;40983:22:0;;-1:-1:-1;;;;;41009:34:0;26238:10;-1:-1:-1;;;;;41009:34:0;;:101;;;-1:-1:-1;41077:18:0;;41060:50;;26238:10;36332:164;:::i;41060:50::-;41009:154;;;-1:-1:-1;26238:10:0;41127:20;41139:7;41127:11;:20::i;:::-;-1:-1:-1;;;;;41127:36:0;;41009:154;40983:181;;41182:17;41177:66;;41208:35;;-1:-1:-1;;;41208:35:0;;;;;;;;;;;41177:66;41280:4;-1:-1:-1;;;;;41258:26:0;:13;:18;;;-1:-1:-1;;;;;41258:26:0;;41254:67;;41293:28;;-1:-1:-1;;;41293:28:0;;;;;;;;;;;41254:67;-1:-1:-1;;;;;41336:16:0;;41332:52;;41361:23;;-1:-1:-1;;;41361:23:0;;;;;;;;;;;41332:52;41505:49;41522:1;41526:7;41535:13;:18;;;41505:8;:49::i;:::-;-1:-1:-1;;;;;41850:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;41850:31:0;;;-1:-1:-1;;;;;41850:31:0;;;-1:-1:-1;;41850:31:0;;;;;;;41896:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;41896:29:0;;;;;;;;;;;41942:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;41987:61:0;;;;-1:-1:-1;;;42032:15:0;41987:61;;;;;;;;;;;42322:11;;;42352:24;;;;;:29;42322:11;;42352:29;42348:445;;42577:13;;42563:11;:27;42559:219;;;42647:18;;;42615:24;;;:11;:24;;;;;;;;:50;;42730:28;;;;-1:-1:-1;;;;;42688:70:0;-1:-1:-1;;;42688:70:0;-1:-1:-1;;;;;;42688:70:0;;;-1:-1:-1;;;;;42615:50:0;;;42688:70;;;;;;;42559:219;41825:979;42840:7;42836:2;-1:-1:-1;;;;;42821:27:0;42830:4;-1:-1:-1;;;;;42821:27:0;;;;;;;;;;;42859:42;37060:369;32834:1108;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;32944:7:0;33027:13;;33020:4;:20;32989:886;;;33061:31;33095:17;;;:11;:17;;;;;;;;;33061:51;;;;;;;;;-1:-1:-1;;;;;33061:51:0;;;;-1:-1:-1;;;33061:51:0;;-1:-1:-1;;;;;33061:51:0;;;;;;;;-1:-1:-1;;;33061:51:0;;;;;;;;;;;;;;33131:729;;33181:14;;-1:-1:-1;;;;;33181:28:0;;33177:101;;33245:9;32834:1108;-1:-1:-1;;;32834:1108:0:o;33177:101::-;-1:-1:-1;;;33620:6:0;33665:17;;;;:11;:17;;;;;;;;;33653:29;;;;;;;;;-1:-1:-1;;;;;33653:29:0;;;;;-1:-1:-1;;;33653:29:0;;-1:-1:-1;;;;;33653:29:0;;;;;;;;-1:-1:-1;;;33653:29:0;;;;;;;;;;;;;33713:28;33709:109;;33781:9;32834:1108;-1:-1:-1;;;32834:1108:0:o;33709:109::-;33580:261;;;33042:833;32989:886;33903:31;;-1:-1:-1;;;33903:31:0;;;;;;;;;;;50607:191;50681:16;50700:6;;-1:-1:-1;;;;;50717:17:0;;;-1:-1:-1;;;;;;50717:17:0;;;;;;50750:40;;50700:6;;;;;;;50750:40;;50681:16;50750:40;50670:128;50607:191;:::o;45983:667::-;46167:72;;-1:-1:-1;;;46167:72:0;;46146:4;;-1:-1:-1;;;;;46167:36:0;;;;;:72;;26238:10;;46218:4;;46224:7;;46233:5;;46167:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46167:72:0;;;;;;;;-1:-1:-1;;46167:72:0;;;;;;;;;;;;:::i;:::-;;;46163:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46401:13:0;;46397:235;;46447:40;;-1:-1:-1;;;46447:40:0;;;;;;;;;;;46397:235;46590:6;46584:13;46575:6;46571:2;46567:15;46560:38;46163:480;-1:-1:-1;;;;;;46286:55:0;-1:-1:-1;;;46286:55:0;;-1:-1:-1;45983:667:0;;;;;;:::o;56951:114::-;57011:13;57044;57037:20;;;;;:::i;2750:723::-;2806:13;3027:10;3023:53;;-1:-1:-1;;3054:10:0;;;;;;;;;;;;-1:-1:-1;;;3054:10:0;;;;;2750:723::o;3023:53::-;3101:5;3086:12;3142:78;3149:9;;3142:78;;3175:8;;;;:::i;:::-;;-1:-1:-1;3198:10:0;;-1:-1:-1;3206:2:0;3198:10;;:::i;:::-;;;3142:78;;;3230:19;3262:6;-1:-1:-1;;;;;3252:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3252:17:0;;3230:39;;3280:154;3287:10;;3280:154;;3314:11;3324:1;3314:11;;:::i;:::-;;-1:-1:-1;3383:10:0;3391:2;3383:5;:10;:::i;:::-;3370:24;;:2;:24;:::i;:::-;3357:39;;3340:6;3347;3340:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3340:56:0;;;;;;;;-1:-1:-1;3411:11:0;3420:2;3411:11;;:::i;:::-;;;3280:154;;31467:207;31528:7;-1:-1:-1;;;;;31552:19:0;;31548:59;;31580:27;;-1:-1:-1;;;31580:27:0;;;;;;;;;;;31548:59;-1:-1:-1;;;;;;31633:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;31633:32:0;;-1:-1:-1;;;;;31633:32:0;;31467:207::o;38346:163::-;38469:32;38475:2;38479:8;38489:5;38496:4;38469:5;:32::i;1473:675::-;1556:7;1599:4;1556:7;1614:497;1638:5;:12;1634:1;:16;1614:497;;;1672:20;1695:5;1701:1;1695:8;;;;;;;;:::i;:::-;;;;;;;1672:31;;1738:12;1722;:28;1718:382;;2224:13;2274:15;;;2310:4;2303:15;;;2357:4;2341:21;;1850:57;;1718:382;;;2224:13;2274:15;;;2310:4;2303:15;;;2357:4;2341:21;;2027:57;;1718:382;-1:-1:-1;1652:3:0;;;;:::i;:::-;;;;1614:497;;;-1:-1:-1;2128:12:0;1473:675;-1:-1:-1;;;1473:675:0:o;38768:1775::-;38930:13;;-1:-1:-1;;;;;38958:16:0;;38954:48;;38983:19;;-1:-1:-1;;;38983:19:0;;;;;;;;;;;38954:48;39017:13;39013:44;;39039:18;;-1:-1:-1;;;39039:18:0;;;;;;;;;;;39013:44;-1:-1:-1;;;;;39408:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39467:49:0;;-1:-1:-1;;;;;39408:44:0;;;;;;;39467:49;;;-1:-1:-1;;;;;39408:44:0;;;;;;39467:49;;;;;;;;;;;;;;;;39533:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39583:66:0;;;;-1:-1:-1;;;39633:15:0;39583:66;;;;;;;;;;39533:25;39730:23;;;39774:4;:23;;;;-1:-1:-1;;;;;;39782:13:0;;6035:19;:23;;39782:15;39770:641;;;39818:314;39849:38;;39874:12;;-1:-1:-1;;;;;39849:38:0;;;39866:1;;39849:38;;39866:1;;39849:38;39915:69;39954:1;39958:2;39962:14;;;;;;39978:5;39915:30;:69::i;:::-;39910:174;;40020:40;;-1:-1:-1;;;40020:40:0;;;;;;;;;;;39910:174;40127:3;40111:12;:19;;39818:314;;40213:12;40196:13;;:29;40192:43;;40227:8;;;40192:43;39770:641;;;40276:120;40307:40;;40332:14;;;;;-1:-1:-1;;;;;40307:40:0;;;40324:1;;40307:40;;40324:1;;40307:40;40391:3;40375:12;:19;;40276:120;;39770:641;-1:-1:-1;40425:13:0;:28;40475:60;37060:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2173:171::-;2240:20;;-1:-1:-1;;;;;2289:30:1;;2279:41;;2269:69;;2334:1;2331;2324:12;2349:184;2407:6;2460:2;2448:9;2439:7;2435:23;2431:32;2428:52;;;2476:1;2473;2466:12;2428:52;2499:28;2517:9;2499:28;:::i;2538:367::-;2601:8;2611:6;2665:3;2658:4;2650:6;2646:17;2642:27;2632:55;;2683:1;2680;2673:12;2632:55;-1:-1:-1;2706:20:1;;-1:-1:-1;;;;;2738:30:1;;2735:50;;;2781:1;2778;2771:12;2735:50;2818:4;2810:6;2806:17;2794:29;;2878:3;2871:4;2861:6;2858:1;2854:14;2846:6;2842:27;2838:38;2835:47;2832:67;;;2895:1;2892;2885:12;2832:67;2538:367;;;;;:::o;2910:437::-;2996:6;3004;3057:2;3045:9;3036:7;3032:23;3028:32;3025:52;;;3073:1;3070;3063:12;3025:52;3113:9;3100:23;-1:-1:-1;;;;;3138:6:1;3135:30;3132:50;;;3178:1;3175;3168:12;3132:50;3217:70;3279:7;3270:6;3259:9;3255:22;3217:70;:::i;:::-;3306:8;;3191:96;;-1:-1:-1;2910:437:1;-1:-1:-1;;;;2910:437:1:o;3534:505::-;3629:6;3637;3645;3698:2;3686:9;3677:7;3673:23;3669:32;3666:52;;;3714:1;3711;3704:12;3666:52;3754:9;3741:23;-1:-1:-1;;;;;3779:6:1;3776:30;3773:50;;;3819:1;3816;3809:12;3773:50;3858:70;3920:7;3911:6;3900:9;3896:22;3858:70;:::i;:::-;3947:8;;3832:96;;-1:-1:-1;4029:2:1;4014:18;;;;4001:32;;3534:505;-1:-1:-1;;;;3534:505:1:o;4044:328::-;4121:6;4129;4137;4190:2;4178:9;4169:7;4165:23;4161:32;4158:52;;;4206:1;4203;4196:12;4158:52;4229:29;4248:9;4229:29;:::i;:::-;4219:39;;4277:38;4311:2;4300:9;4296:18;4277:38;:::i;:::-;4267:48;;4362:2;4351:9;4347:18;4334:32;4324:42;;4044:328;;;;;:::o;4377:186::-;4436:6;4489:2;4477:9;4468:7;4464:23;4460:32;4457:52;;;4505:1;4502;4495:12;4457:52;4528:29;4547:9;4528:29;:::i;4568:316::-;4645:6;4653;4661;4714:2;4702:9;4693:7;4689:23;4685:32;4682:52;;;4730:1;4727;4720:12;4682:52;-1:-1:-1;;4753:23:1;;;4823:2;4808:18;;4795:32;;-1:-1:-1;4874:2:1;4859:18;;;4846:32;;4568:316;-1:-1:-1;4568:316:1:o;5071:592::-;5142:6;5150;5203:2;5191:9;5182:7;5178:23;5174:32;5171:52;;;5219:1;5216;5209:12;5171:52;5259:9;5246:23;-1:-1:-1;;;;;5329:2:1;5321:6;5318:14;5315:34;;;5345:1;5342;5335:12;5315:34;5383:6;5372:9;5368:22;5358:32;;5428:7;5421:4;5417:2;5413:13;5409:27;5399:55;;5450:1;5447;5440:12;5399:55;5490:2;5477:16;5516:2;5508:6;5505:14;5502:34;;;5532:1;5529;5522:12;5502:34;5577:7;5572:2;5563:6;5559:2;5555:15;5551:24;5548:37;5545:57;;;5598:1;5595;5588:12;5545:57;5629:2;5621:11;;;;;5651:6;;-1:-1:-1;5071:592:1;;-1:-1:-1;;;;5071:592:1:o;5668:163::-;5735:20;;5795:10;5784:22;;5774:33;;5764:61;;5821:1;5818;5811:12;5836:401;5918:6;5926;5934;5942;5995:3;5983:9;5974:7;5970:23;5966:33;5963:53;;;6012:1;6009;6002:12;5963:53;6035:28;6053:9;6035:28;:::i;:::-;6025:38;;6082:37;6115:2;6104:9;6100:18;6082:37;:::i;:::-;6072:47;;6138:37;6171:2;6160:9;6156:18;6138:37;:::i;:::-;6128:47;;6194:37;6227:2;6216:9;6212:18;6194:37;:::i;:::-;6184:47;;5836:401;;;;;;;:::o;6242:184::-;6300:6;6353:2;6341:9;6332:7;6328:23;6324:32;6321:52;;;6369:1;6366;6359:12;6321:52;6392:28;6410:9;6392:28;:::i;6431:254::-;6499:6;6507;6560:2;6548:9;6539:7;6535:23;6531:32;6528:52;;;6576:1;6573;6566:12;6528:52;6612:9;6599:23;6589:33;;6641:38;6675:2;6664:9;6660:18;6641:38;:::i;:::-;6631:48;;6431:254;;;;;:::o;7888:347::-;7953:6;7961;8014:2;8002:9;7993:7;7989:23;7985:32;7982:52;;;8030:1;8027;8020:12;7982:52;8053:29;8072:9;8053:29;:::i;:::-;8043:39;;8132:2;8121:9;8117:18;8104:32;8179:5;8172:13;8165:21;8158:5;8155:32;8145:60;;8201:1;8198;8191:12;8145:60;8224:5;8214:15;;;7888:347;;;;;:::o;8240:127::-;8301:10;8296:3;8292:20;8289:1;8282:31;8332:4;8329:1;8322:15;8356:4;8353:1;8346:15;8372:1138;8467:6;8475;8483;8491;8544:3;8532:9;8523:7;8519:23;8515:33;8512:53;;;8561:1;8558;8551:12;8512:53;8584:29;8603:9;8584:29;:::i;:::-;8574:39;;8632:38;8666:2;8655:9;8651:18;8632:38;:::i;:::-;8622:48;;8717:2;8706:9;8702:18;8689:32;8679:42;;8772:2;8761:9;8757:18;8744:32;-1:-1:-1;;;;;8836:2:1;8828:6;8825:14;8822:34;;;8852:1;8849;8842:12;8822:34;8890:6;8879:9;8875:22;8865:32;;8935:7;8928:4;8924:2;8920:13;8916:27;8906:55;;8957:1;8954;8947:12;8906:55;8993:2;8980:16;9015:2;9011;9008:10;9005:36;;;9021:18;;:::i;:::-;9096:2;9090:9;9064:2;9150:13;;-1:-1:-1;;9146:22:1;;;9170:2;9142:31;9138:40;9126:53;;;9194:18;;;9214:22;;;9191:46;9188:72;;;9240:18;;:::i;:::-;9280:10;9276:2;9269:22;9315:2;9307:6;9300:18;9355:7;9350:2;9345;9341;9337:11;9333:20;9330:33;9327:53;;;9376:1;9373;9366:12;9327:53;9432:2;9427;9423;9419:11;9414:2;9406:6;9402:15;9389:46;9477:1;9472:2;9467;9459:6;9455:15;9451:24;9444:35;9498:6;9488:16;;;;;;;8372:1138;;;;;;;:::o;9515:248::-;9583:6;9591;9644:2;9632:9;9623:7;9619:23;9615:32;9612:52;;;9660:1;9657;9650:12;9612:52;-1:-1:-1;;9683:23:1;;;9753:2;9738:18;;;9725:32;;-1:-1:-1;9515:248:1:o;9768:260::-;9836:6;9844;9897:2;9885:9;9876:7;9872:23;9868:32;9865:52;;;9913:1;9910;9903:12;9865:52;9936:29;9955:9;9936:29;:::i;:::-;9926:39;;9984:38;10018:2;10007:9;10003:18;9984:38;:::i;10033:380::-;10112:1;10108:12;;;;10155;;;10176:61;;10230:4;10222:6;10218:17;10208:27;;10176:61;10283:2;10275:6;10272:14;10252:18;10249:38;10246:161;;;10329:10;10324:3;10320:20;10317:1;10310:31;10364:4;10361:1;10354:15;10392:4;10389:1;10382:15;10246:161;;10033:380;;;:::o;10418:356::-;10620:2;10602:21;;;10639:18;;;10632:30;10698:34;10693:2;10678:18;;10671:62;10765:2;10750:18;;10418:356::o;10779:127::-;10840:10;10835:3;10831:20;10828:1;10821:31;10871:4;10868:1;10861:15;10895:4;10892:1;10885:15;10911:128;10951:3;10982:1;10978:6;10975:1;10972:13;10969:39;;;10988:18;;:::i;:::-;-1:-1:-1;11024:9:1;;10911:128::o;11380:127::-;11441:10;11436:3;11432:20;11429:1;11422:31;11472:4;11469:1;11462:15;11496:4;11493:1;11486:15;11512:135;11551:3;-1:-1:-1;;11572:17:1;;11569:43;;;11592:18;;:::i;:::-;-1:-1:-1;11639:1:1;11628:13;;11512:135::o;11652:354::-;11854:2;11836:21;;;11893:2;11873:18;;;11866:30;11932:32;11927:2;11912:18;;11905:60;11997:2;11982:18;;11652:354::o;12595:408::-;12797:2;12779:21;;;12836:2;12816:18;;;12809:30;12875:34;12870:2;12855:18;;12848:62;-1:-1:-1;;;12941:2:1;12926:18;;12919:42;12993:3;12978:19;;12595:408::o;13008:125::-;13048:4;13076:1;13073;13070:8;13067:34;;;13081:18;;:::i;:::-;-1:-1:-1;13118:9:1;;13008:125::o;13138:168::-;13178:7;13244:1;13240;13236:6;13232:14;13229:1;13226:21;13221:1;13214:9;13207:17;13203:45;13200:71;;;13251:18;;:::i;:::-;-1:-1:-1;13291:9:1;;13138:168::o;14371:127::-;14432:10;14427:3;14423:20;14420:1;14413:31;14463:4;14460:1;14453:15;14487:4;14484:1;14477:15;14503:120;14543:1;14569;14559:35;;14574:18;;:::i;:::-;-1:-1:-1;14608:9:1;;14503:120::o;14628:470::-;14807:3;14845:6;14839:13;14861:53;14907:6;14902:3;14895:4;14887:6;14883:17;14861:53;:::i;:::-;14977:13;;14936:16;;;;14999:57;14977:13;14936:16;15033:4;15021:17;;14999:57;:::i;:::-;15072:20;;14628:470;-1:-1:-1;;;;14628:470:1:o;17333:489::-;-1:-1:-1;;;;;17602:15:1;;;17584:34;;17654:15;;17649:2;17634:18;;17627:43;17701:2;17686:18;;17679:34;;;17749:3;17744:2;17729:18;;17722:31;;;17527:4;;17770:46;;17796:19;;17788:6;17770:46;:::i;:::-;17762:54;17333:489;-1:-1:-1;;;;;;17333:489:1:o;17827:249::-;17896:6;17949:2;17937:9;17928:7;17924:23;17920:32;17917:52;;;17965:1;17962;17955:12;17917:52;17997:9;17991:16;18016:30;18040:5;18016:30;:::i;18081:112::-;18113:1;18139;18129:35;;18144:18;;:::i;:::-;-1:-1:-1;18178:9:1;;18081:112::o

Swarm Source

ipfs://63bc6ee2a77a45c7c6261e862846fa7e44664a4eaceacecf258a78475df8ccfd
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.