ETH Price: $3,464.03 (+3.91%)
Gas: 5.19 Gwei

Token

Dream3 (DRM3)
 

Overview

Max Total Supply

2,222 DRM3

Holders

1,492

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
oldperson.eth
Balance
1 DRM3
0x19363f5473ee1cf0bc1a647e94606b0b3e37ca2c
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:
Dream3

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 500 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-17
*/

// SPDX-License-Identifier: MIT



// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File: @openzeppelin/contracts/utils/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: @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/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/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/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/interfaces/IERC2981.sol


// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;


/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

// 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/common/ERC2981.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;








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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

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

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

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

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

        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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

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

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


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

pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

// File: contracts/2_Owner.sol


pragma solidity ^0.8.13;


/// @title An ERC721 Collection for DREAM3 Genesis Pass
/// @author Wipiway.eth 
contract Dream3 is ERC721Enumerable,Ownable,ReentrancyGuard,ERC2981  {
    using Strings for uint256;

    uint256 public constant NFT_COLLECTION_MAX = 2222;
    uint256 public constant RESERVE_TOKEN = 30;

    uint256 public mintCount = 0;
    mapping(address => bool) private userMinted;

    string private _tokenBaseURI = "";
    string private _tokenRevealedBaseURI = "";

    // If isLive = true && isPublicFlag = false |==> whitelistPhase
    bool public isPublicFlag = false;
    bool public isLiveFlag = false;

    bytes32 public merkleroot;
    // string public PROVENANCE_HASH = "";

    address private teamWallet;

    /****************
        MODIFIERS
    ******************/

    modifier isLive() {
      require(
        isLiveFlag, "Mint is not live"
      );
      _;
    }

    modifier isPublic() {
      require(
        isPublicFlag, "Not in public stage"
      );
      _;
    }

    modifier canMint() {
      require(
        userMinted[msg.sender] == false, "Previously minted"
      );
      require(
            mintCount < NFT_COLLECTION_MAX,
            "Not enough NFTs remain"
      );
      _;
    }

    /**
    @notice constructor
    @dev Initializes the contract with the withdrawalWallet address and the provenance hash
    @param _teamWallet address of the wallet for royalties and ReserveTokens
     */    
    constructor(
        address _teamWallet
    ) ERC721("Dream3", "DRM3") {
        teamWallet = _teamWallet;
    }

    /**
    @notice setMerkelRoot
    @dev Sets the merkle root
    @param root bytes32 merkle root
     */
    function setMerkleRoot(bytes32 root) external onlyOwner {
        merkleroot = root;
    }

    /**
    @notice whitelistMint
    @dev Mints a token for a whitelisted user
    @param proof bytes32 proof of Merkle tree
     */
    function whitelistMint(bytes32[] calldata proof) 
        isLive 
        canMint
        external 
        nonReentrant {  // check if nonReentrant is needed. No external call being done.
        
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(proof, merkleroot, leaf), "Invalid Merkle Proof");
        
        mintCount++;
        _mint(msg.sender, mintCount);
        userMinted[msg.sender] = true;
    }

    /**
    @notice publicMint
    @dev Mints a token for anyone who calls
     */
    function publicMint() 
        isLive 
        isPublic
        canMint
        external 
        nonReentrant {  // check if nonReentrant is needed. No external call being done.

        mintCount++;
        _mint(msg.sender, mintCount);
        userMinted[msg.sender] = true;
    }

    /**
    @notice reserveTokensForTeam
    @dev Reserves tokens for a team to withdrawlWallet
     */
    function reserveTokensForTeam() external onlyOwner{
        require(
            mintCount + RESERVE_TOKEN <= NFT_COLLECTION_MAX,
            "Not enough NFTs remain"
        );

        for (uint256 i = 0; i < RESERVE_TOKEN; i++) {
            mintCount++;
            _mint(teamWallet, mintCount);
        }
    }

    /**
    @notice toggleLive
    @dev toggle the sale stage b/w NOTLIVE <=> PUBLICSALE
    */
    function toggleLive() external onlyOwner {
        isLiveFlag = !isLiveFlag;
    }

    /**
    @notice togglePublic
    @dev toggle the sale stage b/w Public <> Not public
    */
    function togglePublic() external onlyOwner {
        isPublicFlag = !isPublicFlag;
    }

    /// @dev Sets token royalties
    /// @param recipient recipient of the royalties
    /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function setRoyalties(address recipient, uint96 value) public onlyOwner {
        _setDefaultRoyalty(recipient, value);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, ERC2981) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /** @dev Contract-level metadata for OpenSea. */
    // Update for collection-specific metadata.
    function contractURI() public view returns (string memory) {
        return "ipfs://QmZtGgwPwhub5oQ8VaGZVJyxmU2y5YGbh7u7HueYaY7y8N"; // Contract-level metadata for Chibi.
    }

    /**
    @notice withdraw
    @dev Withdraws the funds to the teamWallet
    */
    function withdraw() external {
        (bool _success, ) = (teamWallet).call{ value: address(this).balance }("");
        require (_success, "Could not withdraw");
    }

    /**
    @notice setTokenBaseURI
    @dev Sets the base URI for the token
    @param newBaseURI string base URI for the token
     */
    function setTokenBaseURI(string calldata newBaseURI) external onlyOwner {
        _tokenBaseURI = newBaseURI;
    }

    /**
    @notice setTokenRevealedBaseURI
    @dev Sets the base URI for the token
    @param _revealedBaseURI string base URI for the token
     */
    function setTokenRevealedBaseURI(string calldata _revealedBaseURI)
        external
        onlyOwner
    {
        _tokenRevealedBaseURI = _revealedBaseURI;
    }

    /**
    @notice tokenURI
    @dev Returns the token URI
    @param _tokenId uint256 token ID
    */
    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        require(_exists(_tokenId), "Token does not exist");

        /// @dev Convert string to bytes so we can check if it's empty or not.
        return
            bytes(_tokenRevealedBaseURI).length > 0
                ? string(
                    abi.encodePacked(_tokenRevealedBaseURI, _tokenId.toString())
                )
                : _tokenBaseURI;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_teamWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"NFT_COLLECTION_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVE_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLiveFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicFlag","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleroot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokensForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_revealedBaseURI","type":"string"}],"name":"setTokenRevealedBaseURI","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":[],"name":"toggleLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000600e81905560a0604081905260808290526200002191601091906200017c565b5060408051602081019182905260009081905262000042916011916200017c565b506012805461ffff191690553480156200005b57600080fd5b506040516200298c3803806200298c8339810160408190526200007e9162000222565b6040805180820182526006815265447265616d3360d01b60208083019182528351808501909452600484526344524d3360e01b908401528151919291620000c8916000916200017c565b508051620000de9060019060208401906200017c565b505050620000fb620000f56200012660201b60201c565b6200012a565b6001600b55601480546001600160a01b0319166001600160a01b039290921691909117905562000290565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018a9062000254565b90600052602060002090601f016020900481019282620001ae5760008555620001f9565b82601f10620001c957805160ff1916838001178555620001f9565b82800160010185558215620001f9579182015b82811115620001f9578251825591602001919060010190620001dc565b50620002079291506200020b565b5090565b5b808211156200020757600081556001016200020c565b6000602082840312156200023557600080fd5b81516001600160a01b03811681146200024d57600080fd5b9392505050565b600181811c908216806200026957607f821691505b6020821081036200028a57634e487b7160e01b600052602260045260246000fd5b50919050565b6126ec80620002a06000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80638d5e64ea11610130578063b6c7ecf5116100b8578063e6900c191161007c578063e6900c191461046d578063e8a3d4851461047a578063e985e9c514610482578063ec0d7557146104be578063f2fde38b146104c657600080fd5b8063b6c7ecf514610419578063b88d4fde14610422578063c21b471b14610435578063c3e8c14214610448578063c87b56dd1461045a57600080fd5b80639659867e116100ff5780639659867e146103e5578063981d8771146103ee5780639ed7a6c4146103f6578063a22cb465146103fe578063ae4b94461461041157600080fd5b80638d5e64ea146103b05780638da5cb5b146103b95780638ef79e91146103ca57806395d89b41146103dd57600080fd5b8063372f657c116101b35780636352211e116101825780636352211e1461035c578063660a949e1461036f57806370a0823114610382578063715018a6146103955780637cb647591461039d57600080fd5b8063372f657c1461031b5780633ccfd60b1461032e57806342842e0e146103365780634f6ccce71461034957600080fd5b806318160ddd116101fa57806318160ddd146102a957806323b872dd146102bb57806326092b83146102ce5780632a55205a146102d65780632f745c591461030857600080fd5b806301ffc9a71461022c57806306fdde0314610254578063081812fc14610269578063095ea7b314610294575b600080fd5b61023f61023a366004612072565b6104d9565b60405190151581526020015b60405180910390f35b61025c6104ea565b60405161024b91906120e7565b61027c6102773660046120fa565b61057c565b6040516001600160a01b03909116815260200161024b565b6102a76102a236600461212f565b6105a3565b005b6008545b60405190815260200161024b565b6102a76102c9366004612159565b6106bd565b6102a7610735565b6102e96102e4366004612195565b61090b565b604080516001600160a01b03909316835260208301919091520161024b565b6102ad61031636600461212f565b6109c6565b6102a76103293660046121b7565b610a5c565b6102a7610ca9565b6102a7610344366004612159565b610d4f565b6102ad6103573660046120fa565b610d6a565b61027c61036a3660046120fa565b610dfd565b6102a761037d36600461222c565b610e62565b6102ad61039036600461228c565b610e76565b6102a7610efc565b6102a76103ab3660046120fa565b610f10565b6102ad6108ae81565b600a546001600160a01b031661027c565b6102a76103d836600461222c565b610f1d565b61025c610f31565b6102ad600e5481565b6102a7610f40565b6102ad601e81565b6102a761040c3660046122a7565b610f5c565b6102a7610f6b565b6102ad60135481565b6102a76104303660046122f9565b611018565b6102a76104433660046123d5565b611097565b60125461023f90610100900460ff1681565b61025c6104683660046120fa565b6110a9565b60125461023f9060ff1681565b61025c6111e7565b61023f610490366004612412565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102a7611207565b6102a76104d436600461228c565b61122c565b60006104e4826112a2565b92915050565b6060600080546104f990612445565b80601f016020809104026020016040519081016040528092919081815260200182805461052590612445565b80156105725780601f1061054757610100808354040283529160200191610572565b820191906000526020600020905b81548152906001019060200180831161055557829003601f168201915b5050505050905090565b6000610587826112c7565b506000908152600460205260409020546001600160a01b031690565b60006105ae82610dfd565b9050806001600160a01b0316836001600160a01b0316036106205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061063c575061063c8133610490565b6106ae5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610617565b6106b8838361132b565b505050565b6106c73382611399565b61072a5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610617565b6106b8838383611418565b601254610100900460ff1661077f5760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b6044820152606401610617565b60125460ff166107d15760405162461bcd60e51b815260206004820152601360248201527f4e6f7420696e207075626c6963207374616765000000000000000000000000006044820152606401610617565b336000908152600f602052604090205460ff16156108255760405162461bcd60e51b8152602060048201526011602482015270141c995d9a5bdd5cdb1e481b5a5b9d1959607a1b6044820152606401610617565b6108ae600e54106108715760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b6002600b54036108c35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610617565b6002600b55600e80549060006108d883612495565b91905055506108e933600e546115bf565b336000908152600f60205260409020805460ff19166001908117909155600b55565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff1692820192909252829161098a575060408051808201909152600c546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906109ae906bffffffffffffffffffffffff16876124ae565b6109b891906124e3565b915196919550909350505050565b60006109d183610e76565b8210610a335760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610617565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601254610100900460ff16610aa65760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b6044820152606401610617565b336000908152600f602052604090205460ff1615610afa5760405162461bcd60e51b8152602060048201526011602482015270141c995d9a5bdd5cdb1e481b5a5b9d1959607a1b6044820152606401610617565b6108ae600e5410610b465760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b6002600b5403610b985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610617565b6002600b556040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610c1783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601354915084905061170d565b610c635760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964204d65726b6c652050726f6f660000000000000000000000006044820152606401610617565b600e8054906000610c7383612495565b9190505550610c8433600e546115bf565b5050336000908152600f60205260409020805460ff19166001908117909155600b5550565b6014546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610cf6576040519150601f19603f3d011682016040523d82523d6000602084013e610cfb565b606091505b5050905080610d4c5760405162461bcd60e51b815260206004820152601260248201527f436f756c64206e6f7420776974686472617700000000000000000000000000006044820152606401610617565b50565b6106b883838360405180602001604052806000815250611018565b6000610d7560085490565b8210610dd85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610617565b60088281548110610deb57610deb6124f7565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104e45760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610617565b610e6a611723565b6106b860118383611fc3565b60006001600160a01b038216610ee05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610617565b506001600160a01b031660009081526003602052604090205490565b610f04611723565b610f0e600061177d565b565b610f18611723565b601355565b610f25611723565b6106b860108383611fc3565b6060600180546104f990612445565b610f48611723565b6012805460ff19811660ff90911615179055565b610f673383836117cf565b5050565b610f73611723565b6108ae601e600e54610f85919061250d565b1115610fcc5760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b60005b601e811015610d4c57600e8054906000610fe883612495565b9091555050601454600e54611006916001600160a01b0316906115bf565b8061101081612495565b915050610fcf565b6110223383611399565b6110855760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610617565b6110918484848461189d565b50505050565b61109f611723565b610f67828261191b565b6000818152600260205260409020546060906001600160a01b03166111105760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610617565b60006011805461111f90612445565b9050116111b6576010805461113390612445565b80601f016020809104026020016040519081016040528092919081815260200182805461115f90612445565b80156111ac5780601f10611181576101008083540402835291602001916111ac565b820191906000526020600020905b81548152906001019060200180831161118f57829003601f168201915b50505050506104e4565b60116111c183611a22565b6040516020016111d2929190612541565b60405160208183030381529060405292915050565b606060405180606001604052806035815260200161268260359139905090565b61120f611723565b6012805461ff001981166101009182900460ff1615909102179055565b611234611723565b6001600160a01b0381166112995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610617565b610d4c8161177d565b60006001600160e01b0319821663152a902d60e11b14806104e457506104e482611b3b565b6000818152600260205260409020546001600160a01b0316610d4c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610617565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061136082610dfd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113a583610dfd565b9050806001600160a01b0316846001600160a01b031614806113ec57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806114105750836001600160a01b03166114058461057c565b6001600160a01b0316145b949350505050565b826001600160a01b031661142b82610dfd565b6001600160a01b03161461148f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610617565b6001600160a01b0382166114f15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610617565b6114fc838383611b60565b61150760008261132b565b6001600160a01b03831660009081526003602052604081208054600192906115309084906125e7565b90915550506001600160a01b038216600090815260036020526040812080546001929061155e90849061250d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166116155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610617565b6000818152600260205260409020546001600160a01b03161561167a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610617565b61168660008383611b60565b6001600160a01b03821660009081526003602052604081208054600192906116af90849061250d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008261171a8584611c18565b14949350505050565b600a546001600160a01b03163314610f0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610617565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036118305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610617565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6118a8848484611418565b6118b484848484611c65565b6110915760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610617565b6127106bffffffffffffffffffffffff8216111561198e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610617565b6001600160a01b0382166119e45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610617565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600c55565b606081600003611a495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a735780611a5d81612495565b9150611a6c9050600a836124e3565b9150611a4d565b60008167ffffffffffffffff811115611a8e57611a8e6122e3565b6040519080825280601f01601f191660200182016040528015611ab8576020820181803683370190505b5090505b841561141057611acd6001836125e7565b9150611ada600a866125fe565b611ae590603061250d565b60f81b818381518110611afa57611afa6124f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611b34600a866124e3565b9450611abc565b60006001600160e01b0319821663780e9d6360e01b14806104e457506104e482611db1565b6001600160a01b038316611bbb57611bb681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bde565b816001600160a01b0316836001600160a01b031614611bde57611bde8382611e01565b6001600160a01b038216611bf5576106b881611e9e565b826001600160a01b0316826001600160a01b0316146106b8576106b88282611f4d565b600081815b8451811015611c5d57611c4982868381518110611c3c57611c3c6124f7565b6020026020010151611f91565b915080611c5581612495565b915050611c1d565b509392505050565b60006001600160a01b0384163b15611da657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ca9903390899088908890600401612612565b6020604051808303816000875af1925050508015611ce4575060408051601f3d908101601f19168201909252611ce19181019061264e565b60015b611d8c573d808015611d12576040519150601f19603f3d011682016040523d82523d6000602084013e611d17565b606091505b508051600003611d845760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610617565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611410565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611de257506001600160e01b03198216635b5e139f60e01b145b806104e457506301ffc9a760e01b6001600160e01b03198316146104e4565b60006001611e0e84610e76565b611e1891906125e7565b600083815260076020526040902054909150808214611e6b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eb0906001906125e7565b60008381526009602052604081205460088054939450909284908110611ed857611ed86124f7565b906000526020600020015490508060088381548110611ef957611ef96124f7565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f3157611f3161266b565b6001900381819060005260206000200160009055905550505050565b6000611f5883610e76565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000818310611fad576000828152602084905260409020611fbc565b60008381526020839052604090205b9392505050565b828054611fcf90612445565b90600052602060002090601f016020900481019282611ff15760008555612037565b82601f1061200a5782800160ff19823516178555612037565b82800160010185558215612037579182015b8281111561203757823582559160200191906001019061201c565b50612043929150612047565b5090565b5b808211156120435760008155600101612048565b6001600160e01b031981168114610d4c57600080fd5b60006020828403121561208457600080fd5b8135611fbc8161205c565b60005b838110156120aa578181015183820152602001612092565b838111156110915750506000910152565b600081518084526120d381602086016020860161208f565b601f01601f19169290920160200192915050565b602081526000611fbc60208301846120bb565b60006020828403121561210c57600080fd5b5035919050565b80356001600160a01b038116811461212a57600080fd5b919050565b6000806040838503121561214257600080fd5b61214b83612113565b946020939093013593505050565b60008060006060848603121561216e57600080fd5b61217784612113565b925061218560208501612113565b9150604084013590509250925092565b600080604083850312156121a857600080fd5b50508035926020909101359150565b600080602083850312156121ca57600080fd5b823567ffffffffffffffff808211156121e257600080fd5b818501915085601f8301126121f657600080fd5b81358181111561220557600080fd5b8660208260051b850101111561221a57600080fd5b60209290920196919550909350505050565b6000806020838503121561223f57600080fd5b823567ffffffffffffffff8082111561225757600080fd5b818501915085601f83011261226b57600080fd5b81358181111561227a57600080fd5b86602082850101111561221a57600080fd5b60006020828403121561229e57600080fd5b611fbc82612113565b600080604083850312156122ba57600080fd5b6122c383612113565b9150602083013580151581146122d857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561230f57600080fd5b61231885612113565b935061232660208601612113565b925060408501359150606085013567ffffffffffffffff8082111561234a57600080fd5b818701915087601f83011261235e57600080fd5b813581811115612370576123706122e3565b604051601f8201601f19908116603f01168101908382118183101715612398576123986122e3565b816040528281528a60208487010111156123b157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123e857600080fd5b6123f183612113565b915060208301356bffffffffffffffffffffffff811681146122d857600080fd5b6000806040838503121561242557600080fd5b61242e83612113565b915061243c60208401612113565b90509250929050565b600181811c9082168061245957607f821691505b60208210810361247957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016124a7576124a761247f565b5060010190565b60008160001904831182151516156124c8576124c861247f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826124f2576124f26124cd565b500490565b634e487b7160e01b600052603260045260246000fd5b600082198211156125205761252061247f565b500190565b6000815161253781856020860161208f565b9290920192915050565b600080845481600182811c91508083168061255d57607f831692505b6020808410820361257c57634e487b7160e01b86526022600452602486fd5b81801561259057600181146125a1576125ce565b60ff198616895284890196506125ce565b60008b81526020902060005b868110156125c65781548b8201529085019083016125ad565b505084890196505b5050505050506125de8185612525565b95945050505050565b6000828210156125f9576125f961247f565b500390565b60008261260d5761260d6124cd565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261264460808301846120bb565b9695505050505050565b60006020828403121561266057600080fd5b8151611fbc8161205c565b634e487b7160e01b600052603160045260246000fdfe697066733a2f2f516d5a744767775077687562356f51385661475a564a79786d55327935594762683775374875655961593779384ea264697066735822122036657a05b6ca9ddb984ae63b1b83b7e2af830dd501f76b29cae3655f8fe90fa464736f6c634300080d003300000000000000000000000064a307162daaf020dbe64503c6d4d284d0fe2008

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102275760003560e01c80638d5e64ea11610130578063b6c7ecf5116100b8578063e6900c191161007c578063e6900c191461046d578063e8a3d4851461047a578063e985e9c514610482578063ec0d7557146104be578063f2fde38b146104c657600080fd5b8063b6c7ecf514610419578063b88d4fde14610422578063c21b471b14610435578063c3e8c14214610448578063c87b56dd1461045a57600080fd5b80639659867e116100ff5780639659867e146103e5578063981d8771146103ee5780639ed7a6c4146103f6578063a22cb465146103fe578063ae4b94461461041157600080fd5b80638d5e64ea146103b05780638da5cb5b146103b95780638ef79e91146103ca57806395d89b41146103dd57600080fd5b8063372f657c116101b35780636352211e116101825780636352211e1461035c578063660a949e1461036f57806370a0823114610382578063715018a6146103955780637cb647591461039d57600080fd5b8063372f657c1461031b5780633ccfd60b1461032e57806342842e0e146103365780634f6ccce71461034957600080fd5b806318160ddd116101fa57806318160ddd146102a957806323b872dd146102bb57806326092b83146102ce5780632a55205a146102d65780632f745c591461030857600080fd5b806301ffc9a71461022c57806306fdde0314610254578063081812fc14610269578063095ea7b314610294575b600080fd5b61023f61023a366004612072565b6104d9565b60405190151581526020015b60405180910390f35b61025c6104ea565b60405161024b91906120e7565b61027c6102773660046120fa565b61057c565b6040516001600160a01b03909116815260200161024b565b6102a76102a236600461212f565b6105a3565b005b6008545b60405190815260200161024b565b6102a76102c9366004612159565b6106bd565b6102a7610735565b6102e96102e4366004612195565b61090b565b604080516001600160a01b03909316835260208301919091520161024b565b6102ad61031636600461212f565b6109c6565b6102a76103293660046121b7565b610a5c565b6102a7610ca9565b6102a7610344366004612159565b610d4f565b6102ad6103573660046120fa565b610d6a565b61027c61036a3660046120fa565b610dfd565b6102a761037d36600461222c565b610e62565b6102ad61039036600461228c565b610e76565b6102a7610efc565b6102a76103ab3660046120fa565b610f10565b6102ad6108ae81565b600a546001600160a01b031661027c565b6102a76103d836600461222c565b610f1d565b61025c610f31565b6102ad600e5481565b6102a7610f40565b6102ad601e81565b6102a761040c3660046122a7565b610f5c565b6102a7610f6b565b6102ad60135481565b6102a76104303660046122f9565b611018565b6102a76104433660046123d5565b611097565b60125461023f90610100900460ff1681565b61025c6104683660046120fa565b6110a9565b60125461023f9060ff1681565b61025c6111e7565b61023f610490366004612412565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102a7611207565b6102a76104d436600461228c565b61122c565b60006104e4826112a2565b92915050565b6060600080546104f990612445565b80601f016020809104026020016040519081016040528092919081815260200182805461052590612445565b80156105725780601f1061054757610100808354040283529160200191610572565b820191906000526020600020905b81548152906001019060200180831161055557829003601f168201915b5050505050905090565b6000610587826112c7565b506000908152600460205260409020546001600160a01b031690565b60006105ae82610dfd565b9050806001600160a01b0316836001600160a01b0316036106205760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061063c575061063c8133610490565b6106ae5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610617565b6106b8838361132b565b505050565b6106c73382611399565b61072a5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610617565b6106b8838383611418565b601254610100900460ff1661077f5760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b6044820152606401610617565b60125460ff166107d15760405162461bcd60e51b815260206004820152601360248201527f4e6f7420696e207075626c6963207374616765000000000000000000000000006044820152606401610617565b336000908152600f602052604090205460ff16156108255760405162461bcd60e51b8152602060048201526011602482015270141c995d9a5bdd5cdb1e481b5a5b9d1959607a1b6044820152606401610617565b6108ae600e54106108715760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b6002600b54036108c35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610617565b6002600b55600e80549060006108d883612495565b91905055506108e933600e546115bf565b336000908152600f60205260409020805460ff19166001908117909155600b55565b6000828152600d602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff1692820192909252829161098a575060408051808201909152600c546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906109ae906bffffffffffffffffffffffff16876124ae565b6109b891906124e3565b915196919550909350505050565b60006109d183610e76565b8210610a335760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610617565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601254610100900460ff16610aa65760405162461bcd60e51b815260206004820152601060248201526f4d696e74206973206e6f74206c69766560801b6044820152606401610617565b336000908152600f602052604090205460ff1615610afa5760405162461bcd60e51b8152602060048201526011602482015270141c995d9a5bdd5cdb1e481b5a5b9d1959607a1b6044820152606401610617565b6108ae600e5410610b465760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b6002600b5403610b985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610617565b6002600b556040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610c1783838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601354915084905061170d565b610c635760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964204d65726b6c652050726f6f660000000000000000000000006044820152606401610617565b600e8054906000610c7383612495565b9190505550610c8433600e546115bf565b5050336000908152600f60205260409020805460ff19166001908117909155600b5550565b6014546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610cf6576040519150601f19603f3d011682016040523d82523d6000602084013e610cfb565b606091505b5050905080610d4c5760405162461bcd60e51b815260206004820152601260248201527f436f756c64206e6f7420776974686472617700000000000000000000000000006044820152606401610617565b50565b6106b883838360405180602001604052806000815250611018565b6000610d7560085490565b8210610dd85760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610617565b60088281548110610deb57610deb6124f7565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104e45760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610617565b610e6a611723565b6106b860118383611fc3565b60006001600160a01b038216610ee05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610617565b506001600160a01b031660009081526003602052604090205490565b610f04611723565b610f0e600061177d565b565b610f18611723565b601355565b610f25611723565b6106b860108383611fc3565b6060600180546104f990612445565b610f48611723565b6012805460ff19811660ff90911615179055565b610f673383836117cf565b5050565b610f73611723565b6108ae601e600e54610f85919061250d565b1115610fcc5760405162461bcd60e51b81526020600482015260166024820152752737ba1032b737bab3b41027232a39903932b6b0b4b760511b6044820152606401610617565b60005b601e811015610d4c57600e8054906000610fe883612495565b9091555050601454600e54611006916001600160a01b0316906115bf565b8061101081612495565b915050610fcf565b6110223383611399565b6110855760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610617565b6110918484848461189d565b50505050565b61109f611723565b610f67828261191b565b6000818152600260205260409020546060906001600160a01b03166111105760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20646f6573206e6f742065786973740000000000000000000000006044820152606401610617565b60006011805461111f90612445565b9050116111b6576010805461113390612445565b80601f016020809104026020016040519081016040528092919081815260200182805461115f90612445565b80156111ac5780601f10611181576101008083540402835291602001916111ac565b820191906000526020600020905b81548152906001019060200180831161118f57829003601f168201915b50505050506104e4565b60116111c183611a22565b6040516020016111d2929190612541565b60405160208183030381529060405292915050565b606060405180606001604052806035815260200161268260359139905090565b61120f611723565b6012805461ff001981166101009182900460ff1615909102179055565b611234611723565b6001600160a01b0381166112995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610617565b610d4c8161177d565b60006001600160e01b0319821663152a902d60e11b14806104e457506104e482611b3b565b6000818152600260205260409020546001600160a01b0316610d4c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610617565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061136082610dfd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113a583610dfd565b9050806001600160a01b0316846001600160a01b031614806113ec57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806114105750836001600160a01b03166114058461057c565b6001600160a01b0316145b949350505050565b826001600160a01b031661142b82610dfd565b6001600160a01b03161461148f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610617565b6001600160a01b0382166114f15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610617565b6114fc838383611b60565b61150760008261132b565b6001600160a01b03831660009081526003602052604081208054600192906115309084906125e7565b90915550506001600160a01b038216600090815260036020526040812080546001929061155e90849061250d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166116155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610617565b6000818152600260205260409020546001600160a01b03161561167a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610617565b61168660008383611b60565b6001600160a01b03821660009081526003602052604081208054600192906116af90849061250d565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008261171a8584611c18565b14949350505050565b600a546001600160a01b03163314610f0e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610617565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036118305760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610617565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6118a8848484611418565b6118b484848484611c65565b6110915760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610617565b6127106bffffffffffffffffffffffff8216111561198e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610617565b6001600160a01b0382166119e45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610617565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600c55565b606081600003611a495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611a735780611a5d81612495565b9150611a6c9050600a836124e3565b9150611a4d565b60008167ffffffffffffffff811115611a8e57611a8e6122e3565b6040519080825280601f01601f191660200182016040528015611ab8576020820181803683370190505b5090505b841561141057611acd6001836125e7565b9150611ada600a866125fe565b611ae590603061250d565b60f81b818381518110611afa57611afa6124f7565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611b34600a866124e3565b9450611abc565b60006001600160e01b0319821663780e9d6360e01b14806104e457506104e482611db1565b6001600160a01b038316611bbb57611bb681600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611bde565b816001600160a01b0316836001600160a01b031614611bde57611bde8382611e01565b6001600160a01b038216611bf5576106b881611e9e565b826001600160a01b0316826001600160a01b0316146106b8576106b88282611f4d565b600081815b8451811015611c5d57611c4982868381518110611c3c57611c3c6124f7565b6020026020010151611f91565b915080611c5581612495565b915050611c1d565b509392505050565b60006001600160a01b0384163b15611da657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611ca9903390899088908890600401612612565b6020604051808303816000875af1925050508015611ce4575060408051601f3d908101601f19168201909252611ce19181019061264e565b60015b611d8c573d808015611d12576040519150601f19603f3d011682016040523d82523d6000602084013e611d17565b606091505b508051600003611d845760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610617565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611410565b506001949350505050565b60006001600160e01b031982166380ac58cd60e01b1480611de257506001600160e01b03198216635b5e139f60e01b145b806104e457506301ffc9a760e01b6001600160e01b03198316146104e4565b60006001611e0e84610e76565b611e1891906125e7565b600083815260076020526040902054909150808214611e6b576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611eb0906001906125e7565b60008381526009602052604081205460088054939450909284908110611ed857611ed86124f7565b906000526020600020015490508060088381548110611ef957611ef96124f7565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611f3157611f3161266b565b6001900381819060005260206000200160009055905550505050565b6000611f5883610e76565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6000818310611fad576000828152602084905260409020611fbc565b60008381526020839052604090205b9392505050565b828054611fcf90612445565b90600052602060002090601f016020900481019282611ff15760008555612037565b82601f1061200a5782800160ff19823516178555612037565b82800160010185558215612037579182015b8281111561203757823582559160200191906001019061201c565b50612043929150612047565b5090565b5b808211156120435760008155600101612048565b6001600160e01b031981168114610d4c57600080fd5b60006020828403121561208457600080fd5b8135611fbc8161205c565b60005b838110156120aa578181015183820152602001612092565b838111156110915750506000910152565b600081518084526120d381602086016020860161208f565b601f01601f19169290920160200192915050565b602081526000611fbc60208301846120bb565b60006020828403121561210c57600080fd5b5035919050565b80356001600160a01b038116811461212a57600080fd5b919050565b6000806040838503121561214257600080fd5b61214b83612113565b946020939093013593505050565b60008060006060848603121561216e57600080fd5b61217784612113565b925061218560208501612113565b9150604084013590509250925092565b600080604083850312156121a857600080fd5b50508035926020909101359150565b600080602083850312156121ca57600080fd5b823567ffffffffffffffff808211156121e257600080fd5b818501915085601f8301126121f657600080fd5b81358181111561220557600080fd5b8660208260051b850101111561221a57600080fd5b60209290920196919550909350505050565b6000806020838503121561223f57600080fd5b823567ffffffffffffffff8082111561225757600080fd5b818501915085601f83011261226b57600080fd5b81358181111561227a57600080fd5b86602082850101111561221a57600080fd5b60006020828403121561229e57600080fd5b611fbc82612113565b600080604083850312156122ba57600080fd5b6122c383612113565b9150602083013580151581146122d857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561230f57600080fd5b61231885612113565b935061232660208601612113565b925060408501359150606085013567ffffffffffffffff8082111561234a57600080fd5b818701915087601f83011261235e57600080fd5b813581811115612370576123706122e3565b604051601f8201601f19908116603f01168101908382118183101715612398576123986122e3565b816040528281528a60208487010111156123b157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156123e857600080fd5b6123f183612113565b915060208301356bffffffffffffffffffffffff811681146122d857600080fd5b6000806040838503121561242557600080fd5b61242e83612113565b915061243c60208401612113565b90509250929050565b600181811c9082168061245957607f821691505b60208210810361247957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000600182016124a7576124a761247f565b5060010190565b60008160001904831182151516156124c8576124c861247f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826124f2576124f26124cd565b500490565b634e487b7160e01b600052603260045260246000fd5b600082198211156125205761252061247f565b500190565b6000815161253781856020860161208f565b9290920192915050565b600080845481600182811c91508083168061255d57607f831692505b6020808410820361257c57634e487b7160e01b86526022600452602486fd5b81801561259057600181146125a1576125ce565b60ff198616895284890196506125ce565b60008b81526020902060005b868110156125c65781548b8201529085019083016125ad565b505084890196505b5050505050506125de8185612525565b95945050505050565b6000828210156125f9576125f961247f565b500390565b60008261260d5761260d6124cd565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261264460808301846120bb565b9695505050505050565b60006020828403121561266057600080fd5b8151611fbc8161205c565b634e487b7160e01b600052603160045260246000fdfe697066733a2f2f516d5a744767775077687562356f51385661475a564a79786d55327935594762683775374875655961593779384ea264697066735822122036657a05b6ca9ddb984ae63b1b83b7e2af830dd501f76b29cae3655f8fe90fa464736f6c634300080d0033

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

