ETH Price: $3,647.84 (+1.90%)

Token

ZombieClub Token (ZCT)
 

Overview

Max Total Supply

6,666 ZCT

Holders

2,990

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cama.eth
Balance
2 ZCT
0x0Bc5f53126b9BF6c342a72Ceae31692E3A3124D2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

6666 monsters by Zombie Lab and Kosuke Kawamura.

# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
ZombieClubToken

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, BSL 1.1 license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: BUSL-1.1
// File: contracts/IPFSConvert.sol

// contracts/IPFSConvert.sol

pragma solidity ^0.8.0;

/// @title IPFSConvert
/// @author Teahouse Finance
library IPFSConvert {

    bytes constant private CODE_STRING = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
    bytes constant private CIDV0HEAD = "\x00\x04\x28\x0b\x12\x17\x09\x28\x31\x00\x12\x04\x28\x20\x25\x25\x22\x31\x1b\x1d\x39\x29\x09\x26\x1b\x29\x0b\x02\x0a\x18\x25\x22\x24\x1b\x39\x2c\x1d\x39\x07\x06\x29\x25\x13\x15\x2c\x17";

    /**
     * @dev This function converts an 256 bits hash value into IPFS CIDv0 hash string.
     * @param _cidv0 256 bits hash value (not including the 0x12 0x20 signature)
     * @return IPFS CIDv0 hash string (Qm...)
     */
    function cidv0FromBytes32(bytes32 _cidv0) public pure returns (string memory) {
        unchecked {
            // convert to base58
            bytes memory result = new bytes(46);        // 46 is the longest possible base58 result from CIDv0
            uint256 resultLen = 45;
            uint256 number = uint256(_cidv0);
            while(number > 0) {
                uint256 rem = number % 58;
                result[resultLen] = bytes1(uint8(rem));
                resultLen--;
                number = number / 58;
            }

            // add 0x1220 in front of _cidv0
            uint256 i;
            for (i = 0; i < 46; i++) {
                uint8 r = uint8(result[45 - i]) + uint8(CIDV0HEAD[i]);
                if (r >= 58) {
                    result[45 - i] = bytes1(r - 58);
                    result[45 - i - 1] = bytes1(uint8(result[45 - i - 1]) + 1);
                }
                else {
                    result[45 - i] = bytes1(r);
                }
            }

            // convert to characters
            for (i = 0; i < 46; i++) {
                result[i] = CODE_STRING[uint8(result[i])];
            }

            return string(result);
        }
    }
}

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


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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

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


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

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

// File: @chainlink/contracts/src/v0.8/VRFConsumerBaseV2.sol


pragma solidity ^0.8.0;

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness. It ensures 2 things:
 * @dev 1. The fulfillment came from the VRFCoordinator
 * @dev 2. The consumer contract implements fulfillRandomWords.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constructor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash). Create subscription, fund it
 * @dev and your consumer contract as a consumer of it (see VRFCoordinatorInterface
 * @dev subscription management functions).
 * @dev Call requestRandomWords(keyHash, subId, minimumRequestConfirmations,
 * @dev callbackGasLimit, numWords),
 * @dev see (VRFCoordinatorInterface for a description of the arguments).
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomWords method.
 *
 * @dev The randomness argument to fulfillRandomWords is a set of random words
 * @dev generated from your requestId and the blockHash of the request.
 *
 * @dev If your contract could have concurrent requests open, you can use the
 * @dev requestId returned from requestRandomWords to track which response is associated
 * @dev with which randomness request.
 * @dev See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ.
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request. It is for this reason that
 * @dev that you can signal to an oracle you'd like them to wait longer before
 * @dev responding to the request (however this is not enforced in the contract
 * @dev and so remains effective only in the case of unmodified oracle software).
 */
abstract contract VRFConsumerBaseV2 {
  error OnlyCoordinatorCanFulfill(address have, address want);
  address private immutable vrfCoordinator;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   */
  constructor(address _vrfCoordinator) {
    vrfCoordinator = _vrfCoordinator;
  }

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBaseV2 expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomWords the VRF output expanded to the requested number of words
   */
  function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal virtual;

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomWords(uint256 requestId, uint256[] memory randomWords) external {
    if (msg.sender != vrfCoordinator) {
      revert OnlyCoordinatorCanFulfill(msg.sender, vrfCoordinator);
    }
    fulfillRandomWords(requestId, randomWords);
  }
}

// File: @chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol


pragma solidity ^0.8.0;

interface VRFCoordinatorV2Interface {
  /**
   * @notice Get configuration relevant for making requests
   * @return minimumRequestConfirmations global min for request confirmations
   * @return maxGasLimit global max for request gas limit
   * @return s_provingKeyHashes list of registered key hashes
   */
  function getRequestConfig()
    external
    view
    returns (
      uint16,
      uint32,
      bytes32[] memory
    );

  /**
   * @notice Request a set of random words.
   * @param keyHash - Corresponds to a particular oracle job which uses
   * that key for generating the VRF proof. Different keyHash's have different gas price
   * ceilings, so you can select a specific one to bound your maximum per request cost.
   * @param subId  - The ID of the VRF subscription. Must be funded
   * with the minimum subscription balance required for the selected keyHash.
   * @param minimumRequestConfirmations - How many blocks you'd like the
   * oracle to wait before responding to the request. See SECURITY CONSIDERATIONS
   * for why you may want to request more. The acceptable range is
   * [minimumRequestBlockConfirmations, 200].
   * @param callbackGasLimit - How much gas you'd like to receive in your
   * fulfillRandomWords callback. Note that gasleft() inside fulfillRandomWords
   * may be slightly less than this amount because of gas used calling the function
   * (argument decoding etc.), so you may need to request slightly more than you expect
   * to have inside fulfillRandomWords. The acceptable range is
   * [0, maxGasLimit]
   * @param numWords - The number of uint256 random values you'd like to receive
   * in your fulfillRandomWords callback. Note these numbers are expanded in a
   * secure way by the VRFCoordinator from a single random value supplied by the oracle.
   * @return requestId - A unique identifier of the request. Can be used to match
   * a request to a response in fulfillRandomWords.
   */
  function requestRandomWords(
    bytes32 keyHash,
    uint64 subId,
    uint16 minimumRequestConfirmations,
    uint32 callbackGasLimit,
    uint32 numWords
  ) external returns (uint256 requestId);

  /**
   * @notice Create a VRF subscription.
   * @return subId - A unique subscription id.
   * @dev You can manage the consumer set dynamically with addConsumer/removeConsumer.
   * @dev Note to fund the subscription, use transferAndCall. For example
   * @dev  LINKTOKEN.transferAndCall(
   * @dev    address(COORDINATOR),
   * @dev    amount,
   * @dev    abi.encode(subId));
   */
  function createSubscription() external returns (uint64 subId);

  /**
   * @notice Get a VRF subscription.
   * @param subId - ID of the subscription
   * @return balance - LINK balance of the subscription in juels.
   * @return reqCount - number of requests for this subscription, determines fee tier.
   * @return owner - owner of the subscription.
   * @return consumers - list of consumer address which are able to use this subscription.
   */
  function getSubscription(uint64 subId)
    external
    view
    returns (
      uint96 balance,
      uint64 reqCount,
      address owner,
      address[] memory consumers
    );

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @param newOwner - proposed new owner of the subscription
   */
  function requestSubscriptionOwnerTransfer(uint64 subId, address newOwner) external;

  /**
   * @notice Request subscription owner transfer.
   * @param subId - ID of the subscription
   * @dev will revert if original owner of subId has
   * not requested that msg.sender become the new owner.
   */
  function acceptSubscriptionOwnerTransfer(uint64 subId) external;

  /**
   * @notice Add a consumer to a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - New consumer which can use the subscription
   */
  function addConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Remove a consumer from a VRF subscription.
   * @param subId - ID of the subscription
   * @param consumer - Consumer to remove from the subscription
   */
  function removeConsumer(uint64 subId, address consumer) external;

  /**
   * @notice Cancel a subscription
   * @param subId - ID of the subscription
   * @param to - Where to send the remaining LINK to
   */
  function cancelSubscription(uint64 subId, address to) external;
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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


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

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

// File: contracts/ZombieClubToken.sol


pragma solidity ^0.8.0;

error InvalidTotalMysteryBoxes();
error ReachedMaxSupply();
error TransactionExpired();
error SignatureAlreadyUsed();
error ExceedMaxAllowedMintAmount();
error IncorrectSignature();
error InsufficientPayments();
error RevealNotAllowed();
error MerkleTreeRootNotSet();
error InvalidMerkleTreeProof();
error RequestRevealNotOwner();
error RevealAlreadyRequested();
error IncorrectRevealIndex();
error TokenAlreadyRevealed();
error MerkleTreeProofFailed();
error IncorrectRevealManyLength();
error TokenRevealQueryForNonexistentToken();


/// @title ZombieClubToken
/// @author Teahouse Finance
contract ZombieClubToken is ERC721A, Ownable, ReentrancyGuard, VRFConsumerBaseV2 {
    using Strings for uint256;
    using ECDSA for bytes32;

    struct ChainlinkParams {
        bytes32 keyHash;
        uint64 subId;
        uint32 gasLimit;
        uint16 requestConfirms;
    }

    struct TokenReveal {
        bool requested;     // token reveal requested
        uint64 revealId;
    }

    struct TokenInternalInfo {
        bool requested;     // token reveal requested
        uint64 revealId;
        uint64 lastTransferTime;
        uint64 stateChangePeriod;
    }

    // Chainlink info
    VRFCoordinatorV2Interface immutable public COORDINATOR;   
    ChainlinkParams public chainlinkParams;

    address private signer;
    uint256 public price = 0.666 ether;
    uint256 public maxCollection;
    uint64 public presaleEndTime;

    string public unrevealURI;
    bool public allowReveal = false;
    bytes32 public hashMerkleRoot;
    uint256 public revealedTokens;
    uint256 public totalMysteryBoxes;

    // state change period (second)
    uint256 constant stateChangePeriod = 2397600;
    uint256 constant stateChangeVariation = 237600;
    uint256 constant numOfStates = 4;

    mapping(uint256 => uint256) private tokenIdMap;
    mapping(uint256 => bytes32[numOfStates]) private tokenBaseURIHashes;
    mapping(uint256 => uint256) public chainlinkTokenId;
    mapping(uint256 => TokenInternalInfo) private tokenInternalInfo;
    mapping(bytes32 => bool) public signatureUsed;

    event RevealRequested(uint256 indexed tokenId, uint256 requestId);
    event RevealReceived(uint256 indexed tokenId, uint256 revealId);
    event Revealed(uint256 indexed tokenId);

    constructor(
        string memory _name,
        string memory _symbol,
        address _initSigner,            // whitelist signer address
        uint256 _maxCollection,         // total supply
        uint256 _totalMysteryBoxes,     // number of all mystery boxes available
        address _vrfCoordinator,        // Chainlink VRF coordinator address
        ChainlinkParams memory _chainlinkParams
    ) ERC721A(_name, _symbol) VRFConsumerBaseV2(_vrfCoordinator) {
        if (_totalMysteryBoxes < _maxCollection) revert InvalidTotalMysteryBoxes();

        COORDINATOR = VRFCoordinatorV2Interface(_vrfCoordinator);
        signer = _initSigner;
        maxCollection = _maxCollection;
        totalMysteryBoxes = _totalMysteryBoxes;
        chainlinkParams = _chainlinkParams;
    }

    function setPresaleEndTime(uint64 _newTime) external onlyOwner {
        presaleEndTime = _newTime;
    }

    function setPrice(uint256 _newPrice) external onlyOwner {
        price = _newPrice;
    }

    function setSigner(address _newSigner) external onlyOwner {
        signer = _newSigner;
    }

    function setChainlinkParams(ChainlinkParams memory _chainlinkParams) external onlyOwner {
        chainlinkParams = _chainlinkParams;
    }

    function setUnrevealURI(string calldata _newURI) external onlyOwner {
        unrevealURI = _newURI;
    }

    function setMerkleRoot(bytes32 _hashMerkleRoot) public onlyOwner {
        require(revealedTokens == 0);               // can't be changed after someone requested reveal
        hashMerkleRoot = _hashMerkleRoot;
    }

    function setAllowReveal(bool _allowReveal) external onlyOwner {
        allowReveal = _allowReveal;
    }

    function withdraw(address payable _to) external payable onlyOwner {
        (bool success, ) = _to.call{value: address(this).balance}("");
        require(success);
	}

    function isAuthorized(
        address _sender,
        uint32 _allowAmount,
        uint64 _expireTime,
        bytes memory _signature
    ) private view returns (bool) {
        bytes32 hashMsg = keccak256(abi.encodePacked(_sender, _allowAmount, _expireTime));
        bytes32 ethHashMessage = hashMsg.toEthSignedMessageHash();

        return ethHashMessage.recover(_signature) == signer;
    }

    function mint(uint32 _amount, uint32 _allowAmount, uint64 _expireTime, bytes calldata _signature) external payable {
        if (totalSupply() + _amount > maxCollection) revert ReachedMaxSupply();
        if (block.timestamp > _expireTime) revert TransactionExpired();

        if (block.timestamp > presaleEndTime) {
            // PUBLIC SALE mode
            // does not limit how many tokens one can mint in total,
            // only limit how many tokens one can mint in one go
            // also, make sure one signature can only be used once
            if (_amount > _allowAmount) revert ExceedMaxAllowedMintAmount();

            bytes32 sigHash = keccak256(abi.encodePacked(_signature));
            if (signatureUsed[sigHash]) revert SignatureAlreadyUsed();
            signatureUsed[sigHash] = true;
        }
        else {
            // WHITELIST SALE mode
            // limit how many tokens one can mint in total
            if (_numberMinted(msg.sender) + _amount > _allowAmount) revert ExceedMaxAllowedMintAmount();
        }

        if (!isAuthorized(msg.sender, _allowAmount, _expireTime, _signature)) revert IncorrectSignature();

        uint256 finalPrice = price * _amount;
        if (msg.value < finalPrice) revert InsufficientPayments();
        
        _safeMint(msg.sender, _amount);
    }

    function devMint(uint256 _amount, address _to) external onlyOwner {
        if (totalSupply() + _amount > maxCollection) revert ReachedMaxSupply();

        _safeMint(_to, _amount);
    }

    function requestReveal(uint256 _tokenId) external nonReentrant {
        if (!allowReveal) revert RevealNotAllowed();
        if (ownerOf(_tokenId) != msg.sender) revert RequestRevealNotOwner();
        if (tokenInternalInfo[_tokenId].requested) revert RevealAlreadyRequested();
        if (hashMerkleRoot == bytes32(0)) revert MerkleTreeRootNotSet();

        uint256 requestId = COORDINATOR.requestRandomWords(
            chainlinkParams.keyHash,
            chainlinkParams.subId,
            chainlinkParams.requestConfirms,
            chainlinkParams.gasLimit,
            1
        );

        tokenInternalInfo[_tokenId].requested = true;
        chainlinkTokenId[requestId] = _tokenId;

        emit RevealRequested(_tokenId, requestId);
    }

    function fulfillRandomWords(uint256 requestId, uint256[] memory randomWords) internal override {
        uint256 tokenId = chainlinkTokenId[requestId];
        if (tokenInternalInfo[tokenId].requested && tokenInternalInfo[tokenId].revealId == 0) {
            uint256 randomIndex = randomWords[0] % (totalMysteryBoxes - revealedTokens) + revealedTokens;
            uint256 revealId = _tokenIdMap(randomIndex);
            uint256 currentId = _tokenIdMap(revealedTokens);

            tokenIdMap[randomIndex] = currentId;
            tokenInternalInfo[tokenId].revealId = uint64(revealId);
            revealedTokens ++;

            emit RevealReceived(tokenId, revealId);
        }
    }

    function reveal(uint256 _tokenId, bytes32[numOfStates] memory _tokenBaseURIHashes, uint256 _index, bytes32 _salt, bytes32[] memory _proof) public {       
        if (hashMerkleRoot == bytes32(0)) revert MerkleTreeRootNotSet();
        if (_index == 0 || tokenInternalInfo[_tokenId].revealId != _index) revert IncorrectRevealIndex();
        if (tokenBaseURIHashes[_tokenId][0] != 0) revert TokenAlreadyRevealed();

        // perform merkle root proof verification
        bytes32 hash = keccak256(abi.encodePacked(_tokenBaseURIHashes, _index, _salt));
        if (!MerkleProof.verify(_proof, hashMerkleRoot, hash)) revert MerkleTreeProofFailed();

        tokenBaseURIHashes[_tokenId] = _tokenBaseURIHashes;
        _setTokenTimeInfo(_tokenId);

        emit Revealed(_tokenId);
    }

    function revealMany(uint256[] memory _tokenIds, bytes32[numOfStates][] memory _tokenBaseURIHashes, uint256[] memory _indexes, bytes32[] memory _salts, bytes32[][] memory _prooves) public {
        if (hashMerkleRoot == bytes32(0)) revert MerkleTreeRootNotSet();
        if (_tokenIds.length != _tokenBaseURIHashes.length) revert IncorrectRevealManyLength();
        if (_tokenIds.length != _indexes.length) revert IncorrectRevealManyLength();
        if (_tokenIds.length != _salts.length) revert IncorrectRevealManyLength();
        if (_tokenIds.length != _prooves.length) revert IncorrectRevealManyLength();

        uint256 i;
        uint256 length = _tokenIds.length;
        for (i = 0; i < length; i++) {
            if (tokenBaseURIHashes[_tokenIds[i]][0] == 0) {
                // only calls reveal for those not revealed yet
                // this is to revent the case where one revealed token will cause the entire batch to revert
                // we only check for "revealed" but not for other situation as the entire batch is supposed to have
                // correct parameters
                reveal(_tokenIds[i], _tokenBaseURIHashes[i], _indexes[i], _salts[i], _prooves[i]);
            }
        }
    }

    function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
	    if (!_exists(_tokenId)) revert URIQueryForNonexistentToken();
        
        if (tokenBaseURIHashes[_tokenId][0] == 0) {
            return unrevealURI;
        }
        else {
            bytes32 hash = tokenBaseURIHashes[_tokenId][_getZombieState(_tokenId)];
            return string(abi.encodePacked("ipfs://", IPFSConvert.cidv0FromBytes32(hash)));
        }
	}

