ETH Price: $3,290.14 (+1.35%)
Gas: 1 Gwei

Token

Prive Genesis (PG)
 

Overview

Max Total Supply

0 PG

Holders

150

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
chadmathew.eth
Balance
1 PG
0xaca333db2c8f8ef2142cf01c112cf2444b01004e
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:
PriveSocieteGenesis

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-11
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

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

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

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

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

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

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

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

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

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

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

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

/// @notice Gas optimized reentrancy protection for smart contracts.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/ReentrancyGuard.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/ReentrancyGuard.sol)
abstract contract ReentrancyGuard {
    uint256 private locked = 1;

    modifier nonReentrant() virtual {
        require(locked == 1, "REENTRANCY");

        locked = 2;

        _;

        locked = 1;
    }
}

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

/// @dev This is a contract used to add ERC2981 support to ERC721A
abstract contract ERC2981 is IERC2981 {
    uint256 public constant MULTIPLIER = 10000;
    uint256 public value;

    error RoyaltyValueOutOfRange();

    /// @dev Sets token royalties
    /// @param _value percentage (using 2 decimals - 10000 = 100, 0 = 0)
    function _setTokenRoyalty(uint256 _value) internal {
        if (_value > MULTIPLIER) revert RoyaltyValueOutOfRange();
        value = _value;
    }
}

error ExceedsMaxSupply();
error MintNotStarted();
error MintEnded();
error MintInProgress();
error InvalidData();
error ERC721ReceiverNotImplemented();

interface IPriveSociete {
    function balanceOf(address owner) external view returns (uint256 balance);

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) external;

    function ownerOf(uint256 tokenId) external view returns (address);
}

