ETH Price: $2,445.33 (-0.98%)

Token

United Nation (UN)
 

Overview

Max Total Supply

5,555 UN

Holders

139

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 UN
0x701E2288Fc844aB2F4EEC830228160FFD25DEa44
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:
UnitedNation

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-26
*/

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


// OpenZeppelin Contracts (last updated v4.7.0) (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`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// 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: @openzeppelin/contracts/access/Ownable.sol


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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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


// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree 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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: contracts/UnitedNation.sol


pragma solidity ^0.8.7;









// File: https://github.com/chiru-labs/ERC721A/blob/main/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 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_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return _currentIndex - _burnCounter;    
        }
    }

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

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

    /**
     * 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 (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 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 (!_checkOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

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

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

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

            uint256 updatedIndex = startTokenId;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _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 address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert TransferToNonERC721ReceiverImplementer();
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @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 {}
}

contract UnitedNation is ERC721A, Ownable {
    using Strings for uint256;
    
    uint256 public MAX_SUPPLY = 5555;

    string private BASE_URI;
    string private UNREVEAL_URI;

    bytes32 public WHITELIST_ROOT;

    uint256 public PUBLIC_MINT_LIMIT = 2;

    uint256 public SALE_STEP = 0; // 0 => NONE, 1 => WHITELIST, 2 => PUBLIC

    constructor() ERC721A("United Nation", "UN") {}

    function setWhitelistRoot(bytes32 _root) external onlyOwner {
        WHITELIST_ROOT = _root;
    }

    function setPublicMintLimit(uint256 _publicMintLimit) external onlyOwner {
        PUBLIC_MINT_LIMIT = _publicMintLimit;
    }

    function isWhiteListed(bytes32 _leafNode, bytes32[] memory _proof) public view returns (bool) {
        return MerkleProof.verify(_proof, WHITELIST_ROOT, _leafNode);
    }
    function toLeaf(address account, uint256 index, uint256 amount) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(index, account, amount));
    }
    
    function numberMinted(address _owner) public view returns (uint256) {
        return _numberMinted(_owner);
    }

    function mintWhitelist(uint256 _mintAmount, uint256 _index, uint256 _amount, bytes32[] calldata _proof) external {
        require(totalSupply() + _mintAmount <= MAX_SUPPLY, "Exceeds Max Supply");

        require(SALE_STEP == 1, "Whitelist Sale is not opened");

        require(isWhiteListed(toLeaf(msg.sender, _index, _amount), _proof), "Invalid proof");
        
        require((numberMinted(msg.sender) + _mintAmount) <= _amount, "Exceeds Max Mint Amount");

        _mintLoop(msg.sender, _mintAmount);
    }

    function mintPublic(uint256 _mintAmount) external {
        require(totalSupply() + _mintAmount <= MAX_SUPPLY, "Exceeds Max Supply");

        require(SALE_STEP == 2, "Public Sale is not opened");

        require((numberMinted(msg.sender) + _mintAmount) <= PUBLIC_MINT_LIMIT, "Exceeds Max Mint Amount");

        _mintLoop(msg.sender, _mintAmount);
    }

    function airdrop(address[] memory _airdropAddresses, uint256 _mintAmount) external onlyOwner {
        require(totalSupply() + _airdropAddresses.length * _mintAmount <= MAX_SUPPLY, "Exceeds Max Supply");

        for (uint256 i = 0; i < _airdropAddresses.length; i++) {
            address to = _airdropAddresses[i];
            _mintLoop(to, _mintAmount);
        }
    }

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

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString())) : UNREVEAL_URI;
    }

    function setMaxSupply(uint256 _supply) external onlyOwner {
        MAX_SUPPLY = _supply;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        BASE_URI = _newBaseURI;
    }

    function setUnrevealURI(string memory _newUnrevealURI) external onlyOwner {
        UNREVEAL_URI = _newUnrevealURI;
    }

    function setSaleStep(uint256 _saleStep) external onlyOwner {
        SALE_STEP = _saleStep;
    }

    function _mintLoop(address _receiver, uint256 _mintAmount) internal {
        _safeMint(_receiver, _mintAmount);
    }

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

    function withdraw() external onlyOwner {
        uint256 curBalance = address(this).balance;
        payable(msg.sender).transfer(curBalance);
    }
}

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"},{"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_STEP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_airdropAddresses","type":"address[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_leafNode","type":"bytes32"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isWhiteListed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"nonpayable","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintLimit","type":"uint256"}],"name":"setPublicMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStep","type":"uint256"}],"name":"setSaleStep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newUnrevealURI","type":"string"}],"name":"setUnrevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setWhitelistRoot","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"toLeaf","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526115b36009556002600d556000600e553480156200002157600080fd5b506040518060400160405280600d81526020016c2ab734ba32b2102730ba34b7b760991b815250604051806040016040528060028152602001612aa760f11b8152508160029081620000749190620001a1565b506003620000838282620001a1565b505050620000a06200009a620000a660201b60201c565b620000aa565b6200026d565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012757607f821691505b6020821081036200014857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019c57600081815260208120601f850160051c81016020861015620001775750805b601f850160051c820191505b81811015620001985782815560010162000183565b5050505b505050565b81516001600160401b03811115620001bd57620001bd620000fc565b620001d581620001ce845462000112565b846200014e565b602080601f8311600181146200020d5760008415620001f45750858301515b600019600386901b1c1916600185901b17855562000198565b600085815260208120601f198616915b828110156200023e578886015182559484019460019091019084016200021d565b50858210156200025d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611f44806200027d6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80638da5cb5b11610125578063c87b56dd116100ad578063efd0cbf91161007c578063efd0cbf914610498578063f2fde38b146104ab578063f5aa406d146104be578063fdaf0125146104d1578063ff63cf01146104e457600080fd5b8063c87b56dd14610423578063dc33e68114610436578063e985e9c514610449578063ef3e067c1461048557600080fd5b8063a22cb465116100f4578063a22cb465146103ce578063b88d4fde146103e1578063bceae77b146103f4578063bd645454146103fd578063c204642c1461041057600080fd5b80638da5cb5b146103595780639231ab2a1461036a57806395d89b41146103b357806397bc411c146103bb57600080fd5b80633ccfd60b116101a85780636352211e116101775780636352211e1461030f5780636f8b44b01461032257806370a0823114610335578063715018a61461034857806384b9a4a51461035057600080fd5b80633ccfd60b146102ce57806342842e0e146102d657806353e90cbd146102e957806355f804b3146102fc57600080fd5b806318160ddd116101e457806318160ddd1461029357806323b872dd146102a95780632a1d6190146102bc57806332cb6b0c146102c557600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b610229610224366004611711565b6104f7565b60405190151581526020015b60405180910390f35b610246610549565b6040516102359190611786565b610266610261366004611799565b6105db565b6040516001600160a01b039091168152602001610235565b61029161028c3660046117ce565b61061f565b005b600154600054035b604051908152602001610235565b6102916102b73660046117f8565b6106ac565b61029b600c5481565b61029b60095481565b6102916106b7565b6102916102e43660046117f8565b6106f2565b6102916102f7366004611799565b61070d565b61029161030a3660046118d1565b61071a565b61026661031d366004611799565b61072e565b610291610330366004611799565b610740565b61029b610343366004611919565b61074d565b61029161079b565b61029b600e5481565b6008546001600160a01b0316610266565b61037d610378366004611799565b6107af565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610235565b6102466107d5565b6102916103c93660046118d1565b6107e4565b6102916103dc366004611934565b6107f8565b6102916103ef366004611970565b61088d565b61029b600d5481565b61022961040b366004611a0e565b6108c7565b61029161041e366004611aaf565b6108dd565b610246610431366004611799565b610974565b61029b610444366004611919565b610ab9565b610229610457366004611b4c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610291610493366004611799565b610ac4565b6102916104a6366004611799565b610ad1565b6102916104b9366004611919565b610bc8565b6102916104cc366004611799565b610c3e565b61029b6104df366004611b7f565b610c4b565b6102916104f2366004611bb2565b610c94565b60006001600160e01b031982166380ac58cd60e01b148061052857506001600160e01b03198216635b5e139f60e01b145b8061054357506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461055890611c41565b80601f016020809104026020016040519081016040528092919081815260200182805461058490611c41565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b60006105e682610e10565b610603576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061062a8261072e565b9050806001600160a01b0316836001600160a01b03160361065e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061067e575061067c8133610457565b155b1561069c576040516367d9dca160e11b815260040160405180910390fd5b6106a7838383610e3b565b505050565b6106a7838383610e97565b6106bf6110a8565b6040514790339082156108fc029083906000818181858888f193505050501580156106ee573d6000803e3d6000fd5b5050565b6106a78383836040518060200160405280600081525061088d565b6107156110a8565b600e55565b6107226110a8565b600a6106ee8282611cc9565b600061073982611102565b5192915050565b6107486110a8565b600955565b60006001600160a01b038216610776576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6107a36110a8565b6107ad600061121b565b565b604080516060810182526000808252602082018190529181019190915261054382611102565b60606003805461055890611c41565b6107ec6110a8565b600b6106ee8282611cc9565b336001600160a01b038316036108215760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610898848484610e97565b6108a48484848461126d565b6108c1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006108d682600c5485611370565b9392505050565b6108e56110a8565b6009548183516108f59190611d9e565b600154600054036109069190611dbd565b111561092d5760405162461bcd60e51b815260040161092490611dd5565b60405180910390fd5b60005b82518110156106a757600083828151811061094d5761094d611e01565b602002602001015190506109618184611386565b508061096c81611e17565b915050610930565b606061097f82610e10565b6109e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610924565b60006109ed611390565b90506000815111610a8857600b8054610a0590611c41565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3190611c41565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050506108d6565b80610a928461139f565b604051602001610aa3929190611e30565b6040516020818303038152906040529392505050565b60006105438261149f565b610acc6110a8565b600d55565b60095481610ae26001546000540390565b610aec9190611dbd565b1115610b0a5760405162461bcd60e51b815260040161092490611dd5565b600e54600214610b5c5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632053616c65206973206e6f74206f70656e6564000000000000006044820152606401610924565b600d5481610b6933610ab9565b610b739190611dbd565b1115610bbb5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08105b5bdd5b9d604a1b6044820152606401610924565b610bc53382611386565b50565b610bd06110a8565b6001600160a01b038116610c355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610924565b610bc58161121b565b610c466110a8565b600c55565b6040805160208082019490945260609490941b6bffffffffffffffffffffffff191684820152605480850192909252805180850390920182526074909301909252815191012090565b60095485610ca56001546000540390565b610caf9190611dbd565b1115610ccd5760405162461bcd60e51b815260040161092490611dd5565b600e54600114610d1f5760405162461bcd60e51b815260206004820152601c60248201527f57686974656c6973742053616c65206973206e6f74206f70656e6564000000006044820152606401610924565b610d66610d2d338686610c4b565b8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506108c792505050565b610da25760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610924565b8285610dad33610ab9565b610db79190611dbd565b1115610dff5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08105b5bdd5b9d604a1b6044820152606401610924565b610e093386611386565b5050505050565b6000805482108015610543575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610ea282611102565b80519091506000906001600160a01b0316336001600160a01b03161480610ed057508151610ed09033610457565b80610eeb575033610ee0846105db565b6001600160a01b0316145b905080610f0b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610f405760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610f6757604051633a954ecd60e21b815260040160405180910390fd5b610f776000848460000151610e3b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110615760005481101561106157825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e09565b6008546001600160a01b031633146107ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610924565b604080516060810182526000808252602082018190529181018290529054829081101561120257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906112005780516001600160a01b031615611197579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156111fb579392505050565b611197565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561136457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112b1903390899088908890600401611e5f565b6020604051808303816000875af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611e9c565b60015b61134a573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b508051600003611342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611368565b5060015b949350505050565b60008261137d85846114f4565b14949350505050565b6106ee8282611541565b6060600a805461055890611c41565b6060816000036113c65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113f057806113da81611e17565b91506113e99050600a83611ecf565b91506113ca565b6000816001600160401b0381111561140a5761140a611834565b6040519080825280601f01601f191660200182016040528015611434576020820181803683370190505b5090505b841561136857611449600183611ee3565b9150611456600a86611efa565b611461906030611dbd565b60f81b81838151811061147657611476611e01565b60200101906001600160f81b031916908160001a905350611498600a86611ecf565b9450611438565b60006001600160a01b0382166114c8576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b600081815b8451811015611539576115258286838151811061151857611518611e01565b602002602001015161155b565b91508061153181611e17565b9150506114f9565b509392505050565b6106ee82826040518060200160405280600081525061158a565b60008183106115775760008281526020849052604090206108d6565b60008381526020839052604090206108d6565b6106a783838360016000546001600160a01b0385166115bb57604051622e076360e81b815260040160405180910390fd5b836000036115dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156116f25760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156116c857506116c6600088848861126d565b155b156116e6576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611671565b50600055610e09565b6001600160e01b031981168114610bc557600080fd5b60006020828403121561172357600080fd5b81356108d6816116fb565b60005b83811015611749578181015183820152602001611731565b838111156108c15750506000910152565b6000815180845261177281602086016020860161172e565b601f01601f19169290920160200192915050565b6020815260006108d6602083018461175a565b6000602082840312156117ab57600080fd5b5035919050565b80356001600160a01b03811681146117c957600080fd5b919050565b600080604083850312156117e157600080fd5b6117ea836117b2565b946020939093013593505050565b60008060006060848603121561180d57600080fd5b611816846117b2565b9250611824602085016117b2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561187257611872611834565b604052919050565b60006001600160401b0383111561189357611893611834565b6118a6601f8401601f191660200161184a565b90508281528383830111156118ba57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156118e357600080fd5b81356001600160401b038111156118f957600080fd5b8201601f8101841361190a57600080fd5b6113688482356020840161187a565b60006020828403121561192b57600080fd5b6108d6826117b2565b6000806040838503121561194757600080fd5b611950836117b2565b91506020830135801515811461196557600080fd5b809150509250929050565b6000806000806080858703121561198657600080fd5b61198f856117b2565b935061199d602086016117b2565b92506040850135915060608501356001600160401b038111156119bf57600080fd5b8501601f810187136119d057600080fd5b6119df8782356020840161187a565b91505092959194509250565b60006001600160401b03821115611a0457611a04611834565b5060051b60200190565b60008060408385031215611a2157600080fd5b823591506020808401356001600160401b03811115611a3f57600080fd5b8401601f81018613611a5057600080fd5b8035611a63611a5e826119eb565b61184a565b81815260059190911b82018301908381019088831115611a8257600080fd5b928401925b82841015611aa057833582529284019290840190611a87565b80955050505050509250929050565b60008060408385031215611ac257600080fd5b82356001600160401b03811115611ad857600080fd5b8301601f81018513611ae957600080fd5b80356020611af9611a5e836119eb565b82815260059290921b83018101918181019088841115611b1857600080fd5b938201935b83851015611b3d57611b2e856117b2565b82529382019390820190611b1d565b98969091013596505050505050565b60008060408385031215611b5f57600080fd5b611b68836117b2565b9150611b76602084016117b2565b90509250929050565b600080600060608486031215611b9457600080fd5b611b9d846117b2565b95602085013595506040909401359392505050565b600080600080600060808688031215611bca57600080fd5b85359450602086013593506040860135925060608601356001600160401b0380821115611bf657600080fd5b818801915088601f830112611c0a57600080fd5b813581811115611c1957600080fd5b8960208260051b8501011115611c2e57600080fd5b9699959850939650602001949392505050565b600181811c90821680611c5557607f821691505b602082108103611c7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106a757600081815260208120601f850160051c81016020861015611ca25750805b601f850160051c820191505b81811015611cc157828155600101611cae565b505050505050565b81516001600160401b03811115611ce257611ce2611834565b611cf681611cf08454611c41565b84611c7b565b602080601f831160018114611d2b5760008415611d135750858301515b600019600386901b1c1916600185901b178555611cc1565b600085815260208120601f198616915b82811015611d5a57888601518255948401946001909101908401611d3b565b5085821015611d785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611db857611db8611d88565b500290565b60008219821115611dd057611dd0611d88565b500190565b60208082526012908201527145786365656473204d617820537570706c7960701b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611e2957611e29611d88565b5060010190565b60008351611e4281846020880161172e565b835190830190611e5681836020880161172e565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e929083018461175a565b9695505050505050565b600060208284031215611eae57600080fd5b81516108d6816116fb565b634e487b7160e01b600052601260045260246000fd5b600082611ede57611ede611eb9565b500490565b600082821015611ef557611ef5611d88565b500390565b600082611f0957611f09611eb9565b50069056fea2646970667358221220e013c2515c5c339e98fc34308e6a8f92699575533a0e971ec43f3a34ba67be9a64736f6c634300080f0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80638da5cb5b11610125578063c87b56dd116100ad578063efd0cbf91161007c578063efd0cbf914610498578063f2fde38b146104ab578063f5aa406d146104be578063fdaf0125146104d1578063ff63cf01146104e457600080fd5b8063c87b56dd14610423578063dc33e68114610436578063e985e9c514610449578063ef3e067c1461048557600080fd5b8063a22cb465116100f4578063a22cb465146103ce578063b88d4fde146103e1578063bceae77b146103f4578063bd645454146103fd578063c204642c1461041057600080fd5b80638da5cb5b146103595780639231ab2a1461036a57806395d89b41146103b357806397bc411c146103bb57600080fd5b80633ccfd60b116101a85780636352211e116101775780636352211e1461030f5780636f8b44b01461032257806370a0823114610335578063715018a61461034857806384b9a4a51461035057600080fd5b80633ccfd60b146102ce57806342842e0e146102d657806353e90cbd146102e957806355f804b3146102fc57600080fd5b806318160ddd116101e457806318160ddd1461029357806323b872dd146102a95780632a1d6190146102bc57806332cb6b0c146102c557600080fd5b806301ffc9a71461021657806306fdde031461023e578063081812fc14610253578063095ea7b31461027e575b600080fd5b610229610224366004611711565b6104f7565b60405190151581526020015b60405180910390f35b610246610549565b6040516102359190611786565b610266610261366004611799565b6105db565b6040516001600160a01b039091168152602001610235565b61029161028c3660046117ce565b61061f565b005b600154600054035b604051908152602001610235565b6102916102b73660046117f8565b6106ac565b61029b600c5481565b61029b60095481565b6102916106b7565b6102916102e43660046117f8565b6106f2565b6102916102f7366004611799565b61070d565b61029161030a3660046118d1565b61071a565b61026661031d366004611799565b61072e565b610291610330366004611799565b610740565b61029b610343366004611919565b61074d565b61029161079b565b61029b600e5481565b6008546001600160a01b0316610266565b61037d610378366004611799565b6107af565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610235565b6102466107d5565b6102916103c93660046118d1565b6107e4565b6102916103dc366004611934565b6107f8565b6102916103ef366004611970565b61088d565b61029b600d5481565b61022961040b366004611a0e565b6108c7565b61029161041e366004611aaf565b6108dd565b610246610431366004611799565b610974565b61029b610444366004611919565b610ab9565b610229610457366004611b4c565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610291610493366004611799565b610ac4565b6102916104a6366004611799565b610ad1565b6102916104b9366004611919565b610bc8565b6102916104cc366004611799565b610c3e565b61029b6104df366004611b7f565b610c4b565b6102916104f2366004611bb2565b610c94565b60006001600160e01b031982166380ac58cd60e01b148061052857506001600160e01b03198216635b5e139f60e01b145b8061054357506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461055890611c41565b80601f016020809104026020016040519081016040528092919081815260200182805461058490611c41565b80156105d15780601f106105a6576101008083540402835291602001916105d1565b820191906000526020600020905b8154815290600101906020018083116105b457829003601f168201915b5050505050905090565b60006105e682610e10565b610603576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061062a8261072e565b9050806001600160a01b0316836001600160a01b03160361065e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061067e575061067c8133610457565b155b1561069c576040516367d9dca160e11b815260040160405180910390fd5b6106a7838383610e3b565b505050565b6106a7838383610e97565b6106bf6110a8565b6040514790339082156108fc029083906000818181858888f193505050501580156106ee573d6000803e3d6000fd5b5050565b6106a78383836040518060200160405280600081525061088d565b6107156110a8565b600e55565b6107226110a8565b600a6106ee8282611cc9565b600061073982611102565b5192915050565b6107486110a8565b600955565b60006001600160a01b038216610776576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6107a36110a8565b6107ad600061121b565b565b604080516060810182526000808252602082018190529181019190915261054382611102565b60606003805461055890611c41565b6107ec6110a8565b600b6106ee8282611cc9565b336001600160a01b038316036108215760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610898848484610e97565b6108a48484848461126d565b6108c1576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006108d682600c5485611370565b9392505050565b6108e56110a8565b6009548183516108f59190611d9e565b600154600054036109069190611dbd565b111561092d5760405162461bcd60e51b815260040161092490611dd5565b60405180910390fd5b60005b82518110156106a757600083828151811061094d5761094d611e01565b602002602001015190506109618184611386565b508061096c81611e17565b915050610930565b606061097f82610e10565b6109e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610924565b60006109ed611390565b90506000815111610a8857600b8054610a0590611c41565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3190611c41565b8015610a7e5780601f10610a5357610100808354040283529160200191610a7e565b820191906000526020600020905b815481529060010190602001808311610a6157829003601f168201915b50505050506108d6565b80610a928461139f565b604051602001610aa3929190611e30565b6040516020818303038152906040529392505050565b60006105438261149f565b610acc6110a8565b600d55565b60095481610ae26001546000540390565b610aec9190611dbd565b1115610b0a5760405162461bcd60e51b815260040161092490611dd5565b600e54600214610b5c5760405162461bcd60e51b815260206004820152601960248201527f5075626c69632053616c65206973206e6f74206f70656e6564000000000000006044820152606401610924565b600d5481610b6933610ab9565b610b739190611dbd565b1115610bbb5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08105b5bdd5b9d604a1b6044820152606401610924565b610bc53382611386565b50565b610bd06110a8565b6001600160a01b038116610c355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610924565b610bc58161121b565b610c466110a8565b600c55565b6040805160208082019490945260609490941b6bffffffffffffffffffffffff191684820152605480850192909252805180850390920182526074909301909252815191012090565b60095485610ca56001546000540390565b610caf9190611dbd565b1115610ccd5760405162461bcd60e51b815260040161092490611dd5565b600e54600114610d1f5760405162461bcd60e51b815260206004820152601c60248201527f57686974656c6973742053616c65206973206e6f74206f70656e6564000000006044820152606401610924565b610d66610d2d338686610c4b565b8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506108c792505050565b610da25760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b210383937b7b360991b6044820152606401610924565b8285610dad33610ab9565b610db79190611dbd565b1115610dff5760405162461bcd60e51b8152602060048201526017602482015276115e18d959591cc813585e08135a5b9d08105b5bdd5b9d604a1b6044820152606401610924565b610e093386611386565b5050505050565b6000805482108015610543575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610ea282611102565b80519091506000906001600160a01b0316336001600160a01b03161480610ed057508151610ed09033610457565b80610eeb575033610ee0846105db565b6001600160a01b0316145b905080610f0b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610f405760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610f6757604051633a954ecd60e21b815260040160405180910390fd5b610f776000848460000151610e3b565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110615760005481101561106157825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610e09565b6008546001600160a01b031633146107ad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610924565b604080516060810182526000808252602082018190529181018290529054829081101561120257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906112005780516001600160a01b031615611197579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156111fb579392505050565b611197565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b1561136457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112b1903390899088908890600401611e5f565b6020604051808303816000875af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611e9c565b60015b61134a573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b508051600003611342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611368565b5060015b949350505050565b60008261137d85846114f4565b14949350505050565b6106ee8282611541565b6060600a805461055890611c41565b6060816000036113c65750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113f057806113da81611e17565b91506113e99050600a83611ecf565b91506113ca565b6000816001600160401b0381111561140a5761140a611834565b6040519080825280601f01601f191660200182016040528015611434576020820181803683370190505b5090505b841561136857611449600183611ee3565b9150611456600a86611efa565b611461906030611dbd565b60f81b81838151811061147657611476611e01565b60200101906001600160f81b031916908160001a905350611498600a86611ecf565b9450611438565b60006001600160a01b0382166114c8576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b600081815b8451811015611539576115258286838151811061151857611518611e01565b602002602001015161155b565b91508061153181611e17565b9150506114f9565b509392505050565b6106ee82826040518060200160405280600081525061158a565b60008183106115775760008281526020849052604090206108d6565b60008381526020839052604090206108d6565b6106a783838360016000546001600160a01b0385166115bb57604051622e076360e81b815260040160405180910390fd5b836000036115dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526004909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b858110156116f25760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48380156116c857506116c6600088848861126d565b155b156116e6576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611671565b50600055610e09565b6001600160e01b031981168114610bc557600080fd5b60006020828403121561172357600080fd5b81356108d6816116fb565b60005b83811015611749578181015183820152602001611731565b838111156108c15750506000910152565b6000815180845261177281602086016020860161172e565b601f01601f19169290920160200192915050565b6020815260006108d6602083018461175a565b6000602082840312156117ab57600080fd5b5035919050565b80356001600160a01b03811681146117c957600080fd5b919050565b600080604083850312156117e157600080fd5b6117ea836117b2565b946020939093013593505050565b60008060006060848603121561180d57600080fd5b611816846117b2565b9250611824602085016117b2565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561187257611872611834565b604052919050565b60006001600160401b0383111561189357611893611834565b6118a6601f8401601f191660200161184a565b90508281528383830111156118ba57600080fd5b828260208301376000602084830101529392505050565b6000602082840312156118e357600080fd5b81356001600160401b038111156118f957600080fd5b8201601f8101841361190a57600080fd5b6113688482356020840161187a565b60006020828403121561192b57600080fd5b6108d6826117b2565b6000806040838503121561194757600080fd5b611950836117b2565b91506020830135801515811461196557600080fd5b809150509250929050565b6000806000806080858703121561198657600080fd5b61198f856117b2565b935061199d602086016117b2565b92506040850135915060608501356001600160401b038111156119bf57600080fd5b8501601f810187136119d057600080fd5b6119df8782356020840161187a565b91505092959194509250565b60006001600160401b03821115611a0457611a04611834565b5060051b60200190565b60008060408385031215611a2157600080fd5b823591506020808401356001600160401b03811115611a3f57600080fd5b8401601f81018613611a5057600080fd5b8035611a63611a5e826119eb565b61184a565b81815260059190911b82018301908381019088831115611a8257600080fd5b928401925b82841015611aa057833582529284019290840190611a87565b80955050505050509250929050565b60008060408385031215611ac257600080fd5b82356001600160401b03811115611ad857600080fd5b8301601f81018513611ae957600080fd5b80356020611af9611a5e836119eb565b82815260059290921b83018101918181019088841115611b1857600080fd5b938201935b83851015611b3d57611b2e856117b2565b82529382019390820190611b1d565b98969091013596505050505050565b60008060408385031215611b5f57600080fd5b611b68836117b2565b9150611b76602084016117b2565b90509250929050565b600080600060608486031215611b9457600080fd5b611b9d846117b2565b95602085013595506040909401359392505050565b600080600080600060808688031215611bca57600080fd5b85359450602086013593506040860135925060608601356001600160401b0380821115611bf657600080fd5b818801915088601f830112611c0a57600080fd5b813581811115611c1957600080fd5b8960208260051b8501011115611c2e57600080fd5b9699959850939650602001949392505050565b600181811c90821680611c5557607f821691505b602082108103611c7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156106a757600081815260208120601f850160051c81016020861015611ca25750805b601f850160051c820191505b81811015611cc157828155600101611cae565b505050505050565b81516001600160401b03811115611ce257611ce2611834565b611cf681611cf08454611c41565b84611c7b565b602080601f831160018114611d2b5760008415611d135750858301515b600019600386901b1c1916600185901b178555611cc1565b600085815260208120601f198616915b82811015611d5a57888601518255948401946001909101908401611d3b565b5085821015611d785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611db857611db8611d88565b500290565b60008219821115611dd057611dd0611d88565b500190565b60208082526012908201527145786365656473204d617820537570706c7960701b604082015260600190565b634e487b7160e01b600052603260045260246000fd5b600060018201611e2957611e29611d88565b5060010190565b60008351611e4281846020880161172e565b835190830190611e5681836020880161172e565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e929083018461175a565b9695505050505050565b600060208284031215611eae57600080fd5b81516108d6816116fb565b634e487b7160e01b600052601260045260246000fd5b600082611ede57611ede611eb9565b500490565b600082821015611ef557611ef5611d88565b500390565b600082611f0957611f09611eb9565b50069056fea2646970667358221220e013c2515c5c339e98fc34308e6a8f92699575533a0e971ec43f3a34ba67be9a64736f6c634300080f0033

Deployed Bytecode Sourcemap

54132:3802:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36930:305;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36930:305:0;;;;;;;;40290:100;;;:::i;:::-;;;;;;;:::i;41793:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;41793:204:0;1528:203:1;41356:371:0;;;;;;:::i;:::-;;:::i;:::-;;36587:271;36823:12;;36631:7;36807:13;:28;36587:271;;;2319:25:1;;;2307:2;2292:18;36587:271:0;2173:177:1;42650:170:0;;;;;;:::i;:::-;;:::i;54326:29::-;;;;;;54219:32;;;;;;57780:151;;;:::i;42891:185::-;;;;;;:::i;:::-;;:::i;57402:99::-;;;;;;:::i;:::-;;:::i;57156:107::-;;;;;;:::i;:::-;;:::i;40099:124::-;;;;;;:::i;:::-;;:::i;57051:97::-;;;;;;:::i;:::-;;:::i;37299:206::-;;;;;;:::i;:::-;;:::i;12543:103::-;;;:::i;54409:28::-;;;;;;11895:87;11968:6;;-1:-1:-1;;;;;11968:6:0;11895:87;;57637:135;;;;;;:::i;:::-;;:::i;:::-;;;;4573:13:1;;-1:-1:-1;;;;;4569:39:1;4551:58;;4669:4;4657:17;;;4651:24;-1:-1:-1;;;;;4647:49:1;4625:20;;;4618:79;4755:17;;;4749:24;4742:32;4735:40;4713:20;;;4706:70;4539:2;4524:18;57637:135:0;4341:441:1;40459:104:0;;;:::i;57271:123::-;;;;;;:::i;:::-;;:::i;42069:279::-;;;;;;:::i;:::-;;:::i;43147:342::-;;;;;;:::i;:::-;;:::i;54364:36::-;;;;;;54788:173;;;;;;:::i;:::-;;:::i;56176:379::-;;;;;;:::i;:::-;;:::i;56680:363::-;;;;;;:::i;:::-;;:::i;55150:115::-;;;;;;:::i;:::-;;:::i;42419:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;42540:25:0;;;42516:4;42540:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;42419:164;54652:128;;;;;;:::i;:::-;;:::i;55805:363::-;;;;;;:::i;:::-;;:::i;12801:201::-;;;;;;:::i;:::-;;:::i;54543:101::-;;;;;;:::i;:::-;;:::i;54967:171::-;;;;;;:::i;:::-;;:::i;55273:524::-;;;;;;:::i;:::-;;:::i;36930:305::-;37032:4;-1:-1:-1;;;;;;37069:40:0;;-1:-1:-1;;;37069:40:0;;:105;;-1:-1:-1;;;;;;;37126:48:0;;-1:-1:-1;;;37126:48:0;37069:105;:158;;;-1:-1:-1;;;;;;;;;;8658:40:0;;;37191:36;37049:178;36930:305;-1:-1:-1;;36930:305:0:o;40290:100::-;40344:13;40377:5;40370:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40290:100;:::o;41793:204::-;41861:7;41886:16;41894:7;41886;:16::i;:::-;41881:64;;41911:34;;-1:-1:-1;;;41911:34:0;;;;;;;;;;;41881:64;-1:-1:-1;41965:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41965:24:0;;41793:204::o;41356:371::-;41429:13;41445:24;41461:7;41445:15;:24::i;:::-;41429:40;;41490:5;-1:-1:-1;;;;;41484:11:0;:2;-1:-1:-1;;;;;41484:11:0;;41480:48;;41504:24;;-1:-1:-1;;;41504:24:0;;;;;;;;;;;41480:48;10526:10;-1:-1:-1;;;;;41545:21:0;;;;;;:63;;-1:-1:-1;41571:37:0;41588:5;10526:10;42419:164;:::i;41571:37::-;41570:38;41545:63;41541:138;;;41632:35;;-1:-1:-1;;;41632:35:0;;;;;;;;;;;41541:138;41691:28;41700:2;41704:7;41713:5;41691:8;:28::i;:::-;41418:309;41356:371;;:::o;42650:170::-;42784:28;42794:4;42800:2;42804:7;42784:9;:28::i;57780:151::-;11781:13;:11;:13::i;:::-;57883:40:::1;::::0;57851:21:::1;::::0;57891:10:::1;::::0;57883:40;::::1;;;::::0;57851:21;;57830:18:::1;57883:40:::0;57830:18;57883:40;57851:21;57891:10;57883:40;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;57819:112;57780:151::o:0;42891:185::-;43029:39;43046:4;43052:2;43056:7;43029:39;;;;;;;;;;;;:16;:39::i;57402:99::-;11781:13;:11;:13::i;:::-;57472:9:::1;:21:::0;57402:99::o;57156:107::-;11781:13;:11;:13::i;:::-;57233:8:::1;:22;57244:11:::0;57233:8;:22:::1;:::i;40099:124::-:0;40163:7;40190:20;40202:7;40190:11;:20::i;:::-;:25;;40099:124;-1:-1:-1;;40099:124:0:o;57051:97::-;11781:13;:11;:13::i;:::-;57120:10:::1;:20:::0;57051:97::o;37299:206::-;37363:7;-1:-1:-1;;;;;37387:19:0;;37383:60;;37415:28;;-1:-1:-1;;;37415:28:0;;;;;;;;;;;37383:60;-1:-1:-1;;;;;;37469:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;37469:27:0;;37299:206::o;12543:103::-;11781:13;:11;:13::i;:::-;12608:30:::1;12635:1;12608:18;:30::i;:::-;12543:103::o:0;57637:135::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;57744:20:0;57756:7;57744:11;:20::i;40459:104::-;40515:13;40548:7;40541:14;;;;;:::i;57271:123::-;11781:13;:11;:13::i;:::-;57356:12:::1;:30;57371:15:::0;57356:12;:30:::1;:::i;42069:279::-:0;10526:10;-1:-1:-1;;;;;42160:24:0;;;42156:54;;42193:17;;-1:-1:-1;;;42193:17:0;;;;;;;;;;;42156:54;10526:10;42223:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;42223:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;42223:53:0;;;;;;;;;;42292:48;;540:41:1;;;42223:42:0;;10526:10;42292:48;;513:18:1;42292:48:0;;;;;;;42069:279;;:::o;43147:342::-;43314:28;43324:4;43330:2;43334:7;43314:9;:28::i;:::-;43358:48;43381:4;43387:2;43391:7;43400:5;43358:22;:48::i;:::-;43353:129;;43430:40;;-1:-1:-1;;;43430:40:0;;;;;;;;;;;43353:129;43147:342;;;;:::o;54788:173::-;54876:4;54900:53;54919:6;54927:14;;54943:9;54900:18;:53::i;:::-;54893:60;54788:173;-1:-1:-1;;;54788:173:0:o;56176:379::-;11781:13;:11;:13::i;:::-;56346:10:::1;;56331:11;56304:17;:24;:38;;;;:::i;:::-;36823:12:::0;;36631:7;36807:13;:28;56288:54:::1;;;;:::i;:::-;:68;;56280:99;;;;-1:-1:-1::0;;;56280:99:0::1;;;;;;;:::i;:::-;;;;;;;;;56397:9;56392:156;56416:17;:24;56412:1;:28;56392:156;;;56462:10;56475:17;56493:1;56475:20;;;;;;;;:::i;:::-;;;;;;;56462:33;;56510:26;56520:2;56524:11;56510:9;:26::i;:::-;-1:-1:-1::0;56442:3:0;::::1;::::0;::::1;:::i;:::-;;;;56392:156;;56680:363:::0;56753:13;56787:16;56795:7;56787;:16::i;:::-;56779:76;;;;-1:-1:-1;;;56779:76:0;;13385:2:1;56779:76:0;;;13367:21:1;13424:2;13404:18;;;13397:30;13463:34;13443:18;;;13436:62;-1:-1:-1;;;13514:18:1;;;13507:45;13569:19;;56779:76:0;13183:411:1;56779:76:0;56866:28;56897:10;:8;:10::i;:::-;56866:41;;56956:1;56931:14;56925:28;:32;:110;;57023:12;56925:110;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56984:14;57000:18;:7;:16;:18::i;:::-;56967:52;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56918:117;56680:363;-1:-1:-1;;;56680:363:0:o;55150:115::-;55209:7;55236:21;55250:6;55236:13;:21::i;54652:128::-;11781:13;:11;:13::i;:::-;54736:17:::1;:36:::0;54652:128::o;55805:363::-;55905:10;;55890:11;55874:13;36823:12;;36631:7;36807:13;:28;;36587:271;55874:13;:27;;;;:::i;:::-;:41;;55866:72;;;;-1:-1:-1;;;55866:72:0;;;;;;;:::i;:::-;55959:9;;55972:1;55959:14;55951:52;;;;-1:-1:-1;;;55951:52:0;;14276:2:1;55951:52:0;;;14258:21:1;14315:2;14295:18;;;14288:30;14354:27;14334:18;;;14327:55;14399:18;;55951:52:0;14074:349:1;55951:52:0;56068:17;;56052:11;56025:24;56038:10;56025:12;:24::i;:::-;:38;;;;:::i;:::-;56024:61;;56016:97;;;;-1:-1:-1;;;56016:97:0;;14630:2:1;56016:97:0;;;14612:21:1;14669:2;14649:18;;;14642:30;-1:-1:-1;;;14688:18:1;;;14681:53;14751:18;;56016:97:0;14428:347:1;56016:97:0;56126:34;56136:10;56148:11;56126:9;:34::i;:::-;55805:363;:::o;12801:201::-;11781:13;:11;:13::i;:::-;-1:-1:-1;;;;;12890:22:0;::::1;12882:73;;;::::0;-1:-1:-1;;;12882:73:0;;14982:2:1;12882:73:0::1;::::0;::::1;14964:21:1::0;15021:2;15001:18;;;14994:30;15060:34;15040:18;;;15033:62;-1:-1:-1;;;15111:18:1;;;15104:36;15157:19;;12882:73:0::1;14780:402:1::0;12882:73:0::1;12966:28;12985:8;12966:18;:28::i;54543:101::-:0;11781:13;:11;:13::i;:::-;54614:14:::1;:22:::0;54543:101::o;54967:171::-;55089:40;;;;;;;15372:19:1;;;;15429:2;15425:15;;;;-1:-1:-1;;15421:53:1;15407:12;;;15400:75;15491:12;;;;15484:28;;;;55089:40:0;;;;;;;;;;15528:12:1;;;;55089:40:0;;;55079:51;;;;;;54967:171::o;55273:524::-;55436:10;;55421:11;55405:13;36823:12;;36631:7;36807:13;:28;;36587:271;55405:13;:27;;;;:::i;:::-;:41;;55397:72;;;;-1:-1:-1;;;55397:72:0;;;;;;;:::i;:::-;55490:9;;55503:1;55490:14;55482:55;;;;-1:-1:-1;;;55482:55:0;;15753:2:1;55482:55:0;;;15735:21:1;15792:2;15772:18;;;15765:30;15831;15811:18;;;15804:58;15879:18;;55482:55:0;15551:352:1;55482:55:0;55558:58;55572:35;55579:10;55591:6;55599:7;55572:6;:35::i;:::-;55609:6;;55558:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55558:13:0;;-1:-1:-1;;;55558:58:0:i;:::-;55550:84;;;;-1:-1:-1;;;55550:84:0;;16110:2:1;55550:84:0;;;16092:21:1;16149:2;16129:18;;;16122:30;-1:-1:-1;;;16168:18:1;;;16161:43;16221:18;;55550:84:0;15908:337:1;55550:84:0;55707:7;55691:11;55664:24;55677:10;55664:12;:24::i;:::-;:38;;;;:::i;:::-;55663:51;;55655:87;;;;-1:-1:-1;;;55655:87:0;;14630:2:1;55655:87:0;;;14612:21:1;14669:2;14649:18;;;14642:30;-1:-1:-1;;;14688:18:1;;;14681:53;14751:18;;55655:87:0;14428:347:1;55655:87:0;55755:34;55765:10;55777:11;55755:9;:34::i;:::-;55273:524;;;;;:::o;43744:144::-;43801:4;43835:13;;43825:7;:23;:55;;;;-1:-1:-1;;43853:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;43853:27:0;;;;43852:28;;43744:144::o;50950:196::-;51065:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;51065:29:0;-1:-1:-1;;;;;51065:29:0;;;;;;;;;51110:28;;51065:24;;51110:28;;;;;;;50950:196;;;:::o;46451:2112::-;46566:35;46604:20;46616:7;46604:11;:20::i;:::-;46679:18;;46566:58;;-1:-1:-1;46637:22:0;;-1:-1:-1;;;;;46663:34:0;10526:10;-1:-1:-1;;;;;46663:34:0;;:101;;;-1:-1:-1;46731:18:0;;46714:50;;10526:10;42419:164;:::i;46714:50::-;46663:154;;;-1:-1:-1;10526:10:0;46781:20;46793:7;46781:11;:20::i;:::-;-1:-1:-1;;;;;46781:36:0;;46663:154;46637:181;;46836:17;46831:66;;46862:35;;-1:-1:-1;;;46862:35:0;;;;;;;;;;;46831:66;46934:4;-1:-1:-1;;;;;46912:26:0;:13;:18;;;-1:-1:-1;;;;;46912:26:0;;46908:67;;46947:28;;-1:-1:-1;;;46947:28:0;;;;;;;;;;;46908:67;-1:-1:-1;;;;;46990:16:0;;46986:52;;47015:23;;-1:-1:-1;;;47015:23:0;;;;;;;;;;;46986:52;47159:49;47176:1;47180:7;47189:13;:18;;;47159:8;:49::i;:::-;-1:-1:-1;;;;;47504:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;47504:31:0;;;-1:-1:-1;;;;;47504:31:0;;;-1:-1:-1;;47504:31:0;;;;;;;47550:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;47550:29:0;;;;;;;;;;;47596:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;47641:61:0;;;;-1:-1:-1;;;47686:15:0;47641:61;;;;;;;;;;;47976:11;;;48006:24;;;;;:29;47976:11;;48006:29;48002:445;;48231:13;;48217:11;:27;48213:219;;;48301:18;;;48269:24;;;:11;:24;;;;;;;;:50;;48384:28;;;;-1:-1:-1;;;;;48342:70:0;-1:-1:-1;;;48342:70:0;-1:-1:-1;;;;;;48342:70:0;;;-1:-1:-1;;;;;48269:50:0;;;48342:70;;;;;;;48213:219;47479:979;48494:7;48490:2;-1:-1:-1;;;;;48475:27:0;48484:4;-1:-1:-1;;;;;48475:27:0;;;;;;;;;;;48513:42;43147:342;12060:132;11968:6;;-1:-1:-1;;;;;11968:6:0;10526:10;12124:23;12116:68;;;;-1:-1:-1;;;12116:68:0;;16452:2:1;12116:68:0;;;16434:21:1;;;16471:18;;;16464:30;16530:34;16510:18;;;16503:62;16582:18;;12116:68:0;16250:356:1;38954:1083:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;39120:13:0;;39064:7;;39113:20;;39109:861;;;39154:31;39188:17;;;:11;:17;;;;;;;;;39154:51;;;;;;;;;-1:-1:-1;;;;;39154:51:0;;;;-1:-1:-1;;;39154:51:0;;-1:-1:-1;;;;;39154:51:0;;;;;;;;-1:-1:-1;;;39154:51:0;;;;;;;;;;;;;;39224:731;;39274:14;;-1:-1:-1;;;;;39274:28:0;;39270:101;;39338:9;38954:1083;-1:-1:-1;;;38954:1083:0:o;39270:101::-;-1:-1:-1;;;39715:6:0;39760:17;;;;:11;:17;;;;;;;;;39748:29;;;;;;;;;-1:-1:-1;;;;;39748:29:0;;;;;-1:-1:-1;;;39748:29:0;;-1:-1:-1;;;;;39748:29:0;;;;;;;;-1:-1:-1;;;39748:29:0;;;;;;;;;;;;;39808:28;39804:109;;39876:9;38954:1083;-1:-1:-1;;;38954:1083:0:o;39804:109::-;39675:261;;;39135:835;39109:861;39998:31;;-1:-1:-1;;;39998:31:0;;;;;;;;;;;13162:191;13255:6;;;-1:-1:-1;;;;;13272:17:0;;;-1:-1:-1;;;;;;13272:17:0;;;;;;;13305:40;;13255:6;;;13272:17;13255:6;;13305:40;;13236:16;;13305:40;13225:128;13162:191;:::o;51711:790::-;51866:4;-1:-1:-1;;;;;51887:13:0;;14888:19;:23;51883:611;;51923:72;;-1:-1:-1;;;51923:72:0;;-1:-1:-1;;;;;51923:36:0;;;;;:72;;10526:10;;51974:4;;51980:7;;51989:5;;51923:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51923:72:0;;;;;;;;-1:-1:-1;;51923:72:0;;;;;;;;;;;;:::i;:::-;;;51919:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52169:6;:13;52186:1;52169:18;52165:259;;52219:40;;-1:-1:-1;;;52219:40:0;;;;;;;;;;;52165:259;52374:6;52368:13;52359:6;52355:2;52351:15;52344:38;51919:520;-1:-1:-1;;;;;;52046:55:0;-1:-1:-1;;;52046:55:0;;-1:-1:-1;52039:62:0;;51883:611;-1:-1:-1;52478:4:0;51883:611;51711:790;;;;;;:::o;25629:190::-;25754:4;25807;25778:25;25791:5;25798:4;25778:12;:25::i;:::-;:33;;25629:190;-1:-1:-1;;;;25629:190:0:o;57509:120::-;57588:33;57598:9;57609:11;57588:9;:33::i;56563:109::-;56623:13;56656:8;56649:15;;;;;:::i;22343:723::-;22399:13;22620:5;22629:1;22620:10;22616:53;;-1:-1:-1;;22647:10:0;;;;;;;;;;;;-1:-1:-1;;;22647:10:0;;;;;22343:723::o;22616:53::-;22694:5;22679:12;22735:78;22742:9;;22735:78;;22768:8;;;;:::i;:::-;;-1:-1:-1;22791:10:0;;-1:-1:-1;22799:2:0;22791:10;;:::i;:::-;;;22735:78;;;22823:19;22855:6;-1:-1:-1;;;;;22845:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22845:17:0;;22823:39;;22873:154;22880:10;;22873:154;;22907:11;22917:1;22907:11;;:::i;:::-;;-1:-1:-1;22976:10:0;22984:2;22976:5;:10;:::i;:::-;22963:24;;:2;:24;:::i;:::-;22950:39;;22933:6;22940;22933:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22933:56:0;;;;;;;;-1:-1:-1;23004:11:0;23013:2;23004:11;;:::i;:::-;;;22873:154;;37587:207;37648:7;-1:-1:-1;;;;;37672:19:0;;37668:59;;37700:27;;-1:-1:-1;;;37700:27:0;;;;;;;;;;;37668:59;-1:-1:-1;;;;;;37753:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;37753:32:0;;-1:-1:-1;;;;;37753:32:0;;37587:207::o;26496:296::-;26579:7;26622:4;26579:7;26637:118;26661:5;:12;26657:1;:16;26637:118;;;26710:33;26720:12;26734:5;26740:1;26734:8;;;;;;;;:::i;:::-;;;;;;;26710:9;:33::i;:::-;26695:48;-1:-1:-1;26675:3:0;;;;:::i;:::-;;;;26637:118;;;-1:-1:-1;26772:12:0;26496:296;-1:-1:-1;;;26496:296:0:o;43896:104::-;43965:27;43975:2;43979:8;43965:27;;;;;;;;;;;;:9;:27::i;32703:149::-;32766:7;32797:1;32793;:5;:51;;32928:13;33022:15;;;33058:4;33051:15;;;33105:4;33089:21;;32793:51;;;32928:13;33022:15;;;33058:4;33051:15;;;33105:4;33089:21;;32801:20;32860:268;44363:163;44486:32;44492:2;44496:8;44506:5;44513:4;44924:20;44947:13;-1:-1:-1;;;;;44975:16:0;;44971:48;;45000:19;;-1:-1:-1;;;45000:19:0;;;;;;;;;;;44971:48;45034:8;45046:1;45034:13;45030:44;;45056:18;;-1:-1:-1;;;45056:18:0;;;;;;;;;;;45030:44;-1:-1:-1;;;;;45425:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;45484:49:0;;-1:-1:-1;;;;;45425:44:0;;;;;;;45484:49;;;-1:-1:-1;;;;;45425:44:0;;;;;;45484:49;;;;;;;;;;;;;;;;45550:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;45600:66:0;;;;-1:-1:-1;;;45650:15:0;45600:66;;;;;;;;;;;45550:25;;45735:328;45755:8;45751:1;:12;45735:328;;;45794:38;;45819:12;;-1:-1:-1;;;;;45794:38:0;;;45811:1;;45794:38;;45811:1;;45794:38;45855:4;:68;;;;;45864:59;45895:1;45899:2;45903:12;45917:5;45864:22;:59::i;:::-;45863:60;45855:68;45851:164;;;45955:40;;-1:-1:-1;;;45955:40:0;;;;;;;;;;;45851:164;46033:14;;;;;45765:3;45735:328;;;-1:-1:-1;46079:13:0;:28;46129:60;43147:342;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;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2870:127::-;2931:10;2926:3;2922:20;2919:1;2912:31;2962:4;2959:1;2952:15;2986:4;2983:1;2976:15;3002:275;3073:2;3067:9;3138:2;3119:13;;-1:-1:-1;;3115:27:1;3103:40;;-1:-1:-1;;;;;3158:34:1;;3194:22;;;3155:62;3152:88;;;3220:18;;:::i;:::-;3256:2;3249:22;3002:275;;-1:-1:-1;3002:275:1:o;3282:407::-;3347:5;-1:-1:-1;;;;;3373:6:1;3370:30;3367:56;;;3403:18;;:::i;:::-;3441:57;3486:2;3465:15;;-1:-1:-1;;3461:29:1;3492:4;3457:40;3441:57;:::i;:::-;3432:66;;3521:6;3514:5;3507:21;3561:3;3552:6;3547:3;3543:16;3540:25;3537:45;;;3578:1;3575;3568:12;3537:45;3627:6;3622:3;3615:4;3608:5;3604:16;3591:43;3681:1;3674:4;3665:6;3658:5;3654:18;3650:29;3643:40;3282:407;;;;;:::o;3694:451::-;3763:6;3816:2;3804:9;3795:7;3791:23;3787:32;3784:52;;;3832:1;3829;3822:12;3784:52;3872:9;3859:23;-1:-1:-1;;;;;3897:6:1;3894:30;3891:50;;;3937:1;3934;3927:12;3891:50;3960:22;;4013:4;4005:13;;4001:27;-1:-1:-1;3991:55:1;;4042:1;4039;4032:12;3991:55;4065:74;4131:7;4126:2;4113:16;4108:2;4104;4100:11;4065:74;:::i;4150:186::-;4209:6;4262:2;4250:9;4241:7;4237:23;4233:32;4230:52;;;4278:1;4275;4268:12;4230:52;4301:29;4320:9;4301:29;:::i;4787:347::-;4852:6;4860;4913:2;4901:9;4892:7;4888:23;4884:32;4881:52;;;4929:1;4926;4919:12;4881:52;4952:29;4971:9;4952:29;:::i;:::-;4942:39;;5031:2;5020:9;5016:18;5003:32;5078:5;5071:13;5064:21;5057:5;5054:32;5044:60;;5100:1;5097;5090:12;5044:60;5123:5;5113:15;;;4787:347;;;;;:::o;5139:667::-;5234:6;5242;5250;5258;5311:3;5299:9;5290:7;5286:23;5282:33;5279:53;;;5328:1;5325;5318:12;5279:53;5351:29;5370:9;5351:29;:::i;:::-;5341:39;;5399:38;5433:2;5422:9;5418:18;5399:38;:::i;:::-;5389:48;;5484:2;5473:9;5469:18;5456:32;5446:42;;5539:2;5528:9;5524:18;5511:32;-1:-1:-1;;;;;5558:6:1;5555:30;5552:50;;;5598:1;5595;5588:12;5552:50;5621:22;;5674:4;5666:13;;5662:27;-1:-1:-1;5652:55:1;;5703:1;5700;5693:12;5652:55;5726:74;5792:7;5787:2;5774:16;5769:2;5765;5761:11;5726:74;:::i;:::-;5716:84;;;5139:667;;;;;;;:::o;5811:183::-;5871:4;-1:-1:-1;;;;;5896:6:1;5893:30;5890:56;;;5926:18;;:::i;:::-;-1:-1:-1;5971:1:1;5967:14;5983:4;5963:25;;5811:183::o;5999:959::-;6092:6;6100;6153:2;6141:9;6132:7;6128:23;6124:32;6121:52;;;6169:1;6166;6159:12;6121:52;6205:9;6192:23;6182:33;;6234:2;6287;6276:9;6272:18;6259:32;-1:-1:-1;;;;;6306:6:1;6303:30;6300:50;;;6346:1;6343;6336:12;6300:50;6369:22;;6422:4;6414:13;;6410:27;-1:-1:-1;6400:55:1;;6451:1;6448;6441:12;6400:55;6487:2;6474:16;6510:60;6526:43;6566:2;6526:43;:::i;:::-;6510:60;:::i;:::-;6604:15;;;6686:1;6682:10;;;;6674:19;;6670:28;;;6635:12;;;;6710:19;;;6707:39;;;6742:1;6739;6732:12;6707:39;6766:11;;;;6786:142;6802:6;6797:3;6794:15;6786:142;;;6868:17;;6856:30;;6819:12;;;;6906;;;;6786:142;;;6947:5;6937:15;;;;;;;5999:959;;;;;:::o;6963:967::-;7056:6;7064;7117:2;7105:9;7096:7;7092:23;7088:32;7085:52;;;7133:1;7130;7123:12;7085:52;7173:9;7160:23;-1:-1:-1;;;;;7198:6:1;7195:30;7192:50;;;7238:1;7235;7228:12;7192:50;7261:22;;7314:4;7306:13;;7302:27;-1:-1:-1;7292:55:1;;7343:1;7340;7333:12;7292:55;7379:2;7366:16;7401:4;7425:60;7441:43;7481:2;7441:43;:::i;7425:60::-;7519:15;;;7601:1;7597:10;;;;7589:19;;7585:28;;;7550:12;;;;7625:19;;;7622:39;;;7657:1;7654;7647:12;7622:39;7681:11;;;;7701:148;7717:6;7712:3;7709:15;7701:148;;;7783:23;7802:3;7783:23;:::i;:::-;7771:36;;7734:12;;;;7827;;;;7701:148;;;7868:5;7905:18;;;;7892:32;;-1:-1:-1;;;;;;6963:967:1:o;7935:260::-;8003:6;8011;8064:2;8052:9;8043:7;8039:23;8035:32;8032:52;;;8080:1;8077;8070:12;8032:52;8103:29;8122:9;8103:29;:::i;:::-;8093:39;;8151:38;8185:2;8174:9;8170:18;8151:38;:::i;:::-;8141:48;;7935:260;;;;;:::o;8385:322::-;8462:6;8470;8478;8531:2;8519:9;8510:7;8506:23;8502:32;8499:52;;;8547:1;8544;8537:12;8499:52;8570:29;8589:9;8570:29;:::i;:::-;8560:39;8646:2;8631:18;;8618:32;;-1:-1:-1;8697:2:1;8682:18;;;8669:32;;8385:322;-1:-1:-1;;;8385:322:1:o;8712:820::-;8825:6;8833;8841;8849;8857;8910:3;8898:9;8889:7;8885:23;8881:33;8878:53;;;8927:1;8924;8917:12;8878:53;8963:9;8950:23;8940:33;;9020:2;9009:9;9005:18;8992:32;8982:42;;9071:2;9060:9;9056:18;9043:32;9033:42;;9126:2;9115:9;9111:18;9098:32;-1:-1:-1;;;;;9190:2:1;9182:6;9179:14;9176:34;;;9206:1;9203;9196:12;9176:34;9244:6;9233:9;9229:22;9219:32;;9289:7;9282:4;9278:2;9274:13;9270:27;9260:55;;9311:1;9308;9301:12;9260:55;9351:2;9338:16;9377:2;9369:6;9366:14;9363:34;;;9393:1;9390;9383:12;9363:34;9446:7;9441:2;9431:6;9428:1;9424:14;9420:2;9416:23;9412:32;9409:45;9406:65;;;9467:1;9464;9457:12;9406:65;8712:820;;;;-1:-1:-1;8712:820:1;;-1:-1:-1;9498:2:1;9490:11;;9520:6;8712:820;-1:-1:-1;;;8712:820:1:o;9537:380::-;9616:1;9612:12;;;;9659;;;9680:61;;9734:4;9726:6;9722:17;9712:27;;9680:61;9787:2;9779:6;9776:14;9756:18;9753:38;9750:161;;9833:10;9828:3;9824:20;9821:1;9814:31;9868:4;9865:1;9858:15;9896:4;9893:1;9886:15;9750:161;;9537:380;;;:::o;10048:545::-;10150:2;10145:3;10142:11;10139:448;;;10186:1;10211:5;10207:2;10200:17;10256:4;10252:2;10242:19;10326:2;10314:10;10310:19;10307:1;10303:27;10297:4;10293:38;10362:4;10350:10;10347:20;10344:47;;;-1:-1:-1;10385:4:1;10344:47;10440:2;10435:3;10431:12;10428:1;10424:20;10418:4;10414:31;10404:41;;10495:82;10513:2;10506:5;10503:13;10495:82;;;10558:17;;;10539:1;10528:13;10495:82;;;10499:3;;;10048:545;;;:::o;10769:1352::-;10895:3;10889:10;-1:-1:-1;;;;;10914:6:1;10911:30;10908:56;;;10944:18;;:::i;:::-;10973:97;11063:6;11023:38;11055:4;11049:11;11023:38;:::i;:::-;11017:4;10973:97;:::i;:::-;11125:4;;11189:2;11178:14;;11206:1;11201:663;;;;11908:1;11925:6;11922:89;;;-1:-1:-1;11977:19:1;;;11971:26;11922:89;-1:-1:-1;;10726:1:1;10722:11;;;10718:24;10714:29;10704:40;10750:1;10746:11;;;10701:57;12024:81;;11171:944;;11201:663;9995:1;9988:14;;;10032:4;10019:18;;-1:-1:-1;;11237:20:1;;;11355:236;11369:7;11366:1;11363:14;11355:236;;;11458:19;;;11452:26;11437:42;;11550:27;;;;11518:1;11506:14;;;;11385:19;;11355:236;;;11359:3;11619:6;11610:7;11607:19;11604:201;;;11680:19;;;11674:26;-1:-1:-1;;11763:1:1;11759:14;;;11775:3;11755:24;11751:37;11747:42;11732:58;11717:74;;11604:201;-1:-1:-1;;;;;11851:1:1;11835:14;;;11831:22;11818:36;;-1:-1:-1;10769:1352:1:o;12126:127::-;12187:10;12182:3;12178:20;12175:1;12168:31;12218:4;12215:1;12208:15;12242:4;12239:1;12232:15;12258:168;12298:7;12364:1;12360;12356:6;12352:14;12349:1;12346:21;12341:1;12334:9;12327:17;12323:45;12320:71;;;12371:18;;:::i;:::-;-1:-1:-1;12411:9:1;;12258:168::o;12431:128::-;12471:3;12502:1;12498:6;12495:1;12492:13;12489:39;;;12508:18;;:::i;:::-;-1:-1:-1;12544:9:1;;12431:128::o;12564:342::-;12766:2;12748:21;;;12805:2;12785:18;;;12778:30;-1:-1:-1;;;12839:2:1;12824:18;;12817:48;12897:2;12882:18;;12564:342::o;12911:127::-;12972:10;12967:3;12963:20;12960:1;12953:31;13003:4;13000:1;12993:15;13027:4;13024:1;13017:15;13043:135;13082:3;13103:17;;;13100:43;;13123:18;;:::i;:::-;-1:-1:-1;13170:1:1;13159:13;;13043:135::o;13599:470::-;13778:3;13816:6;13810:13;13832:53;13878:6;13873:3;13866:4;13858:6;13854:17;13832:53;:::i;:::-;13948:13;;13907:16;;;;13970:57;13948:13;13907:16;14004:4;13992:17;;13970:57;:::i;:::-;14043:20;;13599:470;-1:-1:-1;;;;13599:470:1:o;16611:489::-;-1:-1:-1;;;;;16880:15:1;;;16862:34;;16932:15;;16927:2;16912:18;;16905:43;16979:2;16964:18;;16957:34;;;17027:3;17022:2;17007:18;;17000:31;;;16805:4;;17048:46;;17074:19;;17066:6;17048:46;:::i;:::-;17040:54;16611:489;-1:-1:-1;;;;;;16611:489:1:o;17105:249::-;17174:6;17227:2;17215:9;17206:7;17202:23;17198:32;17195:52;;;17243:1;17240;17233:12;17195:52;17275:9;17269:16;17294:30;17318:5;17294:30;:::i;17359:127::-;17420:10;17415:3;17411:20;17408:1;17401:31;17451:4;17448:1;17441:15;17475:4;17472:1;17465:15;17491:120;17531:1;17557;17547:35;;17562:18;;:::i;:::-;-1:-1:-1;17596:9:1;;17491:120::o;17616:125::-;17656:4;17684:1;17681;17678:8;17675:34;;;17689:18;;:::i;:::-;-1:-1:-1;17726:9:1;;17616:125::o;17746:112::-;17778:1;17804;17794:35;;17809:18;;:::i;:::-;-1:-1:-1;17843:9:1;;17746:112::o

Swarm Source

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