    function totalMinted() external view returns (uint256) {
        return _totalMinted();
    }

    function numberMinted(address _minter) external view returns (uint256) {
        return _numberMinted(_minter);
    }

    function tokenReveal(uint256 _tokenId) external view returns (TokenReveal memory) {
        if (!_exists(_tokenId)) revert TokenRevealQueryForNonexistentToken();

        return TokenReveal({
            requested: tokenInternalInfo[_tokenId].requested,
            revealId: tokenInternalInfo[_tokenId].revealId
        });
    }

    function ownedTokens(address _addr, uint256 _startId, uint256 _endId) external view returns (uint256[] memory, uint256) {
        if (_endId == 0) {
            _endId = _currentIndex - 1;
        }

        if (_startId < _startTokenId() || _endId >= _currentIndex) revert TokenIndexOutOfBounds();

        uint256 i;
        uint256 balance = balanceOf(_addr);
        if (balance == 0) {
            return (new uint256[](0), _endId + 1);
        }

        if (balance > 256) {
            balance = 256;
        }

        uint256[] memory results = new uint256[](balance);
        uint256 idx = 0;
        
        address owner = ownerOf(_startId);
        for (i = _startId; i <= _endId; i++) {
            if (_ownerships[i].addr != address(0)) {
                owner = _ownerships[i].addr;
            }

            if (!_ownerships[i].burned && owner == _addr) {
                results[idx] = i;
                idx++;

                if (idx == balance) {
                    if (balance == balanceOf(_addr)) {
                        return (results, _endId + 1);
                    }
                    else {
                        return (results, i + 1);
                    }
                }
            }
        }

        uint256[] memory partialResults = new uint256[](idx);
        for (i = 0; i < idx; i++) {
            partialResults[i] = results[i];
        }        

        return (partialResults, _endId + 1);
    }

    function unrevealedTokens(uint256 _startId, uint256 _endId) external view returns (uint256[] memory, uint256) {
        if (_endId == 0) {
            _endId = _currentIndex - 1;
        }

        if (_startId < _startTokenId() || _endId >= _currentIndex) revert TokenIndexOutOfBounds();

        uint256 i;
        uint256[] memory results = new uint256[](256);
        uint256 idx = 0;
        
        for (i = _startId; i <= _endId; i++) {
            if (tokenInternalInfo[i].revealId != 0 && tokenBaseURIHashes[i][0] == 0) {
                // reveal received but not revealed
                results[idx] = i;
                idx++;

                if (idx == 256) {
                    return (results, i + 1);
                }
            }
        }

        uint256[] memory partialResults = new uint256[](idx);
        for (i = 0; i < idx; i++) {
            partialResults[i] = results[i];
        }

        return (partialResults, _endId + 1);
    }

    function _startTokenId() override internal view virtual returns (uint256) {
        return 1;
    }

    function _tokenIdMap(uint256 _index) private view returns (uint256) {
        if (tokenIdMap[_index] == 0) {
            return _index + 1;
        }
        else {
            return tokenIdMap[_index];
        }
    }

    function _getZombieState(uint256 _tokenId) internal view returns (uint256) {
        uint256 duration = block.timestamp - tokenInternalInfo[_tokenId].lastTransferTime;
        uint256 state = duration / tokenInternalInfo[_tokenId].stateChangePeriod;
        if (state >= numOfStates) {
            state = numOfStates - 1;
        }

        while(tokenBaseURIHashes[_tokenId][state] == 0) {
            state--;
        }

        return state;
    }
    
    function _afterTokenTransfers(
        address from, 
        address to,
        uint256 startTokenId,
        uint256 /*quantity*/) internal override {

        // only reset token time info when actually transfering the token
        // not when minting
        // so "quantity" should always be 1
        if (from != address(0) && to != address(0)) {
            _setTokenTimeInfo(startTokenId);
        }
    }

    function _setTokenTimeInfo(uint256 _tokenId) private {
        tokenInternalInfo[_tokenId].lastTransferTime = uint64(block.timestamp);
        tokenInternalInfo[_tokenId].stateChangePeriod = uint64(stateChangePeriod + _randomNumber() % stateChangeVariation);
    }