00000000000000000000000064a307162daaf020dbe64503c6d4d284d0fe2008

-----Decoded View---------------
Arg [0] : _teamWallet (address): 0x64a307162daAf020DBe64503c6D4D284D0FE2008

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000064a307162daaf020dbe64503c6d4d284d0fe2008


Deployed Bytecode Sourcemap

62877:5849:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66759:180;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;66759:180:0;;;;;;;;43314:100;;;:::i;:::-;;;;;;;:::i;44827:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1714:55:1;;;1696:74;;1684:2;1669:18;44827:171:0;1550:226:1;44344:417:0;;;;;;:::i;:::-;;:::i;:::-;;57220:113;57308:10;:17;57220:113;;;2387:25:1;;;2375:2;2360:18;57220:113:0;2241:177:1;45527:336:0;;;;;;:::i;:::-;;:::i;65331:293::-;;;:::i;31716:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3201:55:1;;;3183:74;;3288:2;3273:18;;3266:34;;;;3156:18;31716:442:0;3009:297:1;56888:256:0;;;;;;:::i;:::-;;:::i;64764:472::-;;;;;;:::i;:::-;;:::i;67323:172::-;;;:::i;45934:185::-;;;;;;:::i;:::-;;:::i;57410:233::-;;;;;;:::i;:::-;;:::i;43025:222::-;;;;;;:::i;:::-;;:::i;67926:168::-;;;;;;:::i;:::-;;:::i;42756:207::-;;;;;;:::i;:::-;;:::i;16792:103::-;;;:::i;64525:92::-;;;;;;:::i;:::-;;:::i;62987:49::-;;63032:4;62987:49;;16144:87;16217:6;;-1:-1:-1;;;;;16217:6:0;16144:87;;67645:117;;;;;;:::i;:::-;;:::i;43483:104::-;;;:::i;63094:28::-;;;;;;66365:90;;;:::i;63043:42::-;;63083:2;63043:42;;45070:155;;;;;;:::i;:::-;;:::i;65740:325::-;;;:::i;63418:25::-;;;;;;46190:323;;;;;;:::i;:::-;;:::i;66624:127::-;;;;;;:::i;:::-;;:::i;63379:30::-;;;;;;;;;;;;68211:512;;;;;;:::i;:::-;;:::i;63340:32::-;;;;;;;;;67050:178;;;:::i;45296:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;45417:25:0;;;45393:4;45417:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;45296:164;66173:84;;;:::i;17050:201::-;;;;;;:::i;:::-;;:::i;66759:180::-;66871:4;66895:36;66919:11;66895:23;:36::i;:::-;66888:43;66759:180;-1:-1:-1;;66759:180:0:o;43314:100::-;43368:13;43401:5;43394:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43314:100;:::o;44827:171::-;44903:7;44923:23;44938:7;44923:14;:23::i;:::-;-1:-1:-1;44966:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;44966:24:0;;44827:171::o;44344:417::-;44425:13;44441:23;44456:7;44441:14;:23::i;:::-;44425:39;;44489:5;-1:-1:-1;;;;;44483:11:0;:2;-1:-1:-1;;;;;44483:11:0;;44475:57;;;;-1:-1:-1;;;44475:57:0;;7936:2:1;44475:57:0;;;7918:21:1;7975:2;7955:18;;;7948:30;8014:34;7994:18;;;7987:62;-1:-1:-1;;;8065:18:1;;;8058:31;8106:19;;44475:57:0;;;;;;;;;14775:10;-1:-1:-1;;;;;44567:21:0;;;;:62;;-1:-1:-1;44592:37:0;44609:5;14775:10;45296:164;:::i;44592:37::-;44545:174;;;;-1:-1:-1;;;44545:174:0;;8338:2:1;44545:174:0;;;8320:21:1;8377:2;8357:18;;;8350:30;8416:34;8396:18;;;8389:62;8487:32;8467:18;;;8460:60;8537:19;;44545:174:0;8136:426:1;44545:174:0;44732:21;44741:2;44745:7;44732:8;:21::i;:::-;44414:347;44344:417;;:::o;45527:336::-;45722:41;14775:10;45755:7;45722:18;:41::i;:::-;45714:100;;;;-1:-1:-1;;;45714:100:0;;8769:2:1;45714:100:0;;;8751:21:1;8808:2;8788:18;;;8781:30;8847:34;8827:18;;;8820:62;-1:-1:-1;;;8898:18:1;;;8891:44;8952:19;;45714:100:0;8567:410:1;45714:100:0;45827:28;45837:4;45843:2;45847:7;45827:9;:28::i;65331:293::-;63645:10;;;;;;;63627:57;;;;-1:-1:-1;;;63627:57:0;;9184:2:1;63627:57:0;;;9166:21:1;9223:2;9203:18;;;9196:30;-1:-1:-1;;;9242:18:1;;;9235:46;9298:18;;63627:57:0;8982:340:1;63627:57:0;63757:12:::1;::::0;::::1;;63739:62;;;::::0;-1:-1:-1;;;63739:62:0;;9529:2:1;63739:62:0::1;::::0;::::1;9511:21:1::0;9568:2;9548:18;;;9541:30;9607:21;9587:18;;;9580:49;9646:18;;63739:62:0::1;9327:343:1::0;63739:62:0::1;63884:10:::2;63873:22;::::0;;;:10:::2;:22;::::0;;;;;::::2;;:31;63855:79;;;::::0;-1:-1:-1;;;63855:79:0;;9877:2:1;63855:79:0::2;::::0;::::2;9859:21:1::0;9916:2;9896:18;;;9889:30;-1:-1:-1;;;9935:18:1;;;9928:47;9992:18;;63855:79:0::2;9675:341:1::0;63855:79:0::2;63032:4;63965:9;;:30;63943:100;;;::::0;-1:-1:-1;;;63943:100:0;;10223:2:1;63943:100:0::2;::::0;::::2;10205:21:1::0;10262:2;10242:18;;;10235:30;-1:-1:-1;;;10281:18:1;;;10274:52;10343:18;;63943:100:0::2;10021:346:1::0;63943:100:0::2;1847:1:::3;2445:7;;:19:::0;2437:63:::3;;;::::0;-1:-1:-1;;;2437:63:0;;10574:2:1;2437:63:0::3;::::0;::::3;10556:21:1::0;10613:2;10593:18;;;10586:30;10652:33;10632:18;;;10625:61;10703:18;;2437:63:0::3;10372:355:1::0;2437:63:0::3;1847:1;2578:7;:18:::0;65526:9:::4;:11:::0;;;:9:::4;:11;::::0;::::4;:::i;:::-;;;;;;65548:28;65554:10;65566:9;;65548:5;:28::i;:::-;65598:10;65587:22;::::0;;;:10:::4;:22;::::0;;;;:29;;-1:-1:-1;;65587:29:0::4;65612:4;65587:29:::0;;::::4;::::0;;;2757:7:::3;:22:::0;65331:293::o;31716:442::-;31813:7;31871:27;;;:17;:27;;;;;;;;31842:56;;;;;;;;;-1:-1:-1;;;;;31842:56:0;;;;;-1:-1:-1;;;31842:56:0;;;;;;;;;;;;31813:7;;31911:92;;-1:-1:-1;31962:29:0;;;;;;;;;31972:19;31962:29;-1:-1:-1;;;;;31962:29:0;;;;-1:-1:-1;;;31962:29:0;;;;;;;;31911:92;32053:23;;;;32015:21;;32524:5;;32040:36;;32039:58;32040:36;:10;:36;:::i;:::-;32039:58;;;;:::i;:::-;32118:16;;;;;-1:-1:-1;31716:442:0;;-1:-1:-1;;;;31716:442:0:o;56888:256::-;56985:7;57021:23;57038:5;57021:16;:23::i;:::-;57013:5;:31;57005:87;;;;-1:-1:-1;;;57005:87:0;;11636:2:1;57005:87:0;;;11618:21:1;11675:2;11655:18;;;11648:30;11714:34;11694:18;;;11687:62;-1:-1:-1;;;11765:18:1;;;11758:41;11816:19;;57005:87:0;11434:407:1;57005:87:0;-1:-1:-1;;;;;;57110:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;56888:256::o;64764:472::-;63645:10;;;;;;;63627:57;;;;-1:-1:-1;;;63627:57:0;;9184:2:1;63627:57:0;;;9166:21:1;9223:2;9203:18;;;9196:30;-1:-1:-1;;;9242:18:1;;;9235:46;9298:18;;63627:57:0;8982:340:1;63627:57:0;63884:10:::1;63873:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;:31;63855:79;;;::::0;-1:-1:-1;;;63855:79:0;;9877:2:1;63855:79:0::1;::::0;::::1;9859:21:1::0;9916:2;9896:18;;;9889:30;-1:-1:-1;;;9935:18:1;;;9928:47;9992:18;;63855:79:0::1;9675:341:1::0;63855:79:0::1;63032:4;63965:9;;:30;63943:100;;;::::0;-1:-1:-1;;;63943:100:0;;10223:2:1;63943:100:0::1;::::0;::::1;10205:21:1::0;10262:2;10242:18;;;10235:30;-1:-1:-1;;;10281:18:1;;;10274:52;10343:18;;63943:100:0::1;10021:346:1::0;63943:100:0::1;1847:1:::2;2445:7;;:19:::0;2437:63:::2;;;::::0;-1:-1:-1;;;2437:63:0;;10574:2:1;2437:63:0::2;::::0;::::2;10556:21:1::0;10613:2;10593:18;;;10586:30;10652:33;10632:18;;;10625:61;10703:18;;2437:63:0::2;10372:355:1::0;2437:63:0::2;1847:1;2578:7;:18:::0;65001:28:::3;::::0;-1:-1:-1;;65018:10:0::3;11995:2:1::0;11991:15;11987:53;65001:28:0::3;::::0;::::3;11975:66:1::0;64976:12:0::3;::::0;12057::1;;65001:28:0::3;;;;;;;;;;;;64991:39;;;;;;64976:54;;65049:43;65068:5;;65049:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;::::0;;;;-1:-1:-1;;65075:10:0::3;::::0;;-1:-1:-1;65087:4:0;;-1:-1:-1;65049:18:0::3;:43::i;:::-;65041:76;;;::::0;-1:-1:-1;;;65041:76:0;;12282:2:1;65041:76:0::3;::::0;::::3;12264:21:1::0;12321:2;12301:18;;;12294:30;12360:22;12340:18;;;12333:50;12400:18;;65041:76:0::3;12080:344:1::0;65041:76:0::3;65138:9;:11:::0;;;:9:::3;:11;::::0;::::3;:::i;:::-;;;;;;65160:28;65166:10;65178:9;;65160:5;:28::i;:::-;-1:-1:-1::0;;65210:10:0::3;65199:22;::::0;;;:10:::3;:22;::::0;;;;:29;;-1:-1:-1;;65199:29:0::3;65224:4;65199:29:::0;;::::3;::::0;;;2757:7:::2;:22:::0;-1:-1:-1;64764:472:0:o;67323:172::-;67384:10;;67383:53;;67364:13;;-1:-1:-1;;;;;67384:10:0;;67409:21;;67364:13;67383:53;67364:13;67383:53;67409:21;67384:10;67383:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67363:73;;;67456:8;67447:40;;;;-1:-1:-1;;;67447:40:0;;12841:2:1;67447:40:0;;;12823:21:1;12880:2;12860:18;;;12853:30;12919:20;12899:18;;;12892:48;12957:18;;67447:40:0;12639:342:1;67447:40:0;67352:143;67323:172::o;45934:185::-;46072:39;46089:4;46095:2;46099:7;46072:39;;;;;;;;;;;;:16;:39::i;57410:233::-;57485:7;57521:30;57308:10;:17;;57220:113;57521:30;57513:5;:38;57505:95;;;;-1:-1:-1;;;57505:95:0;;13188:2:1;57505:95:0;;;13170:21:1;13227:2;13207:18;;;13200:30;13266:34;13246:18;;;13239:62;-1:-1:-1;;;13317:18:1;;;13310:42;13369:19;;57505:95:0;12986:408:1;57505:95:0;57618:10;57629:5;57618:17;;;;;;;;:::i;:::-;;;;;;;;;57611:24;;57410:233;;;:::o;43025:222::-;43097:7;43133:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43133:16:0;;43160:56;;;;-1:-1:-1;;;43160:56:0;;13733:2:1;43160:56:0;;;13715:21:1;13772:2;13752:18;;;13745:30;13811:26;13791:18;;;13784:54;13855:18;;43160:56:0;13531:348:1;67926:168:0;16030:13;:11;:13::i;:::-;68046:40:::1;:21;68070:16:::0;;68046:40:::1;:::i;42756:207::-:0;42828:7;-1:-1:-1;;;;;42856:19:0;;42848:73;;;;-1:-1:-1;;;42848:73:0;;14086:2:1;42848:73:0;;;14068:21:1;14125:2;14105:18;;;14098:30;14164:34;14144:18;;;14137:62;-1:-1:-1;;;14215:18:1;;;14208:39;14264:19;;42848:73:0;13884:405:1;42848:73:0;-1:-1:-1;;;;;;42939:16:0;;;;;:9;:16;;;;;;;42756:207::o;16792:103::-;16030:13;:11;:13::i;:::-;16857:30:::1;16884:1;16857:18;:30::i;:::-;16792:103::o:0;64525:92::-;16030:13;:11;:13::i;:::-;64592:10:::1;:17:::0;64525:92::o;67645:117::-;16030:13;:11;:13::i;:::-;67728:26:::1;:13;67744:10:::0;;67728:26:::1;:::i;43483:104::-:0;43539:13;43572:7;43565:14;;;;;:::i;66365:90::-;16030:13;:11;:13::i;:::-;66435:12:::1;::::0;;-1:-1:-1;;66419:28:0;::::1;66435:12;::::0;;::::1;66434:13;66419:28;::::0;;66365:90::o;45070:155::-;45165:52;14775:10;45198:8;45208;45165:18;:52::i;:::-;45070:155;;:::o;65740:325::-;16030:13;:11;:13::i;:::-;63032:4:::1;63083:2;65823:9;;:25;;;;:::i;:::-;:47;;65801:119;;;::::0;-1:-1:-1;;;65801:119:0;;10223:2:1;65801:119:0::1;::::0;::::1;10205:21:1::0;10262:2;10242:18;;;10235:30;-1:-1:-1;;;10281:18:1;;;10274:52;10343:18;;65801:119:0::1;10021:346:1::0;65801:119:0::1;65938:9;65933:125;63083:2;65953:1;:17;65933:125;;;65992:9;:11:::0;;;:9:::1;:11;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;66024:10:0::1;::::0;66036:9:::1;::::0;66018:28:::1;::::0;-1:-1:-1;;;;;66024:10:0::1;::::0;66018:5:::1;:28::i;:::-;65972:3:::0;::::1;::::0;::::1;:::i;:::-;;;;65933:125;;46190:323:::0;46364:41;14775:10;46397:7;46364:18;:41::i;:::-;46356:100;;;;-1:-1:-1;;;46356:100:0;;8769:2:1;46356:100:0;;;8751:21:1;8808:2;8788:18;;;8781:30;8847:34;8827:18;;;8820:62;-1:-1:-1;;;8898:18:1;;;8891:44;8952:19;;46356:100:0;8567:410:1;46356:100:0;46467:38;46481:4;46487:2;46491:7;46500:4;46467:13;:38::i;:::-;46190:323;;;;:::o;66624:127::-;16030:13;:11;:13::i;:::-;66707:36:::1;66726:9;66737:5;66707:18;:36::i;68211:512::-:0;48085:4;48109:16;;;:7;:16;;;;;;68321:13;;-1:-1:-1;;;;;48109:16:0;68352:50;;;;-1:-1:-1;;;68352:50:0;;14629:2:1;68352:50:0;;;14611:21:1;14668:2;14648:18;;;14641:30;14707:22;14687:18;;;14680:50;14747:18;;68352:50:0;14427:344:1;68352:50:0;68553:1;68521:21;68515:35;;;;;:::i;:::-;;;:39;:200;;68702:13;68515:200;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68620:21;68643:19;:8;:17;:19::i;:::-;68603:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;68495:220;68211:512;-1:-1:-1;;68211:512:0:o;67050:178::-;67094:13;67120:62;;;;;;;;;;;;;;;;;;;67050:178;:::o;66173:84::-;16030:13;:11;:13::i;:::-;66239:10:::1;::::0;;-1:-1:-1;;66225:24:0;::::1;66239:10;::::0;;;::::1;;;66238:11;66225:24:::0;;::::1;;::::0;;66173:84::o;17050:201::-;16030:13;:11;:13::i;:::-;-1:-1:-1;;;;;17139:22:0;::::1;17131:73;;;::::0;-1:-1:-1;;;17131:73:0;;16473:2:1;17131:73:0::1;::::0;::::1;16455:21:1::0;16512:2;16492:18;;;16485:30;16551:34;16531:18;;;16524:62;-1:-1:-1;;;16602:18:1;;;16595:36;16648:19;;17131:73:0::1;16271:402:1::0;17131:73:0::1;17215:28;17234:8;17215:18;:28::i;31446:215::-:0;31548:4;-1:-1:-1;;;;;;31572:41:0;;-1:-1:-1;;;31572:41:0;;:81;;;31617:36;31641:11;31617:23;:36::i;52802:135::-;48085:4;48109:16;;;:7;:16;;;;;;-1:-1:-1;;;;;48109:16:0;52876:53;;;;-1:-1:-1;;;52876:53:0;;13733:2:1;52876:53:0;;;13715:21:1;13772:2;13752:18;;;13745:30;13811:26;13791:18;;;13784:54;13855:18;;52876:53:0;13531:348:1;52081:174:0;52156:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;52156:29:0;-1:-1:-1;;;;;52156:29:0;;;;;;;;:24;;52210:23;52156:24;52210:14;:23::i;:::-;-1:-1:-1;;;;;52201:46:0;;;;;;;;;;;52081:174;;:::o;48314:264::-;48407:4;48424:13;48440:23;48455:7;48440:14;:23::i;:::-;48424:39;;48493:5;-1:-1:-1;;;;;48482:16:0;:7;-1:-1:-1;;;;;48482:16:0;;:52;;;-1:-1:-1;;;;;;45417:25:0;;;45393:4;45417:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;48502:32;48482:87;;;;48562:7;-1:-1:-1;;;;;48538:31:0;:20;48550:7;48538:11;:20::i;:::-;-1:-1:-1;;;;;48538:31:0;;48482:87;48474:96;48314:264;-1:-1:-1;;;;48314:264:0:o;51337:625::-;51496:4;-1:-1:-1;;;;;51469:31:0;:23;51484:7;51469:14;:23::i;:::-;-1:-1:-1;;;;;51469:31:0;;51461:81;;;;-1:-1:-1;;;51461:81:0;;16880:2:1;51461:81:0;;;16862:21:1;16919:2;16899:18;;;16892:30;16958:34;16938:18;;;16931:62;-1:-1:-1;;;17009:18:1;;;17002:35;17054:19;;51461:81:0;16678:401:1;51461:81:0;-1:-1:-1;;;;;51561:16:0;;51553:65;;;;-1:-1:-1;;;51553:65:0;;17286:2:1;51553:65:0;;;17268:21:1;17325:2;17305:18;;;17298:30;17364:34;17344:18;;;17337:62;-1:-1:-1;;;17415:18:1;;;17408:34;17459:19;;51553:65:0;17084:400:1;51553:65:0;51631:39;51652:4;51658:2;51662:7;51631:20;:39::i;:::-;51735:29;51752:1;51756:7;51735:8;:29::i;:::-;-1:-1:-1;;;;;51777:15:0;;;;;;:9;:15;;;;;:20;;51796:1;;51777:15;:20;;51796:1;;51777:20;:::i;:::-;;;;-1:-1:-1;;;;;;;51808:13:0;;;;;;:9;:13;;;;;:18;;51825:1;;51808:13;:18;;51825:1;;51808:18;:::i;:::-;;;;-1:-1:-1;;51837:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;51837:21:0;-1:-1:-1;;;;;51837:21:0;;;;;;;;;51876:27;;51837:16;;51876:27;;;;;;;44414:347;44344:417;;:::o;49912:439::-;-1:-1:-1;;;;;49992:16:0;;49984:61;;;;-1:-1:-1;;;49984:61:0;;17821:2:1;49984:61:0;;;17803:21:1;;;17840:18;;;17833:30;17899:34;17879:18;;;17872:62;17951:18;;49984:61:0;17619:356:1;49984:61:0;48085:4;48109:16;;;:7;:16;;;;;;-1:-1:-1;;;;;48109:16:0;:30;50056:58;;;;-1:-1:-1;;;50056:58:0;;18182:2:1;50056:58:0;;;18164:21:1;18221:2;18201:18;;;18194:30;18260;18240:18;;;18233:58;18308:18;;50056:58:0;17980:352:1;50056:58:0;50127:45;50156:1;50160:2;50164:7;50127:20;:45::i;:::-;-1:-1:-1;;;;;50185:13:0;;;;;;:9;:13;;;;;:18;;50202:1;;50185:13;:18;;50202:1;;50185:18;:::i;:::-;;;;-1:-1:-1;;50214:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;50214:21:0;-1:-1:-1;;;;;50214:21:0;;;;;;;;50253:33;;50214:16;;;50253:33;;50214:16;;50253:33;45070:155;;:::o;4013:190::-;4138:4;4191;4162:25;4175:5;4182:4;4162:12;:25::i;:::-;:33;;4013:190;-1:-1:-1;;;;4013:190:0:o;16309:132::-;16217:6;;-1:-1:-1;;;;;16217:6:0;14775:10;16373:23;16365:68;;;;-1:-1:-1;;;16365:68:0;;18539:2:1;16365:68:0;;;18521:21:1;;;18558:18;;;18551:30;18617:34;18597:18;;;18590:62;18669:18;;16365:68:0;18337:356:1;17411:191:0;17504:6;;;-1:-1:-1;;;;;17521:17:0;;;-1:-1:-1;;;;;;17521:17:0;;;;;;;17554:40;;17504:6;;;17521:17;17504:6;;17554:40;;17485:16;;17554:40;17474:128;17411:191;:::o;52398:315::-;52553:8;-1:-1:-1;;;;;52544:17:0;:5;-1:-1:-1;;;;;52544:17:0;;52536:55;;;;-1:-1:-1;;;52536:55:0;;18900:2:1;52536:55:0;;;18882:21:1;18939:2;18919:18;;;18912:30;18978:27;18958:18;;;18951:55;19023:18;;52536:55:0;18698:349:1;52536:55:0;-1:-1:-1;;;;;52602:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;52602:46:0;;;;;;;;;;52664:41;;540::1;;;52664::0;;513:18:1;52664:41:0;;;;;;;52398:315;;;:::o;47394:313::-;47550:28;47560:4;47566:2;47570:7;47550:9;:28::i;:::-;47597:47;47620:4;47626:2;47630:7;47639:4;47597:22;:47::i;:::-;47589:110;;;;-1:-1:-1;;;47589:110:0;;19254:2:1;47589:110:0;;;19236:21:1;19293:2;19273:18;;;19266:30;19332:34;19312:18;;;19305:62;-1:-1:-1;;;19383:18:1;;;19376:48;19441:19;;47589:110:0;19052:414:1;32808:332:0;32524:5;32911:33;;;;;32903:88;;;;-1:-1:-1;;;32903:88:0;;19673:2:1;32903:88:0;;;19655:21:1;19712:2;19692:18;;;19685:30;19751:34;19731:18;;;19724:62;-1:-1:-1;;;19802:18:1;;;19795:40;19852:19;;32903:88:0;19471:406:1;32903:88:0;-1:-1:-1;;;;;33010:22:0;;33002:60;;;;-1:-1:-1;;;33002:60:0;;20084:2:1;33002:60:0;;;20066:21:1;20123:2;20103:18;;;20096:30;20162:27;20142:18;;;20135:55;20207:18;;33002:60:0;19882:349:1;33002:60:0;33097:35;;;;;;;;;-1:-1:-1;;;;;33097:35:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;33075:57:0;;;;:19;:57;32808:332::o;11949:723::-;12005:13;12226:5;12235:1;12226:10;12222:53;;-1:-1:-1;;12253:10:0;;;;;;;;;;;;-1:-1:-1;;;12253:10:0;;;;;11949:723::o;12222:53::-;12300:5;12285:12;12341:78;12348:9;;12341:78;;12374:8;;;;:::i;:::-;;-1:-1:-1;12397:10:0;;-1:-1:-1;12405:2:0;12397:10;;:::i;:::-;;;12341:78;;;12429:19;12461:6;12451:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12451:17:0;;12429:39;;12479:154;12486:10;;12479:154;;12513:11;12523:1;12513:11;;:::i;:::-;;-1:-1:-1;12582:10:0;12590:2;12582:5;:10;:::i;:::-;12569:24;;:2;:24;:::i;:::-;12556:39;;12539:6;12546;12539:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;12610:11:0;12619:2;12610:11;;:::i;:::-;;;12479:154;;56580:224;56682:4;-1:-1:-1;;;;;;56706:50:0;;-1:-1:-1;;;56706:50:0;;:90;;;56760:36;56784:11;56760:23;:36::i;58256:589::-;-1:-1:-1;;;;;58462:18:0;;58458:187;;58497:40;58529:7;59672:10;:17;;59645:24;;;;:15;:24;;;;;:44;;;59700:24;;;;;;;;;;;;59568:164;58497:40;58458:187;;;58567:2;-1:-1:-1;;;;;58559:10:0;:4;-1:-1:-1;;;;;58559:10:0;;58555:90;;58586:47;58619:4;58625:7;58586:32;:47::i;:::-;-1:-1:-1;;;;;58659:16:0;;58655:183;;58692:45;58729:7;58692:36;:45::i;58655:183::-;58765:4;-1:-1:-1;;;;;58759:10:0;:2;-1:-1:-1;;;;;58759:10:0;;58755:83;;58786:40;58814:2;58818:7;58786:27;:40::i;4880:296::-;4963:7;5006:4;4963:7;5021:118;5045:5;:12;5041:1;:16;5021:118;;;5094:33;5104:12;5118:5;5124:1;5118:8;;;;;;;;:::i;:::-;;;;;;;5094:9;:33::i;:::-;5079:48;-1:-1:-1;5059:3:0;;;;:::i;:::-;;;;5021:118;;;-1:-1:-1;5156:12:0;4880:296;-1:-1:-1;;;4880:296:0:o;53501:853::-;53655:4;-1:-1:-1;;;;;53676:13:0;;19137:19;:23;53672:675;;53712:71;;-1:-1:-1;;;53712:71:0;;-1:-1:-1;;;;;53712:36:0;;;;;:71;;14775:10;;53763:4;;53769:7;;53778:4;;53712:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53712:71:0;;;;;;;;-1:-1:-1;;53712:71:0;;;;;;;;;;;;:::i;:::-;;;53708:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53953:6;:13;53970:1;53953:18;53949:328;;53996:60;;-1:-1:-1;;;53996:60:0;;19254:2:1;53996:60:0;;;19236:21:1;19293:2;19273:18;;;19266:30;19332:34;19312:18;;;19305:62;-1:-1:-1;;;19383:18:1;;;19376:48;19441:19;;53996:60:0;19052:414:1;53949:328:0;54227:6;54221:13;54212:6;54208:2;54204:15;54197:38;53708:584;-1:-1:-1;;;;;;53834:51:0;-1:-1:-1;;;53834:51:0;;-1:-1:-1;53827:58:0;;53672:675;-1:-1:-1;54331:4:0;53501:853;;;;;;:::o;42387:305::-;42489:4;-1:-1:-1;;;;;;42526:40:0;;-1:-1:-1;;;42526:40:0;;:105;;-1:-1:-1;;;;;;;42583:48:0;;-1:-1:-1;;;42583:48:0;42526:105;:158;;;-1:-1:-1;;;;;;;;;;30005:40:0;;;42648:36;29896:157;60359:988;60625:22;60675:1;60650:22;60667:4;60650:16;:22::i;:::-;:26;;;;:::i;:::-;60687:18;60708:26;;;:17;:26;;;;;;60625:51;;-1:-1:-1;60841:28:0;;;60837:328;;-1:-1:-1;;;;;60908:18:0;;60886:19;60908:18;;;:12;:18;;;;;;;;:34;;;;;;;;;60959:30;;;;;;:44;;;61076:30;;:17;:30;;;;;:43;;;60837:328;-1:-1:-1;61261:26:0;;;;:17;:26;;;;;;;;61254:33;;;-1:-1:-1;;;;;61305:18:0;;;;;:12;:18;;;;;:34;;;;;;;61298:41;60359:988::o;61642:1079::-;61920:10;:17;61895:22;;61920:21;;61940:1;;61920:21;:::i;:::-;61952:18;61973:24;;;:15;:24;;;;;;62346:10;:26;;61895:46;;-1:-1:-1;61973:24:0;;61895:46;;62346:26;;;;;;:::i;:::-;;;;;;;;;62324:48;;62410:11;62385:10;62396;62385:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;62490:28;;;:15;:28;;;;;;;:41;;;62662:24;;;;;62655:31;62697:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;61713:1008;;;61642:1079;:::o;59146:221::-;59231:14;59248:20;59265:2;59248:16;:20::i;:::-;-1:-1:-1;;;;;59279:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;59324:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;59146:221:0:o;11087:149::-;11150:7;11181:1;11177;:5;:51;;11312:13;11406:15;;;11442:4;11435:15;;;11489:4;11473:21;;11177:51;;;11312:13;11406:15;;;11442:4;11435:15;;;11489:4;11473:21;;11185:20;11170:58;11087:149;-1:-1:-1;;;11087:149:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:269::-;908:3;946:5;940:12;973:6;968:3;961:19;989:63;1045:6;1038:4;1033:3;1029:14;1022:4;1015:5;1011:16;989:63;:::i;:::-;1106:2;1085:15;-1:-1:-1;;1081:29:1;1072:39;;;;1113:4;1068:50;;855:269;-1:-1:-1;;855:269:1:o;1129:231::-;1278:2;1267:9;1260:21;1241:4;1298:56;1350:2;1339:9;1335:18;1327:6;1298:56;:::i;1365:180::-;1424:6;1477:2;1465:9;1456:7;1452:23;1448:32;1445:52;;;1493:1;1490;1483:12;1445:52;-1:-1:-1;1516:23:1;;1365:180;-1:-1:-1;1365:180:1:o;1781:196::-;1849:20;;-1:-1:-1;;;;;1898:54:1;;1888:65;;1878:93;;1967:1;1964;1957:12;1878:93;1781:196;;;:::o;1982:254::-;2050:6;2058;2111:2;2099:9;2090:7;2086:23;2082:32;2079:52;;;2127:1;2124;2117:12;2079:52;2150:29;2169:9;2150:29;:::i;:::-;2140:39;2226:2;2211:18;;;;2198:32;;-1:-1:-1;;;1982:254:1:o;2423:328::-;2500:6;2508;2516;2569:2;2557:9;2548:7;2544:23;2540:32;2537:52;;;2585:1;2582;2575:12;2537:52;2608:29;2627:9;2608:29;:::i;:::-;2598:39;;2656:38;2690:2;2679:9;2675:18;2656:38;:::i;:::-;2646:48;;2741:2;2730:9;2726:18;2713:32;2703:42;;2423:328;;;;;:::o;2756:248::-;2824:6;2832;2885:2;2873:9;2864:7;2860:23;2856:32;2853:52;;;2901:1;2898;2891:12;2853:52;-1:-1:-1;;2924:23:1;;;2994:2;2979:18;;;2966:32;;-1:-1:-1;2756:248:1:o;3311:615::-;3397:6;3405;3458:2;3446:9;3437:7;3433:23;3429:32;3426:52;;;3474:1;3471;3464:12;3426:52;3514:9;3501:23;3543:18;3584:2;3576:6;3573:14;3570:34;;;3600:1;3597;3590:12;3570:34;3638:6;3627:9;3623:22;3613:32;;3683:7;3676:4;3672:2;3668:13;3664:27;3654:55;;3705:1;3702;3695:12;3654:55;3745:2;3732:16;3771:2;3763:6;3760:14;3757:34;;;3787:1;3784;3777:12;3757:34;3840:7;3835:2;3825:6;3822:1;3818:14;3814:2;3810:23;3806:32;3803:45;3800:65;;;3861:1;3858;3851:12;3800:65;3892:2;3884:11;;;;;3914:6;;-1:-1:-1;3311:615:1;;-1:-1:-1;;;;3311:615:1:o;3931:592::-;4002:6;4010;4063:2;4051:9;4042:7;4038:23;4034:32;4031:52;;;4079:1;4076;4069:12;4031:52;4119:9;4106:23;4148:18;4189:2;4181:6;4178:14;4175:34;;;4205:1;4202;4195:12;4175:34;4243:6;4232:9;4228:22;4218:32;;4288:7;4281:4;4277:2;4273:13;4269:27;4259:55;;4310:1;4307;4300:12;4259:55;4350:2;4337:16;4376:2;4368:6;4365:14;4362:34;;;4392:1;4389;4382:12;4362:34;4437:7;4432:2;4423:6;4419:2;4415:15;4411:24;4408:37;4405:57;;;4458:1;4455;4448:12;4528:186;4587:6;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4679:29;4698:9;4679:29;:::i;4904:347::-;4969:6;4977;5030:2;5018:9;5009:7;5005:23;5001:32;4998:52;;;5046:1;5043;5036:12;4998:52;5069:29;5088:9;5069:29;:::i;:::-;5059:39;;5148:2;5137:9;5133:18;5120:32;5195:5;5188:13;5181:21;5174:5;5171:32;5161:60;;5217:1;5214;5207:12;5161:60;5240:5;5230:15;;;4904:347;;;;;:::o;5438:127::-;5499:10;5494:3;5490:20;5487:1;5480:31;5530:4;5527:1;5520:15;5554:4;5551:1;5544:15;5570:1138;5665:6;5673;5681;5689;5742:3;5730:9;5721:7;5717:23;5713:33;5710:53;;;5759:1;5756;5749:12;5710:53;5782:29;5801:9;5782:29;:::i;:::-;5772:39;;5830:38;5864:2;5853:9;5849:18;5830:38;:::i;:::-;5820:48;;5915:2;5904:9;5900:18;5887:32;5877:42;;5970:2;5959:9;5955:18;5942:32;5993:18;6034:2;6026:6;6023:14;6020:34;;;6050:1;6047;6040:12;6020:34;6088:6;6077:9;6073:22;6063:32;;6133:7;6126:4;6122:2;6118:13;6114:27;6104:55;;6155:1;6152;6145:12;6104:55;6191:2;6178:16;6213:2;6209;6206:10;6203:36;;;6219:18;;:::i;:::-;6294:2;6288:9;6262:2;6348:13;;-1:-1:-1;;6344:22:1;;;6368:2;6340:31;6336:40;6324:53;;;6392:18;;;6412:22;;;6389:46;6386:72;;;6438:18;;:::i;:::-;6478:10;6474:2;6467:22;6513:2;6505:6;6498:18;6553:7;6548:2;6543;6539;6535:11;6531:20;6528:33;6525:53;;;6574:1;6571;6564:12;6525:53;6630:2;6625;6621;6617:11;6612:2;6604:6;6600:15;6587:46;6675:1;6670:2;6665;6657:6;6653:15;6649:24;6642:35;6696:6;6686:16;;;;;;;5570:1138;;;;;;;:::o;6713:366::-;6780:6;6788;6841:2;6829:9;6820:7;6816:23;6812:32;6809:52;;;6857:1;6854;6847:12;6809:52;6880:29;6899:9;6880:29;:::i;:::-;6870:39;;6959:2;6948:9;6944:18;6931:32;7003:26;6996:5;6992:38;6985:5;6982:49;6972:77;;7045:1;7042;7035:12;7084:260;7152:6;7160;7213:2;7201:9;7192:7;7188:23;7184:32;7181:52;;;7229:1;7226;7219:12;7181:52;7252:29;7271:9;7252:29;:::i;:::-;7242:39;;7300:38;7334:2;7323:9;7319:18;7300:38;:::i;:::-;7290:48;;7084:260;;;;;:::o;7349:380::-;7428:1;7424:12;;;;7471;;;7492:61;;7546:4;7538:6;7534:17;7524:27;;7492:61;7599:2;7591:6;7588:14;7568:18;7565:38;7562:161;;7645:10;7640:3;7636:20;7633:1;7626:31;7680:4;7677:1;7670:15;7708:4;7705:1;7698:15;7562:161;;7349:380;;;:::o;10732:127::-;10793:10;10788:3;10784:20;10781:1;10774:31;10824:4;10821:1;10814:15;10848:4;10845:1;10838:15;10864:135;10903:3;10924:17;;;10921:43;;10944:18;;:::i;:::-;-1:-1:-1;10991:1:1;10980:13;;10864:135::o;11004:168::-;11044:7;11110:1;11106;11102:6;11098:14;11095:1;11092:21;11087:1;11080:9;11073:17;11069:45;11066:71;;;11117:18;;:::i;:::-;-1:-1:-1;11157:9:1;;11004:168::o;11177:127::-;11238:10;11233:3;11229:20;11226:1;11219:31;11269:4;11266:1;11259:15;11293:4;11290:1;11283:15;11309:120;11349:1;11375;11365:35;;11380:18;;:::i;:::-;-1:-1:-1;11414:9:1;;11309:120::o;13399:127::-;13460:10;13455:3;13451:20;13448:1;13441:31;13491:4;13488:1;13481:15;13515:4;13512:1;13505:15;14294:128;14334:3;14365:1;14361:6;14358:1;14355:13;14352:39;;;14371:18;;:::i;:::-;-1:-1:-1;14407:9:1;;14294:128::o;14902:185::-;14944:3;14982:5;14976:12;14997:52;15042:6;15037:3;15030:4;15023:5;15019:16;14997:52;:::i;:::-;15065:16;;;;;14902:185;-1:-1:-1;;14902:185:1:o;15092:1174::-;15268:3;15297:1;15330:6;15324:13;15360:3;15382:1;15410:9;15406:2;15402:18;15392:28;;15470:2;15459:9;15455:18;15492;15482:61;;15536:4;15528:6;15524:17;15514:27;;15482:61;15562:2;15610;15602:6;15599:14;15579:18;15576:38;15573:165;;-1:-1:-1;;;15637:33:1;;15693:4;15690:1;15683:15;15723:4;15644:3;15711:17;15573:165;15754:18;15781:104;;;;15899:1;15894:320;;;;15747:467;;15781:104;-1:-1:-1;;15814:24:1;;15802:37;;15859:16;;;;-1:-1:-1;15781:104:1;;15894:320;14849:1;14842:14;;;14886:4;14873:18;;15989:1;16003:165;16017:6;16014:1;16011:13;16003:165;;;16095:14;;16082:11;;;16075:35;16138:16;;;;16032:10;;16003:165;;;16007:3;;16197:6;16192:3;16188:16;16181:23;;15747:467;;;;;;;16230:30;16256:3;16248:6;16230:30;:::i;:::-;16223:37;15092:1174;-1:-1:-1;;;;;15092:1174:1:o;17489:125::-;17529:4;17557:1;17554;17551:8;17548:34;;;17562:18;;:::i;:::-;-1:-1:-1;17599:9:1;;17489:125::o;20236:112::-;20268:1;20294;20284:35;;20299:18;;:::i;:::-;-1:-1:-1;20333:9:1;;20236:112::o;20353:523::-;20547:4;-1:-1:-1;;;;;20657:2:1;20649:6;20645:15;20634:9;20627:34;20709:2;20701:6;20697:15;20692:2;20681:9;20677:18;20670:43;;20749:6;20744:2;20733:9;20729:18;20722:34;20792:3;20787:2;20776:9;20772:18;20765:31;20813:57;20865:3;20854:9;20850:19;20842:6;20813:57;:::i;:::-;20805:65;20353:523;-1:-1:-1;;;;;;20353:523:1:o;20881:249::-;20950:6;21003:2;20991:9;20982:7;20978:23;20974:32;20971:52;;;21019:1;21016;21009:12;20971:52;21051:9;21045:16;21070:30;21094:5;21070:30;:::i;21135:127::-;21196:10;21191:3;21187:20;21184:1;21177:31;21227:4;21224:1;21217:15;21251:4;21248:1;21241:15

Swarm Source

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