contract PriveSocieteGenesis is ERC721, Ownable, ERC2981, ReentrancyGuard {
    using Strings for uint256;

    uint256 private constant MAX_SUPPLY = 4999;
    uint256 private constant INITIAL_SUPPLY = 5;
    uint256 private constant PRIVE_GENESIS_PASS_SUPPLY = 253;
    uint256 private constant ROYALTY = 500;
    uint256 private constant MINT_FEES = 10**17;

    bytes32 public immutable oneSpotWhitelistMerkleRoot;
    bytes32 public immutable twoSpotWhitelistMerkleRoot;
    bytes32 public immutable waitlistMerkleRoot;

    address private constant DEAD_ADDRESS =
        address(0x000000000000000000000000000000000000dEaD);
    address payable private constant TREASURY =
        payable(address(0xE15CFdC7DAaEF0D2d2A3bE7239973E11556d9e8C));

    IPriveSociete public priveGenesisPass;
    mapping(address => uint256) public whitelistSpots;
    mapping(address => uint256) public minted;

    uint256 private _tokenIds = 1;
    uint256 private totalSupply;
    uint256 private genesisPassSwapped;

    uint256 public firstDayEnd;
    uint256 public secondDayEnd;
    string public baseURI;
    bool public isRevealed;

    event Whitelisted(address[] indexed users, uint256[] indexed spots);
    event Waitlisted(address[] indexed users);

    error WrongTokenId();
    error NotAllowed();
    error AlreadyRevealed();
    error InvalidETHAmount();
    error NoTokenIdPassed();

    constructor(string memory _initBaseURI, address _priveGenesisPass)
        ERC721("Prive Genesis", "PG")
    {
        baseURI = _initBaseURI;
        value = ROYALTY;
        priveGenesisPass = IPriveSociete(_priveGenesisPass);

        // solhint-disable-next-line
        firstDayEnd = time() + 1 days;
        secondDayEnd = firstDayEnd + 1 days;

        oneSpotWhitelistMerkleRoot = 0x2de0703c7796cf1874e5e83feea12018cda1e737b3b770d26662d3bc7e238213;
        twoSpotWhitelistMerkleRoot = 0xe15196134ea93dec7fd34dc4c971212a1312140095c873b422729ffd4ee7a69d;
        waitlistMerkleRoot = 0x49f14276394a8c5f4cdf69bcdb750b64df91589527676afc34352635c6592d97;

        _batchMint(msg.sender, INITIAL_SUPPLY);
    }

    function setRevealed() external onlyOwner {
        isRevealed = true;
    }

    function setBaseURI(string memory _newBaseURI) external onlyOwner {
        if (isRevealed) revert AlreadyRevealed();
        baseURI = _newBaseURI;
    }

    function time() internal view returns (uint256) {
        // solhint-disable-next-line not-rely-on-time
        return block.timestamp;
    }

    function mintRemaining(uint256 amount) external onlyOwner {
        _batchMint(msg.sender, amount);
    }

    function _burnGenesisPass(address holder, uint256[] calldata tokenIds)
        internal
    {
        for (uint256 index = 0; index < tokenIds.length; index++) {
            if (holder != priveGenesisPass.ownerOf(tokenIds[index]))
                revert WrongTokenId();

            priveGenesisPass.safeTransferFrom(
                holder,
                DEAD_ADDRESS,
                tokenIds[index],
                ""
            );
        }

        genesisPassSwapped += tokenIds.length;
    }

    function _getGenesisPassBalance(address holder)
        internal
        view
        returns (uint256)
    {
        return priveGenesisPass.balanceOf(holder);
    }

    function canMint(
        address to_,
        uint256 amount_,
        bytes32[] calldata merkleProof
    )
        public
        view
        returns (
            bool isEligible,
            uint256 passes,
            uint256 payFor
        )
    {
        passes = _getGenesisPassBalance(to_);

        if (passes >= amount_) {
            passes = amount_;
            payFor = 0;
            isEligible = true;
        } else if (time() <= firstDayEnd) {
            payFor = amount_ - passes;
            isEligible = isWhitelisted(to_, payFor, merkleProof);
        } else if (time() > firstDayEnd && time() <= secondDayEnd) {
            // All the allowed addresses can mint unlimited NFTs
            isEligible = isAllowlisted(to_, merkleProof);
            payFor = amount_ - passes;
        } else {
            isEligible = true;
            payFor = amount_ - passes;
        }
    }

    function whitelist(address[] calldata users, uint256[] calldata spots)
        external
        onlyOwner
    {
        if (users.length != spots.length) revert InvalidData();
        for (uint256 index = 0; index < users.length; ) {
            whitelistSpots[users[index]] = spots[index];
            unchecked {
                ++index;
            }
        }
        emit Whitelisted(users, spots);
    }

    function isWhitelisted(
        address user_,
        uint256 amount_,
        bytes32[] calldata merkleProof
    ) internal view returns (bool) {
        if (amount_ == 0) return true;

        if (whitelistSpots[user_] > 2) {
            if (whitelistSpots[user_] - minted[user_] >= amount_) return true;
            return false;
        }

        uint256 mints = minted[user_];
        if (mints >= 2) return false;

        if (
            mints == 0 &&
            amount_ == 1 &&
            MerkleProof.verify(
                merkleProof,
                oneSpotWhitelistMerkleRoot,
                toBytes32(user_)
            )
        ) {
            return true;
        }

        if (
            amount_ <= 2 &&
            mints < 2 &&
            MerkleProof.verify(
                merkleProof,
                twoSpotWhitelistMerkleRoot,
                toBytes32(user_)
            )
        ) {
            if (2 - mints >= amount_) return true;
        }

        return false;
    }

    function isAllowlisted(address user, bytes32[] calldata merkleProof)
        internal
        view
        returns (bool)
    {
        return
            MerkleProof.verify(
                merkleProof,
                waitlistMerkleRoot,
                toBytes32(user)
            );
    }

    function toBytes32(address addr) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(addr));
    }

    function mint(
        uint256 amount_,
        uint256[] calldata tokenIds_,
        bytes32[] calldata merkleProof_
    ) external payable nonReentrant {
        (bool isEligible, uint256 passes, uint256 payFor) = canMint(
            msg.sender,
            amount_,
            merkleProof_
        );
        uint256 fees = payFor * MINT_FEES;

        if (!isEligible) revert NotAllowed();
        if (tokenIds_.length != passes) revert NoTokenIdPassed();
        if (msg.value != fees) revert InvalidETHAmount();

        if (time() <= firstDayEnd && payFor > 0) {
            minted[msg.sender] = payFor;
        }

        _batchMint(msg.sender, amount_);

        if (tokenIds_.length != 0) {
            _burnGenesisPass(msg.sender, tokenIds_);
        }
        _transferETH(fees);
    }

    function _batchMint(address to, uint256 amount) internal {
        uint256 iterations = _tokenIds + amount;
        for (uint256 index = _tokenIds; index < iterations; ) {
            _safeMint(to, index);
            unchecked {
                ++index;
            }
        }

        _tokenIds += amount;
        totalSupply += amount;

        if (
            totalSupply >
            (MAX_SUPPLY - PRIVE_GENESIS_PASS_SUPPLY - genesisPassSwapped)
        ) revert ExceedsMaxSupply();
    }

    function _transferETH(uint256 amount) internal {
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = TREASURY.call{value: amount}("");
        require(success, "Failed to send Ether");
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        _requireMinted(tokenId);

        // solhint-disable-next-line
        string memory baseURI__ = _baseURI();
        return
            bytes(baseURI__).length > 0
                ? string(
                    abi.encodePacked(baseURI__, tokenId.toString(), ".json")
                )
                : "";
    }

    /// @inheritdoc IERC2981
    function royaltyInfo(uint256, uint256 _value)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        return (owner(), (_value * value) / MULTIPLIER);
    }

    function setTokenRoyalty(uint256 _value) external onlyOwner {
        _setTokenRoyalty(_value);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721)
        returns (bool)
    {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f || // ERC165 interface ID for ERC721Metadata.
            interfaceId == type(IERC2981).interfaceId; // ERC165 interface ID for ERC2981
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_priveGenesisPass","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyRevealed","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"InvalidData","type":"error"},{"inputs":[],"name":"InvalidETHAmount","type":"error"},{"inputs":[],"name":"NoTokenIdPassed","type":"error"},{"inputs":[],"name":"NotAllowed","type":"error"},{"inputs":[],"name":"RoyaltyValueOutOfRange","type":"error"},{"inputs":[],"name":"WrongTokenId","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"users","type":"address[]"}],"name":"Waitlisted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address[]","name":"users","type":"address[]"},{"indexed":true,"internalType":"uint256[]","name":"spots","type":"uint256[]"}],"name":"Whitelisted","type":"event"},{"inputs":[],"name":"MULTIPLIER","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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"canMint","outputs":[{"internalType":"bool","name":"isEligible","type":"bool"},{"internalType":"uint256","name":"passes","type":"uint256"},{"internalType":"uint256","name":"payFor","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstDayEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds_","type":"uint256[]"},{"internalType":"bytes32[]","name":"merkleProof_","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintRemaining","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","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":"oneSpotWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"priveGenesisPass","outputs":[{"internalType":"contract IPriveSociete","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":[],"name":"secondDayEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"twoSpotWhitelistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"value","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"waitlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"spots","type":"uint256[]"}],"name":"whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistSpots","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60e060405260016008556001600c553480156200001b57600080fd5b5060405162003094380380620030948339810160408190526200003e9162000701565b604080518082018252600d81526c50726976652047656e6573697360981b602080830191825283518085019094526002845261504760f01b9084015281519192916200008d916000916200060b565b508051620000a39060019060208401906200060b565b505050620000c0620000ba620001a660201b60201c565b620001aa565b8151620000d59060119060208501906200060b565b506101f4600755600980546001600160a01b0319166001600160a01b038316179055620000ff4290565b6200010e906201518062000824565b600f81905562000122906201518062000824565b6010557f2de0703c7796cf1874e5e83feea12018cda1e737b3b770d26662d3bc7e2382136080527fe15196134ea93dec7fd34dc4c971212a1312140095c873b422729ffd4ee7a69d60a0527f49f14276394a8c5f4cdf69bcdb750b64df91589527676afc34352635c6592d9760c0526200019e336005620001fc565b5050620008f5565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081600c546200020e919062000824565b600c549091505b8181101562000233576200022a8482620002ae565b60010162000215565b5081600c600082825462000248919062000824565b9250508190555081600d600082825462000263919062000824565b9091555050600e546200027a60fd6113876200083f565b6200028691906200083f565b600d541115620002a95760405163c30436e960e01b815260040160405180910390fd5b505050565b620002d0828260405180602001604052806000815250620002d460201b60201c565b5050565b620002e083836200034b565b620002ef600084848462000493565b620002a95760405162461bcd60e51b815260206004820152603260248201526000805160206200307483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084015b60405180910390fd5b6001600160a01b038216620003a35760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000342565b6000818152600260205260409020546001600160a01b0316156200040a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000342565b6001600160a01b03821660009081526003602052604081208054600192906200043590849062000824565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620004b4846001600160a01b0316620005fc60201b62000fe91760201c565b15620005f057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620004ee903390899088908890600401620007ce565b602060405180830381600087803b1580156200050957600080fd5b505af19250505080156200053c575060408051601f3d908101601f191682019092526200053991810190620006ce565b60015b620005d5573d8080156200056d576040519150601f19603f3d011682016040523d82523d6000602084013e62000572565b606091505b508051620005cd5760405162461bcd60e51b815260206004820152603260248201526000805160206200307483398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000342565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620005f4565b5060015b949350505050565b6001600160a01b03163b151590565b82805462000619906200088c565b90600052602060002090601f0160209004810192826200063d576000855562000688565b82601f106200065857805160ff191683800117855562000688565b8280016001018555821562000688579182015b82811115620006885782518255916020019190600101906200066b565b50620006969291506200069a565b5090565b5b808211156200069657600081556001016200069b565b80516001600160a01b0381168114620006c957600080fd5b919050565b600060208284031215620006e157600080fd5b81516001600160e01b031981168114620006fa57600080fd5b9392505050565b600080604083850312156200071557600080fd5b82516001600160401b03808211156200072d57600080fd5b818501915085601f8301126200074257600080fd5b815181811115620007575762000757620008df565b604051601f8201601f19908116603f01168101908382118183101715620007825762000782620008df565b816040528281528860208487010111156200079c57600080fd5b620007af83602083016020880162000859565b8096505050505050620007c560208401620006b1565b90509250929050565b600060018060a01b0380871683528086166020840152508360408301526080606083015282518060808401526200080d8160a085016020870162000859565b601f01601f19169190910160a00195945050505050565b600082198211156200083a576200083a620008c9565b500190565b600082821015620008545762000854620008c9565b500390565b60005b83811015620008765781810151838201526020016200085c565b8381111562000886576000848401525b50505050565b600181811c90821680620008a157607f821691505b60208210811415620008c357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05161273a6200093a60003960008181610506015261161401526000818161053a01526115830152600081816106cd01526114f4015261273a6000f3fe60806040526004361061020f5760003560e01c8063921211ea11610118578063d1c5c567116100a0578063e4e92a4a1161006f578063e4e92a4a1461065f578063e985e9c514610672578063eca7d2c2146106bb578063f2fde38b146106ef578063fbdd0aed1461070f57600080fd5b8063d1c5c567146105dc578063d69ece4f146105f2578063dd27c1611461061f578063e47266991461063f57600080fd5b80639d63d670116100e75780639d63d67014610528578063a22cb4651461055c578063b88d4fde1461057c578063c87b56dd1461059c578063cf235743146105bc57600080fd5b8063921211ea1461048257806395d89b41146104bf57806396fad09c146104d457806399bf40da146104f457600080fd5b80633fa4f2451161019b5780636352211e1161016a5780636352211e146103fa5780636c0360eb1461041a57806370a082311461042f578063715018a61461044f5780638da5cb5b1461046457600080fd5b80633fa4f2451461038a57806342842e0e146103a057806354214f69146103c057806355f804b3146103da57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c75780631e7269c5146102e957806323b872dd146103165780632a55205a146103365780633bd649681461037557600080fd5b806301ffc9a714610214578063059f8b161461024957806306fdde031461026d578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f36600461226f565b610725565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f61271081565b604051908152602001610240565b34801561027957600080fd5b50610282610792565b60405161024091906124d6565b34801561029b57600080fd5b506102af6102aa3660046122f2565b610824565b6040516001600160a01b039091168152602001610240565b3480156102d357600080fd5b506102e76102e2366004612187565b61084b565b005b3480156102f557600080fd5b5061025f610304366004612020565b600b6020526000908152604090205481565b34801561032257600080fd5b506102e7610331366004612093565b610966565b34801561034257600080fd5b5061035661035136600461239e565b610997565b604080516001600160a01b039093168352602083019190915201610240565b34801561038157600080fd5b506102e76109d3565b34801561039657600080fd5b5061025f60075481565b3480156103ac57600080fd5b506102e76103bb366004612093565b6109ea565b3480156103cc57600080fd5b506012546102349060ff1681565b3480156103e657600080fd5b506102e76103f53660046122a9565b610a05565b34801561040657600080fd5b506102af6104153660046122f2565b610a48565b34801561042657600080fd5b50610282610aa8565b34801561043b57600080fd5b5061025f61044a366004612020565b610b36565b34801561045b57600080fd5b506102e7610bbc565b34801561047057600080fd5b506006546001600160a01b03166102af565b34801561048e57600080fd5b506104a261049d3660046121b3565b610bd0565b604080519315158452602084019290925290820152606001610240565b3480156104cb57600080fd5b50610282610c6f565b3480156104e057600080fd5b506102e76104ef3660046122f2565b610c7e565b34801561050057600080fd5b5061025f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561053457600080fd5b5061025f7f000000000000000000000000000000000000000000000000000000000000000081565b34801561056857600080fd5b506102e7610577366004612154565b610c93565b34801561058857600080fd5b506102e76105973660046120d4565b610c9e565b3480156105a857600080fd5b506102826105b73660046122f2565b610cd6565b3480156105c857600080fd5b506102e76105d736600461220f565b610d3d565b3480156105e857600080fd5b5061025f60105481565b3480156105fe57600080fd5b5061025f61060d366004612020565b600a6020526000908152604090205481565b34801561062b57600080fd5b506102e761063a3660046122f2565b610e35565b34801561064b57600080fd5b506009546102af906001600160a01b031681565b6102e761066d366004612324565b610e46565b34801561067e57600080fd5b5061023461068d36600461205a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c757600080fd5b5061025f7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106fb57600080fd5b506102e761070a366004612020565b610f73565b34801561071b57600080fd5b5061025f600f5481565b60006301ffc9a760e01b6001600160e01b03198316148061075657506380ac58cd60e01b6001600160e01b03198316145b806107715750635b5e139f60e01b6001600160e01b03198316145b8061078c57506001600160e01b0319821663152a902d60e11b145b92915050565b6060600080546107a190612617565b80601f01602080910402602001604051908101604052809291908181526020018280546107cd90612617565b801561081a5780601f106107ef5761010080835404028352916020019161081a565b820191906000526020600020905b8154815290600101906020018083116107fd57829003601f168201915b5050505050905090565b600061082f82610ff8565b506000908152600460205260409020546001600160a01b031690565b600061085682610a48565b9050806001600160a01b0316836001600160a01b031614156108c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108e557506108e5813361068d565b6109575760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016108c0565b6109618383611057565b505050565b61097033826110c5565b61098c5760405162461bcd60e51b81526004016108c09061253b565b610961838383611144565b6000806109ac6006546001600160a01b031690565b612710600754856109bd91906125b5565b6109c791906125a1565b915091505b9250929050565b6109db6112e0565b6012805460ff19166001179055565b61096183838360405180602001604052806000815250610c9e565b610a0d6112e0565b60125460ff1615610a315760405163a89ac15160e01b815260040160405180910390fd5b8051610a44906011906020840190611ecc565b5050565b6000818152600260205260408120546001600160a01b03168061078c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c0565b60118054610ab590612617565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190612617565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b505050505081565b60006001600160a01b038216610ba05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108c0565b506001600160a01b031660009081526003602052604090205490565b610bc46112e0565b610bce600061133a565b565b6000806000610bde8761138c565b9150858210610bf65750600191508490506000610c65565b600f544211610c1e57610c0982876125d4565b9050610c178782878761140a565b9250610c65565b600f5442118015610c3157506010544211155b15610c5457610c418786866115dd565b9250610c4d82876125d4565b9050610c65565b60019250610c6282876125d4565b90505b9450945094915050565b6060600180546107a190612617565b610c866112e0565b610c903382611642565b50565b610a443383836116e0565b610ca833836110c5565b610cc45760405162461bcd60e51b81526004016108c09061253b565b610cd0848484846117af565b50505050565b6060610ce182610ff8565b6000610ceb6117e2565b90506000815111610d0b5760405180602001604052806000815250610d36565b80610d15846117f1565b604051602001610d2692919061245a565b6040516020818303038152906040525b9392505050565b610d456112e0565b828114610d6557604051635cb045db60e01b815260040160405180910390fd5b60005b83811015610dd657828282818110610d8257610d826126ad565b90506020020135600a6000878785818110610d9f57610d9f6126ad565b9050602002016020810190610db49190612020565b6001600160a01b03168152602081019190915260400160002055600101610d68565b508181604051610de792919061242e565b60405180910390208484604051610dff9291906123ec565b604051908190038120907fa400d0c81716a31e067254409bc67ae22f4393c8017950f0b12ee99d15eebc4690600090a350505050565b610e3d6112e0565b610c90816118ef565b600854600114610e855760405162461bcd60e51b815260206004820152600a6024820152695245454e5452414e435960b01b60448201526064016108c0565b600260085560008080610e9a33898787610bd0565b919450925090506000610eb567016345785d8a0000836125b5565b905083610ed557604051631eb49d6d60e11b815260040160405180910390fd5b868314610ef557604051632f8e81c960e21b815260040160405180910390fd5b803414610f155760405163090ac0d760e21b815260040160405180910390fd5b600f544211158015610f275750600082115b15610f3f57336000908152600b602052604090208290555b610f49338a611642565b8615610f5a57610f5a338989611917565b610f6381611ac2565b5050600160085550505050505050565b610f7b6112e0565b6001600160a01b038116610fe05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b610c908161133a565b6001600160a01b03163b151590565b6000818152600260205260409020546001600160a01b0316610c905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c0565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061108c82610a48565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110d183610a48565b9050806001600160a01b0316846001600160a01b0316148061111857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061113c5750836001600160a01b031661113184610824565b6001600160a01b0316145b949350505050565b826001600160a01b031661115782610a48565b6001600160a01b0316146111bb5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108c0565b6001600160a01b03821661121d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c0565b611228600082611057565b6001600160a01b03831660009081526003602052604081208054600192906112519084906125d4565b90915550506001600160a01b038216600090815260036020526040812080546001929061127f908490612589565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b03163314610bce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a082319060240160206040518083038186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c919061230b565b6000836114195750600161113c565b6001600160a01b0385166000908152600a60205260409020546002101561147f576001600160a01b0385166000908152600b6020908152604080832054600a90925290912054859161146a916125d4565b106114775750600161113c565b50600061113c565b6001600160a01b0385166000908152600b6020526040902054600281106114aa57600091505061113c565b801580156114b85750846001145b801561152757506115278484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f0000000000000000000000000000000000000000000000000000000000000000925061152291508a9050611b65565b611ba4565b1561153657600191505061113c565b600285111580156115475750600281105b80156115b157506115b18484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f0000000000000000000000000000000000000000000000000000000000000000925061152291508a9050611b65565b156115d157846115c28260026125d4565b106115d157600191505061113c565b50600095945050505050565b600061113c8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f000000000000000000000000000000000000000000000000000000000000000092506115229150889050611b65565b600081600c546116529190612589565b600c549091505b818110156116735761166b8482611bba565b600101611659565b5081600c60008282546116869190612589565b9250508190555081600d600082825461169f9190612589565b9091555050600e546116b460fd6113876125d4565b6116be91906125d4565b600d5411156109615760405163c30436e960e01b815260040160405180910390fd5b816001600160a01b0316836001600160a01b031614156117425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117ba848484611144565b6117c684848484611bd4565b610cd05760405162461bcd60e51b81526004016108c0906124e9565b6060601180546107a190612617565b6060816118155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561183f578061182981612652565b91506118389050600a836125a1565b9150611819565b60008167ffffffffffffffff81111561185a5761185a6126c3565b6040519080825280601f01601f191660200182016040528015611884576020820181803683370190505b5090505b841561113c576118996001836125d4565b91506118a6600a8661266d565b6118b1906030612589565b60f81b8183815181106118c6576118c66126ad565b60200101906001600160f81b031916908160001a9053506118e8600a866125a1565b9450611888565b612710811115611912576040516301498b9960e31b815260040160405180910390fd5b600755565b60005b81811015611aa2576009546001600160a01b0316636352211e848484818110611945576119456126ad565b905060200201356040518263ffffffff1660e01b815260040161196a91815260200190565b60206040518083038186803b15801561198257600080fd5b505afa158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba919061203d565b6001600160a01b0316846001600160a01b0316146119eb57604051633a4d776760e11b815260040160405180910390fd5b6009546001600160a01b031663b88d4fde8561dead868686818110611a1257611a126126ad565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015611a7757600080fd5b505af1158015611a8b573d6000803e3d6000fd5b505050508080611a9a90612652565b91505061191a565b5081819050600e6000828254611ab89190612589565b9091555050505050565b60405160009073e15cfdc7daaef0d2d2a3be7239973e11556d9e8c9083908381818185875af1925050503d8060008114611b18576040519150601f19603f3d011682016040523d82523d6000602084013e611b1d565b606091505b5050905080610a445760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016108c0565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600082611bb18584611cde565b14949350505050565b610a44828260405180602001604052806000815250611d2b565b60006001600160a01b0384163b15611cd657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c18903390899088908890600401612499565b602060405180830381600087803b158015611c3257600080fd5b505af1925050508015611c62575060408051601f3d908101601f19168201909252611c5f9181019061228c565b60015b611cbc573d808015611c90576040519150601f19603f3d011682016040523d82523d6000602084013e611c95565b606091505b508051611cb45760405162461bcd60e51b81526004016108c0906124e9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061113c565b50600161113c565b600081815b8451811015611d2357611d0f82868381518110611d0257611d026126ad565b6020026020010151611d5e565b915080611d1b81612652565b915050611ce3565b509392505050565b611d358383611d8a565b611d426000848484611bd4565b6109615760405162461bcd60e51b81526004016108c0906124e9565b6000818310611d7a576000828152602084905260409020610d36565b5060009182526020526040902090565b6001600160a01b038216611de05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c0565b6000818152600260205260409020546001600160a01b031615611e455760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c0565b6001600160a01b0382166000908152600360205260408120805460019290611e6e908490612589565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ed890612617565b90600052602060002090601f016020900481019282611efa5760008555611f40565b82601f10611f1357805160ff1916838001178555611f40565b82800160010185558215611f40579182015b82811115611f40578251825591602001919060010190611f25565b50611f4c929150611f50565b5090565b5b80821115611f4c5760008155600101611f51565b600067ffffffffffffffff80841115611f8057611f806126c3565b604051601f8501601f19908116603f01168101908282118183101715611fa857611fa86126c3565b81604052809350858152868686011115611fc157600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112611fed57600080fd5b50813567ffffffffffffffff81111561200557600080fd5b6020830191508360208260051b85010111156109cc57600080fd5b60006020828403121561203257600080fd5b8135610d36816126d9565b60006020828403121561204f57600080fd5b8151610d36816126d9565b6000806040838503121561206d57600080fd5b8235612078816126d9565b91506020830135612088816126d9565b809150509250929050565b6000806000606084860312156120a857600080fd5b83356120b3816126d9565b925060208401356120c3816126d9565b929592945050506040919091013590565b600080600080608085870312156120ea57600080fd5b84356120f5816126d9565b93506020850135612105816126d9565b925060408501359150606085013567ffffffffffffffff81111561212857600080fd5b8501601f8101871361213957600080fd5b61214887823560208401611f65565b91505092959194509250565b6000806040838503121561216757600080fd5b8235612172816126d9565b91506020830135801515811461208857600080fd5b6000806040838503121561219a57600080fd5b82356121a5816126d9565b946020939093013593505050565b600080600080606085870312156121c957600080fd5b84356121d4816126d9565b935060208501359250604085013567ffffffffffffffff8111156121f757600080fd5b61220387828801611fdb565b95989497509550505050565b6000806000806040858703121561222557600080fd5b843567ffffffffffffffff8082111561223d57600080fd5b61224988838901611fdb565b9096509450602087013591508082111561226257600080fd5b5061220387828801611fdb565b60006020828403121561228157600080fd5b8135610d36816126ee565b60006020828403121561229e57600080fd5b8151610d36816126ee565b6000602082840312156122bb57600080fd5b813567ffffffffffffffff8111156122d257600080fd5b8201601f810184136122e357600080fd5b61113c84823560208401611f65565b60006020828403121561230457600080fd5b5035919050565b60006020828403121561231d57600080fd5b5051919050565b60008060008060006060868803121561233c57600080fd5b85359450602086013567ffffffffffffffff8082111561235b57600080fd5b61236789838a01611fdb565b9096509450604088013591508082111561238057600080fd5b5061238d88828901611fdb565b969995985093965092949392505050565b600080604083850312156123b157600080fd5b50508035926020909101359150565b600081518084526123d88160208601602086016125eb565b601f01601f19169290920160200192915050565b60008184825b85811015612423578135612405816126d9565b6001600160a01b0316835260209283019291909101906001016123f2565b509095945050505050565b60006001600160fb1b0383111561244457600080fd5b8260051b80858437600092019182525092915050565b6000835161246c8184602088016125eb565b8351908301906124808183602088016125eb565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124cc908301846123c0565b9695505050505050565b602081526000610d3660208301846123c0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6000821982111561259c5761259c612681565b500190565b6000826125b0576125b0612697565b500490565b60008160001904831182151516156125cf576125cf612681565b500290565b6000828210156125e6576125e6612681565b500390565b60005b838110156126065781810151838201526020016125ee565b83811115610cd05750506000910152565b600181811c9082168061262b57607f821691505b6020821081141561264c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561266657612666612681565b5060010190565b60008261267c5761267c612697565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c9057600080fd5b6001600160e01b031981168114610c9057600080fdfea26469706673582212202caa7f2eee6ca91cf1782bf780cd59ce485d968b8e351a555957aad8a0352ef164736f6c634300080700334552433732313a207472616e7366657220746f206e6f6e204552433732315265000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000c6c5e5c7c3be547f15b8a9e7de4de5e2b2a4ba0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d644831345a516f64566547487a6746587a4e467a6e487a4e4e384457704b336b6731547434757a50536351780000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063921211ea11610118578063d1c5c567116100a0578063e4e92a4a1161006f578063e4e92a4a1461065f578063e985e9c514610672578063eca7d2c2146106bb578063f2fde38b146106ef578063fbdd0aed1461070f57600080fd5b8063d1c5c567146105dc578063d69ece4f146105f2578063dd27c1611461061f578063e47266991461063f57600080fd5b80639d63d670116100e75780639d63d67014610528578063a22cb4651461055c578063b88d4fde1461057c578063c87b56dd1461059c578063cf235743146105bc57600080fd5b8063921211ea1461048257806395d89b41146104bf57806396fad09c146104d457806399bf40da146104f457600080fd5b80633fa4f2451161019b5780636352211e1161016a5780636352211e146103fa5780636c0360eb1461041a57806370a082311461042f578063715018a61461044f5780638da5cb5b1461046457600080fd5b80633fa4f2451461038a57806342842e0e146103a057806354214f69146103c057806355f804b3146103da57600080fd5b8063095ea7b3116101e2578063095ea7b3146102c75780631e7269c5146102e957806323b872dd146103165780632a55205a146103365780633bd649681461037557600080fd5b806301ffc9a714610214578063059f8b161461024957806306fdde031461026d578063081812fc1461028f575b600080fd5b34801561022057600080fd5b5061023461022f36600461226f565b610725565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f61271081565b604051908152602001610240565b34801561027957600080fd5b50610282610792565b60405161024091906124d6565b34801561029b57600080fd5b506102af6102aa3660046122f2565b610824565b6040516001600160a01b039091168152602001610240565b3480156102d357600080fd5b506102e76102e2366004612187565b61084b565b005b3480156102f557600080fd5b5061025f610304366004612020565b600b6020526000908152604090205481565b34801561032257600080fd5b506102e7610331366004612093565b610966565b34801561034257600080fd5b5061035661035136600461239e565b610997565b604080516001600160a01b039093168352602083019190915201610240565b34801561038157600080fd5b506102e76109d3565b34801561039657600080fd5b5061025f60075481565b3480156103ac57600080fd5b506102e76103bb366004612093565b6109ea565b3480156103cc57600080fd5b506012546102349060ff1681565b3480156103e657600080fd5b506102e76103f53660046122a9565b610a05565b34801561040657600080fd5b506102af6104153660046122f2565b610a48565b34801561042657600080fd5b50610282610aa8565b34801561043b57600080fd5b5061025f61044a366004612020565b610b36565b34801561045b57600080fd5b506102e7610bbc565b34801561047057600080fd5b506006546001600160a01b03166102af565b34801561048e57600080fd5b506104a261049d3660046121b3565b610bd0565b604080519315158452602084019290925290820152606001610240565b3480156104cb57600080fd5b50610282610c6f565b3480156104e057600080fd5b506102e76104ef3660046122f2565b610c7e565b34801561050057600080fd5b5061025f7f49f14276394a8c5f4cdf69bcdb750b64df91589527676afc34352635c6592d9781565b34801561053457600080fd5b5061025f7fe15196134ea93dec7fd34dc4c971212a1312140095c873b422729ffd4ee7a69d81565b34801561056857600080fd5b506102e7610577366004612154565b610c93565b34801561058857600080fd5b506102e76105973660046120d4565b610c9e565b3480156105a857600080fd5b506102826105b73660046122f2565b610cd6565b3480156105c857600080fd5b506102e76105d736600461220f565b610d3d565b3480156105e857600080fd5b5061025f60105481565b3480156105fe57600080fd5b5061025f61060d366004612020565b600a6020526000908152604090205481565b34801561062b57600080fd5b506102e761063a3660046122f2565b610e35565b34801561064b57600080fd5b506009546102af906001600160a01b031681565b6102e761066d366004612324565b610e46565b34801561067e57600080fd5b5061023461068d36600461205a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106c757600080fd5b5061025f7f2de0703c7796cf1874e5e83feea12018cda1e737b3b770d26662d3bc7e23821381565b3480156106fb57600080fd5b506102e761070a366004612020565b610f73565b34801561071b57600080fd5b5061025f600f5481565b60006301ffc9a760e01b6001600160e01b03198316148061075657506380ac58cd60e01b6001600160e01b03198316145b806107715750635b5e139f60e01b6001600160e01b03198316145b8061078c57506001600160e01b0319821663152a902d60e11b145b92915050565b6060600080546107a190612617565b80601f01602080910402602001604051908101604052809291908181526020018280546107cd90612617565b801561081a5780601f106107ef5761010080835404028352916020019161081a565b820191906000526020600020905b8154815290600101906020018083116107fd57829003601f168201915b5050505050905090565b600061082f82610ff8565b506000908152600460205260409020546001600160a01b031690565b600061085682610a48565b9050806001600160a01b0316836001600160a01b031614156108c95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806108e557506108e5813361068d565b6109575760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016108c0565b6109618383611057565b505050565b61097033826110c5565b61098c5760405162461bcd60e51b81526004016108c09061253b565b610961838383611144565b6000806109ac6006546001600160a01b031690565b612710600754856109bd91906125b5565b6109c791906125a1565b915091505b9250929050565b6109db6112e0565b6012805460ff19166001179055565b61096183838360405180602001604052806000815250610c9e565b610a0d6112e0565b60125460ff1615610a315760405163a89ac15160e01b815260040160405180910390fd5b8051610a44906011906020840190611ecc565b5050565b6000818152600260205260408120546001600160a01b03168061078c5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c0565b60118054610ab590612617565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae190612617565b8015610b2e5780601f10610b0357610100808354040283529160200191610b2e565b820191906000526020600020905b815481529060010190602001808311610b1157829003601f168201915b505050505081565b60006001600160a01b038216610ba05760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108c0565b506001600160a01b031660009081526003602052604090205490565b610bc46112e0565b610bce600061133a565b565b6000806000610bde8761138c565b9150858210610bf65750600191508490506000610c65565b600f544211610c1e57610c0982876125d4565b9050610c178782878761140a565b9250610c65565b600f5442118015610c3157506010544211155b15610c5457610c418786866115dd565b9250610c4d82876125d4565b9050610c65565b60019250610c6282876125d4565b90505b9450945094915050565b6060600180546107a190612617565b610c866112e0565b610c903382611642565b50565b610a443383836116e0565b610ca833836110c5565b610cc45760405162461bcd60e51b81526004016108c09061253b565b610cd0848484846117af565b50505050565b6060610ce182610ff8565b6000610ceb6117e2565b90506000815111610d0b5760405180602001604052806000815250610d36565b80610d15846117f1565b604051602001610d2692919061245a565b6040516020818303038152906040525b9392505050565b610d456112e0565b828114610d6557604051635cb045db60e01b815260040160405180910390fd5b60005b83811015610dd657828282818110610d8257610d826126ad565b90506020020135600a6000878785818110610d9f57610d9f6126ad565b9050602002016020810190610db49190612020565b6001600160a01b03168152602081019190915260400160002055600101610d68565b508181604051610de792919061242e565b60405180910390208484604051610dff9291906123ec565b604051908190038120907fa400d0c81716a31e067254409bc67ae22f4393c8017950f0b12ee99d15eebc4690600090a350505050565b610e3d6112e0565b610c90816118ef565b600854600114610e855760405162461bcd60e51b815260206004820152600a6024820152695245454e5452414e435960b01b60448201526064016108c0565b600260085560008080610e9a33898787610bd0565b919450925090506000610eb567016345785d8a0000836125b5565b905083610ed557604051631eb49d6d60e11b815260040160405180910390fd5b868314610ef557604051632f8e81c960e21b815260040160405180910390fd5b803414610f155760405163090ac0d760e21b815260040160405180910390fd5b600f544211158015610f275750600082115b15610f3f57336000908152600b602052604090208290555b610f49338a611642565b8615610f5a57610f5a338989611917565b610f6381611ac2565b5050600160085550505050505050565b610f7b6112e0565b6001600160a01b038116610fe05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108c0565b610c908161133a565b6001600160a01b03163b151590565b6000818152600260205260409020546001600160a01b0316610c905760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b60448201526064016108c0565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061108c82610a48565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806110d183610a48565b9050806001600160a01b0316846001600160a01b0316148061111857506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061113c5750836001600160a01b031661113184610824565b6001600160a01b0316145b949350505050565b826001600160a01b031661115782610a48565b6001600160a01b0316146111bb5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108c0565b6001600160a01b03821661121d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108c0565b611228600082611057565b6001600160a01b03831660009081526003602052604081208054600192906112519084906125d4565b90915550506001600160a01b038216600090815260036020526040812080546001929061127f908490612589565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b03163314610bce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108c0565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6009546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a082319060240160206040518083038186803b1580156113d257600080fd5b505afa1580156113e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061078c919061230b565b6000836114195750600161113c565b6001600160a01b0385166000908152600a60205260409020546002101561147f576001600160a01b0385166000908152600b6020908152604080832054600a90925290912054859161146a916125d4565b106114775750600161113c565b50600061113c565b6001600160a01b0385166000908152600b6020526040902054600281106114aa57600091505061113c565b801580156114b85750846001145b801561152757506115278484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f2de0703c7796cf1874e5e83feea12018cda1e737b3b770d26662d3bc7e238213925061152291508a9050611b65565b611ba4565b1561153657600191505061113c565b600285111580156115475750600281105b80156115b157506115b18484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507fe15196134ea93dec7fd34dc4c971212a1312140095c873b422729ffd4ee7a69d925061152291508a9050611b65565b156115d157846115c28260026125d4565b106115d157600191505061113c565b50600095945050505050565b600061113c8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152507f49f14276394a8c5f4cdf69bcdb750b64df91589527676afc34352635c6592d9792506115229150889050611b65565b600081600c546116529190612589565b600c549091505b818110156116735761166b8482611bba565b600101611659565b5081600c60008282546116869190612589565b9250508190555081600d600082825461169f9190612589565b9091555050600e546116b460fd6113876125d4565b6116be91906125d4565b600d5411156109615760405163c30436e960e01b815260040160405180910390fd5b816001600160a01b0316836001600160a01b031614156117425760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108c0565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117ba848484611144565b6117c684848484611bd4565b610cd05760405162461bcd60e51b81526004016108c0906124e9565b6060601180546107a190612617565b6060816118155750506040805180820190915260018152600360fc1b602082015290565b8160005b811561183f578061182981612652565b91506118389050600a836125a1565b9150611819565b60008167ffffffffffffffff81111561185a5761185a6126c3565b6040519080825280601f01601f191660200182016040528015611884576020820181803683370190505b5090505b841561113c576118996001836125d4565b91506118a6600a8661266d565b6118b1906030612589565b60f81b8183815181106118c6576118c66126ad565b60200101906001600160f81b031916908160001a9053506118e8600a866125a1565b9450611888565b612710811115611912576040516301498b9960e31b815260040160405180910390fd5b600755565b60005b81811015611aa2576009546001600160a01b0316636352211e848484818110611945576119456126ad565b905060200201356040518263ffffffff1660e01b815260040161196a91815260200190565b60206040518083038186803b15801561198257600080fd5b505afa158015611996573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ba919061203d565b6001600160a01b0316846001600160a01b0316146119eb57604051633a4d776760e11b815260040160405180910390fd5b6009546001600160a01b031663b88d4fde8561dead868686818110611a1257611a126126ad565b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152608060648201526000608482015260a401600060405180830381600087803b158015611a7757600080fd5b505af1158015611a8b573d6000803e3d6000fd5b505050508080611a9a90612652565b91505061191a565b5081819050600e6000828254611ab89190612589565b9091555050505050565b60405160009073e15cfdc7daaef0d2d2a3be7239973e11556d9e8c9083908381818185875af1925050503d8060008114611b18576040519150601f19603f3d011682016040523d82523d6000602084013e611b1d565b606091505b5050905080610a445760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b60448201526064016108c0565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600082611bb18584611cde565b14949350505050565b610a44828260405180602001604052806000815250611d2b565b60006001600160a01b0384163b15611cd657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c18903390899088908890600401612499565b602060405180830381600087803b158015611c3257600080fd5b505af1925050508015611c62575060408051601f3d908101601f19168201909252611c5f9181019061228c565b60015b611cbc573d808015611c90576040519150601f19603f3d011682016040523d82523d6000602084013e611c95565b606091505b508051611cb45760405162461bcd60e51b81526004016108c0906124e9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061113c565b50600161113c565b600081815b8451811015611d2357611d0f82868381518110611d0257611d026126ad565b6020026020010151611d5e565b915080611d1b81612652565b915050611ce3565b509392505050565b611d358383611d8a565b611d426000848484611bd4565b6109615760405162461bcd60e51b81526004016108c0906124e9565b6000818310611d7a576000828152602084905260409020610d36565b5060009182526020526040902090565b6001600160a01b038216611de05760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108c0565b6000818152600260205260409020546001600160a01b031615611e455760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108c0565b6001600160a01b0382166000908152600360205260408120805460019290611e6e908490612589565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ed890612617565b90600052602060002090601f016020900481019282611efa5760008555611f40565b82601f10611f1357805160ff1916838001178555611f40565b82800160010185558215611f40579182015b82811115611f40578251825591602001919060010190611f25565b50611f4c929150611f50565b5090565b5b80821115611f4c5760008155600101611f51565b600067ffffffffffffffff80841115611f8057611f806126c3565b604051601f8501601f19908116603f01168101908282118183101715611fa857611fa86126c3565b81604052809350858152868686011115611fc157600080fd5b858560208301376000602087830101525050509392505050565b60008083601f840112611fed57600080fd5b50813567ffffffffffffffff81111561200557600080fd5b6020830191508360208260051b85010111156109cc57600080fd5b60006020828403121561203257600080fd5b8135610d36816126d9565b60006020828403121561204f57600080fd5b8151610d36816126d9565b6000806040838503121561206d57600080fd5b8235612078816126d9565b91506020830135612088816126d9565b809150509250929050565b6000806000606084860312156120a857600080fd5b83356120b3816126d9565b925060208401356120c3816126d9565b929592945050506040919091013590565b600080600080608085870312156120ea57600080fd5b84356120f5816126d9565b93506020850135612105816126d9565b925060408501359150606085013567ffffffffffffffff81111561212857600080fd5b8501601f8101871361213957600080fd5b61214887823560208401611f65565b91505092959194509250565b6000806040838503121561216757600080fd5b8235612172816126d9565b91506020830135801515811461208857600080fd5b6000806040838503121561219a57600080fd5b82356121a5816126d9565b946020939093013593505050565b600080600080606085870312156121c957600080fd5b84356121d4816126d9565b935060208501359250604085013567ffffffffffffffff8111156121f757600080fd5b61220387828801611fdb565b95989497509550505050565b6000806000806040858703121561222557600080fd5b843567ffffffffffffffff8082111561223d57600080fd5b61224988838901611fdb565b9096509450602087013591508082111561226257600080fd5b5061220387828801611fdb565b60006020828403121561228157600080fd5b8135610d36816126ee565b60006020828403121561229e57600080fd5b8151610d36816126ee565b6000602082840312156122bb57600080fd5b813567ffffffffffffffff8111156122d257600080fd5b8201601f810184136122e357600080fd5b61113c84823560208401611f65565b60006020828403121561230457600080fd5b5035919050565b60006020828403121561231d57600080fd5b5051919050565b60008060008060006060868803121561233c57600080fd5b85359450602086013567ffffffffffffffff8082111561235b57600080fd5b61236789838a01611fdb565b9096509450604088013591508082111561238057600080fd5b5061238d88828901611fdb565b969995985093965092949392505050565b600080604083850312156123b157600080fd5b50508035926020909101359150565b600081518084526123d88160208601602086016125eb565b601f01601f19169290920160200192915050565b60008184825b85811015612423578135612405816126d9565b6001600160a01b0316835260209283019291909101906001016123f2565b509095945050505050565b60006001600160fb1b0383111561244457600080fd5b8260051b80858437600092019182525092915050565b6000835161246c8184602088016125eb565b8351908301906124808183602088016125eb565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906124cc908301846123c0565b9695505050505050565b602081526000610d3660208301846123c0565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6000821982111561259c5761259c612681565b500190565b6000826125b0576125b0612697565b500490565b60008160001904831182151516156125cf576125cf612681565b500290565b6000828210156125e6576125e6612681565b500390565b60005b838110156126065781810151838201526020016125ee565b83811115610cd05750506000910152565b600181811c9082168061262b57607f821691505b6020821081141561264c57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561266657612666612681565b5060010190565b60008261267c5761267c612697565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c9057600080fd5b6001600160e01b031981168114610c9057600080fdfea26469706673582212202caa7f2eee6ca91cf1782bf780cd59ce485d968b8e351a555957aad8a0352ef164736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000c6c5e5c7c3be547f15b8a9e7de4de5e2b2a4ba0000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d644831345a516f64566547487a6746587a4e467a6e487a4e4e384457704b336b6731547434757a50536351780000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://QmdH14ZQodVeGHzgFXzNFznHzNN8DWpK3kg1Tt4uzPScQx
Arg [1] : _priveGenesisPass (address): 0x00c6C5E5c7c3bE547f15B8a9E7DE4de5E2B2A4Ba

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000c6c5e5c7c3be547f15b8a9e7de4de5e2b2a4ba
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [3] : 697066733a2f2f516d644831345a516f64566547487a6746587a4e467a6e487a
Arg [4] : 4e4e384457704b336b6731547434757a50536351780000000000000000000000


Deployed Bytecode Sourcemap

49008:9652:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57882:775;;;;;;;;;;-1:-1:-1;57882:775:0;;;;;:::i;:::-;;:::i;:::-;;;11862:14:1;;11855:22;11837:41;;11825:2;11810:18;57882:775:0;;;;;;;;48129:42;;;;;;;;;;;;48166:5;48129:42;;;;;12369:25:1;;;12357:2;12342:18;48129:42:0;12223:177:1;33854:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35464:221::-;;;;;;;;;;-1:-1:-1;35464:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10321:32:1;;;10303:51;;10291:2;10276:18;35464:221:0;10157:203:1;34981:417:0;;;;;;;;;;-1:-1:-1;34981:417:0;;;;;:::i;:::-;;:::i;:::-;;49879:41;;;;;;;;;;-1:-1:-1;49879:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;36296:373;;;;;;;;;;-1:-1:-1;36296:373:0;;;;;:::i;:::-;;:::i;57473:226::-;;;;;;;;;;-1:-1:-1;57473:226:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;11610:32:1;;;11592:51;;11674:2;11659:18;;11652:34;;;;11565:18;57473:226:0;11418:274:1;51174:78:0;;;;;;;;;;;;;:::i;48178:20::-;;;;;;;;;;;;;;;;36740:185;;;;;;;;;;-1:-1:-1;36740:185:0;;;;;:::i;:::-;;:::i;50137:22::-;;;;;;;;;;-1:-1:-1;50137:22:0;;;;;;;;51260:157;;;;;;;;;;-1:-1:-1;51260:157:0;;;;;:::i;:::-;;:::i;33515:272::-;;;;;;;;;;-1:-1:-1;33515:272:0;;;;;:::i;:::-;;:::i;50109:21::-;;;;;;;;;;;;;:::i;33159:294::-;;;;;;;;;;-1:-1:-1;33159:294:0;;;;;:::i;:::-;;:::i;11406:103::-;;;;;;;;;;;;;:::i;10758:87::-;;;;;;;;;;-1:-1:-1;10831:6:0;;-1:-1:-1;;;;;10831:6:0;10758:87;;52398:932;;;;;;;;;;-1:-1:-1;52398:932:0;;;;;:::i;:::-;;:::i;:::-;;;;12110:14:1;;12103:22;12085:41;;12157:2;12142:18;;12135:34;;;;12185:18;;;12178:34;12073:2;12058:18;52398:932:0;11889:329:1;34023:104:0;;;;;;;;;;;;;:::i;51577:107::-;;;;;;;;;;-1:-1:-1;51577:107:0;;;;;:::i;:::-;;:::i;49498:43::-;;;;;;;;;;;;;;;49440:51;;;;;;;;;;;;;;;35757:187;;;;;;;;;;-1:-1:-1;35757:187:0;;;;;:::i;:::-;;:::i;36996:360::-;;;;;;;;;;-1:-1:-1;36996:360:0;;;;;:::i;:::-;;:::i;56964:471::-;;;;;;;;;;-1:-1:-1;56964:471:0;;;;;:::i;:::-;;:::i;53338:421::-;;;;;;;;;;-1:-1:-1;53338:421:0;;;;;:::i;:::-;;:::i;50075:27::-;;;;;;;;;;;;;;;;49823:49;;;;;;;;;;-1:-1:-1;49823:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;57707:103;;;;;;;;;;-1:-1:-1;57707:103:0;;;;;:::i;:::-;;:::i;49779:37::-;;;;;;;;;;-1:-1:-1;49779:37:0;;;;-1:-1:-1;;;;;49779:37:0;;;55267:825;;;;;;:::i;:::-;;:::i;36015:214::-;;;;;;;;;;-1:-1:-1;36015:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;36186:25:0;;;36157:4;36186:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36015:214;49382:51;;;;;;;;;;;;;;;11664:238;;;;;;;;;;-1:-1:-1;11664:238:0;;;;;:::i;:::-;;:::i;50042:26::-;;;;;;;;;;;;;;;;57882:775;58029:4;-1:-1:-1;;;;;;;;;58334:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;58411:25:0;;;58334:102;:179;;;-1:-1:-1;;;;;;;;;;58488:25:0;;;58334:179;:280;;;-1:-1:-1;;;;;;;58573:41:0;;-1:-1:-1;;;58573:41:0;58334:280;58314:300;57882:775;-1:-1:-1;;57882:775:0:o;33854:100::-;33908:13;33941:5;33934:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33854:100;:::o;35464:221::-;35585:7;35610:23;35625:7;35610:14;:23::i;:::-;-1:-1:-1;35653:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35653:24:0;;35464:221::o;34981:417::-;35062:13;35078:23;35093:7;35078:14;:23::i;:::-;35062:39;;35126:5;-1:-1:-1;;;;;35120:11:0;:2;-1:-1:-1;;;;;35120:11:0;;;35112:57;;;;-1:-1:-1;;;35112:57:0;;18013:2:1;35112:57:0;;;17995:21:1;18052:2;18032:18;;;18025:30;18091:34;18071:18;;;18064:62;-1:-1:-1;;;18142:18:1;;;18135:31;18183:19;;35112:57:0;;;;;;;;;9522:10;-1:-1:-1;;;;;35204:21:0;;;;:62;;-1:-1:-1;35229:37:0;35246:5;9522:10;36015:214;:::i;35229:37::-;35182:174;;;;-1:-1:-1;;;35182:174:0;;16507:2:1;35182:174:0;;;16489:21:1;16546:2;16526:18;;;16519:30;16585:34;16565:18;;;16558:62;16656:32;16636:18;;;16629:60;16706:19;;35182:174:0;16305:426:1;35182:174:0;35369:21;35378:2;35382:7;35369:8;:21::i;:::-;35051:347;34981:417;;:::o;36296:373::-;36505:41;9522:10;36538:7;36505:18;:41::i;:::-;36483:137;;;;-1:-1:-1;;;36483:137:0;;;;;;;:::i;:::-;36633:28;36643:4;36649:2;36653:7;36633:9;:28::i;57473:226::-;57587:16;57605:21;57652:7;10831:6;;-1:-1:-1;;;;;10831:6:0;;10758:87;57652:7;48166:5;57671;;57662:6;:14;;;;:::i;:::-;57661:29;;;;:::i;:::-;57644:47;;;;57473:226;;;;;;:::o;51174:78::-;10644:13;:11;:13::i;:::-;51227:10:::1;:17:::0;;-1:-1:-1;;51227:17:0::1;51240:4;51227:17;::::0;;51174:78::o;36740:185::-;36878:39;36895:4;36901:2;36905:7;36878:39;;;;;;;;;;;;:16;:39::i;51260:157::-;10644:13;:11;:13::i;:::-;51341:10:::1;::::0;::::1;;51337:40;;;51360:17;;-1:-1:-1::0;;;51360:17:0::1;;;;;;;;;;;51337:40;51388:21:::0;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;51260:157:::0;:::o;33515:272::-;33632:7;33673:16;;;:7;:16;;;;;;-1:-1:-1;;;;;33673:16:0;33708:19;33700:56;;;;-1:-1:-1;;;33700:56:0;;17660:2:1;33700:56:0;;;17642:21:1;17699:2;17679:18;;;17672:30;-1:-1:-1;;;17718:18:1;;;17711:54;17782:18;;33700:56:0;17458:348:1;50109:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;33159:294::-;33276:7;-1:-1:-1;;;;;33323:19:0;;33301:110;;;;-1:-1:-1;;;33301:110:0;;16097:2:1;33301:110:0;;;16079:21:1;16136:2;16116:18;;;16109:30;16175:34;16155:18;;;16148:62;-1:-1:-1;;;16226:18:1;;;16219:39;16275:19;;33301:110:0;15895:405:1;33301:110:0;-1:-1:-1;;;;;;33429:16:0;;;;;:9;:16;;;;;;;33159:294::o;11406:103::-;10644:13;:11;:13::i;:::-;11471:30:::1;11498:1;11471:18;:30::i;:::-;11406:103::o:0;52398:932::-;52573:15;52603:14;52632;52683:27;52706:3;52683:22;:27::i;:::-;52674:36;;52737:7;52727:6;:17;52723:600;;-1:-1:-1;52830:4:0;;-1:-1:-1;52770:7:0;;-1:-1:-1;52801:1:0;52723:600;;;52866:11;;51546:15;52856:21;52852:471;;52903:16;52913:6;52903:7;:16;:::i;:::-;52894:25;;52947:39;52961:3;52966:6;52974:11;;52947:13;:39::i;:::-;52934:52;;52852:471;;;53017:11;;51546:15;53008:20;:46;;;;-1:-1:-1;53042:12:0;;51546:15;53032:22;;53008:46;53004:319;;;53150:31;53164:3;53169:11;;53150:13;:31::i;:::-;53137:44;-1:-1:-1;53205:16:0;53215:6;53205:7;:16;:::i;:::-;53196:25;;53004:319;;;53267:4;;-1:-1:-1;53295:16:0;53305:6;53295:7;:16;:::i;:::-;53286:25;;53004:319;52398:932;;;;;;;;:::o;34023:104::-;34079:13;34112:7;34105:14;;;;;:::i;51577:107::-;10644:13;:11;:13::i;:::-;51646:30:::1;51657:10;51669:6;51646:10;:30::i;:::-;51577:107:::0;:::o;35757:187::-;35884:52;9522:10;35917:8;35927;35884:18;:52::i;36996:360::-;37184:41;9522:10;37217:7;37184:18;:41::i;:::-;37162:137;;;;-1:-1:-1;;;37162:137:0;;;;;;;:::i;:::-;37310:38;37324:4;37330:2;37334:7;37343:4;37310:13;:38::i;:::-;36996:360;;;;:::o;56964:471::-;57082:13;57113:23;57128:7;57113:14;:23::i;:::-;57187;57213:10;:8;:10::i;:::-;57187:36;;57280:1;57260:9;57254:23;:27;:173;;;;;;;;;;;;;;;;;57347:9;57358:18;:7;:16;:18::i;:::-;57330:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57254:173;57234:193;56964:471;-1:-1:-1;;;56964:471:0:o;53338:421::-;10644:13;:11;:13::i;:::-;53466:28;;::::1;53462:54;;53503:13;;-1:-1:-1::0;;;53503:13:0::1;;;;;;;;;;;53462:54;53532:13;53527:184;53551:20:::0;;::::1;53527:184;;;53621:5;;53627;53621:12;;;;;;;:::i;:::-;;;;;;;53590:14;:28;53605:5;;53611;53605:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;53590:28:0::1;::::0;;::::1;::::0;::::1;::::0;;;;;;-1:-1:-1;53590:28:0;:43;53677:7:::1;;53527:184;;;;53745:5;;53726:25;;;;;;;:::i;:::-;;;;;;;;53738:5;;53726:25;;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;53338:421:::0;;;;:::o;57707:103::-;10644:13;:11;:13::i;:::-;57778:24:::1;57795:6;57778:16;:24::i;55267:825::-:0;47185:6;;47195:1;47185:11;47177:34;;;;-1:-1:-1;;;47177:34:0;;13061:2:1;47177:34:0;;;13043:21:1;13100:2;13080:18;;;13073:30;-1:-1:-1;;;13119:18:1;;;13112:40;13169:18;;47177:34:0;12859:334:1;47177:34:0;47233:1;47224:6;:10;55437:15:::1;::::0;;55488:92:::1;55510:10;55535:7:::0;55557:12;;55488:7:::1;:92::i;:::-;55436:144:::0;;-1:-1:-1;55436:144:0;-1:-1:-1;55436:144:0;-1:-1:-1;55591:12:0::1;55606:18;49367:6;55436:144:::0;55606:18:::1;:::i;:::-;55591:33;;55642:10;55637:36;;55661:12;;-1:-1:-1::0;;;55661:12:0::1;;;;;;;;;;;55637:36;55688:26:::0;;::::1;55684:56;;55723:17;;-1:-1:-1::0;;;55723:17:0::1;;;;;;;;;;;55684:56;55768:4;55755:9;:17;55751:48;;55781:18;;-1:-1:-1::0;;;55781:18:0::1;;;;;;;;;;;55751:48;55826:11;::::0;51546:15;55816:21:::1;;:35;;;;;55850:1;55841:6;:10;55816:35;55812:95;;;55875:10;55868:18;::::0;;;:6:::1;:18;::::0;;;;:27;;;55812:95:::1;55919:31;55930:10;55942:7;55919:10;:31::i;:::-;55967:21:::0;;55963:93:::1;;56005:39;56022:10;56034:9;;56005:16;:39::i;:::-;56066:18;56079:4;56066:12;:18::i;:::-;-1:-1:-1::0;;47270:1:0;47261:6;:10;-1:-1:-1;;;;;;;55267:825:0:o;11664:238::-;10644:13;:11;:13::i;:::-;-1:-1:-1;;;;;11767:22:0;::::1;11745:110;;;::::0;-1:-1:-1;;;11745:110:0;;13819:2:1;11745:110:0::1;::::0;::::1;13801:21:1::0;13858:2;13838:18;;;13831:30;13897:34;13877:18;;;13870:62;-1:-1:-1;;;13948:18:1;;;13941:36;13994:19;;11745:110:0::1;13617:402:1::0;11745:110:0::1;11866:28;11885:8;11866:18;:28::i;20439:326::-:0;-1:-1:-1;;;;;20734:19:0;;:23;;;20439:326::o;43786:135::-;38965:4;38989:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38989:16:0;43860:53;;;;-1:-1:-1;;;43860:53:0;;17660:2:1;43860:53:0;;;17642:21:1;17699:2;17679:18;;;17672:30;-1:-1:-1;;;17718:18:1;;;17711:54;17782:18;;43860:53:0;17458:348:1;43065:174:0;43140:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;43140:29:0;-1:-1:-1;;;;;43140:29:0;;;;;;;;:24;;43194:23;43140:24;43194:14;:23::i;:::-;-1:-1:-1;;;;;43185:46:0;;;;;;;;;;;43065:174;;:::o;39194:331::-;39323:4;39345:13;39361:23;39376:7;39361:14;:23::i;:::-;39345:39;;39414:5;-1:-1:-1;;;;;39403:16:0;:7;-1:-1:-1;;;;;39403:16:0;;:65;;;-1:-1:-1;;;;;;36186:25:0;;;36157:4;36186:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;39436:32;39403:113;;;;39509:7;-1:-1:-1;;;;;39485:31:0;:20;39497:7;39485:11;:20::i;:::-;-1:-1:-1;;;;;39485:31:0;;39403:113;39395:122;39194:331;-1:-1:-1;;;;39194:331:0:o;42284:662::-;42457:4;-1:-1:-1;;;;;42430:31:0;:23;42445:7;42430:14;:23::i;:::-;-1:-1:-1;;;;;42430:31:0;;42408:118;;;;-1:-1:-1;;;42408:118:0;;14226:2:1;42408:118:0;;;14208:21:1;14265:2;14245:18;;;14238:30;14304:34;14284:18;;;14277:62;-1:-1:-1;;;14355:18:1;;;14348:35;14400:19;;42408:118:0;14024:401:1;42408:118:0;-1:-1:-1;;;;;42545:16:0;;42537:65;;;;-1:-1:-1;;;42537:65:0;;15338:2:1;42537:65:0;;;15320:21:1;15377:2;15357:18;;;15350:30;15416:34;15396:18;;;15389:62;-1:-1:-1;;;15467:18:1;;;15460:34;15511:19;;42537:65:0;15136:400:1;42537:65:0;42719:29;42736:1;42740:7;42719:8;:29::i;:::-;-1:-1:-1;;;;;42761:15:0;;;;;;:9;:15;;;;;:20;;42780:1;;42761:15;:20;;42780:1;;42761:20;:::i;:::-;;;;-1:-1:-1;;;;;;;42792:13:0;;;;;;:9;:13;;;;;:18;;42809:1;;42792:13;:18;;42809:1;;42792:18;:::i;:::-;;;;-1:-1:-1;;42821:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;42821:21:0;-1:-1:-1;;;;;42821:21:0;;;;;;;;;42860:27;;42821:16;;42860:27;;;;;;;35051:347;34981:417;;:::o;10923:132::-;10831:6;;-1:-1:-1;;;;;10831:6:0;9522:10;10987:23;10979:68;;;;-1:-1:-1;;;10979:68:0;;17299:2:1;10979:68:0;;;17281:21:1;;;17318:18;;;17311:30;17377:34;17357:18;;;17350:62;17429:18;;10979:68:0;17097:356:1;12062:191:0;12155:6;;;-1:-1:-1;;;;;12172:17:0;;;-1:-1:-1;;;;;;12172:17:0;;;;;;;12205:40;;12155:6;;;12172:17;12155:6;;12205:40;;12136:16;;12205:40;12125:128;12062:191;:::o;52218:172::-;52348:16;;:34;;-1:-1:-1;;;52348:34:0;;-1:-1:-1;;;;;10321:32:1;;;52348:34:0;;;10303:51:1;52316:7:0;;52348:16;;:26;;10276:18:1;;52348:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;53767:1049::-;53911:4;53932:12;53928:29;;-1:-1:-1;53953:4:0;53946:11;;53928:29;-1:-1:-1;;;;;53974:21:0;;;;;;:14;:21;;;;;;53998:1;-1:-1:-1;53970:150:0;;;-1:-1:-1;;;;;54044:13:0;;;;;;:6;:13;;;;;;;;;54020:14;:21;;;;;;;54061:7;;54020:37;;;:::i;:::-;:48;54016:65;;-1:-1:-1;54077:4:0;54070:11;;54016:65;-1:-1:-1;54103:5:0;54096:12;;53970:150;-1:-1:-1;;;;;54148:13:0;;54132;54148;;;:6;:13;;;;;;54185:1;54176:10;;54172:28;;54195:5;54188:12;;;;;54172:28;54231:10;;:39;;;;;54258:7;54269:1;54258:12;54231:39;:199;;;;;54287:143;54324:11;;54287:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54354:26:0;;-1:-1:-1;54399:16:0;;-1:-1:-1;54409:5:0;;-1:-1:-1;54399:9:0;:16::i;:::-;54287:18;:143::i;:::-;54213:267;;;54464:4;54457:11;;;;;54213:267;54521:1;54510:7;:12;;:38;;;;;54547:1;54539:5;:9;54510:38;:198;;;;;54565:143;54602:11;;54565:143;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54632:26:0;;-1:-1:-1;54677:16:0;;-1:-1:-1;54687:5:0;;-1:-1:-1;54677:9:0;:16::i;54565:143::-;54492:292;;;54752:7;54739:9;54743:5;54739:1;:9;:::i;:::-;:20;54735:37;;54768:4;54761:11;;;;;54735:37;-1:-1:-1;54803:5:0;;53767:1049;-1:-1:-1;;;;;53767:1049:0:o;54824:303::-;54943:4;54985:134;55022:11;;54985:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55052:18:0;;-1:-1:-1;55089:15:0;;-1:-1:-1;55099:4:0;;-1:-1:-1;55089:9:0;:15::i;56100:512::-;56168:18;56201:6;56189:9;;:18;;;;:::i;:::-;56239:9;;56168:39;;-1:-1:-1;56218:167:0;56258:10;56250:5;:18;56218:167;;;56287:20;56297:2;56301:5;56287:9;:20::i;:::-;56351:7;;56218:167;;;;56410:6;56397:9;;:19;;;;;;;:::i;:::-;;;;;;;;56442:6;56427:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;56548:18:0;;56507:38;49275:3;49161:4;56507:38;:::i;:::-;:59;;;;:::i;:::-;56479:11;;:88;56461:143;;;56586:18;;-1:-1:-1;;;56586:18:0;;;;;;;;;;;43382:315;43537:8;-1:-1:-1;;;;;43528:17:0;:5;-1:-1:-1;;;;;43528:17:0;;;43520:55;;;;-1:-1:-1;;;43520:55:0;;15743:2:1;43520:55:0;;;15725:21:1;15782:2;15762:18;;;15755:30;15821:27;15801:18;;;15794:55;15866:18;;43520:55:0;15541:349:1;43520:55:0;-1:-1:-1;;;;;43586:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;43586:46:0;;;;;;;;;;43648:41;;11837::1;;;43648::0;;11810:18:1;43648:41:0;;;;;;;43382:315;;;:::o;38237:350::-;38393:28;38403:4;38409:2;38413:7;38393:9;:28::i;:::-;38454:47;38477:4;38483:2;38487:7;38496:4;38454:22;:47::i;:::-;38432:147;;;;-1:-1:-1;;;38432:147:0;;;;;;;:::i;56856:100::-;56908:13;56941:7;56934:14;;;;;:::i;28502:723::-;28558:13;28779:10;28775:53;;-1:-1:-1;;28806:10:0;;;;;;;;;;;;-1:-1:-1;;;28806:10:0;;;;;28502:723::o;28775:53::-;28853:5;28838:12;28894:78;28901:9;;28894:78;;28927:8;;;;:::i;:::-;;-1:-1:-1;28950:10:0;;-1:-1:-1;28958:2:0;28950:10;;:::i;:::-;;;28894:78;;;28982:19;29014:6;29004:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29004:17:0;;28982:39;;29032:154;29039:10;;29032:154;;29066:11;29076:1;29066:11;;:::i;:::-;;-1:-1:-1;29135:10:0;29143:2;29135:5;:10;:::i;:::-;29122:24;;:2;:24;:::i;:::-;29109:39;;29092:6;29099;29092:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;29092:56:0;;;;;;;;-1:-1:-1;29163:11:0;29172:2;29163:11;;:::i;:::-;;;29032:154;;48355:151;48166:5;48421:6;:19;48417:56;;;48449:24;;-1:-1:-1;;;48449:24:0;;;;;;;;;;;48417:56;48484:5;:14;48355:151::o;51692:518::-;51802:13;51797:356;51821:23;;;51797:356;;;51884:16;;-1:-1:-1;;;;;51884:16:0;:24;51909:8;;51918:5;51909:15;;;;;;;:::i;:::-;;;;;;;51884:41;;;;;;;;;;;;;12369:25:1;;12357:2;12342:18;;12223:177;51884:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;51874:51:0;:6;-1:-1:-1;;;;;51874:51:0;;51870:95;;51951:14;;-1:-1:-1;;;51951:14:0;;;;;;;;;;;51870:95;51982:16;;-1:-1:-1;;;;;51982:16:0;:33;52034:6;49607:42;52090:8;;52099:5;52090:15;;;;;;;:::i;:::-;51982:159;;-1:-1:-1;;;;;;51982:159:0;;;;;;;-1:-1:-1;;;;;11181:15:1;;;51982:159:0;;;11163:34:1;11233:15;;;;11213:18;;;11206:43;-1:-1:-1;52090:15:0;;;;;;11265:18:1;;;11258:34;11328:3;11308:18;;;11301:31;-1:-1:-1;11348:19:1;;;11341:30;11388:19;;51982:159:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51846:7;;;;;:::i;:::-;;;;51797:356;;;;52187:8;;:15;;52165:18;;:37;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;51692:518:0:o;56620:228::-;56757:32;;56739:12;;49726:42;;56778:6;;56739:12;56757:32;56739:12;56757:32;56778:6;49726:42;56757:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56738:51;;;56808:7;56800:40;;;;-1:-1:-1;;;56800:40:0;;14989:2:1;56800:40:0;;;14971:21:1;15028:2;15008:18;;;15001:30;-1:-1:-1;;;15047:18:1;;;15040:50;15107:18;;56800:40:0;14787:344:1;55135:124:0;55228:22;;-1:-1:-1;;8190:2:1;8186:15;;;8182:53;55228:22:0;;;8170:66:1;55191:7:0;;8252:12:1;;55228:22:0;;;;;;;;;;;;55218:33;;;;;;55211:40;;55135:124;;;:::o;1090:190::-;1215:4;1268;1239:25;1252:5;1259:4;1239:12;:25::i;:::-;:33;;1090:190;-1:-1:-1;;;;1090:190:0:o;39867:110::-;39943:26;39953:2;39957:7;39943:26;;;;;;;;;;;;:9;:26::i;44485:1034::-;44639:4;-1:-1:-1;;;;;44660:13:0;;20734:19;:23;44656:856;;44713:174;;-1:-1:-1;;;44713:174:0;;-1:-1:-1;;;;;44713:36:0;;;;;:174;;9522:10;;44807:4;;44834:7;;44864:4;;44713:174;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44713:174:0;;;;;;;;-1:-1:-1;;44713:174:0;;;;;;;;;;;;:::i;:::-;;;44692:765;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45070:13:0;;45066:376;;45113:108;;-1:-1:-1;;;45113:108:0;;;;;;;:::i;45066:376::-;45392:6;45386:13;45377:6;45373:2;45369:15;45362:38;44692:765;-1:-1:-1;;;;;;44951:51:0;-1:-1:-1;;;44951:51:0;;-1:-1:-1;44944:58:0;;44656:856;-1:-1:-1;45496:4:0;45489:11;;1957:328;2067:7;2115:4;2067:7;2130:118;2154:5;:12;2150:1;:16;2130:118;;;2203:33;2213:12;2227:5;2233:1;2227:8;;;;;;;;:::i;:::-;;;;;;;2203:9;:33::i;:::-;2188:48;-1:-1:-1;2168:3:0;;;;:::i;:::-;;;;2130:118;;;-1:-1:-1;2265:12:0;1957:328;-1:-1:-1;;;1957:328:0:o;40204:319::-;40333:18;40339:2;40343:7;40333:5;:18::i;:::-;40384:53;40415:1;40419:2;40423:7;40432:4;40384:22;:53::i;:::-;40362:153;;;;-1:-1:-1;;;40362:153:0;;;;;;;:::i;8438:149::-;8501:7;8532:1;8528;:5;:51;;8690:13;8789:15;;;8825:4;8818:15;;;8872:4;8856:21;;8528:51;;;-1:-1:-1;8690:13:0;8789:15;;;8825:4;8818:15;8872:4;8856:21;;;8438:149::o;40859:439::-;-1:-1:-1;;;;;40939:16:0;;40931:61;;;;-1:-1:-1;;;40931:61:0;;16938:2:1;40931:61:0;;;16920:21:1;;;16957:18;;;16950:30;17016:34;16996:18;;;16989:62;17068:18;;40931:61:0;16736:356:1;40931:61:0;38965:4;38989:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38989:16:0;:30;41003:58;;;;-1:-1:-1;;;41003:58:0;;14632:2:1;41003:58:0;;;14614:21:1;14671:2;14651:18;;;14644:30;14710;14690:18;;;14683:58;14758:18;;41003:58:0;14430:352:1;41003:58:0;-1:-1:-1;;;;;41132:13:0;;;;;;:9;:13;;;;;:18;;41149:1;;41132:13;:18;;41149:1;;41132:18;:::i;:::-;;;;-1:-1:-1;;41161:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;41161:21:0;-1:-1:-1;;;;;41161:21:0;;;;;;;;41200:33;;41161:16;;;41200:33;;41161:16;;41200:33;51388:21:::1;51260:157:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:367::-;713:8;723:6;777:3;770:4;762:6;758:17;754:27;744:55;;795:1;792;785:12;744:55;-1:-1:-1;818:20:1;;861:18;850:30;;847:50;;;893:1;890;883:12;847:50;930:4;922:6;918:17;906:29;;990:3;983:4;973:6;970:1;966:14;958:6;954:27;950:38;947:47;944:67;;;1007:1;1004;997:12;1022:247;1081:6;1134:2;1122:9;1113:7;1109:23;1105:32;1102:52;;;1150:1;1147;1140:12;1102:52;1189:9;1176:23;1208:31;1233:5;1208:31;:::i;1274:251::-;1344:6;1397:2;1385:9;1376:7;1372:23;1368:32;1365:52;;;1413:1;1410;1403:12;1365:52;1445:9;1439:16;1464:31;1489:5;1464:31;:::i;1530:388::-;1598:6;1606;1659:2;1647:9;1638:7;1634:23;1630:32;1627:52;;;1675:1;1672;1665:12;1627:52;1714:9;1701:23;1733:31;1758:5;1733:31;:::i;:::-;1783:5;-1:-1:-1;1840:2:1;1825:18;;1812:32;1853:33;1812:32;1853:33;:::i;:::-;1905:7;1895:17;;;1530:388;;;;;:::o;1923:456::-;2000:6;2008;2016;2069:2;2057:9;2048:7;2044:23;2040:32;2037:52;;;2085:1;2082;2075:12;2037:52;2124:9;2111:23;2143:31;2168:5;2143:31;:::i;:::-;2193:5;-1:-1:-1;2250:2:1;2235:18;;2222:32;2263:33;2222:32;2263:33;:::i;:::-;1923:456;;2315:7;;-1:-1:-1;;;2369:2:1;2354:18;;;;2341:32;;1923:456::o;2384:794::-;2479:6;2487;2495;2503;2556:3;2544:9;2535:7;2531:23;2527:33;2524:53;;;2573:1;2570;2563:12;2524:53;2612:9;2599:23;2631:31;2656:5;2631:31;:::i;:::-;2681:5;-1:-1:-1;2738:2:1;2723:18;;2710:32;2751:33;2710:32;2751:33;:::i;:::-;2803:7;-1:-1:-1;2857:2:1;2842:18;;2829:32;;-1:-1:-1;2912:2:1;2897:18;;2884:32;2939:18;2928:30;;2925:50;;;2971:1;2968;2961:12;2925:50;2994:22;;3047:4;3039:13;;3035:27;-1:-1:-1;3025:55:1;;3076:1;3073;3066:12;3025:55;3099:73;3164:7;3159:2;3146:16;3141:2;3137;3133:11;3099:73;:::i;:::-;3089:83;;;2384:794;;;;;;;:::o;3183:416::-;3248:6;3256;3309:2;3297:9;3288:7;3284:23;3280:32;3277:52;;;3325:1;3322;3315:12;3277:52;3364:9;3351:23;3383:31;3408:5;3383:31;:::i;:::-;3433:5;-1:-1:-1;3490:2:1;3475:18;;3462:32;3532:15;;3525:23;3513:36;;3503:64;;3563:1;3560;3553:12;3604:315;3672:6;3680;3733:2;3721:9;3712:7;3708:23;3704:32;3701:52;;;3749:1;3746;3739:12;3701:52;3788:9;3775:23;3807:31;3832:5;3807:31;:::i;:::-;3857:5;3909:2;3894:18;;;;3881:32;;-1:-1:-1;;;3604:315:1:o;3924:640::-;4028:6;4036;4044;4052;4105:2;4093:9;4084:7;4080:23;4076:32;4073:52;;;4121:1;4118;4111:12;4073:52;4160:9;4147:23;4179:31;4204:5;4179:31;:::i;:::-;4229:5;-1:-1:-1;4281:2:1;4266:18;;4253:32;;-1:-1:-1;4336:2:1;4321:18;;4308:32;4363:18;4352:30;;4349:50;;;4395:1;4392;4385:12;4349:50;4434:70;4496:7;4487:6;4476:9;4472:22;4434:70;:::i;:::-;3924:640;;;;-1:-1:-1;4523:8:1;-1:-1:-1;;;;3924:640:1:o;4569:773::-;4691:6;4699;4707;4715;4768:2;4756:9;4747:7;4743:23;4739:32;4736:52;;;4784:1;4781;4774:12;4736:52;4824:9;4811:23;4853:18;4894:2;4886:6;4883:14;4880:34;;;4910:1;4907;4900:12;4880:34;4949:70;5011:7;5002:6;4991:9;4987:22;4949:70;:::i;:::-;5038:8;;-1:-1:-1;4923:96:1;-1:-1:-1;5126:2:1;5111:18;;5098:32;;-1:-1:-1;5142:16:1;;;5139:36;;;5171:1;5168;5161:12;5139:36;;5210:72;5274:7;5263:8;5252:9;5248:24;5210:72;:::i;5347:245::-;5405:6;5458:2;5446:9;5437:7;5433:23;5429:32;5426:52;;;5474:1;5471;5464:12;5426:52;5513:9;5500:23;5532:30;5556:5;5532:30;:::i;5597:249::-;5666:6;5719:2;5707:9;5698:7;5694:23;5690:32;5687:52;;;5735:1;5732;5725:12;5687:52;5767:9;5761:16;5786:30;5810:5;5786:30;:::i;5851:450::-;5920:6;5973:2;5961:9;5952:7;5948:23;5944:32;5941:52;;;5989:1;5986;5979:12;5941:52;6029:9;6016:23;6062:18;6054:6;6051:30;6048:50;;;6094:1;6091;6084:12;6048:50;6117:22;;6170:4;6162:13;;6158:27;-1:-1:-1;6148:55:1;;6199:1;6196;6189:12;6148:55;6222:73;6287:7;6282:2;6269:16;6264:2;6260;6256:11;6222:73;:::i;6306:180::-;6365:6;6418:2;6406:9;6397:7;6393:23;6389:32;6386:52;;;6434:1;6431;6424:12;6386:52;-1:-1:-1;6457:23:1;;6306:180;-1:-1:-1;6306:180:1:o;6491:184::-;6561:6;6614:2;6602:9;6593:7;6589:23;6585:32;6582:52;;;6630:1;6627;6620:12;6582:52;-1:-1:-1;6653:16:1;;6491:184;-1:-1:-1;6491:184:1:o;6680:841::-;6811:6;6819;6827;6835;6843;6896:2;6884:9;6875:7;6871:23;6867:32;6864:52;;;6912:1;6909;6902:12;6864:52;6948:9;6935:23;6925:33;;7009:2;6998:9;6994:18;6981:32;7032:18;7073:2;7065:6;7062:14;7059:34;;;7089:1;7086;7079:12;7059:34;7128:70;7190:7;7181:6;7170:9;7166:22;7128:70;:::i;:::-;7217:8;;-1:-1:-1;7102:96:1;-1:-1:-1;7305:2:1;7290:18;;7277:32;;-1:-1:-1;7321:16:1;;;7318:36;;;7350:1;7347;7340:12;7318:36;;7389:72;7453:7;7442:8;7431:9;7427:24;7389:72;:::i;:::-;6680:841;;;;-1:-1:-1;6680:841:1;;-1:-1:-1;7480:8:1;;7363:98;6680:841;-1:-1:-1;;;6680:841:1:o;7526:248::-;7594:6;7602;7655:2;7643:9;7634:7;7630:23;7626:32;7623:52;;;7671:1;7668;7661:12;7623:52;-1:-1:-1;;7694:23:1;;;7764:2;7749:18;;;7736:32;;-1:-1:-1;7526:248:1:o;7779:257::-;7820:3;7858:5;7852:12;7885:6;7880:3;7873:19;7901:63;7957:6;7950:4;7945:3;7941:14;7934:4;7927:5;7923:16;7901:63;:::i;:::-;8018:2;7997:15;-1:-1:-1;;7993:29:1;7984:39;;;;8025:4;7980:50;;7779:257;-1:-1:-1;;7779:257:1:o;8275:620::-;8446:3;8477;8524:6;8446:3;8558:310;8572:6;8569:1;8566:13;8558:310;;;8647:6;8634:20;8667:31;8692:5;8667:31;:::i;:::-;-1:-1:-1;;;;;8725:31:1;8711:46;;8780:4;8806:14;;;;8843:15;;;;;8753:1;8587:9;8558:310;;;-1:-1:-1;8884:5:1;;8275:620;-1:-1:-1;;;;;8275:620:1:o;8900:400::-;9071:3;-1:-1:-1;;;;;9092:31:1;;9089:51;;;9136:1;9133;9126:12;9089:51;9170:6;9167:1;9163:14;9212:6;9204;9199:3;9186:33;9274:1;9238:16;;9263:13;;;-1:-1:-1;9238:16:1;8900:400;-1:-1:-1;;8900:400:1:o;9305:637::-;9585:3;9623:6;9617:13;9639:53;9685:6;9680:3;9673:4;9665:6;9661:17;9639:53;:::i;:::-;9755:13;;9714:16;;;;9777:57;9755:13;9714:16;9811:4;9799:17;;9777:57;:::i;:::-;-1:-1:-1;;;9856:20:1;;9885:22;;;9934:1;9923:13;;9305:637;-1:-1:-1;;;;9305:637:1:o;10365:488::-;-1:-1:-1;;;;;10634:15:1;;;10616:34;;10686:15;;10681:2;10666:18;;10659:43;10733:2;10718:18;;10711:34;;;10781:3;10776:2;10761:18;;10754:31;;;10559:4;;10802:45;;10827:19;;10819:6;10802:45;:::i;:::-;10794:53;10365:488;-1:-1:-1;;;;;;10365:488:1:o;12635:219::-;12784:2;12773:9;12766:21;12747:4;12804:44;12844:2;12833:9;12829:18;12821:6;12804:44;:::i;13198:414::-;13400:2;13382:21;;;13439:2;13419:18;;;13412:30;13478:34;13473:2;13458:18;;13451:62;-1:-1:-1;;;13544:2:1;13529:18;;13522:48;13602:3;13587:19;;13198:414::o;18213:410::-;18415:2;18397:21;;;18454:2;18434:18;;;18427:30;18493:34;18488:2;18473:18;;18466:62;-1:-1:-1;;;18559:2:1;18544:18;;18537:44;18613:3;18598:19;;18213:410::o;18810:128::-;18850:3;18881:1;18877:6;18874:1;18871:13;18868:39;;;18887:18;;:::i;:::-;-1:-1:-1;18923:9:1;;18810:128::o;18943:120::-;18983:1;19009;18999:35;;19014:18;;:::i;:::-;-1:-1:-1;19048:9:1;;18943:120::o;19068:168::-;19108:7;19174:1;19170;19166:6;19162:14;19159:1;19156:21;19151:1;19144:9;19137:17;19133:45;19130:71;;;19181:18;;:::i;:::-;-1:-1:-1;19221:9:1;;19068:168::o;19241:125::-;19281:4;19309:1;19306;19303:8;19300:34;;;19314:18;;:::i;:::-;-1:-1:-1;19351:9:1;;19241:125::o;19371:258::-;19443:1;19453:113;19467:6;19464:1;19461:13;19453:113;;;19543:11;;;19537:18;19524:11;;;19517:39;19489:2;19482:10;19453:113;;;19584:6;19581:1;19578:13;19575:48;;;-1:-1:-1;;19619:1:1;19601:16;;19594:27;19371:258::o;19634:380::-;19713:1;19709:12;;;;19756;;;19777:61;;19831:4;19823:6;19819:17;19809:27;;19777:61;19884:2;19876:6;19873:14;19853:18;19850:38;19847:161;;;19930:10;19925:3;19921:20;19918:1;19911:31;19965:4;19962:1;19955:15;19993:4;19990:1;19983:15;19847:161;;19634:380;;;:::o;20019:135::-;20058:3;-1:-1:-1;;20079:17:1;;20076:43;;;20099:18;;:::i;:::-;-1:-1:-1;20146:1:1;20135:13;;20019:135::o;20159:112::-;20191:1;20217;20207:35;;20222:18;;:::i;:::-;-1:-1:-1;20256:9:1;;20159:112::o;20276:127::-;20337:10;20332:3;20328:20;20325:1;20318:31;20368:4;20365:1;20358:15;20392:4;20389:1;20382:15;20408:127;20469:10;20464:3;20460:20;20457:1;20450:31;20500:4;20497:1;20490:15;20524:4;20521:1;20514:15;20540:127;20601:10;20596:3;20592:20;20589:1;20582:31;20632:4;20629:1;20622:15;20656:4;20653:1;20646:15;20672:127;20733:10;20728:3;20724:20;20721:1;20714:31;20764:4;20761:1;20754:15;20788:4;20785:1;20778:15;20804:131;-1:-1:-1;;;;;20879:31:1;;20869:42;;20859:70;;20925:1;20922;20915:12;20940:131;-1:-1:-1;;;;;;21014:32:1;;21004:43;;20994:71;;21061:1;21058;21051:12

Swarm Source

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