    function _randomNumber() internal view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(blockhash(block.number - 1), block.timestamp)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_initSigner","type":"address"},{"internalType":"uint256","name":"_maxCollection","type":"uint256"},{"internalType":"uint256","name":"_totalMysteryBoxes","type":"uint256"},{"internalType":"address","name":"_vrfCoordinator","type":"address"},{"components":[{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint64","name":"subId","type":"uint64"},{"internalType":"uint32","name":"gasLimit","type":"uint32"},{"internalType":"uint16","name":"requestConfirms","type":"uint16"}],"internalType":"struct ZombieClubToken.ChainlinkParams","name":"_chainlinkParams","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ExceedMaxAllowedMintAmount","type":"error"},{"inputs":[],"name":"IncorrectRevealIndex","type":"error"},{"inputs":[],"name":"IncorrectRevealManyLength","type":"error"},{"inputs":[],"name":"IncorrectSignature","type":"error"},{"inputs":[],"name":"InsufficientPayments","type":"error"},{"inputs":[],"name":"InvalidTotalMysteryBoxes","type":"error"},{"inputs":[],"name":"MerkleTreeProofFailed","type":"error"},{"inputs":[],"name":"MerkleTreeRootNotSet","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"address","name":"have","type":"address"},{"internalType":"address","name":"want","type":"address"}],"name":"OnlyCoordinatorCanFulfill","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ReachedMaxSupply","type":"error"},{"inputs":[],"name":"RequestRevealNotOwner","type":"error"},{"inputs":[],"name":"RevealAlreadyRequested","type":"error"},{"inputs":[],"name":"RevealNotAllowed","type":"error"},{"inputs":[],"name":"SignatureAlreadyUsed","type":"error"},{"inputs":[],"name":"TokenAlreadyRevealed","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TokenRevealQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransactionExpired","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"revealId","type":"uint256"}],"name":"RevealReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"requestId","type":"uint256"}],"name":"RevealRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Revealed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COORDINATOR","outputs":[{"internalType":"contract VRFCoordinatorV2Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"chainlinkParams","outputs":[{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint64","name":"subId","type":"uint64"},{"internalType":"uint32","name":"gasLimit","type":"uint32"},{"internalType":"uint16","name":"requestConfirms","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"chainlinkTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hashMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"maxCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_amount","type":"uint32"},{"internalType":"uint32","name":"_allowAmount","type":"uint32"},{"internalType":"uint64","name":"_expireTime","type":"uint64"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_minter","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"},{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"ownedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEndTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requestId","type":"uint256"},{"internalType":"uint256[]","name":"randomWords","type":"uint256[]"}],"name":"rawFulfillRandomWords","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"requestReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32[4]","name":"_tokenBaseURIHashes","type":"bytes32[4]"},{"internalType":"uint256","name":"_index","type":"uint256"},{"internalType":"bytes32","name":"_salt","type":"bytes32"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes32[4][]","name":"_tokenBaseURIHashes","type":"bytes32[4][]"},{"internalType":"uint256[]","name":"_indexes","type":"uint256[]"},{"internalType":"bytes32[]","name":"_salts","type":"bytes32[]"},{"internalType":"bytes32[][]","name":"_prooves","type":"bytes32[][]"}],"name":"revealMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_allowReveal","type":"bool"}],"name":"setAllowReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint64","name":"subId","type":"uint64"},{"internalType":"uint32","name":"gasLimit","type":"uint32"},{"internalType":"uint16","name":"requestConfirms","type":"uint16"}],"internalType":"struct ZombieClubToken.ChainlinkParams","name":"_chainlinkParams","type":"tuple"}],"name":"setChainlinkParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hashMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newTime","type":"uint64"}],"name":"setPresaleEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setUnrevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"signatureUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"tokenReveal","outputs":[{"components":[{"internalType":"bool","name":"requested","type":"bool"},{"internalType":"uint64","name":"revealId","type":"uint64"}],"internalType":"struct ZombieClubToken.TokenReveal","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMysteryBoxes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startId","type":"uint256"},{"internalType":"uint256","name":"_endId","type":"uint256"}],"name":"unrevealedTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c060405267093e1b78ac690000600d556011805460ff191690553480156200002757600080fd5b5060405162004065380380620040658339810160408190526200004a9162000395565b818787816002908051906020019062000065929190620001b6565b5080516200007b906003906020840190620001b6565b50506001600055506200008e3362000164565b60016009556001600160a01b031660805283831015620000c1576040516313410ca360e31b815260040160405180910390fd5b6001600160a01b0391821660a052600c8054959092166001600160a01b0319909516949094179055600e919091556014558051600a556020810151600b8054604084015160609094015161ffff166c010000000000000000000000000261ffff60601b1963ffffffff90951668010000000000000000026001600160601b03199092166001600160401b0390941693909317179290921617905550620004ef9050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c490620004b2565b90600052602060002090601f016020900481019282620001e8576000855562000233565b82601f106200020357805160ff191683800117855562000233565b8280016001018555821562000233579182015b828111156200023357825182559160200191906001019062000216565b506200024192915062000245565b5090565b5b8082111562000241576000815560010162000246565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156200029757620002976200025c565b60405290565b604051601f8201601f191681016001600160401b0381118282101715620002c857620002c86200025c565b604052919050565b600082601f830112620002e257600080fd5b81516001600160401b03811115620002fe57620002fe6200025c565b602062000314601f8301601f191682016200029d565b82815285828487010111156200032957600080fd5b60005b83811015620003495785810183015182820184015282016200032c565b838111156200035b5760008385840101525b5095945050505050565b80516001600160a01b03811681146200037d57600080fd5b919050565b805161ffff811681146200037d57600080fd5b6000806000806000806000878903610140811215620003b357600080fd5b88516001600160401b0380821115620003cb57600080fd5b620003d98c838d01620002d0565b995060208b0151915080821115620003f057600080fd5b620003fe8c838d01620002d0565b98506200040e60408c0162000365565b975060608b0151965060808b015195506200042c60a08c0162000365565b9450608060bf19840112156200044157600080fd5b6200044b62000272565b925060c08b0151835260e08b0151915080821682146200046a57600080fd5b50602082015261010089015163ffffffff811681146200048957600080fd5b60408201526200049d6101208a0162000382565b60608201528091505092959891949750929550565b600181811c90821680620004c757607f821691505b60208210811415620004e957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a051613b4262000523600039600081816104960152610f36015260008181610b150152610b570152613b426000f3fe6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063e307fb311161007a578063e307fb3114610835578063e985e9c514610865578063eba6f2f6146108ae578063eddad33c146108ce578063f0ec1065146108ee578063f2fde38b1461093457600080fd5b8063b88d4fde14610733578063bccc052214610753578063c749f6cd14610769578063c87b56dd146107df578063c9df912c146107ff578063dc33e6811461081557600080fd5b806396cf73cf1161011357806396cf73cf1461069b57806397bc411c146106ae57806399c9376e146106ce578063a035b1fe146106e4578063a22cb465146106fa578063a2309ff81461071a57600080fd5b8063715018a6146105f35780637cb64759146106085780638be45f3b146106285780638da5cb5b1461064857806391b7f5ed1461066657806395d89b411461068657600080fd5b8063390a5b9a116101fe57806351cff8d9116101b757806351cff8d91461054657806352cf02f0146105595780636352211e1461057357806369b59886146105935780636c19e783146105b357806370a08231146105d357600080fd5b8063390a5b9a1461046e5780633b2bcbf11461048457806340261cdd146104b857806342842e0e146104d857806349a0a50e146104f85780634ad505161461052657600080fd5b80631fe543e3116102505780631fe543e3146103a15780632126ea81146103c157806323b872dd146103d6578063249b7c19146103f65780632d1a12f61461042e57806338d1f9a31461044e57600080fd5b806301ffc9a71461029857806306fdde03146102cd578063070e5c35146102ef578063081812fc1461032a578063095ea7b31461036257806318160ddd14610384575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612f86565b610954565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26109a6565b6040516102c49190612ffb565b3480156102fb57600080fd5b5061031c61030a36600461300e565b60176020526000908152604090205481565b6040519081526020016102c4565b34801561033657600080fd5b5061034a61034536600461300e565b610a38565b6040516001600160a01b0390911681526020016102c4565b34801561036e57600080fd5b5061038261037d36600461303c565b610a7c565b005b34801561039057600080fd5b50600154600054036000190161031c565b3480156103ad57600080fd5b506103826103bc366004613164565b610b0a565b3480156103cd57600080fd5b506102e2610b97565b3480156103e257600080fd5b506103826103f13660046131aa565b610c25565b34801561040257600080fd5b50600f54610416906001600160401b031681565b6040516001600160401b0390911681526020016102c4565b34801561043a57600080fd5b506103826104493660046131eb565b610c30565b34801561045a57600080fd5b5061038261046936600461326b565b610c9e565b34801561047a57600080fd5b5061031c600e5481565b34801561049057600080fd5b5061034a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104c457600080fd5b506103826104d336600461300e565b610de2565b3480156104e457600080fd5b506103826104f33660046131aa565b611022565b34801561050457600080fd5b506105186105133660046132d7565b61103d565b6040516102c492919061330c565b34801561053257600080fd5b50610382610541366004613364565b6112d6565b61038261055436600461337f565b611313565b34801561056557600080fd5b506011546102b89060ff1681565b34801561057f57600080fd5b5061034a61058e36600461300e565b61139d565b34801561059f57600080fd5b506103826105ae3660046133c7565b6113af565b3480156105bf57600080fd5b506103826105ce36600461337f565b61143b565b3480156105df57600080fd5b5061031c6105ee36600461337f565b611487565b3480156105ff57600080fd5b506103826114d5565b34801561061457600080fd5b5061038261062336600461300e565b61150b565b34801561063457600080fd5b50610382610643366004613428565b611547565b34801561065457600080fd5b506008546001600160a01b031661034a565b34801561067257600080fd5b5061038261068136600461300e565b611594565b34801561069257600080fd5b506102e26115c3565b6103826106a9366004613484565b6115d2565b3480156106ba57600080fd5b506103826106c93660046134f9565b6117e8565b3480156106da57600080fd5b5061031c60135481565b3480156106f057600080fd5b5061031c600d5481565b34801561070657600080fd5b5061038261071536600461353a565b61181e565b34801561072657600080fd5b506000546000190161031c565b34801561073f57600080fd5b5061038261074e366004613596565b6118b4565b34801561075f57600080fd5b5061031c60145481565b34801561077557600080fd5b50600a54600b546107a891906001600160401b03811690600160401b810463ffffffff1690600160601b900461ffff1684565b604080519485526001600160401b03909316602085015263ffffffff9091169183019190915261ffff1660608201526080016102c4565b3480156107eb57600080fd5b506102e26107fa36600461300e565b611905565b34801561080b57600080fd5b5061031c60125481565b34801561082157600080fd5b5061031c61083036600461337f565b611ab1565b34801561084157600080fd5b506102b861085036600461300e565b60196020526000908152604090205460ff1681565b34801561087157600080fd5b506102b861088036600461363f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108ba57600080fd5b506103826108c9366004613750565b611abc565b3480156108da57600080fd5b506105186108e9366004613814565b611c5b565b3480156108fa57600080fd5b5061090e61090936600461300e565b611e2e565b604080518251151581526020928301516001600160401b031692810192909252016102c4565b34801561094057600080fd5b5061038261094f36600461337f565b611ea6565b60006001600160e01b031982166380ac58cd60e01b148061098557506001600160e01b03198216635b5e139f60e01b145b806109a057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546109b590613836565b80601f01602080910402602001604051908101604052809291908181526020018280546109e190613836565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b6000610a4382611f41565b610a60576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a878261139d565b9050806001600160a01b0316836001600160a01b03161415610abc5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610adc5750610ada8133610880565b155b15610afa576040516367d9dca160e11b815260040160405180910390fd5b610b05838383611f7a565b505050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b895760405163073e64fd60e21b81523360048201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b610b938282611fd6565b5050565b60108054610ba490613836565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd090613836565b8015610c1d5780601f10610bf257610100808354040283529160200191610c1d565b820191906000526020600020905b815481529060010190602001808311610c0057829003601f168201915b505050505081565b610b05838383612117565b6008546001600160a01b03163314610c5a5760405162461bcd60e51b8152600401610b8090613871565b600e546001546000548491900360001901610c7591906138bc565b1115610c945760405163794bb39b60e01b815260040160405180910390fd5b610b938183612337565b601254610cbe57604051633d39c8eb60e11b815260040160405180910390fd5b821580610ce7575060008581526018602052604090205461010090046001600160401b03168314155b15610d0557604051633674210b60e01b815260040160405180910390fd5b60008581526016602052604090205415610d32576040516305a049a960e41b815260040160405180910390fd5b6000848484604051602001610d49939291906138ea565b604051602081830303815290604052805190602001209050610d6e8260125483612351565b610d8b57604051633fec49b760e01b815260040160405180910390fd5b6000868152601660205260409020610da590866004612ea9565b50610daf86612367565b60405186907f15120e52505e619cbf6c2af910d5cf7f9ee1befa55801b078c33e93880b2d60990600090a2505050505050565b60026009541415610e355760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b80565b600260095560115460ff16610e5d576040516344300a9960e01b815260040160405180910390fd5b33610e678261139d565b6001600160a01b031614610e8e57604051638d7d919360e01b815260040160405180910390fd5b60008181526018602052604090205460ff1615610ebe57604051633383b7e560e21b815260040160405180910390fd5b601254610ede57604051633d39c8eb60e11b815260040160405180910390fd5b600a54600b546040516305d3b1d360e41b815260048101929092526001600160401b0381166024830152600160601b810461ffff166044830152600160401b900463ffffffff166064820152600160848201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635d3b1d309060a401602060405180830381600087803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fba9190613928565b6000838152601860209081526040808320805460ff191660011790558383526017825291829020859055905182815291925083917f636f7c8c708e048e354abf12cce3c8388becccbc306c3aca98b59406c7e0a9d3910160405180910390a250506001600955565b610b05838383604051806020016040528060008152506118b4565b60606000826110585760016000546110559190613941565b92505b600184108061106957506000548310155b15611087576040516329c8c00760e21b815260040160405180910390fd5b60008061109387611487565b9050806110bf576040805160008152602081019091526110b48660016138bc565b9350935050506112ce565b6101008111156110ce57506101005b6000816001600160401b038111156110e8576110e8613068565b604051908082528060200260200182016040528015611111578160200160208202803683370190505b5090506000806111208961139d565b90508894505b87851161121b576000858152600460205260409020546001600160a01b03161561116457506000848152600460205260409020546001600160a01b03165b600085815260046020526040902054600160e01b900460ff1615801561119b5750896001600160a01b0316816001600160a01b0316145b1561120957848383815181106111b3576111b36138d4565b6020908102919091010152816111c881613958565b92505083821415611209576111dc8a611487565b8414156111fd57826111ef8960016138bc565b9650965050505050506112ce565b826111ef8660016138bc565b8461121381613958565b955050611126565b6000826001600160401b0381111561123557611235613068565b60405190808252806020026020018201604052801561125e578160200160208202803683370190505b509050600095505b828610156112b757838681518110611280576112806138d4565b602002602001015181878151811061129a5761129a6138d4565b6020908102919091010152856112af81613958565b965050611266565b806112c38a60016138bc565b975097505050505050505b935093915050565b6008546001600160a01b031633146113005760405162461bcd60e51b8152600401610b8090613871565b6011805460ff1916911515919091179055565b6008546001600160a01b0316331461133d5760405162461bcd60e51b8152600401610b8090613871565b6000816001600160a01b03164760405160006040518083038185875af1925050503d806000811461138a576040519150601f19603f3d011682016040523d82523d6000602084013e61138f565b606091505b5050905080610b9357600080fd5b60006113a8826123fc565b5192915050565b6008546001600160a01b031633146113d95760405162461bcd60e51b8152600401610b8090613871565b8051600a556020810151600b8054604084015160609094015161ffff16600160601b0261ffff60601b1963ffffffff909516600160401b026bffffffffffffffffffffffff199092166001600160401b03909416939093171792909216179055565b6008546001600160a01b031633146114655760405162461bcd60e51b8152600401610b8090613871565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166114b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146114ff5760405162461bcd60e51b8152600401610b8090613871565b6115096000612523565b565b6008546001600160a01b031633146115355760405162461bcd60e51b8152600401610b8090613871565b6013541561154257600080fd5b601255565b6008546001600160a01b031633146115715760405162461bcd60e51b8152600401610b8090613871565b600f805467ffffffffffffffff19166001600160401b0392909216919091179055565b6008546001600160a01b031633146115be5760405162461bcd60e51b8152600401610b8090613871565b600d55565b6060600380546109b590613836565b600e5460015460005463ffffffff8816919003600019016115f391906138bc565b11156116125760405163794bb39b60e01b815260040160405180910390fd5b826001600160401b031642111561163c576040516338e5e54b60e21b815260040160405180910390fd5b600f546001600160401b03164211156116f8578363ffffffff168563ffffffff16111561167c57604051635c81808d60e11b815260040160405180910390fd5b60008282604051602001611691929190613973565b60408051601f1981840301815291815281516020928301206000818152601990935291205490915060ff16156116da5760405163900bb2c960e01b815260040160405180910390fd5b6000908152601960205260409020805460ff19166001179055611738565b8363ffffffff168563ffffffff1661170f33612575565b61171991906138bc565b111561173857604051635c81808d60e11b815260040160405180910390fd5b61177a33858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506125ca92505050565b6117975760405163c1606c2f60e01b815260040160405180910390fd5b60008563ffffffff16600d546117ad9190613983565b9050803410156117d05760405163fa47be2b60e01b815260040160405180910390fd5b6117e0338763ffffffff16612337565b505050505050565b6008546001600160a01b031633146118125760405162461bcd60e51b8152600401610b8090613871565b610b0560108383612ee7565b6001600160a01b0382163314156118485760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118bf848484612117565b6001600160a01b0383163b151580156118e157506118df848484846126b6565b155b156118ff576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061191082611f41565b61192d57604051630a14c4b560e41b815260040160405180910390fd5b6000828152601660205260409020546119d2576010805461194d90613836565b80601f016020809104026020016040519081016040528092919081815260200182805461197990613836565b80156119c65780601f1061199b576101008083540402835291602001916119c6565b820191906000526020600020905b8154815290600101906020018083116119a957829003601f168201915b50505050509050919050565b60008281526016602052604081206119e9846127aa565b600481106119f9576119f96138d4565b0154604051638614c2c360e01b81526004810182905290915073037520c021706e73aa54d81c14808343962770a190638614c2c39060240160006040518083038186803b158015611a4957600080fd5b505af4158015611a5d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a8591908101906139a2565b604051602001611a959190613a18565b604051602081830303815290604052915050919050565b919050565b60006109a082612575565b601254611adc57604051633d39c8eb60e11b815260040160405180910390fd5b8351855114611afe57604051636726d5d560e11b815260040160405180910390fd5b8251855114611b2057604051636726d5d560e11b815260040160405180910390fd5b8151855114611b4257604051636726d5d560e11b815260040160405180910390fd5b8051855114611b6457604051636726d5d560e11b815260040160405180910390fd5b84516000905b80821015611c525760166000888481518110611b8857611b886138d4565b60200260200101518152602001908152602001600020600060048110611bb057611bb06138d4565b0154611c4057611c40878381518110611bcb57611bcb6138d4565b6020026020010151878481518110611be557611be56138d4565b6020026020010151878581518110611bff57611bff6138d4565b6020026020010151878681518110611c1957611c196138d4565b6020026020010151878781518110611c3357611c336138d4565b6020026020010151610c9e565b81611c4a81613958565b925050611b6a565b50505050505050565b6060600082611c76576001600054611c739190613941565b92505b6001841080611c8757506000548310155b15611ca5576040516329c8c00760e21b815260040160405180910390fd5b604080516101008082526120208201909252600091829190602082016120008036833701905050905060008692505b858311611d765760008381526018602052604090205461010090046001600160401b031615801590611d125750600083815260166020526040902054155b15611d645782828281518110611d2a57611d2a6138d4565b602090810291909101015280611d3f81613958565b915050806101001415611d645781611d588460016138bc565b94509450505050611e27565b82611d6e81613958565b935050611cd4565b6000816001600160401b03811115611d9057611d90613068565b604051908082528060200260200182016040528015611db9578160200160208202803683370190505b509050600093505b81841015611e1257828481518110611ddb57611ddb6138d4565b6020026020010151818581518110611df557611df56138d4565b602090810291909101015283611e0a81613958565b945050611dc1565b80611e1e8860016138bc565b95509550505050505b9250929050565b6040805180820190915260008082526020820152611e4b82611f41565b611e6857604051631427f80760e21b815260040160405180910390fd5b506040805180820182526000838152601860208181529382205460ff8116151584529490915282526101009092046001600160401b03169082015290565b6008546001600160a01b03163314611ed05760405162461bcd60e51b8152600401610b8090613871565b6001600160a01b038116611f355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b80565b611f3e81612523565b50565b600081600111158015611f55575060005482105b80156109a0575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60008281526017602090815260408083205480845260189092529091205460ff16801561201d575060008181526018602052604090205461010090046001600160401b0316155b15610b055760006013546013546014546120379190613941565b8460008151811061204a5761204a6138d4565b602002602001015161205c9190613a5d565b61206691906138bc565b9050600061207382612859565b90506000612082601354612859565b600084815260156020908152604080832084905587835260189091528120805468ffffffffffffffff0019166101006001600160401b0387160217905560138054929350906120d083613958565b9190505550837f9f983c53937ddcb78eda2e1cc214b158e4d6097a134396ea898d7010df1e06c68360405161210791815260200190565b60405180910390a2505050505050565b6000612122826123fc565b80519091506000906001600160a01b0316336001600160a01b03161480612150575081516121509033610880565b8061216b57503361216084610a38565b6001600160a01b0316145b90508061218b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146121c05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166121e757604051633a954ecd60e21b815260040160405180910390fd5b6121f76000848460000151611f7a565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166122e1576000548110156122e157825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612330858585600161288a565b5050505050565b610b938282604051806020016040528060008152506128b8565b60008261235e85846128c5565b14949350505050565b6000818152601860205260409020805470ffffffffffffffff0000000000000000001916600160481b426001600160401b0316021790556203a0206123aa612939565b6123b49190613a5d565b6123c190622495a06138bc565b60009182526018602052604090912080546001600160401b0392909216600160881b0267ffffffffffffffff60881b19909216919091179055565b6040805160608101825260008082526020820181905291810191909152818060011115801561242c575060005481105b1561250a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906125085780516001600160a01b03161561249f579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612503579392505050565b61249f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b03821661259e576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b604080516bffffffffffffffffffffffff19606087901b1660208201526001600160e01b031960e086901b1660348201526001600160c01b031960c085901b1660388201526000918291016040516020818303038152906040528051906020012090506000612686826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600c549091506001600160a01b031661269f8286612977565b6001600160a01b031614925050505b949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906126eb903390899088908890600401613a71565b602060405180830381600087803b15801561270557600080fd5b505af1925050508015612735575060408051601f3d908101601f1916820190925261273291810190613aae565b60015b612790573d808015612763576040519150601f19603f3d011682016040523d82523d6000602084013e612768565b606091505b508051612788576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126ae565b60008181526018602052604081205481906127d590600160481b90046001600160401b031642613941565b6000848152601860205260408120549192509061280290600160881b90046001600160401b031683613acb565b90506004811061281b5761281860016004613941565b90505b6000848152601660205260409020816004811061283a5761283a6138d4565b0154612852578061284a81613adf565b91505061281b565b9392505050565b600081815260156020526040812054612877576109a08260016138bc565b5060009081526015602052604090205490565b6001600160a01b038416158015906128aa57506001600160a01b03831615155b156118ff576118ff82612367565b610b058383836001612993565b600081815b84518110156129315760008582815181106128e7576128e76138d4565b6020026020010151905080831161290d576000838152602082905260409020925061291e565b600081815260208490526040902092505b508061292981613958565b9150506128ca565b509392505050565b6000612946600143613941565b604080519140602083015242908201526060016040516020818303038152906040528051906020012060001c905090565b60008060006129868585612b67565b9150915061293181612bc8565b6000546001600160a01b0385166129bc57604051622e076360e81b815260040160405180910390fd5b836129da5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015612a8657506001600160a01b0387163b15155b15612b0f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612ad760008884806001019550886126b6565b612af4576040516368d2bf6b60e11b815260040160405180910390fd5b80821415612a8c578260005414612b0a57600080fd5b612b55565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612b10575b5060009081556123309086838761288a565b600080825160411415612b925760208301516040840151606085015160001a611d5887828585612d83565b825160401415612bbc5760208301516040840151612bb1868383612e70565b935093505050611e27565b50600090506002611e27565b6000816004811115612bdc57612bdc613af6565b1415612be55750565b6001816004811115612bf957612bf9613af6565b1415612c475760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b80565b6002816004811115612c5b57612c5b613af6565b1415612ca95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b80565b6003816004811115612cbd57612cbd613af6565b1415612d165760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b80565b6004816004811115612d2a57612d2a613af6565b1415611f3e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b80565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612dba5750600090506003612e67565b8460ff16601b14158015612dd257508460ff16601c14155b15612de35750600090506004612e67565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612e37573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e6057600060019250925050612e67565b9150600090505b94509492505050565b6000806001600160ff1b03831681612e8d60ff86901c601b6138bc565b9050612e9b87828885612d83565b935093505050935093915050565b8260048101928215612ed7579160200282015b82811115612ed7578251825591602001919060010190612ebc565b50612ee3929150612f5b565b5090565b828054612ef390613836565b90600052602060002090601f016020900481019282612f155760008555612ed7565b82601f10612f2e5782800160ff19823516178555612ed7565b82800160010185558215612ed7579182015b82811115612ed7578235825591602001919060010190612f40565b5b80821115612ee35760008155600101612f5c565b6001600160e01b031981168114611f3e57600080fd5b600060208284031215612f9857600080fd5b813561285281612f70565b60005b83811015612fbe578181015183820152602001612fa6565b838111156118ff5750506000910152565b60008151808452612fe7816020860160208601612fa3565b601f01601f19169290920160200192915050565b6020815260006128526020830184612fcf565b60006020828403121561302057600080fd5b5035919050565b6001600160a01b0381168114611f3e57600080fd5b6000806040838503121561304f57600080fd5b823561305a81613027565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156130a0576130a0613068565b60405290565b604051601f8201601f191681016001600160401b03811182821017156130ce576130ce613068565b604052919050565b60006001600160401b038211156130ef576130ef613068565b5060051b60200190565b600082601f83011261310a57600080fd5b8135602061311f61311a836130d6565b6130a6565b82815260059290921b8401810191818101908684111561313e57600080fd5b8286015b848110156131595780358352918301918301613142565b509695505050505050565b6000806040838503121561317757600080fd5b8235915060208301356001600160401b0381111561319457600080fd5b6131a0858286016130f9565b9150509250929050565b6000806000606084860312156131bf57600080fd5b83356131ca81613027565b925060208401356131da81613027565b929592945050506040919091013590565b600080604083850312156131fe57600080fd5b82359150602083013561321081613027565b809150509250929050565b600082601f83011261322c57600080fd5b61323461307e565b80608084018581111561324657600080fd5b845b81811015613260578035845260209384019301613248565b509095945050505050565b6000806000806000610100868803121561328457600080fd5b85359450613295876020880161321b565b935060a0860135925060c0860135915060e08601356001600160401b038111156132be57600080fd5b6132ca888289016130f9565b9150509295509295909350565b6000806000606084860312156132ec57600080fd5b83356132f781613027565b95602085013595506040909401359392505050565b604080825283519082018190526000906020906060840190828701845b8281101561334557815184529284019290840190600101613329565b50505092019290925292915050565b80358015158114611aac57600080fd5b60006020828403121561337657600080fd5b61285282613354565b60006020828403121561339157600080fd5b813561285281613027565b80356001600160401b0381168114611aac57600080fd5b803563ffffffff81168114611aac57600080fd5b6000608082840312156133d957600080fd5b6133e161307e565b823581526133f16020840161339c565b6020820152613402604084016133b3565b6040820152606083013561ffff8116811461341c57600080fd5b60608201529392505050565b60006020828403121561343a57600080fd5b6128528261339c565b60008083601f84011261345557600080fd5b5081356001600160401b0381111561346c57600080fd5b602083019150836020828501011115611e2757600080fd5b60008060008060006080868803121561349c57600080fd5b6134a5866133b3565b94506134b3602087016133b3565b93506134c16040870161339c565b925060608601356001600160401b038111156134dc57600080fd5b6134e888828901613443565b969995985093965092949392505050565b6000806020838503121561350c57600080fd5b82356001600160401b0381111561352257600080fd5b61352e85828601613443565b90969095509350505050565b6000806040838503121561354d57600080fd5b823561355881613027565b915061356660208401613354565b90509250929050565b60006001600160401b0382111561358857613588613068565b50601f01601f191660200190565b600080600080608085870312156135ac57600080fd5b84356135b781613027565b935060208501356135c781613027565b92506040850135915060608501356001600160401b038111156135e957600080fd5b8501601f810187136135fa57600080fd5b803561360861311a8261356f565b81815288602083850101111561361d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561365257600080fd5b823561365d81613027565b9150602083013561321081613027565b600082601f83011261367e57600080fd5b8135602061368e61311a836130d6565b82815260079290921b840181019181810190868411156136ad57600080fd5b8286015b84811015613159576136c3888261321b565b8352918301916080016136b1565b600082601f8301126136e257600080fd5b813560206136f261311a836130d6565b82815260059290921b8401810191818101908684111561371157600080fd5b8286015b848110156131595780356001600160401b038111156137345760008081fd5b6137428986838b01016130f9565b845250918301918301613715565b600080600080600060a0868803121561376857600080fd5b85356001600160401b038082111561377f57600080fd5b61378b89838a016130f9565b965060208801359150808211156137a157600080fd5b6137ad89838a0161366d565b955060408801359150808211156137c357600080fd5b6137cf89838a016130f9565b945060608801359150808211156137e557600080fd5b6137f189838a016130f9565b9350608088013591508082111561380757600080fd5b506132ca888289016136d1565b6000806040838503121561382757600080fd5b50508035926020909101359150565b600181811c9082168061384a57607f821691505b6020821081141561386b57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156138cf576138cf6138a6565b500190565b634e487b7160e01b600052603260045260246000fd5b60008185825b600481101561390f5781518352602092830192909101906001016138f0565b50505050608081019290925260a082015260c001919050565b60006020828403121561393a57600080fd5b5051919050565b600082821015613953576139536138a6565b500390565b600060001982141561396c5761396c6138a6565b5060010190565b8183823760009101908152919050565b600081600019048311821515161561399d5761399d6138a6565b500290565b6000602082840312156139b457600080fd5b81516001600160401b038111156139ca57600080fd5b8201601f810184136139db57600080fd5b80516139e961311a8261356f565b8181528560208385010111156139fe57600080fd5b613a0f826020830160208601612fa3565b95945050505050565b66697066733a2f2f60c81b815260008251613a3a816007850160208701612fa3565b9190910160070192915050565b634e487b7160e01b600052601260045260246000fd5b600082613a6c57613a6c613a47565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613aa490830184612fcf565b9695505050505050565b600060208284031215613ac057600080fd5b815161285281612f70565b600082613ada57613ada613a47565b500490565b600081613aee57613aee6138a6565b506000190190565b634e487b7160e01b600052602160045260246000fdfea26469706673582212209a29586c1251a25044f11331d30f90019864386e66e5b5f8b3ed98590bcf1a5a64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000005a9ce79032fccd4d1fac55379eb1b661f24210470000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000001a0a000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699098af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef00000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000105a6f6d626965436c756220546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a43540000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c8063715018a61161015a578063b88d4fde116100c1578063e307fb311161007a578063e307fb3114610835578063e985e9c514610865578063eba6f2f6146108ae578063eddad33c146108ce578063f0ec1065146108ee578063f2fde38b1461093457600080fd5b8063b88d4fde14610733578063bccc052214610753578063c749f6cd14610769578063c87b56dd146107df578063c9df912c146107ff578063dc33e6811461081557600080fd5b806396cf73cf1161011357806396cf73cf1461069b57806397bc411c146106ae57806399c9376e146106ce578063a035b1fe146106e4578063a22cb465146106fa578063a2309ff81461071a57600080fd5b8063715018a6146105f35780637cb64759146106085780638be45f3b146106285780638da5cb5b1461064857806391b7f5ed1461066657806395d89b411461068657600080fd5b8063390a5b9a116101fe57806351cff8d9116101b757806351cff8d91461054657806352cf02f0146105595780636352211e1461057357806369b59886146105935780636c19e783146105b357806370a08231146105d357600080fd5b8063390a5b9a1461046e5780633b2bcbf11461048457806340261cdd146104b857806342842e0e146104d857806349a0a50e146104f85780634ad505161461052657600080fd5b80631fe543e3116102505780631fe543e3146103a15780632126ea81146103c157806323b872dd146103d6578063249b7c19146103f65780632d1a12f61461042e57806338d1f9a31461044e57600080fd5b806301ffc9a71461029857806306fdde03146102cd578063070e5c35146102ef578063081812fc1461032a578063095ea7b31461036257806318160ddd14610384575b600080fd5b3480156102a457600080fd5b506102b86102b3366004612f86565b610954565b60405190151581526020015b60405180910390f35b3480156102d957600080fd5b506102e26109a6565b6040516102c49190612ffb565b3480156102fb57600080fd5b5061031c61030a36600461300e565b60176020526000908152604090205481565b6040519081526020016102c4565b34801561033657600080fd5b5061034a61034536600461300e565b610a38565b6040516001600160a01b0390911681526020016102c4565b34801561036e57600080fd5b5061038261037d36600461303c565b610a7c565b005b34801561039057600080fd5b50600154600054036000190161031c565b3480156103ad57600080fd5b506103826103bc366004613164565b610b0a565b3480156103cd57600080fd5b506102e2610b97565b3480156103e257600080fd5b506103826103f13660046131aa565b610c25565b34801561040257600080fd5b50600f54610416906001600160401b031681565b6040516001600160401b0390911681526020016102c4565b34801561043a57600080fd5b506103826104493660046131eb565b610c30565b34801561045a57600080fd5b5061038261046936600461326b565b610c9e565b34801561047a57600080fd5b5061031c600e5481565b34801561049057600080fd5b5061034a7f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e6990981565b3480156104c457600080fd5b506103826104d336600461300e565b610de2565b3480156104e457600080fd5b506103826104f33660046131aa565b611022565b34801561050457600080fd5b506105186105133660046132d7565b61103d565b6040516102c492919061330c565b34801561053257600080fd5b50610382610541366004613364565b6112d6565b61038261055436600461337f565b611313565b34801561056557600080fd5b506011546102b89060ff1681565b34801561057f57600080fd5b5061034a61058e36600461300e565b61139d565b34801561059f57600080fd5b506103826105ae3660046133c7565b6113af565b3480156105bf57600080fd5b506103826105ce36600461337f565b61143b565b3480156105df57600080fd5b5061031c6105ee36600461337f565b611487565b3480156105ff57600080fd5b506103826114d5565b34801561061457600080fd5b5061038261062336600461300e565b61150b565b34801561063457600080fd5b50610382610643366004613428565b611547565b34801561065457600080fd5b506008546001600160a01b031661034a565b34801561067257600080fd5b5061038261068136600461300e565b611594565b34801561069257600080fd5b506102e26115c3565b6103826106a9366004613484565b6115d2565b3480156106ba57600080fd5b506103826106c93660046134f9565b6117e8565b3480156106da57600080fd5b5061031c60135481565b3480156106f057600080fd5b5061031c600d5481565b34801561070657600080fd5b5061038261071536600461353a565b61181e565b34801561072657600080fd5b506000546000190161031c565b34801561073f57600080fd5b5061038261074e366004613596565b6118b4565b34801561075f57600080fd5b5061031c60145481565b34801561077557600080fd5b50600a54600b546107a891906001600160401b03811690600160401b810463ffffffff1690600160601b900461ffff1684565b604080519485526001600160401b03909316602085015263ffffffff9091169183019190915261ffff1660608201526080016102c4565b3480156107eb57600080fd5b506102e26107fa36600461300e565b611905565b34801561080b57600080fd5b5061031c60125481565b34801561082157600080fd5b5061031c61083036600461337f565b611ab1565b34801561084157600080fd5b506102b861085036600461300e565b60196020526000908152604090205460ff1681565b34801561087157600080fd5b506102b861088036600461363f565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108ba57600080fd5b506103826108c9366004613750565b611abc565b3480156108da57600080fd5b506105186108e9366004613814565b611c5b565b3480156108fa57600080fd5b5061090e61090936600461300e565b611e2e565b604080518251151581526020928301516001600160401b031692810192909252016102c4565b34801561094057600080fd5b5061038261094f36600461337f565b611ea6565b60006001600160e01b031982166380ac58cd60e01b148061098557506001600160e01b03198216635b5e139f60e01b145b806109a057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546109b590613836565b80601f01602080910402602001604051908101604052809291908181526020018280546109e190613836565b8015610a2e5780601f10610a0357610100808354040283529160200191610a2e565b820191906000526020600020905b815481529060010190602001808311610a1157829003601f168201915b5050505050905090565b6000610a4382611f41565b610a60576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610a878261139d565b9050806001600160a01b0316836001600160a01b03161415610abc5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610adc5750610ada8133610880565b155b15610afa576040516367d9dca160e11b815260040160405180910390fd5b610b05838383611f7a565b505050565b336001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091614610b895760405163073e64fd60e21b81523360048201526001600160a01b037f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699091660248201526044015b60405180910390fd5b610b938282611fd6565b5050565b60108054610ba490613836565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd090613836565b8015610c1d5780601f10610bf257610100808354040283529160200191610c1d565b820191906000526020600020905b815481529060010190602001808311610c0057829003601f168201915b505050505081565b610b05838383612117565b6008546001600160a01b03163314610c5a5760405162461bcd60e51b8152600401610b8090613871565b600e546001546000548491900360001901610c7591906138bc565b1115610c945760405163794bb39b60e01b815260040160405180910390fd5b610b938183612337565b601254610cbe57604051633d39c8eb60e11b815260040160405180910390fd5b821580610ce7575060008581526018602052604090205461010090046001600160401b03168314155b15610d0557604051633674210b60e01b815260040160405180910390fd5b60008581526016602052604090205415610d32576040516305a049a960e41b815260040160405180910390fd5b6000848484604051602001610d49939291906138ea565b604051602081830303815290604052805190602001209050610d6e8260125483612351565b610d8b57604051633fec49b760e01b815260040160405180910390fd5b6000868152601660205260409020610da590866004612ea9565b50610daf86612367565b60405186907f15120e52505e619cbf6c2af910d5cf7f9ee1befa55801b078c33e93880b2d60990600090a2505050505050565b60026009541415610e355760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610b80565b600260095560115460ff16610e5d576040516344300a9960e01b815260040160405180910390fd5b33610e678261139d565b6001600160a01b031614610e8e57604051638d7d919360e01b815260040160405180910390fd5b60008181526018602052604090205460ff1615610ebe57604051633383b7e560e21b815260040160405180910390fd5b601254610ede57604051633d39c8eb60e11b815260040160405180910390fd5b600a54600b546040516305d3b1d360e41b815260048101929092526001600160401b0381166024830152600160601b810461ffff166044830152600160401b900463ffffffff166064820152600160848201526000907f000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699096001600160a01b031690635d3b1d309060a401602060405180830381600087803b158015610f8257600080fd5b505af1158015610f96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fba9190613928565b6000838152601860209081526040808320805460ff191660011790558383526017825291829020859055905182815291925083917f636f7c8c708e048e354abf12cce3c8388becccbc306c3aca98b59406c7e0a9d3910160405180910390a250506001600955565b610b05838383604051806020016040528060008152506118b4565b60606000826110585760016000546110559190613941565b92505b600184108061106957506000548310155b15611087576040516329c8c00760e21b815260040160405180910390fd5b60008061109387611487565b9050806110bf576040805160008152602081019091526110b48660016138bc565b9350935050506112ce565b6101008111156110ce57506101005b6000816001600160401b038111156110e8576110e8613068565b604051908082528060200260200182016040528015611111578160200160208202803683370190505b5090506000806111208961139d565b90508894505b87851161121b576000858152600460205260409020546001600160a01b03161561116457506000848152600460205260409020546001600160a01b03165b600085815260046020526040902054600160e01b900460ff1615801561119b5750896001600160a01b0316816001600160a01b0316145b1561120957848383815181106111b3576111b36138d4565b6020908102919091010152816111c881613958565b92505083821415611209576111dc8a611487565b8414156111fd57826111ef8960016138bc565b9650965050505050506112ce565b826111ef8660016138bc565b8461121381613958565b955050611126565b6000826001600160401b0381111561123557611235613068565b60405190808252806020026020018201604052801561125e578160200160208202803683370190505b509050600095505b828610156112b757838681518110611280576112806138d4565b602002602001015181878151811061129a5761129a6138d4565b6020908102919091010152856112af81613958565b965050611266565b806112c38a60016138bc565b975097505050505050505b935093915050565b6008546001600160a01b031633146113005760405162461bcd60e51b8152600401610b8090613871565b6011805460ff1916911515919091179055565b6008546001600160a01b0316331461133d5760405162461bcd60e51b8152600401610b8090613871565b6000816001600160a01b03164760405160006040518083038185875af1925050503d806000811461138a576040519150601f19603f3d011682016040523d82523d6000602084013e61138f565b606091505b5050905080610b9357600080fd5b60006113a8826123fc565b5192915050565b6008546001600160a01b031633146113d95760405162461bcd60e51b8152600401610b8090613871565b8051600a556020810151600b8054604084015160609094015161ffff16600160601b0261ffff60601b1963ffffffff909516600160401b026bffffffffffffffffffffffff199092166001600160401b03909416939093171792909216179055565b6008546001600160a01b031633146114655760405162461bcd60e51b8152600401610b8090613871565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b0382166114b0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146114ff5760405162461bcd60e51b8152600401610b8090613871565b6115096000612523565b565b6008546001600160a01b031633146115355760405162461bcd60e51b8152600401610b8090613871565b6013541561154257600080fd5b601255565b6008546001600160a01b031633146115715760405162461bcd60e51b8152600401610b8090613871565b600f805467ffffffffffffffff19166001600160401b0392909216919091179055565b6008546001600160a01b031633146115be5760405162461bcd60e51b8152600401610b8090613871565b600d55565b6060600380546109b590613836565b600e5460015460005463ffffffff8816919003600019016115f391906138bc565b11156116125760405163794bb39b60e01b815260040160405180910390fd5b826001600160401b031642111561163c576040516338e5e54b60e21b815260040160405180910390fd5b600f546001600160401b03164211156116f8578363ffffffff168563ffffffff16111561167c57604051635c81808d60e11b815260040160405180910390fd5b60008282604051602001611691929190613973565b60408051601f1981840301815291815281516020928301206000818152601990935291205490915060ff16156116da5760405163900bb2c960e01b815260040160405180910390fd5b6000908152601960205260409020805460ff19166001179055611738565b8363ffffffff168563ffffffff1661170f33612575565b61171991906138bc565b111561173857604051635c81808d60e11b815260040160405180910390fd5b61177a33858585858080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506125ca92505050565b6117975760405163c1606c2f60e01b815260040160405180910390fd5b60008563ffffffff16600d546117ad9190613983565b9050803410156117d05760405163fa47be2b60e01b815260040160405180910390fd5b6117e0338763ffffffff16612337565b505050505050565b6008546001600160a01b031633146118125760405162461bcd60e51b8152600401610b8090613871565b610b0560108383612ee7565b6001600160a01b0382163314156118485760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118bf848484612117565b6001600160a01b0383163b151580156118e157506118df848484846126b6565b155b156118ff576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061191082611f41565b61192d57604051630a14c4b560e41b815260040160405180910390fd5b6000828152601660205260409020546119d2576010805461194d90613836565b80601f016020809104026020016040519081016040528092919081815260200182805461197990613836565b80156119c65780601f1061199b576101008083540402835291602001916119c6565b820191906000526020600020905b8154815290600101906020018083116119a957829003601f168201915b50505050509050919050565b60008281526016602052604081206119e9846127aa565b600481106119f9576119f96138d4565b0154604051638614c2c360e01b81526004810182905290915073037520c021706e73aa54d81c14808343962770a190638614c2c39060240160006040518083038186803b158015611a4957600080fd5b505af4158015611a5d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611a8591908101906139a2565b604051602001611a959190613a18565b604051602081830303815290604052915050919050565b919050565b60006109a082612575565b601254611adc57604051633d39c8eb60e11b815260040160405180910390fd5b8351855114611afe57604051636726d5d560e11b815260040160405180910390fd5b8251855114611b2057604051636726d5d560e11b815260040160405180910390fd5b8151855114611b4257604051636726d5d560e11b815260040160405180910390fd5b8051855114611b6457604051636726d5d560e11b815260040160405180910390fd5b84516000905b80821015611c525760166000888481518110611b8857611b886138d4565b60200260200101518152602001908152602001600020600060048110611bb057611bb06138d4565b0154611c4057611c40878381518110611bcb57611bcb6138d4565b6020026020010151878481518110611be557611be56138d4565b6020026020010151878581518110611bff57611bff6138d4565b6020026020010151878681518110611c1957611c196138d4565b6020026020010151878781518110611c3357611c336138d4565b6020026020010151610c9e565b81611c4a81613958565b925050611b6a565b50505050505050565b6060600082611c76576001600054611c739190613941565b92505b6001841080611c8757506000548310155b15611ca5576040516329c8c00760e21b815260040160405180910390fd5b604080516101008082526120208201909252600091829190602082016120008036833701905050905060008692505b858311611d765760008381526018602052604090205461010090046001600160401b031615801590611d125750600083815260166020526040902054155b15611d645782828281518110611d2a57611d2a6138d4565b602090810291909101015280611d3f81613958565b915050806101001415611d645781611d588460016138bc565b94509450505050611e27565b82611d6e81613958565b935050611cd4565b6000816001600160401b03811115611d9057611d90613068565b604051908082528060200260200182016040528015611db9578160200160208202803683370190505b509050600093505b81841015611e1257828481518110611ddb57611ddb6138d4565b6020026020010151818581518110611df557611df56138d4565b602090810291909101015283611e0a81613958565b945050611dc1565b80611e1e8860016138bc565b95509550505050505b9250929050565b6040805180820190915260008082526020820152611e4b82611f41565b611e6857604051631427f80760e21b815260040160405180910390fd5b506040805180820182526000838152601860208181529382205460ff8116151584529490915282526101009092046001600160401b03169082015290565b6008546001600160a01b03163314611ed05760405162461bcd60e51b8152600401610b8090613871565b6001600160a01b038116611f355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b80565b611f3e81612523565b50565b600081600111158015611f55575060005482105b80156109a0575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60008281526017602090815260408083205480845260189092529091205460ff16801561201d575060008181526018602052604090205461010090046001600160401b0316155b15610b055760006013546013546014546120379190613941565b8460008151811061204a5761204a6138d4565b602002602001015161205c9190613a5d565b61206691906138bc565b9050600061207382612859565b90506000612082601354612859565b600084815260156020908152604080832084905587835260189091528120805468ffffffffffffffff0019166101006001600160401b0387160217905560138054929350906120d083613958565b9190505550837f9f983c53937ddcb78eda2e1cc214b158e4d6097a134396ea898d7010df1e06c68360405161210791815260200190565b60405180910390a2505050505050565b6000612122826123fc565b80519091506000906001600160a01b0316336001600160a01b03161480612150575081516121509033610880565b8061216b57503361216084610a38565b6001600160a01b0316145b90508061218b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146121c05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166121e757604051633a954ecd60e21b815260040160405180910390fd5b6121f76000848460000151611f7a565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166122e1576000548110156122e157825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612330858585600161288a565b5050505050565b610b938282604051806020016040528060008152506128b8565b60008261235e85846128c5565b14949350505050565b6000818152601860205260409020805470ffffffffffffffff0000000000000000001916600160481b426001600160401b0316021790556203a0206123aa612939565b6123b49190613a5d565b6123c190622495a06138bc565b60009182526018602052604090912080546001600160401b0392909216600160881b0267ffffffffffffffff60881b19909216919091179055565b6040805160608101825260008082526020820181905291810191909152818060011115801561242c575060005481105b1561250a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906125085780516001600160a01b03161561249f579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612503579392505050565b61249f565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b03821661259e576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b604080516bffffffffffffffffffffffff19606087901b1660208201526001600160e01b031960e086901b1660348201526001600160c01b031960c085901b1660388201526000918291016040516020818303038152906040528051906020012090506000612686826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b600c549091506001600160a01b031661269f8286612977565b6001600160a01b031614925050505b949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906126eb903390899088908890600401613a71565b602060405180830381600087803b15801561270557600080fd5b505af1925050508015612735575060408051601f3d908101601f1916820190925261273291810190613aae565b60015b612790573d808015612763576040519150601f19603f3d011682016040523d82523d6000602084013e612768565b606091505b508051612788576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506126ae565b60008181526018602052604081205481906127d590600160481b90046001600160401b031642613941565b6000848152601860205260408120549192509061280290600160881b90046001600160401b031683613acb565b90506004811061281b5761281860016004613941565b90505b6000848152601660205260409020816004811061283a5761283a6138d4565b0154612852578061284a81613adf565b91505061281b565b9392505050565b600081815260156020526040812054612877576109a08260016138bc565b5060009081526015602052604090205490565b6001600160a01b038416158015906128aa57506001600160a01b03831615155b156118ff576118ff82612367565b610b058383836001612993565b600081815b84518110156129315760008582815181106128e7576128e76138d4565b6020026020010151905080831161290d576000838152602082905260409020925061291e565b600081815260208490526040902092505b508061292981613958565b9150506128ca565b509392505050565b6000612946600143613941565b604080519140602083015242908201526060016040516020818303038152906040528051906020012060001c905090565b60008060006129868585612b67565b9150915061293181612bc8565b6000546001600160a01b0385166129bc57604051622e076360e81b815260040160405180910390fd5b836129da5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015612a8657506001600160a01b0387163b15155b15612b0f575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612ad760008884806001019550886126b6565b612af4576040516368d2bf6b60e11b815260040160405180910390fd5b80821415612a8c578260005414612b0a57600080fd5b612b55565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612b10575b5060009081556123309086838761288a565b600080825160411415612b925760208301516040840151606085015160001a611d5887828585612d83565b825160401415612bbc5760208301516040840151612bb1868383612e70565b935093505050611e27565b50600090506002611e27565b6000816004811115612bdc57612bdc613af6565b1415612be55750565b6001816004811115612bf957612bf9613af6565b1415612c475760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610b80565b6002816004811115612c5b57612c5b613af6565b1415612ca95760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610b80565b6003816004811115612cbd57612cbd613af6565b1415612d165760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610b80565b6004816004811115612d2a57612d2a613af6565b1415611f3e5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610b80565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612dba5750600090506003612e67565b8460ff16601b14158015612dd257508460ff16601c14155b15612de35750600090506004612e67565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612e37573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e6057600060019250925050612e67565b9150600090505b94509492505050565b6000806001600160ff1b03831681612e8d60ff86901c601b6138bc565b9050612e9b87828885612d83565b935093505050935093915050565b8260048101928215612ed7579160200282015b82811115612ed7578251825591602001919060010190612ebc565b50612ee3929150612f5b565b5090565b828054612ef390613836565b90600052602060002090601f016020900481019282612f155760008555612ed7565b82601f10612f2e5782800160ff19823516178555612ed7565b82800160010185558215612ed7579182015b82811115612ed7578235825591602001919060010190612f40565b5b80821115612ee35760008155600101612f5c565b6001600160e01b031981168114611f3e57600080fd5b600060208284031215612f9857600080fd5b813561285281612f70565b60005b83811015612fbe578181015183820152602001612fa6565b838111156118ff5750506000910152565b60008151808452612fe7816020860160208601612fa3565b601f01601f19169290920160200192915050565b6020815260006128526020830184612fcf565b60006020828403121561302057600080fd5b5035919050565b6001600160a01b0381168114611f3e57600080fd5b6000806040838503121561304f57600080fd5b823561305a81613027565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b03811182821017156130a0576130a0613068565b60405290565b604051601f8201601f191681016001600160401b03811182821017156130ce576130ce613068565b604052919050565b60006001600160401b038211156130ef576130ef613068565b5060051b60200190565b600082601f83011261310a57600080fd5b8135602061311f61311a836130d6565b6130a6565b82815260059290921b8401810191818101908684111561313e57600080fd5b8286015b848110156131595780358352918301918301613142565b509695505050505050565b6000806040838503121561317757600080fd5b8235915060208301356001600160401b0381111561319457600080fd5b6131a0858286016130f9565b9150509250929050565b6000806000606084860312156131bf57600080fd5b83356131ca81613027565b925060208401356131da81613027565b929592945050506040919091013590565b600080604083850312156131fe57600080fd5b82359150602083013561321081613027565b809150509250929050565b600082601f83011261322c57600080fd5b61323461307e565b80608084018581111561324657600080fd5b845b81811015613260578035845260209384019301613248565b509095945050505050565b6000806000806000610100868803121561328457600080fd5b85359450613295876020880161321b565b935060a0860135925060c0860135915060e08601356001600160401b038111156132be57600080fd5b6132ca888289016130f9565b9150509295509295909350565b6000806000606084860312156132ec57600080fd5b83356132f781613027565b95602085013595506040909401359392505050565b604080825283519082018190526000906020906060840190828701845b8281101561334557815184529284019290840190600101613329565b50505092019290925292915050565b80358015158114611aac57600080fd5b60006020828403121561337657600080fd5b61285282613354565b60006020828403121561339157600080fd5b813561285281613027565b80356001600160401b0381168114611aac57600080fd5b803563ffffffff81168114611aac57600080fd5b6000608082840312156133d957600080fd5b6133e161307e565b823581526133f16020840161339c565b6020820152613402604084016133b3565b6040820152606083013561ffff8116811461341c57600080fd5b60608201529392505050565b60006020828403121561343a57600080fd5b6128528261339c565b60008083601f84011261345557600080fd5b5081356001600160401b0381111561346c57600080fd5b602083019150836020828501011115611e2757600080fd5b60008060008060006080868803121561349c57600080fd5b6134a5866133b3565b94506134b3602087016133b3565b93506134c16040870161339c565b925060608601356001600160401b038111156134dc57600080fd5b6134e888828901613443565b969995985093965092949392505050565b6000806020838503121561350c57600080fd5b82356001600160401b0381111561352257600080fd5b61352e85828601613443565b90969095509350505050565b6000806040838503121561354d57600080fd5b823561355881613027565b915061356660208401613354565b90509250929050565b60006001600160401b0382111561358857613588613068565b50601f01601f191660200190565b600080600080608085870312156135ac57600080fd5b84356135b781613027565b935060208501356135c781613027565b92506040850135915060608501356001600160401b038111156135e957600080fd5b8501601f810187136135fa57600080fd5b803561360861311a8261356f565b81815288602083850101111561361d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561365257600080fd5b823561365d81613027565b9150602083013561321081613027565b600082601f83011261367e57600080fd5b8135602061368e61311a836130d6565b82815260079290921b840181019181810190868411156136ad57600080fd5b8286015b84811015613159576136c3888261321b565b8352918301916080016136b1565b600082601f8301126136e257600080fd5b813560206136f261311a836130d6565b82815260059290921b8401810191818101908684111561371157600080fd5b8286015b848110156131595780356001600160401b038111156137345760008081fd5b6137428986838b01016130f9565b845250918301918301613715565b600080600080600060a0868803121561376857600080fd5b85356001600160401b038082111561377f57600080fd5b61378b89838a016130f9565b965060208801359150808211156137a157600080fd5b6137ad89838a0161366d565b955060408801359150808211156137c357600080fd5b6137cf89838a016130f9565b945060608801359150808211156137e557600080fd5b6137f189838a016130f9565b9350608088013591508082111561380757600080fd5b506132ca888289016136d1565b6000806040838503121561382757600080fd5b50508035926020909101359150565b600181811c9082168061384a57607f821691505b6020821081141561386b57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156138cf576138cf6138a6565b500190565b634e487b7160e01b600052603260045260246000fd5b60008185825b600481101561390f5781518352602092830192909101906001016138f0565b50505050608081019290925260a082015260c001919050565b60006020828403121561393a57600080fd5b5051919050565b600082821015613953576139536138a6565b500390565b600060001982141561396c5761396c6138a6565b5060010190565b8183823760009101908152919050565b600081600019048311821515161561399d5761399d6138a6565b500290565b6000602082840312156139b457600080fd5b81516001600160401b038111156139ca57600080fd5b8201601f810184136139db57600080fd5b80516139e961311a8261356f565b8181528560208385010111156139fe57600080fd5b613a0f826020830160208601612fa3565b95945050505050565b66697066733a2f2f60c81b815260008251613a3a816007850160208701612fa3565b9190910160070192915050565b634e487b7160e01b600052601260045260246000fd5b600082613a6c57613a6c613a47565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613aa490830184612fcf565b9695505050505050565b600060208284031215613ac057600080fd5b815161285281612f70565b600082613ada57613ada613a47565b500490565b600081613aee57613aee6138a6565b506000190190565b634e487b7160e01b600052602160045260246000fdfea26469706673582212209a29586c1251a25044f11331d30f90019864386e66e5b5f8b3ed98590bcf1a5a64736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000005a9ce79032fccd4d1fac55379eb1b661f24210470000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000001a0a000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e699098af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef00000000000000000000000000000000000000000000000000000000000000170000000000000000000000000000000000000000000000000000000000030d40000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000105a6f6d626965436c756220546f6b656e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035a43540000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): ZombieClub Token
Arg [1] : _symbol (string): ZCT
Arg [2] : _initSigner (address): 0x5a9ce79032fCcd4D1Fac55379EB1B661f2421047
Arg [3] : _maxCollection (uint256): 6666
Arg [4] : _totalMysteryBoxes (uint256): 6666
Arg [5] : _vrfCoordinator (address): 0x271682DEB8C4E0901D1a1550aD2e64D568E69909
Arg [6] : _chainlinkParams (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 0000000000000000000000005a9ce79032fccd4d1fac55379eb1b661f2421047
Arg [3] : 0000000000000000000000000000000000000000000000000000000000001a0a
Arg [4] : 0000000000000000000000000000000000000000000000000000000000001a0a
Arg [5] : 000000000000000000000000271682deb8c4e0901d1a1550ad2e64d568e69909
Arg [6] : 8af398995b04c28e9951adb9721ef74c74f93e6a478f39e7e0777be13527e7ef
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [8] : 0000000000000000000000000000000000000000000000000000000000030d40
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [11] : 5a6f6d626965436c756220546f6b656e00000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 5a43540000000000000000000000000000000000000000000000000000000000


Libraries Used


Deployed Bytecode Sourcemap

75112:14454:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54437:305;;;;;;;;;;-1:-1:-1;54437:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;54437:305:0;;;;;;;;57822:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;76486:51::-;;;;;;;;;;-1:-1:-1;76486:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1674:25:1;;;1662:2;1647:18;76486:51:0;1528:177:1;59325:204:0;;;;;;;;;;-1:-1:-1;59325:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;59325:204:0;1710:203:1;58888:371:0;;;;;;;;;;-1:-1:-1;58888:371:0;;;;;:::i;:::-;;:::i;:::-;;53686:303;;;;;;;;;;-1:-1:-1;87962:1:0;53940:12;53730:7;53924:13;:28;-1:-1:-1;;53924:46:0;53686:303;;29765:261;;;;;;;;;;-1:-1:-1;29765:261:0;;;;;:::i;:::-;;:::i;75994:25::-;;;;;;;;;;;;;:::i;60182:170::-;;;;;;;;;;-1:-1:-1;60182:170:0;;;;;:::i;:::-;;:::i;75957:28::-;;;;;;;;;;-1:-1:-1;75957:28:0;;;;-1:-1:-1;;;;;75957:28:0;;;;;;-1:-1:-1;;;;;4942:31:1;;;4924:50;;4912:2;4897:18;75957:28:0;4780:200:1;80550:191:0;;;;;;;;;;-1:-1:-1;80550:191:0;;;;;:::i;:::-;;:::i;82238:799::-;;;;;;;;;;-1:-1:-1;82238:799:0;;;;;:::i;:::-;;:::i;75922:28::-;;;;;;;;;;;;;;;;75741:54;;;;;;;;;;;;;;;80749:771;;;;;;;;;;-1:-1:-1;80749:771:0;;;;;:::i;:::-;;:::i;60423:185::-;;;;;;;;;;-1:-1:-1;60423:185:0;;;;;:::i;:::-;;:::i;85356:1502::-;;;;;;;;;;-1:-1:-1;85356:1502:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;78482:107::-;;;;;;;;;;-1:-1:-1;78482:107:0;;;;;:::i;:::-;;:::i;78597:170::-;;;;;;:::i;:::-;;:::i;76026:31::-;;;;;;;;;;-1:-1:-1;76026:31:0;;;;;;;;57631:124;;;;;;;;;;-1:-1:-1;57631:124:0;;;;;:::i;:::-;;:::i;77989:141::-;;;;;;;;;;-1:-1:-1;77989:141:0;;;;;:::i;:::-;;:::i;77885:96::-;;;;;;;;;;-1:-1:-1;77885:96:0;;;;;:::i;:::-;;:::i;54806:206::-;;;;;;;;;;-1:-1:-1;54806:206:0;;;;;:::i;:::-;;:::i;73611:103::-;;;;;;;;;;;;;:::i;78254:220::-;;;;;;;;;;-1:-1:-1;78254:220:0;;;;;:::i;:::-;;:::i;77670:107::-;;;;;;;;;;-1:-1:-1;77670:107:0;;;;;:::i;:::-;;:::i;72960:87::-;;;;;;;;;;-1:-1:-1;73033:6:0;;-1:-1:-1;;;;;73033:6:0;72960:87;;77785:92;;;;;;;;;;-1:-1:-1;77785:92:0;;;;;:::i;:::-;;:::i;57991:104::-;;;;;;;;;;;;;:::i;79191:1351::-;;;;;;:::i;:::-;;:::i;78138:108::-;;;;;;;;;;-1:-1:-1;78138:108:0;;;;;:::i;:::-;;:::i;76100:29::-;;;;;;;;;;;;;;;;75881:34;;;;;;;;;;;;;;;;59601:279;;;;;;;;;;-1:-1:-1;59601:279:0;;;;;:::i;:::-;;:::i;84781:95::-;;;;;;;;;;-1:-1:-1;84827:7:0;54315:13;-1:-1:-1;;54315:31:0;84781:95;;60679:369;;;;;;;;;;-1:-1:-1;60679:369:0;;;;;:::i;:::-;;:::i;76136:32::-;;;;;;;;;;;;;;;;75805:38;;;;;;;;;;-1:-1:-1;75805:38:0;;;;;;;-1:-1:-1;;;;;75805:38:0;;;-1:-1:-1;;;75805:38:0;;;;;-1:-1:-1;;;75805:38:0;;;;;;;;;;13807:25:1;;;-1:-1:-1;;;;;13868:31:1;;;13863:2;13848:18;;13841:59;13948:10;13936:23;;;13916:18;;;13909:51;;;;14008:6;13996:19;13991:2;13976:18;;13969:47;13794:3;13779:19;75805:38:0;13582:440:1;84299:474:0;;;;;;;;;;-1:-1:-1;84299:474:0;;;;;:::i;:::-;;:::i;76064:29::-;;;;;;;;;;;;;;;;84884:119;;;;;;;;;;-1:-1:-1;84884:119:0;;;;;:::i;:::-;;:::i;76614:45::-;;;;;;;;;;-1:-1:-1;76614:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;59951:164;;;;;;;;;;-1:-1:-1;59951:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;60072:25:0;;;60048:4;60072:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;59951:164;83045:1246;;;;;;;;;;-1:-1:-1;83045:1246:0;;;;;:::i;:::-;;:::i;86866:996::-;;;;;;;;;;-1:-1:-1;86866:996:0;;;;;:::i;:::-;;:::i;85011:337::-;;;;;;;;;;-1:-1:-1;85011:337:0;;;;;:::i;:::-;;:::i;:::-;;;;18042:13:1;;18035:21;18028:29;18010:48;;18118:4;18106:17;;;18100:24;-1:-1:-1;;;;;18096:49:1;18074:20;;;18067:79;;;;17983:18;85011:337:0;17806:346:1;73869:201:0;;;;;;;;;;-1:-1:-1;73869:201:0;;;;;:::i;:::-;;:::i;54437:305::-;54539:4;-1:-1:-1;;;;;;54576:40:0;;-1:-1:-1;;;54576:40:0;;:105;;-1:-1:-1;;;;;;;54633:48:0;;-1:-1:-1;;;54633:48:0;54576:105;:158;;;-1:-1:-1;;;;;;;;;;13478:40:0;;;54698:36;54556:178;54437:305;-1:-1:-1;;54437:305:0:o;57822:100::-;57876:13;57909:5;57902:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57822:100;:::o;59325:204::-;59393:7;59418:16;59426:7;59418;:16::i;:::-;59413:64;;59443:34;;-1:-1:-1;;;59443:34:0;;;;;;;;;;;59413:64;-1:-1:-1;59497:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;59497:24:0;;59325:204::o;58888:371::-;58961:13;58977:24;58993:7;58977:15;:24::i;:::-;58961:40;;59022:5;-1:-1:-1;;;;;59016:11:0;:2;-1:-1:-1;;;;;59016:11:0;;59012:48;;;59036:24;;-1:-1:-1;;;59036:24:0;;;;;;;;;;;59012:48;49837:10;-1:-1:-1;;;;;59077:21:0;;;;;;:63;;-1:-1:-1;59103:37:0;59120:5;49837:10;59951:164;:::i;59103:37::-;59102:38;59077:63;59073:138;;;59164:35;;-1:-1:-1;;;59164:35:0;;;;;;;;;;;59073:138;59223:28;59232:2;59236:7;59245:5;59223:8;:28::i;:::-;58950:309;58888:371;;:::o;29765:261::-;29865:10;-1:-1:-1;;;;;29879:14:0;29865:28;;29861:111;;29911:53;;-1:-1:-1;;;29911:53:0;;29937:10;29911:53;;;18754:34:1;-1:-1:-1;;;;;29949:14:0;18824:15:1;18804:18;;;18797:43;18689:18;;29911:53:0;;;;;;;;29861:111;29978:42;29997:9;30008:11;29978:18;:42::i;:::-;29765:261;;:::o;75994:25::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;60182:170::-;60316:28;60326:4;60332:2;60336:7;60316:9;:28::i;80550:191::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;80657:13:::1;::::0;87962:1;53940:12;53730:7;53924:13;80647:7;;53924:28;;-1:-1:-1;;53924:46:0;80631:23:::1;;;;:::i;:::-;:39;80627:70;;;80679:18;;-1:-1:-1::0;;;80679:18:0::1;;;;;;;;;;;80627:70;80710:23;80720:3;80725:7;80710:9;:23::i;82238:799::-:0;82406:14;;82402:63;;82443:22;;-1:-1:-1;;;82443:22:0;;;;;;;;;;;82402:63;82480:11;;;:61;;-1:-1:-1;82495:27:0;;;;:17;:27;;;;;:36;;;;-1:-1:-1;;;;;82495:36:0;:46;;;82480:61;82476:96;;;82550:22;;-1:-1:-1;;;82550:22:0;;;;;;;;;;;82476:96;82587:28;;;;:18;:28;;;;;:31;:36;82583:71;;82632:22;;-1:-1:-1;;;82632:22:0;;;;;;;;;;;82583:71;82718:12;82760:19;82781:6;82789:5;82743:52;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;82733:63;;;;;;82718:78;;82812:48;82831:6;82839:14;;82855:4;82812:18;:48::i;:::-;82807:85;;82869:23;;-1:-1:-1;;;82869:23:0;;;;;;;;;;;82807:85;82905:28;;;;:18;:28;;;;;:50;;82936:19;82905:50;;:::i;:::-;;82966:27;82984:8;82966:17;:27::i;:::-;83011:18;;83020:8;;83011:18;;;;;82384:653;82238:799;;;;;:::o;80749:771::-;36473:1;37071:7;;:19;;37063:63;;;;-1:-1:-1;;;37063:63:0;;20452:2:1;37063:63:0;;;20434:21:1;20491:2;20471:18;;;20464:30;20530:33;20510:18;;;20503:61;20581:18;;37063:63:0;20250:355:1;37063:63:0;36473:1;37204:7;:18;80828:11:::1;::::0;::::1;;80823:43;;80848:18;;-1:-1:-1::0;;;80848:18:0::1;;;;;;;;;;;80823:43;80902:10;80881:17;80889:8:::0;80881:7:::1;:17::i;:::-;-1:-1:-1::0;;;;;80881:31:0::1;;80877:67;;80921:23;;-1:-1:-1::0;;;80921:23:0::1;;;;;;;;;;;80877:67;80959:27;::::0;;;:17:::1;:27;::::0;;;;:37;::::1;;80955:74;;;81005:24;;-1:-1:-1::0;;;81005:24:0::1;;;;;;;;;;;80955:74;81044:14;::::0;81040:63:::1;;81081:22;;-1:-1:-1::0;;;81081:22:0::1;;;;;;;;;;;81040:63;81181:15;:23:::0;81219:21;;81136:216:::1;::::0;-1:-1:-1;;;81136:216:0;;::::1;::::0;::::1;20870:25:1::0;;;;-1:-1:-1;;;;;81219:21:0;::::1;20911:18:1::0;;;20904:59;-1:-1:-1;;;81255:31:0;::::1;;;20979:18:1::0;;;20972:47;-1:-1:-1;;;81301:24:0;::::1;;;21064:18:1::0;;;21057:43;81219:21:0::1;21116:19:1::0;;;21109:44;81116:17:0::1;::::0;81136:11:::1;-1:-1:-1::0;;;;;81136:30:0::1;::::0;::::1;::::0;20842:19:1;;81136:216:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;81365:27;::::0;;;:17:::1;:27;::::0;;;;;;;:44;;-1:-1:-1;;81365:44:0::1;81405:4;81365:44;::::0;;81420:27;;;:16:::1;:27:::0;;;;;;:38;;;81476:36;;1674:25:1;;;81420:27:0;;-1:-1:-1;81365:27:0;;81476:36:::1;::::0;1647:18:1;81476:36:0::1;;;;;;;-1:-1:-1::0;;36429:1:0;37383:7;:22;80749:771::o;60423:185::-;60561:39;60578:4;60584:2;60588:7;60561:39;;;;;;;;;;;;:16;:39::i;85356:1502::-;85449:16;85467:7;85491:11;85487:70;;85544:1;85528:13;;:17;;;;:::i;:::-;85519:26;;85487:70;87962:1;85573:8;:26;:53;;;;85613:13;;85603:6;:23;;85573:53;85569:89;;;85635:23;;-1:-1:-1;;;85635:23:0;;;;;;;;;;;85569:89;85671:9;85691:15;85709:16;85719:5;85709:9;:16::i;:::-;85691:34;-1:-1:-1;85740:12:0;85736:82;;85777:16;;;85791:1;85777:16;;;;;;;;85795:10;:6;85804:1;85795:10;:::i;:::-;85769:37;;;;;;;;85736:82;85844:3;85834:7;:13;85830:59;;;-1:-1:-1;85874:3:0;85830:59;85901:24;85942:7;-1:-1:-1;;;;;85928:22:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85928:22:0;;85901:49;;85961:11;85997:13;86013:17;86021:8;86013:7;:17::i;:::-;85997:33;;86050:8;86046:12;;86041:596;86065:6;86060:1;:11;86041:596;;86128:1;86097:14;;;:11;:14;;;;;:19;-1:-1:-1;;;;;86097:19:0;:33;86093:101;;-1:-1:-1;86159:14:0;;;;:11;:14;;;;;:19;-1:-1:-1;;;;;86159:19:0;86093:101;86215:14;;;;:11;:14;;;;;:21;-1:-1:-1;;;86215:21:0;;;;86214:22;:40;;;;;86249:5;-1:-1:-1;;;;;86240:14:0;:5;-1:-1:-1;;;;;86240:14:0;;86214:40;86210:416;;;86290:1;86275:7;86283:3;86275:12;;;;;;;;:::i;:::-;;;;;;;;;;:16;86310:5;;;;:::i;:::-;;;;86347:7;86340:3;:14;86336:275;;;86394:16;86404:5;86394:9;:16::i;:::-;86383:7;:27;86379:213;;;86447:7;86456:10;:6;86465:1;86456:10;:::i;:::-;86439:28;;;;;;;;;;;86379:213;86553:7;86562:5;:1;86566;86562:5;:::i;86379:213::-;86073:3;;;;:::i;:::-;;;;86041:596;;;86649:31;86697:3;-1:-1:-1;;;;;86683:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86683:18:0;;86649:52;;86721:1;86717:5;;86712:83;86728:3;86724:1;:7;86712:83;;;86773:7;86781:1;86773:10;;;;;;;;:::i;:::-;;;;;;;86753:14;86768:1;86753:17;;;;;;;;:::i;:::-;;;;;;;;;;:30;86733:3;;;;:::i;:::-;;;;86712:83;;;86823:14;86839:10;:6;86848:1;86839:10;:::i;:::-;86815:35;;;;;;;;;;85356:1502;;;;;;;:::o;78482:107::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;78555:11:::1;:26:::0;;-1:-1:-1;;78555:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;78482:107::o;78597:170::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;78675:12:::1;78693:3;-1:-1:-1::0;;;;;78693:8:0::1;78709:21;78693:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78674:61;;;78754:7;78746:16;;;::::0;::::1;57631:124:::0;57695:7;57722:20;57734:7;57722:11;:20::i;:::-;:25;;57631:124;-1:-1:-1;;57631:124:0:o;77989:141::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;78088:34;;:15:::1;:34:::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;;-1:-1:-1::0;;;78088:34:0::1;-1:-1:-1::0;;;;78088:34:0::1;::::0;;::::1;-1:-1:-1::0;;;78088:34:0::1;-1:-1:-1::0;;78088:34:0;;;-1:-1:-1;;;;;78088:34:0;;::::1;::::0;;;;::::1;::::0;;;::::1;;::::0;;77989:141::o;77885:96::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;77954:6:::1;:19:::0;;-1:-1:-1;;;;;;77954:19:0::1;-1:-1:-1::0;;;;;77954:19:0;;;::::1;::::0;;;::::1;::::0;;77885:96::o;54806:206::-;54870:7;-1:-1:-1;;;;;54894:19:0;;54890:60;;54922:28;;-1:-1:-1;;;54922:28:0;;;;;;;;;;;54890:60;-1:-1:-1;;;;;;54976:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;54976:27:0;;54806:206::o;73611:103::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;73676:30:::1;73703:1;73676:18;:30::i;:::-;73611:103::o:0;78254:220::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;78338:14:::1;::::0;:19;78330:28:::1;;;::::0;::::1;;78434:14;:32:::0;78254:220::o;77670:107::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;77744:14:::1;:25:::0;;-1:-1:-1;;77744:25:0::1;-1:-1:-1::0;;;;;77744:25:0;;;::::1;::::0;;;::::1;::::0;;77670:107::o;77785:92::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;77852:5:::1;:17:::0;77785:92::o;57991:104::-;58047:13;58080:7;58073:14;;;;;:::i;79191:1351::-;79347:13;;87962:1;53940:12;53730:7;53924:13;79321:23;;;;53924:28;;-1:-1:-1;;53924:46:0;79321:23;;;;:::i;:::-;:39;79317:70;;;79369:18;;-1:-1:-1;;;79369:18:0;;;;;;;;;;;79317:70;79420:11;-1:-1:-1;;;;;79402:29:0;:15;:29;79398:62;;;79440:20;;-1:-1:-1;;;79440:20:0;;;;;;;;;;;79398:62;79495:14;;-1:-1:-1;;;;;79495:14:0;79477:15;:32;79473:784;;;79777:12;79767:22;;:7;:22;;;79763:63;;;79798:28;;-1:-1:-1;;;79798:28:0;;;;;;;;;;;79763:63;79843:15;79888:10;;79871:28;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;79871:28:0;;;;;;;;;79861:39;;79871:28;79861:39;;;;79919:22;;;;:13;:22;;;;;;79861:39;;-1:-1:-1;79919:22:0;;79915:57;;;79950:22;;-1:-1:-1;;;79950:22:0;;;;;;;;;;;79915:57;79987:22;;;;:13;:22;;;;;:29;;-1:-1:-1;;79987:29:0;80012:4;79987:29;;;79473:784;;;80196:12;80158:50;;80186:7;80158:35;;:25;80172:10;80158:13;:25::i;:::-;:35;;;;:::i;:::-;:50;80154:91;;;80217:28;;-1:-1:-1;;;80217:28:0;;;;;;;;;;;80154:91;80274:63;80287:10;80299:12;80313:11;80326:10;;80274:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80274:12:0;;-1:-1:-1;;;80274:63:0:i;:::-;80269:97;;80346:20;;-1:-1:-1;;;80346:20:0;;;;;;;;;;;80269:97;80379:18;80408:7;80400:15;;:5;;:15;;;;:::i;:::-;80379:36;;80442:10;80430:9;:22;80426:57;;;80461:22;;-1:-1:-1;;;80461:22:0;;;;;;;;;;;80426:57;80504:30;80514:10;80526:7;80504:30;;:9;:30::i;:::-;79306:1236;79191:1351;;;;;:::o;78138:108::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;78217:21:::1;:11;78231:7:::0;;78217:21:::1;:::i;59601:279::-:0;-1:-1:-1;;;;;59692:24:0;;49837:10;59692:24;59688:54;;;59725:17;;-1:-1:-1;;;59725:17:0;;;;;;;;;;;59688:54;49837:10;59755:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;59755:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;59755:53:0;;;;;;;;;;59824:48;;540:41:1;;;59755:42:0;;49837:10;59824:48;;513:18:1;59824:48:0;;;;;;;59601:279;;:::o;60679:369::-;60846:28;60856:4;60862:2;60866:7;60846:9;:28::i;:::-;-1:-1:-1;;;;;60889:13:0;;3558:19;:23;;60889:76;;;;;60909:56;60940:4;60946:2;60950:7;60959:5;60909:30;:56::i;:::-;60908:57;60889:76;60885:156;;;60989:40;;-1:-1:-1;;;60989:40:0;;;;;;;;;;;60885:156;60679:369;;;;:::o;84299:474::-;84373:13;84401:17;84409:8;84401:7;:17::i;:::-;84396:60;;84427:29;;-1:-1:-1;;;84427:29:0;;;;;;;;;;;84396:60;84481:28;;;;:18;:28;;;;;:31;84477:292;;84541:11;84534:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84299:474;;;:::o;84477:292::-;84594:12;84609:28;;;:18;:28;;;;;84638:25;84628:8;84638:15;:25::i;:::-;84609:55;;;;;;;:::i;:::-;;;84721:34;;-1:-1:-1;;;84721:34:0;;;;;1674:25:1;;;84609:55:0;;-1:-1:-1;84721:11:0;;:28;;1647:18:1;;84721:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;84721:34:0;;;;;;;;;;;;:::i;:::-;84693:63;;;;;;;;:::i;:::-;;;;;;;;;;;;;84679:78;;;84299:474;;;:::o;84477:292::-;84299:474;;;:::o;84884:119::-;84946:7;84973:22;84987:7;84973:13;:22::i;83045:1246::-;83247:14;;83243:63;;83284:22;;-1:-1:-1;;;83284:22:0;;;;;;;;;;;83243:63;83341:19;:26;83321:9;:16;:46;83317:86;;83376:27;;-1:-1:-1;;;83376:27:0;;;;;;;;;;;83317:86;83438:8;:15;83418:9;:16;:35;83414:75;;83462:27;;-1:-1:-1;;;83462:27:0;;;;;;;;;;;83414:75;83524:6;:13;83504:9;:16;:33;83500:73;;83546:27;;-1:-1:-1;;;83546:27:0;;;;;;;;;;;83500:73;83608:8;:15;83588:9;:16;:35;83584:75;;83632:27;;-1:-1:-1;;;83632:27:0;;;;;;;;;;;83584:75;83709:16;;83672:9;;83736:548;83752:6;83748:1;:10;83736:548;;;83784:18;:32;83803:9;83813:1;83803:12;;;;;;;;:::i;:::-;;;;;;;83784:32;;;;;;;;;;;83817:1;83784:35;;;;;;;:::i;:::-;;;83780:493;;84176:81;84183:9;84193:1;84183:12;;;;;;;;:::i;:::-;;;;;;;84197:19;84217:1;84197:22;;;;;;;;:::i;:::-;;;;;;;84221:8;84230:1;84221:11;;;;;;;;:::i;:::-;;;;;;;84234:6;84241:1;84234:9;;;;;;;;:::i;:::-;;;;;;;84245:8;84254:1;84245:11;;;;;;;;:::i;:::-;;;;;;;84176:6;:81::i;:::-;83760:3;;;;:::i;:::-;;;;83736:548;;;83232:1059;;83045:1246;;;;;:::o;86866:996::-;86949:16;86967:7;86991:11;86987:70;;87044:1;87028:13;;:17;;;;:::i;:::-;87019:26;;86987:70;87962:1;87073:8;:26;:53;;;;87113:13;;87103:6;:23;;87073:53;87069:89;;;87135:23;;-1:-1:-1;;;87135:23:0;;;;;;;;;;;87069:89;87218:18;;;87232:3;87218:18;;;;;;;;;87171:9;;;;87218:18;;;;;;;;;;;-1:-1:-1;87218:18:0;87191:45;;87247:11;87292:8;87288:12;;87283:366;87307:6;87302:1;:11;87283:366;;87339:20;;;;:17;:20;;;;;:29;;;;-1:-1:-1;;;;;87339:29:0;:34;;;;:67;;-1:-1:-1;87377:21:0;;;;:18;:21;;;;;:24;:29;87339:67;87335:303;;;87495:1;87480:7;87488:3;87480:12;;;;;;;;:::i;:::-;;;;;;;;;;:16;87515:5;;;;:::i;:::-;;;;87545:3;87552;87545:10;87541:82;;;87588:7;87597:5;:1;87601;87597:5;:::i;:::-;87580:23;;;;;;;;;87541:82;87315:3;;;;:::i;:::-;;;;87283:366;;;87661:31;87709:3;-1:-1:-1;;;;;87695:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87695:18:0;;87661:52;;87733:1;87729:5;;87724:83;87740:3;87736:1;:7;87724:83;;;87785:7;87793:1;87785:10;;;;;;;;:::i;:::-;;;;;;;87765:14;87780:1;87765:17;;;;;;;;:::i;:::-;;;;;;;;;;:30;87745:3;;;;:::i;:::-;;;;87724:83;;;87827:14;87843:10;:6;87852:1;87843:10;:::i;:::-;87819:35;;;;;;;;86866:996;;;;;;:::o;85011:337::-;-1:-1:-1;;;;;;;;;;;;;;;;;85109:17:0;85117:8;85109:7;:17::i;:::-;85104:68;;85135:37;;-1:-1:-1;;;85135:37:0;;;;;;;;;;;85104:68;-1:-1:-1;85192:148:0;;;;;;;;-1:-1:-1;85230:27:0;;;:17;:27;;;;;;;:37;;;;85192:148;;;;85292:27;;;;;;85230:37;85292:36;;;-1:-1:-1;;;;;85292:36:0;85192:148;;;;;85011:337::o;73869:201::-;73033:6;;-1:-1:-1;;;;;73033:6:0;49837:10;73180:23;73172:68;;;;-1:-1:-1;;;73172:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;73958:22:0;::::1;73950:73;;;::::0;-1:-1:-1;;;73950:73:0;;23743:2:1;73950:73:0::1;::::0;::::1;23725:21:1::0;23782:2;23762:18;;;23755:30;23821:34;23801:18;;;23794:62;-1:-1:-1;;;23872:18:1;;;23865:36;23918:19;;73950:73:0::1;23541:402:1::0;73950:73:0::1;74034:28;74053:8;74034:18;:28::i;:::-;73869:201:::0;:::o;61303:187::-;61360:4;61403:7;87962:1;61384:26;;:53;;;;;61424:13;;61414:7;:23;61384:53;:98;;;;-1:-1:-1;;61455:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;61455:27:0;;;;61454:28;;61303:187::o;68914:196::-;69029:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;69029:29:0;-1:-1:-1;;;;;69029:29:0;;;;;;;;;69074:28;;69029:24;;69074:28;;;;;;;68914:196;;;:::o;81528:702::-;81634:15;81652:27;;;:16;:27;;;;;;;;;81694:26;;;:17;:26;;;;;;:36;;;:80;;;;-1:-1:-1;81734:26:0;;;;:17;:26;;;;;:35;;;;-1:-1:-1;;;;;81734:35:0;:40;81694:80;81690:533;;;81791:19;81869:14;;81851;;81831:17;;:34;;;;:::i;:::-;81813:11;81825:1;81813:14;;;;;;;;:::i;:::-;;;;;;;:53;;;;:::i;:::-;:70;;;;:::i;:::-;81791:92;;81898:16;81917:24;81929:11;81917;:24::i;:::-;81898:43;;81956:17;81976:27;81988:14;;81976:11;:27::i;:::-;82020:23;;;;:10;:23;;;;;;;;:35;;;82070:26;;;:17;:26;;;;;:54;;-1:-1:-1;;82070:54:0;;-1:-1:-1;;;;;82070:54:0;;;;;;82139:14;:17;;82020:35;;-1:-1:-1;82139:14:0;:17;;;:::i;:::-;;;;;;82193:7;82178:33;82202:8;82178:33;;;;1674:25:1;;1662:2;1647:18;;1528:177;82178:33:0;;;;;;;;81776:447;;;81623:607;81528:702;;:::o;64416:2112::-;64531:35;64569:20;64581:7;64569:11;:20::i;:::-;64644:18;;64531:58;;-1:-1:-1;64602:22:0;;-1:-1:-1;;;;;64628:34:0;49837:10;-1:-1:-1;;;;;64628:34:0;;:101;;;-1:-1:-1;64696:18:0;;64679:50;;49837:10;59951:164;:::i;64679:50::-;64628:154;;;-1:-1:-1;49837:10:0;64746:20;64758:7;64746:11;:20::i;:::-;-1:-1:-1;;;;;64746:36:0;;64628:154;64602:181;;64801:17;64796:66;;64827:35;;-1:-1:-1;;;64827:35:0;;;;;;;;;;;64796:66;64899:4;-1:-1:-1;;;;;64877:26:0;:13;:18;;;-1:-1:-1;;;;;64877:26:0;;64873:67;;64912:28;;-1:-1:-1;;;64912:28:0;;;;;;;;;;;64873:67;-1:-1:-1;;;;;64955:16:0;;64951:52;;64980:23;;-1:-1:-1;;;64980:23:0;;;;;;;;;;;64951:52;65124:49;65141:1;65145:7;65154:13;:18;;;65124:8;:49::i;:::-;-1:-1:-1;;;;;65469:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;65469:31:0;;;-1:-1:-1;;;;;65469:31:0;;;-1:-1:-1;;65469:31:0;;;;;;;65515:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;65515:29:0;;;;;;;;;;;65561:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;65606:61:0;;;;-1:-1:-1;;;65651:15:0;65606:61;;;;;;;;;;;65941:11;;;65971:24;;;;;:29;65941:11;;65971:29;65967:445;;66196:13;;66182:11;:27;66178:219;;;66266:18;;;66234:24;;;:11;:24;;;;;;;;:50;;66349:28;;;;-1:-1:-1;;;;;66307:70:0;-1:-1:-1;;;66307:70:0;-1:-1:-1;;;;;;66307:70:0;;;-1:-1:-1;;;;;66234:50:0;;;66307:70;;;;;;;66178:219;65444:979;66459:7;66455:2;-1:-1:-1;;;;;66440:27:0;66449:4;-1:-1:-1;;;;;66440:27:0;;;;;;;;;;;66478:42;66499:4;66505:2;66509:7;66518:1;66478:20;:42::i;:::-;64520:2008;;64416:2112;;;:::o;61498:104::-;61567:27;61577:2;61581:8;61567:27;;;;;;;;;;;;:9;:27::i;21523:190::-;21648:4;21701;21672:25;21685:5;21692:4;21672:12;:25::i;:::-;:33;;21523:190;-1:-1:-1;;;;21523:190:0:o;89123:267::-;89187:27;;;;:17;:27;;;;;:70;;-1:-1:-1;;89187:70:0;-1:-1:-1;;;89241:15:0;-1:-1:-1;;;;;89187:70:0;;;;;76305:6;89343:15;:13;:15::i;:::-;:38;;;;:::i;:::-;89323:58;;76251:7;89323:58;:::i;:::-;89268:27;;;;:17;:27;;;;;;:114;;-1:-1:-1;;;;;89268:114:0;;;;-1:-1:-1;;;89268:114:0;-1:-1:-1;;;;89268:114:0;;;;;;;;;89123:267::o;56461:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;56571:7:0;;87962:1;56620:23;;:47;;;;;56654:13;;56647:4;:20;56620:47;56616:886;;;56688:31;56722:17;;;:11;:17;;;;;;;;;56688:51;;;;;;;;;-1:-1:-1;;;;;56688:51:0;;;;-1:-1:-1;;;56688:51:0;;-1:-1:-1;;;;;56688:51:0;;;;;;;;-1:-1:-1;;;56688:51:0;;;;;;;;;;;;;;56758:729;;56808:14;;-1:-1:-1;;;;;56808:28:0;;56804:101;;56872:9;56461:1108;-1:-1:-1;;;56461:1108:0:o;56804:101::-;-1:-1:-1;;;57247:6:0;57292:17;;;;:11;:17;;;;;;;;;57280:29;;;;;;;;;-1:-1:-1;;;;;57280:29:0;;;;;-1:-1:-1;;;57280:29:0;;-1:-1:-1;;;;;57280:29:0;;;;;;;;-1:-1:-1;;;57280:29:0;;;;;;;;;;;;;57340:28;57336:109;;57408:9;56461:1108;-1:-1:-1;;;56461:1108:0:o;57336:109::-;57207:261;;;56669:833;56616:886;57530:31;;-1:-1:-1;;;57530:31:0;;;;;;;;;;;74230:191;74323:6;;;-1:-1:-1;;;;;74340:17:0;;;-1:-1:-1;;;;;;74340:17:0;;;;;;;74373:40;;74323:6;;;74340:17;74323:6;;74373:40;;74304:16;;74373:40;74293:128;74230:191;:::o;55094:207::-;55155:7;-1:-1:-1;;;;;55179:19:0;;55175:59;;55207:27;;-1:-1:-1;;;55207:27:0;;;;;;;;;;;55175:59;-1:-1:-1;;;;;;55260:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;55260:32:0;;-1:-1:-1;;;;;55260:32:0;;55094:207::o;78775:408::-;78990:52;;;-1:-1:-1;;24398:2:1;24394:15;;;24390:53;78990:52:0;;;24378:66:1;-1:-1:-1;;;;;;24500:3:1;24478:16;;;24474:43;24460:12;;;24453:65;-1:-1:-1;;;;;;24574:3:1;24552:16;;;24548:51;24534:12;;;24527:73;78945:4:0;;;;24616:12:1;78990:52:0;;;;;;;;;;;;78980:63;;;;;;78962:81;;79054:22;79079:32;:7;47965:58;;26147:66:1;47965:58:0;;;26135:79:1;26230:12;;;26223:28;;;47832:7:0;;26267:12:1;;47965:58:0;;;;;;;;;;;;47955:69;;;;;;47948:76;;47763:269;;;;79079:32;79169:6;;79054:57;;-1:-1:-1;;;;;;79169:6:0;79131:34;79054:57;79154:10;79131:22;:34::i;:::-;-1:-1:-1;;;;;79131:44:0;;79124:51;;;;78775:408;;;;;;;:::o;69602:667::-;69786:72;;-1:-1:-1;;;69786:72:0;;69765:4;;-1:-1:-1;;;;;69786:36:0;;;;;:72;;49837:10;;69837:4;;69843:7;;69852:5;;69786:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69786:72:0;;;;;;;;-1:-1:-1;;69786:72:0;;;;;;;;;;;;:::i;:::-;;;69782:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70020:13:0;;70016:235;;70066:40;;-1:-1:-1;;;70066:40:0;;;;;;;;;;;70016:235;70209:6;70203:13;70194:6;70190:2;70186:15;70179:38;69782:480;-1:-1:-1;;;;;;69905:55:0;-1:-1:-1;;;69905:55:0;;-1:-1:-1;69898:62:0;;88213:463;88279:7;88336:27;;;:17;:27;;;;;:44;88279:7;;88318:62;;-1:-1:-1;;;88336:44:0;;-1:-1:-1;;;;;88336:44:0;88318:15;:62;:::i;:::-;88391:13;88418:27;;;:17;:27;;;;;:45;88299:81;;-1:-1:-1;88391:13:0;88407:56;;-1:-1:-1;;;88418:45:0;;-1:-1:-1;;;;;88418:45:0;88299:81;88407:56;:::i;:::-;88391:72;;76349:1;88478:5;:20;88474:76;;88523:15;88537:1;76349;88523:15;:::i;:::-;88515:23;;88474:76;88568:28;;;;:18;:28;;;;;88597:5;88568:35;;;;;;;:::i;:::-;;;88562:82;;88625:7;;;;:::i;:::-;;;;88562:82;;;88663:5;88213:463;-1:-1:-1;;;88213:463:0:o;87979:226::-;88038:7;88062:18;;;:10;:18;;;;;;88058:140;;88109:10;:6;88118:1;88109:10;:::i;88058:140::-;-1:-1:-1;88168:18:0;;;;:10;:18;;;;;;;87979:226::o;88688:427::-;-1:-1:-1;;;;;89010:18:0;;;;;;:38;;-1:-1:-1;;;;;;89032:16:0;;;;89010:38;89006:102;;;89065:31;89083:12;89065:17;:31::i;61965:163::-;62088:32;62094:2;62098:8;62108:5;62115:4;62088:5;:32::i;22074:675::-;22157:7;22200:4;22157:7;22215:497;22239:5;:12;22235:1;:16;22215:497;;;22273:20;22296:5;22302:1;22296:8;;;;;;;;:::i;:::-;;;;;;;22273:31;;22339:12;22323;:28;22319:382;;22825:13;22875:15;;;22911:4;22904:15;;;22958:4;22942:21;;22451:57;;22319:382;;;22825:13;22875:15;;;22911:4;22904:15;;;22958:4;22942:21;;22628:57;;22319:382;-1:-1:-1;22253:3:0;;;;:::i;:::-;;;;22215:497;;;-1:-1:-1;22729:12:0;22074:675;-1:-1:-1;;;22074:675:0:o;89398:165::-;89446:7;89518:16;89533:1;89518:12;:16;:::i;:::-;89491:62;;;89508:27;;89491:62;;;25810:19:1;89537:15:0;25845:12:1;;;25838:28;25882:12;;89491:62:0;;;;;;;;;;;;89481:73;;;;;;89473:82;;89466:89;;89398:165;:::o;43961:231::-;44039:7;44060:17;44079:18;44101:27;44112:4;44118:9;44101:10;:27::i;:::-;44059:69;;;;44139:18;44151:5;44139:11;:18::i;62387:1775::-;62526:20;62549:13;-1:-1:-1;;;;;62577:16:0;;62573:48;;62602:19;;-1:-1:-1;;;62602:19:0;;;;;;;;;;;62573:48;62636:13;62632:44;;62658:18;;-1:-1:-1;;;62658:18:0;;;;;;;;;;;62632:44;-1:-1:-1;;;;;63027:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;63086:49:0;;-1:-1:-1;;;;;63027:44:0;;;;;;;63086:49;;;-1:-1:-1;;;;;63027:44:0;;;;;;63086:49;;;;;;;;;;;;;;;;63152:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;63202:66:0;;;;-1:-1:-1;;;63252:15:0;63202:66;;;;;;;;;;63152:25;63349:23;;;63393:4;:23;;;;-1:-1:-1;;;;;;63401:13:0;;3558:19;:23;;63401:15;63389:641;;;63437:314;63468:38;;63493:12;;-1:-1:-1;;;;;63468:38:0;;;63485:1;;63468:38;;63485:1;;63468:38;63534:69;63573:1;63577:2;63581:14;;;;;;63597:5;63534:30;:69::i;:::-;63529:174;;63639:40;;-1:-1:-1;;;63639:40:0;;;;;;;;;;;63529:174;63746:3;63730:12;:19;;63437:314;;63832:12;63815:13;;:29;63811:43;;63846:8;;;63811:43;63389:641;;;63895:120;63926:40;;63951:14;;;;;-1:-1:-1;;;;;63926:40:0;;;63943:1;;63926:40;;63943:1;;63926:40;64010:3;63994:12;:19;;63895:120;;63389:641;-1:-1:-1;64044:13:0;:28;;;64094:60;;64127:2;64131:12;64145:8;64094:20;:60::i;41851:1308::-;41932:7;41941:12;42166:9;:16;42186:2;42166:22;42162:990;;;42462:4;42447:20;;42441:27;42512:4;42497:20;;42491:27;42570:4;42555:20;;42549:27;42205:9;42541:36;42613:25;42624:4;42541:36;42441:27;42491;42613:10;:25::i;42162:990::-;42660:9;:16;42680:2;42660:22;42656:496;;;42935:4;42920:20;;42914:27;42986:4;42971:20;;42965:27;43028:23;43039:4;42914:27;42965;43028:10;:23::i;:::-;43021:30;;;;;;;;42656:496;-1:-1:-1;43100:1:0;;-1:-1:-1;43104:35:0;43084:56;;40122:643;40200:20;40191:5;:29;;;;;;;;:::i;:::-;;40187:571;;;40122:643;:::o;40187:571::-;40298:29;40289:5;:38;;;;;;;;:::i;:::-;;40285:473;;;40344:34;;-1:-1:-1;;;40344:34:0;;26624:2:1;40344:34:0;;;26606:21:1;26663:2;26643:18;;;26636:30;26702:26;26682:18;;;26675:54;26746:18;;40344:34:0;26422:348:1;40285:473:0;40409:35;40400:5;:44;;;;;;;;:::i;:::-;;40396:362;;;40461:41;;-1:-1:-1;;;40461:41:0;;26977:2:1;40461:41:0;;;26959:21:1;27016:2;26996:18;;;26989:30;27055:33;27035:18;;;27028:61;27106:18;;40461:41:0;26775:355:1;40396:362:0;40533:30;40524:5;:39;;;;;;;;:::i;:::-;;40520:238;;;40580:44;;-1:-1:-1;;;40580:44:0;;27337:2:1;40580:44:0;;;27319:21:1;27376:2;27356:18;;;27349:30;27415:34;27395:18;;;27388:62;-1:-1:-1;;;27466:18:1;;;27459:32;27508:19;;40580:44:0;27135:398:1;40520:238:0;40655:30;40646:5;:39;;;;;;;;:::i;:::-;;40642:116;;;40702:44;;-1:-1:-1;;;40702:44:0;;27740:2:1;40702:44:0;;;27722:21:1;27779:2;27759:18;;;27752:30;27818:34;27798:18;;;27791:62;-1:-1:-1;;;27869:18:1;;;27862:32;27911:19;;40702:44:0;27538:398:1;45413:1632:0;45544:7;;46478:66;46465:79;;46461:163;;;-1:-1:-1;46577:1:0;;-1:-1:-1;46581:30:0;46561:51;;46461:163;46638:1;:7;;46643:2;46638:7;;:18;;;;;46649:1;:7;;46654:2;46649:7;;46638:18;46634:102;;;-1:-1:-1;46689:1:0;;-1:-1:-1;46693:30:0;46673:51;;46634:102;46850:24;;;46833:14;46850:24;;;;;;;;;28168:25:1;;;28241:4;28229:17;;28209:18;;;28202:45;;;;28263:18;;;28256:34;;;28306:18;;;28299:34;;;46850:24:0;;28140:19:1;;46850:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;46850:24:0;;-1:-1:-1;;46850:24:0;;;-1:-1:-1;;;;;;;46889:20:0;;46885:103;;46942:1;46946:29;46926:50;;;;;;;46885:103;47008:6;-1:-1:-1;47016:20:0;;-1:-1:-1;45413:1632:0;;;;;;;;:::o;44455:344::-;44569:7;;-1:-1:-1;;;;;44615:80:0;;44569:7;44722:25;44738:3;44723:18;;;44745:2;44722:25;:::i;:::-;44706:42;;44766:25;44777:4;44783:1;44786;44789;44766:10;:25::i;:::-;44759:32;;;;;;44455:344;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1918:131::-;-1:-1:-1;;;;;1993:31:1;;1983:42;;1973:70;;2039:1;2036;2029:12;2054:315;2122:6;2130;2183:2;2171:9;2162:7;2158:23;2154:32;2151:52;;;2199:1;2196;2189:12;2151:52;2238:9;2225:23;2257:31;2282:5;2257:31;:::i;:::-;2307:5;2359:2;2344:18;;;;2331:32;;-1:-1:-1;;;2054:315:1:o;2374:127::-;2435:10;2430:3;2426:20;2423:1;2416:31;2466:4;2463:1;2456:15;2490:4;2487:1;2480:15;2506:252;2578:2;2572:9;2620:3;2608:16;;-1:-1:-1;;;;;2639:34:1;;2675:22;;;2636:62;2633:88;;;2701:18;;:::i;:::-;2737:2;2730:22;2506:252;:::o;2763:275::-;2834:2;2828:9;2899:2;2880:13;;-1:-1:-1;;2876:27:1;2864:40;;-1:-1:-1;;;;;2919:34:1;;2955:22;;;2916:62;2913:88;;;2981:18;;:::i;:::-;3017:2;3010:22;2763:275;;-1:-1:-1;2763:275:1:o;3043:183::-;3103:4;-1:-1:-1;;;;;3128:6:1;3125:30;3122:56;;;3158:18;;:::i;:::-;-1:-1:-1;3203:1:1;3199:14;3215:4;3195:25;;3043:183::o;3231:662::-;3285:5;3338:3;3331:4;3323:6;3319:17;3315:27;3305:55;;3356:1;3353;3346:12;3305:55;3392:6;3379:20;3418:4;3442:60;3458:43;3498:2;3458:43;:::i;:::-;3442:60;:::i;:::-;3536:15;;;3622:1;3618:10;;;;3606:23;;3602:32;;;3567:12;;;;3646:15;;;3643:35;;;3674:1;3671;3664:12;3643:35;3710:2;3702:6;3698:15;3722:142;3738:6;3733:3;3730:15;3722:142;;;3804:17;;3792:30;;3842:12;;;;3755;;3722:142;;;-1:-1:-1;3882:5:1;3231:662;-1:-1:-1;;;;;;3231:662:1:o;3898:416::-;3991:6;3999;4052:2;4040:9;4031:7;4027:23;4023:32;4020:52;;;4068:1;4065;4058:12;4020:52;4104:9;4091:23;4081:33;;4165:2;4154:9;4150:18;4137:32;-1:-1:-1;;;;;4184:6:1;4181:30;4178:50;;;4224:1;4221;4214:12;4178:50;4247:61;4300:7;4291:6;4280:9;4276:22;4247:61;:::i;:::-;4237:71;;;3898:416;;;;;:::o;4319:456::-;4396:6;4404;4412;4465:2;4453:9;4444:7;4440:23;4436:32;4433:52;;;4481:1;4478;4471:12;4433:52;4520:9;4507:23;4539:31;4564:5;4539:31;:::i;:::-;4589:5;-1:-1:-1;4646:2:1;4631:18;;4618:32;4659:33;4618:32;4659:33;:::i;:::-;4319:456;;4711:7;;-1:-1:-1;;;4765:2:1;4750:18;;;;4737:32;;4319:456::o;4985:315::-;5053:6;5061;5114:2;5102:9;5093:7;5089:23;5085:32;5082:52;;;5130:1;5127;5120:12;5082:52;5166:9;5153:23;5143:33;;5226:2;5215:9;5211:18;5198:32;5239:31;5264:5;5239:31;:::i;:::-;5289:5;5279:15;;;4985:315;;;;;:::o;5305:485::-;5355:5;5408:3;5401:4;5393:6;5389:17;5385:27;5375:55;;5426:1;5423;5416:12;5375:55;5450:22;;:::i;:::-;5494:3;5532;5524:6;5520:16;5559:3;5551:6;5548:15;5545:35;;;5576:1;5573;5566:12;5545:35;5600:6;5615:146;5631:6;5626:3;5623:15;5615:146;;;5699:17;;5687:30;;5746:4;5737:14;;;;5648;5615:146;;;-1:-1:-1;5779:5:1;;5305:485;-1:-1:-1;;;;;5305:485:1:o;6462:668::-;6605:6;6613;6621;6629;6637;6690:3;6678:9;6669:7;6665:23;6661:33;6658:53;;;6707:1;6704;6697:12;6658:53;6743:9;6730:23;6720:33;;6772:53;6817:7;6812:2;6801:9;6797:18;6772:53;:::i;:::-;6762:63;;6872:3;6861:9;6857:19;6844:33;6834:43;;6924:3;6913:9;6909:19;6896:33;6886:43;;6980:3;6969:9;6965:19;6952:33;-1:-1:-1;;;;;7000:6:1;6997:30;6994:50;;;7040:1;7037;7030:12;6994:50;7063:61;7116:7;7107:6;7096:9;7092:22;7063:61;:::i;:::-;7053:71;;;6462:668;;;;;;;;:::o;7376:383::-;7453:6;7461;7469;7522:2;7510:9;7501:7;7497:23;7493:32;7490:52;;;7538:1;7535;7528:12;7490:52;7577:9;7564:23;7596:31;7621:5;7596:31;:::i;:::-;7646:5;7698:2;7683:18;;7670:32;;-1:-1:-1;7749:2:1;7734:18;;;7721:32;;7376:383;-1:-1:-1;;;7376:383:1:o;7764:705::-;7982:2;7994:21;;;8064:13;;7967:18;;;8086:22;;;7934:4;;8161;;8139:2;8124:18;;;8188:15;;;7934:4;8231:169;8245:6;8242:1;8239:13;8231:169;;;8306:13;;8294:26;;8340:12;;;;8375:15;;;;8267:1;8260:9;8231:169;;;-1:-1:-1;;;8436:18:1;;8429:34;;;;8417:3;7764:705;-1:-1:-1;;7764:705:1:o;8474:160::-;8539:20;;8595:13;;8588:21;8578:32;;8568:60;;8624:1;8621;8614:12;8639:180;8695:6;8748:2;8736:9;8727:7;8723:23;8719:32;8716:52;;;8764:1;8761;8754:12;8716:52;8787:26;8803:9;8787:26;:::i;8824:255::-;8891:6;8944:2;8932:9;8923:7;8919:23;8915:32;8912:52;;;8960:1;8957;8950:12;8912:52;8999:9;8986:23;9018:31;9043:5;9018:31;:::i;9084:171::-;9151:20;;-1:-1:-1;;;;;9200:30:1;;9190:41;;9180:69;;9245:1;9242;9235:12;9260:163;9327:20;;9387:10;9376:22;;9366:33;;9356:61;;9413:1;9410;9403:12;9428:593;9520:6;9573:3;9561:9;9552:7;9548:23;9544:33;9541:53;;;9590:1;9587;9580:12;9541:53;9616:22;;:::i;:::-;9674:9;9661:23;9654:5;9647:38;9717:37;9750:2;9739:9;9735:18;9717:37;:::i;:::-;9712:2;9705:5;9701:14;9694:61;9787:37;9820:2;9809:9;9805:18;9787:37;:::i;:::-;9782:2;9775:5;9771:14;9764:61;9877:2;9866:9;9862:18;9849:32;9925:6;9916:7;9912:20;9903:7;9900:33;9890:61;;9947:1;9944;9937:12;9890:61;9978:2;9967:14;;9960:31;9971:5;9428:593;-1:-1:-1;;;9428:593:1:o;10463:184::-;10521:6;10574:2;10562:9;10553:7;10549:23;10545:32;10542:52;;;10590:1;10587;10580:12;10542:52;10613:28;10631:9;10613:28;:::i;10652:347::-;10703:8;10713:6;10767:3;10760:4;10752:6;10748:17;10744:27;10734:55;;10785:1;10782;10775:12;10734:55;-1:-1:-1;10808:20:1;;-1:-1:-1;;;;;10840:30:1;;10837:50;;;10883:1;10880;10873:12;10837:50;10920:4;10912:6;10908:17;10896:29;;10972:3;10965:4;10956:6;10948;10944:19;10940:30;10937:39;10934:59;;;10989:1;10986;10979:12;11004:626;11098:6;11106;11114;11122;11130;11183:3;11171:9;11162:7;11158:23;11154:33;11151:53;;;11200:1;11197;11190:12;11151:53;11223:28;11241:9;11223:28;:::i;:::-;11213:38;;11270:37;11303:2;11292:9;11288:18;11270:37;:::i;:::-;11260:47;;11326:37;11359:2;11348:9;11344:18;11326:37;:::i;:::-;11316:47;;11414:2;11403:9;11399:18;11386:32;-1:-1:-1;;;;;11433:6:1;11430:30;11427:50;;;11473:1;11470;11463:12;11427:50;11512:58;11562:7;11553:6;11542:9;11538:22;11512:58;:::i;:::-;11004:626;;;;-1:-1:-1;11004:626:1;;-1:-1:-1;11589:8:1;;11486:84;11004:626;-1:-1:-1;;;11004:626:1:o;11635:410::-;11706:6;11714;11767:2;11755:9;11746:7;11742:23;11738:32;11735:52;;;11783:1;11780;11773:12;11735:52;11823:9;11810:23;-1:-1:-1;;;;;11848:6:1;11845:30;11842:50;;;11888:1;11885;11878:12;11842:50;11927:58;11977:7;11968:6;11957:9;11953:22;11927:58;:::i;:::-;12004:8;;11901:84;;-1:-1:-1;11635:410:1;-1:-1:-1;;;;11635:410:1:o;12050:315::-;12115:6;12123;12176:2;12164:9;12155:7;12151:23;12147:32;12144:52;;;12192:1;12189;12182:12;12144:52;12231:9;12218:23;12250:31;12275:5;12250:31;:::i;:::-;12300:5;-1:-1:-1;12324:35:1;12355:2;12340:18;;12324:35;:::i;:::-;12314:45;;12050:315;;;;;:::o;12370:186::-;12418:4;-1:-1:-1;;;;;12443:6:1;12440:30;12437:56;;;12473:18;;:::i;:::-;-1:-1:-1;12539:2:1;12518:15;-1:-1:-1;;12514:29:1;12545:4;12510:40;;12370:186::o;12561:1016::-;12656:6;12664;12672;12680;12733:3;12721:9;12712:7;12708:23;12704:33;12701:53;;;12750:1;12747;12740:12;12701:53;12789:9;12776:23;12808:31;12833:5;12808:31;:::i;:::-;12858:5;-1:-1:-1;12915:2:1;12900:18;;12887:32;12928:33;12887:32;12928:33;:::i;:::-;12980:7;-1:-1:-1;13034:2:1;13019:18;;13006:32;;-1:-1:-1;13089:2:1;13074:18;;13061:32;-1:-1:-1;;;;;13105:30:1;;13102:50;;;13148:1;13145;13138:12;13102:50;13171:22;;13224:4;13216:13;;13212:27;-1:-1:-1;13202:55:1;;13253:1;13250;13243:12;13202:55;13289:2;13276:16;13314:48;13330:31;13358:2;13330:31;:::i;13314:48::-;13385:2;13378:5;13371:17;13425:7;13420:2;13415;13411;13407:11;13403:20;13400:33;13397:53;;;13446:1;13443;13436:12;13397:53;13501:2;13496;13492;13488:11;13483:2;13476:5;13472:14;13459:45;13545:1;13540:2;13535;13528:5;13524:14;13520:23;13513:34;13566:5;13556:15;;;;;12561:1016;;;;;;;:::o;14209:388::-;14277:6;14285;14338:2;14326:9;14317:7;14313:23;14309:32;14306:52;;;14354:1;14351;14344:12;14306:52;14393:9;14380:23;14412:31;14437:5;14412:31;:::i;:::-;14462:5;-1:-1:-1;14519:2:1;14504:18;;14491:32;14532:33;14491:32;14532:33;:::i;14602:687::-;14662:5;14715:3;14708:4;14700:6;14696:17;14692:27;14682:55;;14733:1;14730;14723:12;14682:55;14769:6;14756:20;14795:4;14819:60;14835:43;14875:2;14835:43;:::i;14819:60::-;14913:15;;;14999:1;14995:10;;;;14983:23;;14979:32;;;14944:12;;;;15023:15;;;15020:35;;;15051:1;15048;15041:12;15020:35;15087:2;15079:6;15075:15;15099:161;15115:6;15110:3;15107:15;15099:161;;;15183:34;15213:3;15208;15183:34;:::i;:::-;15171:47;;15238:12;;;;15141:4;15132:14;15099:161;;15294:910;15358:5;15411:3;15404:4;15396:6;15392:17;15388:27;15378:55;;15429:1;15426;15419:12;15378:55;15465:6;15452:20;15491:4;15515:60;15531:43;15571:2;15531:43;:::i;15515:60::-;15609:15;;;15695:1;15691:10;;;;15679:23;;15675:32;;;15640:12;;;;15719:15;;;15716:35;;;15747:1;15744;15737:12;15716:35;15783:2;15775:6;15771:15;15795:380;15811:6;15806:3;15803:15;15795:380;;;15897:3;15884:17;-1:-1:-1;;;;;15920:11:1;15917:35;15914:125;;;15993:1;16022:2;16018;16011:14;15914:125;16064:68;16128:3;16123:2;16109:11;16101:6;16097:24;16093:33;16064:68;:::i;:::-;16052:81;;-1:-1:-1;16153:12:1;;;;15828;;15795:380;;16209:1339;16477:6;16485;16493;16501;16509;16562:3;16550:9;16541:7;16537:23;16533:33;16530:53;;;16579:1;16576;16569:12;16530:53;16619:9;16606:23;-1:-1:-1;;;;;16689:2:1;16681:6;16678:14;16675:34;;;16705:1;16702;16695:12;16675:34;16728:61;16781:7;16772:6;16761:9;16757:22;16728:61;:::i;:::-;16718:71;;16842:2;16831:9;16827:18;16814:32;16798:48;;16871:2;16861:8;16858:16;16855:36;;;16887:1;16884;16877:12;16855:36;16910:69;16971:7;16960:8;16949:9;16945:24;16910:69;:::i;:::-;16900:79;;17032:2;17021:9;17017:18;17004:32;16988:48;;17061:2;17051:8;17048:16;17045:36;;;17077:1;17074;17067:12;17045:36;17100:63;17155:7;17144:8;17133:9;17129:24;17100:63;:::i;:::-;17090:73;;17216:2;17205:9;17201:18;17188:32;17172:48;;17245:2;17235:8;17232:16;17229:36;;;17261:1;17258;17251:12;17229:36;17284:63;17339:7;17328:8;17317:9;17313:24;17284:63;:::i;:::-;17274:73;;17400:3;17389:9;17385:19;17372:33;17356:49;;17430:2;17420:8;17417:16;17414:36;;;17446:1;17443;17436:12;17414:36;;17469:73;17534:7;17523:8;17512:9;17508:24;17469:73;:::i;17553:248::-;17621:6;17629;17682:2;17670:9;17661:7;17657:23;17653:32;17650:52;;;17698:1;17695;17688:12;17650:52;-1:-1:-1;;17721:23:1;;;17791:2;17776:18;;;17763:32;;-1:-1:-1;17553:248:1:o;18157:380::-;18236:1;18232:12;;;;18279;;;18300:61;;18354:4;18346:6;18342:17;18332:27;;18300:61;18407:2;18399:6;18396:14;18376:18;18373:38;18370:161;;;18453:10;18448:3;18444:20;18441:1;18434:31;18488:4;18485:1;18478:15;18516:4;18513:1;18506:15;18370:161;;18157:380;;;:::o;18851:356::-;19053:2;19035:21;;;19072:18;;;19065:30;19131:34;19126:2;19111:18;;19104:62;19198:2;19183:18;;18851:356::o;19212:127::-;19273:10;19268:3;19264:20;19261:1;19254:31;19304:4;19301:1;19294:15;19328:4;19325:1;19318:15;19344:128;19384:3;19415:1;19411:6;19408:1;19405:13;19402:39;;;19421:18;;:::i;:::-;-1:-1:-1;19457:9:1;;19344:128::o;19477:127::-;19538:10;19533:3;19529:20;19526:1;19519:31;19569:4;19566:1;19559:15;19593:4;19590:1;19583:15;19609:636;19822:3;19853;19900:6;19822:3;19934:200;19948:4;19945:1;19942:11;19934:200;;;20009:13;;19995:28;;20046:4;20072:14;;;;20109:15;;;;19968:1;19961:9;19934:200;;;-1:-1:-1;;;;20159:3:1;20150:13;;20143:29;;;;20197:3;20188:13;;20181:29;20235:3;20226:13;;19609:636;-1:-1:-1;19609:636:1:o;21164:184::-;21234:6;21287:2;21275:9;21266:7;21262:23;21258:32;21255:52;;;21303:1;21300;21293:12;21255:52;-1:-1:-1;21326:16:1;;21164:184;-1:-1:-1;21164:184:1:o;21353:125::-;21393:4;21421:1;21418;21415:8;21412:34;;;21426:18;;:::i;:::-;-1:-1:-1;21463:9:1;;21353:125::o;21483:135::-;21522:3;-1:-1:-1;;21543:17:1;;21540:43;;;21563:18;;:::i;:::-;-1:-1:-1;21610:1:1;21599:13;;21483:135::o;21833:271::-;22016:6;22008;22003:3;21990:33;21972:3;22042:16;;22067:13;;;22042:16;21833:271;-1:-1:-1;21833:271:1:o;22109:168::-;22149:7;22215:1;22211;22207:6;22203:14;22200:1;22197:21;22192:1;22185:9;22178:17;22174:45;22171:71;;;22222:18;;:::i;:::-;-1:-1:-1;22262:9:1;;22109:168::o;22472:635::-;22552:6;22605:2;22593:9;22584:7;22580:23;22576:32;22573:52;;;22621:1;22618;22611:12;22573:52;22654:9;22648:16;-1:-1:-1;;;;;22679:6:1;22676:30;22673:50;;;22719:1;22716;22709:12;22673:50;22742:22;;22795:4;22787:13;;22783:27;-1:-1:-1;22773:55:1;;22824:1;22821;22814:12;22773:55;22853:2;22847:9;22878:48;22894:31;22922:2;22894:31;:::i;22878:48::-;22949:2;22942:5;22935:17;22989:7;22984:2;22979;22975;22971:11;22967:20;22964:33;22961:53;;;23010:1;23007;23000:12;22961:53;23023:54;23074:2;23069;23062:5;23058:14;23053:2;23049;23045:11;23023:54;:::i;:::-;23096:5;22472:635;-1:-1:-1;;;;;22472:635:1:o;23112:424::-;-1:-1:-1;;;23369:3:1;23362:22;23344:3;23413:6;23407:13;23429:61;23483:6;23479:1;23474:3;23470:11;23463:4;23455:6;23451:17;23429:61;:::i;:::-;23510:16;;;;23528:1;23506:24;;23112:424;-1:-1:-1;;23112:424:1:o;23948:127::-;24009:10;24004:3;24000:20;23997:1;23990:31;24040:4;24037:1;24030:15;24064:4;24061:1;24054:15;24080:112;24112:1;24138;24128:35;;24143:18;;:::i;:::-;-1:-1:-1;24177:9:1;;24080:112::o;24639:489::-;-1:-1:-1;;;;;24908:15:1;;;24890:34;;24960:15;;24955:2;24940:18;;24933:43;25007:2;24992:18;;24985:34;;;25055:3;25050:2;25035:18;;25028:31;;;24833:4;;25076:46;;25102:19;;25094:6;25076:46;:::i;:::-;25068:54;24639:489;-1:-1:-1;;;;;;24639:489:1:o;25133:249::-;25202:6;25255:2;25243:9;25234:7;25230:23;25226:32;25223:52;;;25271:1;25268;25261:12;25223:52;25303:9;25297:16;25322:30;25346:5;25322:30;:::i;25387:120::-;25427:1;25453;25443:35;;25458:18;;:::i;:::-;-1:-1:-1;25492:9:1;;25387:120::o;25512:136::-;25551:3;25579:5;25569:39;;25588:18;;:::i;:::-;-1:-1:-1;;;25624:18:1;;25512:136::o;26290:127::-;26351:10;26346:3;26342:20;26339:1;26332:31;26382:4;26379:1;26372:15;26406:4;26403:1;26396:15

Swarm Source

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