ETH Price: $3,184.71 (+3.19%)

Token

AI Dungeons and Dragons Genesis (AIDND)
 

Overview

Max Total Supply

984 AIDND

Holders

737

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
5862.eth
Balance
1 AIDND
0xe400a865c7d966418a9012fca020739943ef955a
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AIDND

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// 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/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 MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
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) {
        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) {
        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) {
        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 {
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, 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/cybergoblin.sol


pragma solidity ^0.8.9;




/*
   _____  .___        ________                                                                            .___    ________                                             
  /  _  \ |   |       \______ \  __ __  ____    ____   ____  ____   ____   ______      _____    ____    __| _/    \______ \____________     ____   ____   ____   ______
 /  /_\  \|   |        |    |  \|  |  \/    \  / ___\_/ __ \/  _ \ /    \ /  ___/      \__  \  /    \  / __ |      |    |  \_  __ \__  \   / ___\ /  _ \ /    \ /  ___/
/    |    \   |        |    `   \  |  /   |  \/ /_/  >  ___(  <_> )   |  \\___ \        / __ \|   |  \/ /_/ |      |    `   \  | \// __ \_/ /_/  >  <_> )   |  \\___ \ 
\____|__  /___|       /_______  /____/|___|  /\___  / \___  >____/|___|  /____  >      (____  /___|  /\____ |     /_______  /__|  (____  /\___  / \____/|___|  /____  >
        \/                    \/           \//_____/      \/           \/     \/            \/     \/      \/             \/           \//_____/             \/     \/ 
                                                                                                                                                                       
                                                                                                                                                                       
                                                                                                                                                                       
                                                                                                                                                                       
                                                                                                                                                                       
                                                                                                                                                                       
                                                         ________                            .__                                                                       
                                                        /  _____/  ____   ____   ____   _____|__| ______                                                               
                                                       /   \  ____/ __ \ /    \_/ __ \ /  ___/  |/  ___/                                                               
                                                       \    \_\  \  ___/|   |  \  ___/ \___ \|  |\___ \                                                                
                                                        \______  /\___  >___|  /\___  >____  >__/____  >                                                               
                                                               \/     \/     \/     \/     \/        \/                                                             

*/
contract AIDND is ERC721A, Ownable {
    using ECDSA for bytes32;
    using Strings for uint256;

    address private constant TEAM_ADDRESS = 0x12187110f2bD7d8956A76473F347FeCCfd139988;

    uint256 public constant TOTAL_MAX_SUPPLY = 984;
    uint256 public constant MAX_FREE_MINT_PER_WALLET = 1; 
    uint256 public constant MAX_PUBLIC_MINT_PER_WALLET = 10;
    uint256 public constant TEAM_CLAIM_AMOUNT = 10;
    

    bool public publicSaleActive;
    bool public freeMintActive;
    bool public claimed = false;
    uint256 public total_free_mints = 0;
    uint256 public freeMintCount;
    uint256 public token_price = 0.05 ether;

    mapping(address => uint256) public freeMintClaimed;

    string private _baseTokenURI;


    constructor(string memory baseURI) ERC721A("AI Dungeons and Dragons Genesis", "AIDND") {
        _baseTokenURI = baseURI;
    }

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

    modifier underMaxSupply(uint256 _quantity) {
        require(
            _totalMinted() + _quantity <= TOTAL_MAX_SUPPLY,
            "Purchase would exceed max supply"
        );

        _;
    }

    modifier validateFreeMintStatus() {
        require(freeMintActive, "free claim is not active");
        require(freeMintCount + 1 <= total_free_mints, "Purchase would exceed max supply of free mints");
        require(freeMintClaimed[msg.sender] == 0, "wallet has already free minted");
        
        _;
    }

    modifier validatePublicStatus(uint256 _quantity) {
        require(publicSaleActive, "public sale is not active");
        require(msg.value >= token_price * _quantity, "Need to send more ETH.");
        require(
            _numberMinted(msg.sender) + _quantity - freeMintClaimed[msg.sender] <= MAX_PUBLIC_MINT_PER_WALLET,
            "This purchase would exceed maximum allocation for public mints for this wallet"
        );

        _;
    }

    function freeMint() 
        external 
        callerIsUser 
        validateFreeMintStatus
        underMaxSupply(1)
    {
        freeMintClaimed[msg.sender] = 1;
        freeMintCount++;

        _mint(msg.sender, 1, "", false);
    }

    function mint(uint256 _quantity)
        external
        payable
        callerIsUser
        validatePublicStatus(_quantity)
        underMaxSupply(_quantity)
    {
        _mint(msg.sender, _quantity, "", false);
    }

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

    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(), ".json")) : '';
    }

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

    function ownerMint(uint256 _numberToMint)
        external
        onlyOwner
        underMaxSupply(_numberToMint)
    {
        _mint(msg.sender, _numberToMint, "", false);
    }

      function teamClaim() external onlyOwner {
        require(!claimed, "Team already claimed");
        // claim
        _safeMint(TEAM_ADDRESS, TEAM_CLAIM_AMOUNT);
        claimed = true;
  }

    function ownerMintToAddress(address _recipient, uint256 _numberToMint)
        external
        onlyOwner
        underMaxSupply(_numberToMint)
    {
        _mint(_recipient, _numberToMint, "", false);
    }

    function setFreeMintCount(uint256 _count) external onlyOwner {
        freeMintCount = _count;
    }

    function setTotalFreeMintNum(uint256 _num) external onlyOwner {
        total_free_mints = _num;
    }

    function setTokenPrice(uint256 newPrice) external onlyOwner {
        require(newPrice >= 0, "Token price must be greater than zero");
        token_price = newPrice;
    }

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

    function withdrawFunds() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function withdrawFundsToAddress(address _address, uint256 amount) external onlyOwner {
        (bool success, ) =_address.call{value: amount}("");
        require(success, "Transfer failed.");
    }
    
    function flipFreeMintActive() external onlyOwner {
        freeMintActive = !freeMintActive;
    }

    function flipPublicSaleActive() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_CLAIM_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFreeMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setFreeMintCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_num","type":"uint256"}],"name":"setTotalFreeMintNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"total_free_mints","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":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFundsToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526008805460ff60b01b19169055600060095566b1a2bc2ec50000600b553480156200002e57600080fd5b50604051620025af380380620025af833981016040819052620000519162000206565b604080518082018252601f81527f41492044756e67656f6e7320616e6420447261676f6e732047656e6573697300602080830191825283518085019094526005845264105251139160da1b908401528151919291620000b3916002916200014a565b508051620000c99060039060208401906200014a565b50506000805550620000db33620000f8565b8051620000f090600d9060208401906200014a565b50506200031f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200015890620002e2565b90600052602060002090601f0160209004810192826200017c5760008555620001c7565b82601f106200019757805160ff1916838001178555620001c7565b82800160010185558215620001c7579182015b82811115620001c7578251825591602001919060010190620001aa565b50620001d5929150620001d9565b5090565b5b80821115620001d55760008155600101620001da565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200021a57600080fd5b82516001600160401b03808211156200023257600080fd5b818501915085601f8301126200024757600080fd5b8151818111156200025c576200025c620001f0565b604051601f8201601f19908116603f01168101908382118183101715620002875762000287620001f0565b816040528281528886848701011115620002a057600080fd5b600093505b82841015620002c45784840186015181850187015292850192620002a5565b82841115620002d65760008684830101525b98975050505050505050565b600181811c90821680620002f757607f821691505b602082108114156200031957634e487b7160e01b600052602260045260246000fd5b50919050565b612280806200032f6000396000f3fe6080604052600436106102515760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e55f58bb1161007a578063e55f58bb14610689578063e834a8341461069f578063e985e9c5146106c0578063f03c889114610606578063f19e75d414610709578063f2fde38b1461072957600080fd5b8063c87b56dd146105e6578063c8d5ed6814610606578063cb5bc2aa1461061b578063dc33e6811461063c578063e0ec7c361461065c57600080fd5b8063a22cb465116100fd578063a22cb4651461055a578063a6eb27e21461057a578063b144b5d61461058f578063b88d4fde146105a5578063bc8893b4146105c557600080fd5b80638da5cb5b146104df5780638f430db0146104fd57806395d89b41146105125780639aaf21f414610527578063a0712d681461054757600080fd5b80634f7f8976116101d25780636a61e5fc116101965780636a61e5fc1461043f5780636ae146c21461045f57806370a0823114610474578063715018a61461049457806378cf4165146104a95780637b4fd96e146104c957600080fd5b80634f7f8976146103b457806355f804b3146103d45780635b70ea9f146103f45780636352211e1461040957806365b1de201461042957600080fd5b80631b5cb7f3116102195780631b5cb7f31461032a57806323b872dd1461033f57806324600fc31461035f578063253ca9341461037457806342842e0e1461039457600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806318160ddd14610307575b600080fd5b34801561026257600080fd5b50610276610271366004611d28565b610749565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a061079b565b6040516102829190611d9d565b3480156102b957600080fd5b506102cd6102c8366004611db0565b61082d565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004611de5565b610871565b005b34801561031357600080fd5b50600154600054035b604051908152602001610282565b34801561033657600080fd5b506103056108ff565b34801561034b57600080fd5b5061030561035a366004611e0f565b610953565b34801561036b57600080fd5b5061030561095e565b34801561038057600080fd5b5061030561038f366004611db0565b610a16565b3480156103a057600080fd5b506103056103af366004611e0f565b610a45565b3480156103c057600080fd5b506103056103cf366004611de5565b610a60565b3480156103e057600080fd5b506103056103ef366004611e4b565b610b20565b34801561040057600080fd5b50610305610b56565b34801561041557600080fd5b506102cd610424366004611db0565b610d4b565b34801561043557600080fd5b5061031c6103d881565b34801561044b57600080fd5b5061030561045a366004611db0565b610d5d565b34801561046b57600080fd5b50610305610d8c565b34801561048057600080fd5b5061031c61048f366004611ebd565b610e3b565b3480156104a057600080fd5b50610305610e8a565b3480156104b557600080fd5b506103056104c4366004611db0565b610ec0565b3480156104d557600080fd5b5061031c600b5481565b3480156104eb57600080fd5b506008546001600160a01b03166102cd565b34801561050957600080fd5b50610305610eef565b34801561051e57600080fd5b506102a0610f3a565b34801561053357600080fd5b50610305610542366004611de5565b610f49565b610305610555366004611db0565b610fc5565b34801561056657600080fd5b50610305610575366004611ed8565b6111e9565b34801561058657600080fd5b5061031c600181565b34801561059b57600080fd5b5061031c60095481565b3480156105b157600080fd5b506103056105c0366004611f2a565b61127f565b3480156105d157600080fd5b5060085461027690600160a01b900460ff1681565b3480156105f257600080fd5b506102a0610601366004611db0565b6112d0565b34801561061257600080fd5b5061031c600a81565b34801561062757600080fd5b5060085461027690600160a81b900460ff1681565b34801561064857600080fd5b5061031c610657366004611ebd565b611355565b34801561066857600080fd5b5061031c610677366004611ebd565b600c6020526000908152604090205481565b34801561069557600080fd5b5061031c600a5481565b3480156106ab57600080fd5b5060085461027690600160b01b900460ff1681565b3480156106cc57600080fd5b506102766106db366004612006565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561071557600080fd5b50610305610724366004611db0565b611384565b34801561073557600080fd5b50610305610744366004611ebd565b611404565b60006001600160e01b031982166380ac58cd60e01b148061077a57506001600160e01b03198216635b5e139f60e01b145b8061079557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107aa90612039565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690612039565b80156108235780601f106107f857610100808354040283529160200191610823565b820191906000526020600020905b81548152906001019060200180831161080657829003601f168201915b5050505050905090565b60006108388261149c565b610855576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087c82610d4b565b9050806001600160a01b0316836001600160a01b031614156108b15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108d157506108cf81336106db565b155b156108ef576040516367d9dca160e11b815260040160405180910390fd5b6108fa8383836114c7565b505050565b6008546001600160a01b031633146109325760405162461bcd60e51b815260040161092990612074565b60405180910390fd5b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6108fa838383611523565b6008546001600160a01b031633146109885760405162461bcd60e51b815260040161092990612074565b604051600090339047908381818185875af1925050503d80600081146109ca576040519150601f19603f3d011682016040523d82523d6000602084013e6109cf565b606091505b5050905080610a135760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610929565b50565b6008546001600160a01b03163314610a405760405162461bcd60e51b815260040161092990612074565b600a55565b6108fa8383836040518060200160405280600081525061127f565b6008546001600160a01b03163314610a8a5760405162461bcd60e51b815260040161092990612074565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ad7576040519150601f19603f3d011682016040523d82523d6000602084013e610adc565b606091505b50509050806108fa5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610929565b6008546001600160a01b03163314610b4a5760405162461bcd60e51b815260040161092990612074565b6108fa600d8383611c79565b323314610ba55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610929565b600854600160a81b900460ff16610bfe5760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f742061637469766500000000000000006044820152606401610929565b600954600a54610c0f9060016120bf565b1115610c745760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b6064820152608401610929565b336000908152600c602052604090205415610cd15760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e74656400006044820152606401610929565b60016103d881610ce060005490565b610cea91906120bf565b1115610d085760405162461bcd60e51b8152600401610929906120d7565b336000908152600c6020526040812060019055600a805491610d298361210c565b9190505550610a13336001604051806020016040528060008152506000611713565b6000610d56826118df565b5192915050565b6008546001600160a01b03163314610d875760405162461bcd60e51b815260040161092990612074565b600b55565b6008546001600160a01b03163314610db65760405162461bcd60e51b815260040161092990612074565b600854600160b01b900460ff1615610e075760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b6044820152606401610929565b610e267312187110f2bd7d8956a76473f347feccfd139988600a6119fb565b6008805460ff60b01b1916600160b01b179055565b60006001600160a01b038216610e64576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610eb45760405162461bcd60e51b815260040161092990612074565b610ebe6000611a15565b565b6008546001600160a01b03163314610eea5760405162461bcd60e51b815260040161092990612074565b600955565b6008546001600160a01b03163314610f195760405162461bcd60e51b815260040161092990612074565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060600380546107aa90612039565b6008546001600160a01b03163314610f735760405162461bcd60e51b815260040161092990612074565b806103d881610f8160005490565b610f8b91906120bf565b1115610fa95760405162461bcd60e51b8152600401610929906120d7565b6108fa8383604051806020016040528060008152506000611713565b3233146110145760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610929565b6008548190600160a01b900460ff1661106f5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610929565b80600b5461107d9190612127565b3410156110c55760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610929565b336000908152600c6020908152604080832054600590925290912054600a91908390600160401b900467ffffffffffffffff1661110291906120bf565b61110c9190612146565b11156111975760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a401610929565b816103d8816111a560005490565b6111af91906120bf565b11156111cd5760405162461bcd60e51b8152600401610929906120d7565b6108fa3384604051806020016040528060008152506000611713565b6001600160a01b0382163314156112135760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61128a848484611523565b6001600160a01b0383163b151580156112ac57506112aa84848484611a67565b155b156112ca576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112db8261149c565b6112f857604051630a14c4b560e41b815260040160405180910390fd5b6000611302611b5f565b9050805160001415611323576040518060200160405280600081525061134e565b8061132d84611b6e565b60405160200161133e92919061215d565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610795565b6008546001600160a01b031633146113ae5760405162461bcd60e51b815260040161092990612074565b806103d8816113bc60005490565b6113c691906120bf565b11156113e45760405162461bcd60e51b8152600401610929906120d7565b6114003383604051806020016040528060008152506000611713565b5050565b6008546001600160a01b0316331461142e5760405162461bcd60e51b815260040161092990612074565b6001600160a01b0381166114935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610929565b610a1381611a15565b6000805482108015610795575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061152e826118df565b9050836001600160a01b031681600001516001600160a01b0316146115655760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611583575061158385336106db565b8061159e5750336115938461082d565b6001600160a01b0316145b9050806115be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115e557604051633a954ecd60e21b815260040160405180910390fd5b6115f1600084876114c7565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116c75760005482146116c7578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661173c57604051622e076360e81b815260040160405180910390fd5b8361175a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561180757506001600160a01b0387163b15155b15611890575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118586000888480600101955088611a67565b611875576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561180d57826000541461188b57600080fd5b6118d6565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611891575b5060005561170c565b6040805160608101825260008082526020820181905291810191909152816000548110156119e257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119e05780516001600160a01b031615611976579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119db579392505050565b611976565b505b604051636f96cda160e11b815260040160405180910390fd5b611400828260405180602001604052806000815250611c6c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a9c90339089908890889060040161219c565b602060405180830381600087803b158015611ab657600080fd5b505af1925050508015611ae6575060408051601f3d908101601f19168201909252611ae3918101906121d9565b60015b611b41573d808015611b14576040519150601f19603f3d011682016040523d82523d6000602084013e611b19565b606091505b508051611b39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d80546107aa90612039565b606081611b925750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bbc5780611ba68161210c565b9150611bb59050600a8361220c565b9150611b96565b60008167ffffffffffffffff811115611bd757611bd7611f14565b6040519080825280601f01601f191660200182016040528015611c01576020820181803683370190505b5090505b8415611b5757611c16600183612146565b9150611c23600a86612220565b611c2e9060306120bf565b60f81b818381518110611c4357611c43612234565b60200101906001600160f81b031916908160001a905350611c65600a8661220c565b9450611c05565b6108fa8383836001611713565b828054611c8590612039565b90600052602060002090601f016020900481019282611ca75760008555611ced565b82601f10611cc05782800160ff19823516178555611ced565b82800160010185558215611ced579182015b82811115611ced578235825591602001919060010190611cd2565b50611cf9929150611cfd565b5090565b5b80821115611cf95760008155600101611cfe565b6001600160e01b031981168114610a1357600080fd5b600060208284031215611d3a57600080fd5b813561134e81611d12565b60005b83811015611d60578181015183820152602001611d48565b838111156112ca5750506000910152565b60008151808452611d89816020860160208601611d45565b601f01601f19169290920160200192915050565b60208152600061134e6020830184611d71565b600060208284031215611dc257600080fd5b5035919050565b80356001600160a01b0381168114611de057600080fd5b919050565b60008060408385031215611df857600080fd5b611e0183611dc9565b946020939093013593505050565b600080600060608486031215611e2457600080fd5b611e2d84611dc9565b9250611e3b60208501611dc9565b9150604084013590509250925092565b60008060208385031215611e5e57600080fd5b823567ffffffffffffffff80821115611e7657600080fd5b818501915085601f830112611e8a57600080fd5b813581811115611e9957600080fd5b866020828501011115611eab57600080fd5b60209290920196919550909350505050565b600060208284031215611ecf57600080fd5b61134e82611dc9565b60008060408385031215611eeb57600080fd5b611ef483611dc9565b915060208301358015158114611f0957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611f4057600080fd5b611f4985611dc9565b9350611f5760208601611dc9565b925060408501359150606085013567ffffffffffffffff80821115611f7b57600080fd5b818701915087601f830112611f8f57600080fd5b813581811115611fa157611fa1611f14565b604051601f8201601f19908116603f01168101908382118183101715611fc957611fc9611f14565b816040528281528a6020848701011115611fe257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561201957600080fd5b61202283611dc9565b915061203060208401611dc9565b90509250929050565b600181811c9082168061204d57607f821691505b6020821081141561206e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120d2576120d26120a9565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b6000600019821415612120576121206120a9565b5060010190565b6000816000190483118215151615612141576121416120a9565b500290565b600082821015612158576121586120a9565b500390565b6000835161216f818460208801611d45565b835190830190612183818360208801611d45565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121cf90830184611d71565b9695505050505050565b6000602082840312156121eb57600080fd5b815161134e81611d12565b634e487b7160e01b600052601260045260246000fd5b60008261221b5761221b6121f6565b500490565b60008261222f5761222f6121f6565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206d1d62a08899b4462d05e090964344aa913569909f6b3eb29376468e70d8223064736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5850774a68643471766945326a646d544a3864587059706e717a51757a587677686263773443456d4a5075692f00000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e55f58bb1161007a578063e55f58bb14610689578063e834a8341461069f578063e985e9c5146106c0578063f03c889114610606578063f19e75d414610709578063f2fde38b1461072957600080fd5b8063c87b56dd146105e6578063c8d5ed6814610606578063cb5bc2aa1461061b578063dc33e6811461063c578063e0ec7c361461065c57600080fd5b8063a22cb465116100fd578063a22cb4651461055a578063a6eb27e21461057a578063b144b5d61461058f578063b88d4fde146105a5578063bc8893b4146105c557600080fd5b80638da5cb5b146104df5780638f430db0146104fd57806395d89b41146105125780639aaf21f414610527578063a0712d681461054757600080fd5b80634f7f8976116101d25780636a61e5fc116101965780636a61e5fc1461043f5780636ae146c21461045f57806370a0823114610474578063715018a61461049457806378cf4165146104a95780637b4fd96e146104c957600080fd5b80634f7f8976146103b457806355f804b3146103d45780635b70ea9f146103f45780636352211e1461040957806365b1de201461042957600080fd5b80631b5cb7f3116102195780631b5cb7f31461032a57806323b872dd1461033f57806324600fc31461035f578063253ca9341461037457806342842e0e1461039457600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806318160ddd14610307575b600080fd5b34801561026257600080fd5b50610276610271366004611d28565b610749565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a061079b565b6040516102829190611d9d565b3480156102b957600080fd5b506102cd6102c8366004611db0565b61082d565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004611de5565b610871565b005b34801561031357600080fd5b50600154600054035b604051908152602001610282565b34801561033657600080fd5b506103056108ff565b34801561034b57600080fd5b5061030561035a366004611e0f565b610953565b34801561036b57600080fd5b5061030561095e565b34801561038057600080fd5b5061030561038f366004611db0565b610a16565b3480156103a057600080fd5b506103056103af366004611e0f565b610a45565b3480156103c057600080fd5b506103056103cf366004611de5565b610a60565b3480156103e057600080fd5b506103056103ef366004611e4b565b610b20565b34801561040057600080fd5b50610305610b56565b34801561041557600080fd5b506102cd610424366004611db0565b610d4b565b34801561043557600080fd5b5061031c6103d881565b34801561044b57600080fd5b5061030561045a366004611db0565b610d5d565b34801561046b57600080fd5b50610305610d8c565b34801561048057600080fd5b5061031c61048f366004611ebd565b610e3b565b3480156104a057600080fd5b50610305610e8a565b3480156104b557600080fd5b506103056104c4366004611db0565b610ec0565b3480156104d557600080fd5b5061031c600b5481565b3480156104eb57600080fd5b506008546001600160a01b03166102cd565b34801561050957600080fd5b50610305610eef565b34801561051e57600080fd5b506102a0610f3a565b34801561053357600080fd5b50610305610542366004611de5565b610f49565b610305610555366004611db0565b610fc5565b34801561056657600080fd5b50610305610575366004611ed8565b6111e9565b34801561058657600080fd5b5061031c600181565b34801561059b57600080fd5b5061031c60095481565b3480156105b157600080fd5b506103056105c0366004611f2a565b61127f565b3480156105d157600080fd5b5060085461027690600160a01b900460ff1681565b3480156105f257600080fd5b506102a0610601366004611db0565b6112d0565b34801561061257600080fd5b5061031c600a81565b34801561062757600080fd5b5060085461027690600160a81b900460ff1681565b34801561064857600080fd5b5061031c610657366004611ebd565b611355565b34801561066857600080fd5b5061031c610677366004611ebd565b600c6020526000908152604090205481565b34801561069557600080fd5b5061031c600a5481565b3480156106ab57600080fd5b5060085461027690600160b01b900460ff1681565b3480156106cc57600080fd5b506102766106db366004612006565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561071557600080fd5b50610305610724366004611db0565b611384565b34801561073557600080fd5b50610305610744366004611ebd565b611404565b60006001600160e01b031982166380ac58cd60e01b148061077a57506001600160e01b03198216635b5e139f60e01b145b8061079557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600280546107aa90612039565b80601f01602080910402602001604051908101604052809291908181526020018280546107d690612039565b80156108235780601f106107f857610100808354040283529160200191610823565b820191906000526020600020905b81548152906001019060200180831161080657829003601f168201915b5050505050905090565b60006108388261149c565b610855576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061087c82610d4b565b9050806001600160a01b0316836001600160a01b031614156108b15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108d157506108cf81336106db565b155b156108ef576040516367d9dca160e11b815260040160405180910390fd5b6108fa8383836114c7565b505050565b6008546001600160a01b031633146109325760405162461bcd60e51b815260040161092990612074565b60405180910390fd5b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6108fa838383611523565b6008546001600160a01b031633146109885760405162461bcd60e51b815260040161092990612074565b604051600090339047908381818185875af1925050503d80600081146109ca576040519150601f19603f3d011682016040523d82523d6000602084013e6109cf565b606091505b5050905080610a135760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610929565b50565b6008546001600160a01b03163314610a405760405162461bcd60e51b815260040161092990612074565b600a55565b6108fa8383836040518060200160405280600081525061127f565b6008546001600160a01b03163314610a8a5760405162461bcd60e51b815260040161092990612074565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ad7576040519150601f19603f3d011682016040523d82523d6000602084013e610adc565b606091505b50509050806108fa5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610929565b6008546001600160a01b03163314610b4a5760405162461bcd60e51b815260040161092990612074565b6108fa600d8383611c79565b323314610ba55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610929565b600854600160a81b900460ff16610bfe5760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f742061637469766500000000000000006044820152606401610929565b600954600a54610c0f9060016120bf565b1115610c745760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b6064820152608401610929565b336000908152600c602052604090205415610cd15760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e74656400006044820152606401610929565b60016103d881610ce060005490565b610cea91906120bf565b1115610d085760405162461bcd60e51b8152600401610929906120d7565b336000908152600c6020526040812060019055600a805491610d298361210c565b9190505550610a13336001604051806020016040528060008152506000611713565b6000610d56826118df565b5192915050565b6008546001600160a01b03163314610d875760405162461bcd60e51b815260040161092990612074565b600b55565b6008546001600160a01b03163314610db65760405162461bcd60e51b815260040161092990612074565b600854600160b01b900460ff1615610e075760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b6044820152606401610929565b610e267312187110f2bd7d8956a76473f347feccfd139988600a6119fb565b6008805460ff60b01b1916600160b01b179055565b60006001600160a01b038216610e64576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610eb45760405162461bcd60e51b815260040161092990612074565b610ebe6000611a15565b565b6008546001600160a01b03163314610eea5760405162461bcd60e51b815260040161092990612074565b600955565b6008546001600160a01b03163314610f195760405162461bcd60e51b815260040161092990612074565b6008805460ff60a81b198116600160a81b9182900460ff1615909102179055565b6060600380546107aa90612039565b6008546001600160a01b03163314610f735760405162461bcd60e51b815260040161092990612074565b806103d881610f8160005490565b610f8b91906120bf565b1115610fa95760405162461bcd60e51b8152600401610929906120d7565b6108fa8383604051806020016040528060008152506000611713565b3233146110145760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610929565b6008548190600160a01b900460ff1661106f5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610929565b80600b5461107d9190612127565b3410156110c55760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610929565b336000908152600c6020908152604080832054600590925290912054600a91908390600160401b900467ffffffffffffffff1661110291906120bf565b61110c9190612146565b11156111975760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a401610929565b816103d8816111a560005490565b6111af91906120bf565b11156111cd5760405162461bcd60e51b8152600401610929906120d7565b6108fa3384604051806020016040528060008152506000611713565b6001600160a01b0382163314156112135760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61128a848484611523565b6001600160a01b0383163b151580156112ac57506112aa84848484611a67565b155b156112ca576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112db8261149c565b6112f857604051630a14c4b560e41b815260040160405180910390fd5b6000611302611b5f565b9050805160001415611323576040518060200160405280600081525061134e565b8061132d84611b6e565b60405160200161133e92919061215d565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff16610795565b6008546001600160a01b031633146113ae5760405162461bcd60e51b815260040161092990612074565b806103d8816113bc60005490565b6113c691906120bf565b11156113e45760405162461bcd60e51b8152600401610929906120d7565b6114003383604051806020016040528060008152506000611713565b5050565b6008546001600160a01b0316331461142e5760405162461bcd60e51b815260040161092990612074565b6001600160a01b0381166114935760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610929565b610a1381611a15565b6000805482108015610795575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061152e826118df565b9050836001600160a01b031681600001516001600160a01b0316146115655760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611583575061158385336106db565b8061159e5750336115938461082d565b6001600160a01b0316145b9050806115be57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115e557604051633a954ecd60e21b815260040160405180910390fd5b6115f1600084876114c7565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116c75760005482146116c7578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661173c57604051622e076360e81b815260040160405180910390fd5b8361175a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561180757506001600160a01b0387163b15155b15611890575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118586000888480600101955088611a67565b611875576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561180d57826000541461188b57600080fd5b6118d6565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611891575b5060005561170c565b6040805160608101825260008082526020820181905291810191909152816000548110156119e257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119e05780516001600160a01b031615611976579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119db579392505050565b611976565b505b604051636f96cda160e11b815260040160405180910390fd5b611400828260405180602001604052806000815250611c6c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a9c90339089908890889060040161219c565b602060405180830381600087803b158015611ab657600080fd5b505af1925050508015611ae6575060408051601f3d908101601f19168201909252611ae3918101906121d9565b60015b611b41573d808015611b14576040519150601f19603f3d011682016040523d82523d6000602084013e611b19565b606091505b508051611b39576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d80546107aa90612039565b606081611b925750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611bbc5780611ba68161210c565b9150611bb59050600a8361220c565b9150611b96565b60008167ffffffffffffffff811115611bd757611bd7611f14565b6040519080825280601f01601f191660200182016040528015611c01576020820181803683370190505b5090505b8415611b5757611c16600183612146565b9150611c23600a86612220565b611c2e9060306120bf565b60f81b818381518110611c4357611c43612234565b60200101906001600160f81b031916908160001a905350611c65600a8661220c565b9450611c05565b6108fa8383836001611713565b828054611c8590612039565b90600052602060002090601f016020900481019282611ca75760008555611ced565b82601f10611cc05782800160ff19823516178555611ced565b82800160010185558215611ced579182015b82811115611ced578235825591602001919060010190611cd2565b50611cf9929150611cfd565b5090565b5b80821115611cf95760008155600101611cfe565b6001600160e01b031981168114610a1357600080fd5b600060208284031215611d3a57600080fd5b813561134e81611d12565b60005b83811015611d60578181015183820152602001611d48565b838111156112ca5750506000910152565b60008151808452611d89816020860160208601611d45565b601f01601f19169290920160200192915050565b60208152600061134e6020830184611d71565b600060208284031215611dc257600080fd5b5035919050565b80356001600160a01b0381168114611de057600080fd5b919050565b60008060408385031215611df857600080fd5b611e0183611dc9565b946020939093013593505050565b600080600060608486031215611e2457600080fd5b611e2d84611dc9565b9250611e3b60208501611dc9565b9150604084013590509250925092565b60008060208385031215611e5e57600080fd5b823567ffffffffffffffff80821115611e7657600080fd5b818501915085601f830112611e8a57600080fd5b813581811115611e9957600080fd5b866020828501011115611eab57600080fd5b60209290920196919550909350505050565b600060208284031215611ecf57600080fd5b61134e82611dc9565b60008060408385031215611eeb57600080fd5b611ef483611dc9565b915060208301358015158114611f0957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611f4057600080fd5b611f4985611dc9565b9350611f5760208601611dc9565b925060408501359150606085013567ffffffffffffffff80821115611f7b57600080fd5b818701915087601f830112611f8f57600080fd5b813581811115611fa157611fa1611f14565b604051601f8201601f19908116603f01168101908382118183101715611fc957611fc9611f14565b816040528281528a6020848701011115611fe257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561201957600080fd5b61202283611dc9565b915061203060208401611dc9565b90509250929050565b600181811c9082168061204d57607f821691505b6020821081141561206e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120d2576120d26120a9565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b6000600019821415612120576121206120a9565b5060010190565b6000816000190483118215151615612141576121416120a9565b500290565b600082821015612158576121586120a9565b500390565b6000835161216f818460208801611d45565b835190830190612183818360208801611d45565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121cf90830184611d71565b9695505050505050565b6000602082840312156121eb57600080fd5b815161134e81611d12565b634e487b7160e01b600052601260045260246000fd5b60008261221b5761221b6121f6565b500490565b60008261222f5761222f6121f6565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206d1d62a08899b4462d05e090964344aa913569909f6b3eb29376468e70d8223064736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5850774a68643471766945326a646d544a3864587059706e717a51757a587677686263773443456d4a5075692f00000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmXPwJhd4qviE2jdmTJ8dXpYpnqzQuzXvwhbcw4CEmJPui/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d5850774a68643471766945326a646d544a386458705970
Arg [3] : 6e717a51757a587677686263773443456d4a5075692f00000000000000000000


Deployed Bytecode Sourcemap

61632:4851:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38224:305;;;;;;;;;;-1:-1:-1;38224:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;38224:305:0;;;;;;;;41337:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;42840:204::-;;;;;;;;;;-1:-1:-1;42840:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;42840:204:0;1528:203:1;42403:371:0;;;;;;;;;;-1:-1:-1;42403:371:0;;;;;:::i;:::-;;:::i;:::-;;37473:303;;;;;;;;;;-1:-1:-1;37727:12:0;;37517:7;37711:13;:28;37473:303;;;2319:25:1;;;2307:2;2292:18;37473:303:0;2173:177:1;66372:106:0;;;;;;;;;;;;;:::i;43705:170::-;;;;;;;;;;-1:-1:-1;43705:170:0;;;;;:::i;:::-;;:::i;65865:178::-;;;;;;;;;;;;;:::i;65346:102::-;;;;;;;;;;-1:-1:-1;65346:102:0;;;;;:::i;:::-;;:::i;43946:185::-;;;;;;;;;;-1:-1:-1;43946:185:0;;;;;:::i;:::-;;:::i;66051:201::-;;;;;;;;;;-1:-1:-1;66051:201:0;;;;;:::i;:::-;;:::i;65751:106::-;;;;;;;;;;-1:-1:-1;65751:106:0;;;;;:::i;:::-;;:::i;63657:247::-;;;;;;;;;;;;;:::i;41145:125::-;;;;;;;;;;-1:-1:-1;41145:125:0;;;;;:::i;:::-;;:::i;61829:46::-;;;;;;;;;;;;61872:3;61829:46;;65568:175;;;;;;;;;;-1:-1:-1;65568:175:0;;;;;:::i;:::-;;:::i;64922:194::-;;;;;;;;;;;;;:::i;38593:206::-;;;;;;;;;;-1:-1:-1;38593:206:0;;;;;:::i;:::-;;:::i;57693:103::-;;;;;;;;;;;;;:::i;65456:104::-;;;;;;;;;;-1:-1:-1;65456:104:0;;;;;:::i;:::-;;:::i;62244:39::-;;;;;;;;;;;;;;;;57042:87;;;;;;;;;;-1:-1:-1;57115:6:0;;-1:-1:-1;;;;;57115:6:0;57042:87;;66264:100;;;;;;;;;;;;;:::i;41506:104::-;;;;;;;;;;;;;:::i;65124:214::-;;;;;;;;;;-1:-1:-1;65124:214:0;;;;;:::i;:::-;;:::i;63912:229::-;;;;;;:::i;:::-;;:::i;43116:287::-;;;;;;;;;;-1:-1:-1;43116:287:0;;;;;:::i;:::-;;:::i;61882:52::-;;;;;;;;;;;;61933:1;61882:52;;62167:35;;;;;;;;;;;;;;;;44202:369;;;;;;;;;;-1:-1:-1;44202:369:0;;;;;:::i;:::-;;:::i;62065:28::-;;;;;;;;;;-1:-1:-1;62065:28:0;;;;-1:-1:-1;;;62065:28:0;;;;;;64271:327;;;;;;;;;;-1:-1:-1;64271:327:0;;;;;:::i;:::-;;:::i;61942:55::-;;;;;;;;;;;;61995:2;61942:55;;62100:26;;;;;;;;;;-1:-1:-1;62100:26:0;;;;-1:-1:-1;;;62100:26:0;;;;;;64606:113;;;;;;;;;;-1:-1:-1;64606:113:0;;;;;:::i;:::-;;:::i;62292:50::-;;;;;;;;;;-1:-1:-1;62292:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;62209:28;;;;;;;;;;;;;;;;62133:27;;;;;;;;;;-1:-1:-1;62133:27:0;;;;-1:-1:-1;;;62133:27:0;;;;;;43474:164;;;;;;;;;;-1:-1:-1;43474:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;43595:25:0;;;43571:4;43595:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;43474:164;64727:185;;;;;;;;;;-1:-1:-1;64727:185:0;;;;;:::i;:::-;;:::i;57951:201::-;;;;;;;;;;-1:-1:-1;57951:201:0;;;;;:::i;:::-;;:::i;38224:305::-;38326:4;-1:-1:-1;;;;;;38363:40:0;;-1:-1:-1;;;38363:40:0;;:105;;-1:-1:-1;;;;;;;38420:48:0;;-1:-1:-1;;;38420:48:0;38363:105;:158;;;-1:-1:-1;;;;;;;;;;14534:40:0;;;38485:36;38343:178;38224:305;-1:-1:-1;;38224:305:0:o;41337:100::-;41391:13;41424:5;41417:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41337:100;:::o;42840:204::-;42908:7;42933:16;42941:7;42933;:16::i;:::-;42928:64;;42958:34;;-1:-1:-1;;;42958:34:0;;;;;;;;;;;42928:64;-1:-1:-1;43012:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;43012:24:0;;42840:204::o;42403:371::-;42476:13;42492:24;42508:7;42492:15;:24::i;:::-;42476:40;;42537:5;-1:-1:-1;;;;;42531:11:0;:2;-1:-1:-1;;;;;42531:11:0;;42527:48;;;42551:24;;-1:-1:-1;;;42551:24:0;;;;;;;;;;;42527:48;33776:10;-1:-1:-1;;;;;42592:21:0;;;;;;:63;;-1:-1:-1;42618:37:0;42635:5;33776:10;43474:164;:::i;42618:37::-;42617:38;42592:63;42588:138;;;42679:35;;-1:-1:-1;;;42679:35:0;;;;;;;;;;;42588:138;42738:28;42747:2;42751:7;42760:5;42738:8;:28::i;:::-;42465:309;42403:371;;:::o;66372:106::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;;;;;;;;;66454:16:::1;::::0;;-1:-1:-1;;;;66434:36:0;::::1;-1:-1:-1::0;;;66454:16:0;;;::::1;;;66453:17;66434:36:::0;;::::1;;::::0;;66372:106::o;43705:170::-;43839:28;43849:4;43855:2;43859:7;43839:9;:28::i;65865:178::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65939:49:::1;::::0;65921:12:::1;::::0;65939:10:::1;::::0;65962:21:::1;::::0;65921:12;65939:49;65921:12;65939:49;65962:21;65939:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65920:68;;;66007:7;65999:36;;;::::0;-1:-1:-1;;;65999:36:0;;6526:2:1;65999:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;65999:36:0::1;6324:340:1::0;65999:36:0::1;65909:134;65865:178::o:0;65346:102::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65418:13:::1;:22:::0;65346:102::o;43946:185::-;44084:39;44101:4;44107:2;44111:7;44084:39;;;;;;;;;;;;:16;:39::i;66051:201::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;66148:12:::1;66165:8;-1:-1:-1::0;;;;;66165:13:0::1;66186:6;66165:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66147:50;;;66216:7;66208:36;;;::::0;-1:-1:-1;;;66208:36:0;;6526:2:1;66208:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;66208:36:0::1;6324:340:1::0;65751:106:0;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65826:23:::1;:13;65842:7:::0;;65826:23:::1;:::i;63657:247::-:0;62570:9;62583:10;62570:23;62562:66;;;;-1:-1:-1;;;62562:66:0;;6871:2:1;62562:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;62562:66:0;6669:354:1;62562:66:0;62921:14:::1;::::0;-1:-1:-1;;;62921:14:0;::::1;;;62913:51;;;::::0;-1:-1:-1;;;62913:51:0;;7230:2:1;62913:51:0::1;::::0;::::1;7212:21:1::0;7269:2;7249:18;;;7242:30;7308:26;7288:18;;;7281:54;7352:18;;62913:51:0::1;7028:348:1::0;62913:51:0::1;63004:16;::::0;62983:13:::1;::::0;:17:::1;::::0;62999:1:::1;62983:17;:::i;:::-;:37;;62975:96;;;::::0;-1:-1:-1;;;62975:96:0;;7848:2:1;62975:96:0::1;::::0;::::1;7830:21:1::0;7887:2;7867:18;;;7860:30;7926:34;7906:18;;;7899:62;-1:-1:-1;;;7977:18:1;;;7970:44;8031:19;;62975:96:0::1;7646:410:1::0;62975:96:0::1;63106:10;63090:27;::::0;;;:15:::1;:27;::::0;;;;;:32;63082:75:::1;;;::::0;-1:-1:-1;;;63082:75:0;;8263:2:1;63082:75:0::1;::::0;::::1;8245:21:1::0;8302:2;8282:18;;;8275:30;8341:32;8321:18;;;8314:60;8391:18;;63082:75:0::1;8061:354:1::0;63082:75:0::1;63776:1:::2;61872:3;62749:9;62732:14;37916:7:::0;38102:13;;37869:283;62732:14:::2;:26;;;;:::i;:::-;:46;;62710:128;;;;-1:-1:-1::0;;;62710:128:0::2;;;;;;;:::i;:::-;63811:10:::3;63795:27;::::0;;;:15:::3;:27;::::0;;;;63825:1:::3;63795:31:::0;;63837:13:::3;:15:::0;;;::::3;::::0;::::3;:::i;:::-;;;;;;63865:31;63871:10;63883:1;63865:31;;;;;;;;;;;::::0;63890:5:::3;63865;:31::i;41145:125::-:0;41209:7;41236:21;41249:7;41236:12;:21::i;:::-;:26;;41145:125;-1:-1:-1;;41145:125:0:o;65568:175::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65713:11:::1;:22:::0;65568:175::o;64922:194::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;64982:7:::1;::::0;-1:-1:-1;;;64982:7:0;::::1;;;64981:8;64973:41;;;::::0;-1:-1:-1;;;64973:41:0;;9529:2:1;64973:41:0::1;::::0;::::1;9511:21:1::0;9568:2;9548:18;;;9541:30;-1:-1:-1;;;9587:18:1;;;9580:50;9647:18;;64973:41:0::1;9327:344:1::0;64973:41:0::1;65043:42;61778;62048:2;65043:9;:42::i;:::-;65096:7;:14:::0;;-1:-1:-1;;;;65096:14:0::1;-1:-1:-1::0;;;65096:14:0::1;::::0;;64922:194::o;38593:206::-;38657:7;-1:-1:-1;;;;;38681:19:0;;38677:60;;38709:28;;-1:-1:-1;;;38709:28:0;;;;;;;;;;;38677:60;-1:-1:-1;;;;;;38763:19:0;;;;;:12;:19;;;;;:27;;;;38593:206::o;57693:103::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;57758:30:::1;57785:1;57758:18;:30::i;:::-;57693:103::o:0;65456:104::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65529:16:::1;:23:::0;65456:104::o;66264:100::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;66342:14:::1;::::0;;-1:-1:-1;;;;66324:32:0;::::1;-1:-1:-1::0;;;66342:14:0;;;::::1;;;66341:15;66324:32:::0;;::::1;;::::0;;66264:100::o;41506:104::-;41562:13;41595:7;41588:14;;;;;:::i;65124:214::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;65256:13:::1;61872:3;62749:9;62732:14;37916:7:::0;38102:13;;37869:283;62732:14:::1;:26;;;;:::i;:::-;:46;;62710:128;;;;-1:-1:-1::0;;;62710:128:0::1;;;;;;;:::i;:::-;65287:43:::2;65293:10;65305:13;65287:43;;;;;;;;;;;::::0;65324:5:::2;65287;:43::i;63912:229::-:0;62570:9;62583:10;62570:23;62562:66;;;;-1:-1:-1;;;62562:66:0;;6871:2:1;62562:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;62562:66:0;6669:354:1;62562:66:0;63263:16:::1;::::0;64032:9;;-1:-1:-1;;;63263:16:0;::::1;;;63255:54;;;::::0;-1:-1:-1;;;63255:54:0;;9878:2:1;63255:54:0::1;::::0;::::1;9860:21:1::0;9917:2;9897:18;;;9890:30;9956:27;9936:18;;;9929:55;10001:18;;63255:54:0::1;9676:349:1::0;63255:54:0::1;63355:9;63341:11;;:23;;;;:::i;:::-;63328:9;:36;;63320:71;;;::::0;-1:-1:-1;;;63320:71:0;;10405:2:1;63320:71:0::1;::::0;::::1;10387:21:1::0;10444:2;10424:18;;;10417:30;-1:-1:-1;;;10463:18:1;;;10456:52;10525:18;;63320:71:0::1;10203:346:1::0;63320:71:0::1;63480:10;63464:27;::::0;;;:15:::1;:27;::::0;;;;;;;;38977:12;:19;;;;;;:32;61995:2:::1;::::0;63464:27;63452:9;;-1:-1:-1;;;38977:32:0;;;;63424:37:::1;;;;:::i;:::-;:67;;;;:::i;:::-;:97;;63402:225;;;::::0;-1:-1:-1;;;63402:225:0;;10886:2:1;63402:225:0::1;::::0;::::1;10868:21:1::0;10925:2;10905:18;;;10898:30;10964:34;10944:18;;;10937:62;11035:34;11015:18;;;11008:62;-1:-1:-1;;;11086:19:1;;;11079:45;11141:19;;63402:225:0::1;10684:482:1::0;63402:225:0::1;64067:9:::2;61872:3;62749:9;62732:14;37916:7:::0;38102:13;;37869:283;62732:14:::2;:26;;;;:::i;:::-;:46;;62710:128;;;;-1:-1:-1::0;;;62710:128:0::2;;;;;;;:::i;:::-;64094:39:::3;64100:10;64112:9;64094:39;;;;;;;;;;;::::0;64127:5:::3;64094;:39::i;43116:287::-:0;-1:-1:-1;;;;;43215:24:0;;33776:10;43215:24;43211:54;;;43248:17;;-1:-1:-1;;;43248:17:0;;;;;;;;;;;43211:54;33776:10;43278:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;43278:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;43278:53:0;;;;;;;;;;43347:48;;540:41:1;;;43278:42:0;;33776:10;43347:48;;513:18:1;43347:48:0;;;;;;;43116:287;;:::o;44202:369::-;44369:28;44379:4;44385:2;44389:7;44369:9;:28::i;:::-;-1:-1:-1;;;;;44412:13:0;;4614:19;:23;;44412:76;;;;;44432:56;44463:4;44469:2;44473:7;44482:5;44432:30;:56::i;:::-;44431:57;44412:76;44408:156;;;44512:40;;-1:-1:-1;;;44512:40:0;;;;;;;;;;;44408:156;44202:369;;;;:::o;64271:327::-;64344:13;64375:16;64383:7;64375;:16::i;:::-;64370:59;;64400:29;;-1:-1:-1;;;64400:29:0;;;;;;;;;;;64370:59;64442:21;64466:10;:8;:10::i;:::-;64442:34;;64500:7;64494:21;64519:1;64494:26;;:96;;;;;;;;;;;;;;;;;64547:7;64556:18;:7;:16;:18::i;:::-;64530:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64494:96;64487:103;64271:327;-1:-1:-1;;;64271:327:0:o;64606:113::-;-1:-1:-1;;;;;38977:19:0;;64664:7;38977:19;;;:12;:19;;;;;:32;-1:-1:-1;;;38977:32:0;;;;64691:20;38881:137;64727:185;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;64830:13:::1;61872:3;62749:9;62732:14;37916:7:::0;38102:13;;37869:283;62732:14:::1;:26;;;;:::i;:::-;:46;;62710:128;;;;-1:-1:-1::0;;;62710:128:0::1;;;;;;;:::i;:::-;64861:43:::2;64867:10;64879:13;64861:43;;;;;;;;;;;::::0;64898:5:::2;64861;:43::i;:::-;57333:1:::1;64727:185:::0;:::o;57951:201::-;57115:6;;-1:-1:-1;;;;;57115:6:0;33776:10;57262:23;57254:68;;;;-1:-1:-1;;;57254:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;58040:22:0;::::1;58032:73;;;::::0;-1:-1:-1;;;58032:73:0;;12015:2:1;58032:73:0::1;::::0;::::1;11997:21:1::0;12054:2;12034:18;;;12027:30;12093:34;12073:18;;;12066:62;-1:-1:-1;;;12144:18:1;;;12137:36;12190:19;;58032:73:0::1;11813:402:1::0;58032:73:0::1;58116:28;58135:8;58116:18;:28::i;44826:187::-:0;44883:4;44947:13;;44937:7;:23;44907:98;;;;-1:-1:-1;;44978:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;44978:27:0;;;;44977:28;;44826:187::o;52996:196::-;53111:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;53111:29:0;-1:-1:-1;;;;;53111:29:0;;;;;;;;;53156:28;;53111:24;;53156:28;;;;;;;52996:196;;;:::o;47939:2130::-;48054:35;48092:21;48105:7;48092:12;:21::i;:::-;48054:59;;48152:4;-1:-1:-1;;;;;48130:26:0;:13;:18;;;-1:-1:-1;;;;;48130:26:0;;48126:67;;48165:28;;-1:-1:-1;;;48165:28:0;;;;;;;;;;;48126:67;48206:22;33776:10;-1:-1:-1;;;;;48232:20:0;;;;:73;;-1:-1:-1;48269:36:0;48286:4;33776:10;43474:164;:::i;48269:36::-;48232:126;;;-1:-1:-1;33776:10:0;48322:20;48334:7;48322:11;:20::i;:::-;-1:-1:-1;;;;;48322:36:0;;48232:126;48206:153;;48377:17;48372:66;;48403:35;;-1:-1:-1;;;48403:35:0;;;;;;;;;;;48372:66;-1:-1:-1;;;;;48453:16:0;;48449:52;;48478:23;;-1:-1:-1;;;48478:23:0;;;;;;;;;;;48449:52;48622:35;48639:1;48643:7;48652:4;48622:8;:35::i;:::-;-1:-1:-1;;;;;48953:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;48953:31:0;;;;;;;-1:-1:-1;;48953:31:0;;;;;;;48999:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;48999:29:0;;;;;;;;;;;49079:20;;;:11;:20;;;;;;49114:18;;-1:-1:-1;;;;;;49147:49:0;;;;-1:-1:-1;;;49180:15:0;49147:49;;;;;;;;;;49470:11;;49530:24;;;;;49573:13;;49079:20;;49530:24;;49573:13;49569:384;;49783:13;;49768:11;:28;49764:174;;49821:20;;49890:28;;;;49864:54;;-1:-1:-1;;;49864:54:0;-1:-1:-1;;;;;;49864:54:0;;;-1:-1:-1;;;;;49821:20:0;;49864:54;;;;49764:174;48928:1036;;;50000:7;49996:2;-1:-1:-1;;;;;49981:27:0;49990:4;-1:-1:-1;;;;;49981:27:0;;;;;;;;;;;50019:42;48043:2026;;47939:2130;;;:::o;45910:1775::-;46049:20;46072:13;-1:-1:-1;;;;;46100:16:0;;46096:48;;46125:19;;-1:-1:-1;;;46125:19:0;;;;;;;;;;;46096:48;46159:13;46155:44;;46181:18;;-1:-1:-1;;;46181:18:0;;;;;;;;;;;46155:44;-1:-1:-1;;;;;46550:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;46609:49:0;;46550:44;;;;;;;;46609:49;;;-1:-1:-1;;;;;46550:44:0;;;;;;46609:49;;;;;;;;;;;;;;;;46675:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;46725:66:0;;;;-1:-1:-1;;;46775:15:0;46725:66;;;;;;;;;;46675:25;46872:23;;;46916:4;:23;;;;-1:-1:-1;;;;;;46924:13:0;;4614:19;:23;;46924:15;46912:641;;;46960:314;46991:38;;47016:12;;-1:-1:-1;;;;;46991:38:0;;;47008:1;;46991:38;;47008:1;;46991:38;47057:69;47096:1;47100:2;47104:14;;;;;;47120:5;47057:30;:69::i;:::-;47052:174;;47162:40;;-1:-1:-1;;;47162:40:0;;;;;;;;;;;47052:174;47269:3;47253:12;:19;;46960:314;;47355:12;47338:13;;:29;47334:43;;47369:8;;;47334:43;46912:641;;;47418:120;47449:40;;47474:14;;;;;-1:-1:-1;;;;;47449:40:0;;;47466:1;;47449:40;;47466:1;;47449:40;47533:3;47517:12;:19;;47418:120;;46912:641;-1:-1:-1;47567:13:0;:28;47617:60;44202:369;39974:1109;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;40085:7:0;40168:13;;40161:4;:20;40130:886;;;40202:31;40236:17;;;:11;:17;;;;;;;;;40202:51;;;;;;;;;-1:-1:-1;;;;;40202:51:0;;;;-1:-1:-1;;;40202:51:0;;;;;;;;;;;-1:-1:-1;;;40202:51:0;;;;;;;;;;;;;;40272:729;;40322:14;;-1:-1:-1;;;;;40322:28:0;;40318:101;;40386:9;39974:1109;-1:-1:-1;;;39974:1109:0:o;40318:101::-;-1:-1:-1;;;40761:6:0;40806:17;;;;:11;:17;;;;;;;;;40794:29;;;;;;;;;-1:-1:-1;;;;;40794:29:0;;;;;-1:-1:-1;;;40794:29:0;;;;;;;;;;;-1:-1:-1;;;40794:29:0;;;;;;;;;;;;;40854:28;40850:109;;40922:9;39974:1109;-1:-1:-1;;;39974:1109:0:o;40850:109::-;40721:261;;;40183:833;40130:886;41044:31;;-1:-1:-1;;;41044:31:0;;;;;;;;;;;45021:104;45090:27;45100:2;45104:8;45090:27;;;;;;;;;;;;:9;:27::i;58312:191::-;58405:6;;;-1:-1:-1;;;;;58422:17:0;;;-1:-1:-1;;;;;;58422:17:0;;;;;;;58455:40;;58405:6;;;58422:17;58405:6;;58455:40;;58386:16;;58455:40;58375:128;58312:191;:::o;53684:667::-;53868:72;;-1:-1:-1;;;53868:72:0;;53847:4;;-1:-1:-1;;;;;53868:36:0;;;;;:72;;33776:10;;53919:4;;53925:7;;53934:5;;53868:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53868:72:0;;;;;;;;-1:-1:-1;;53868:72:0;;;;;;;;;;;;:::i;:::-;;;53864:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54102:13:0;;54098:235;;54148:40;;-1:-1:-1;;;54148:40:0;;;;;;;;;;;54098:235;54291:6;54285:13;54276:6;54272:2;54268:15;54261:38;53864:480;-1:-1:-1;;;;;;53987:55:0;-1:-1:-1;;;53987:55:0;;-1:-1:-1;53864:480:0;53684:667;;;;;;:::o;64149:114::-;64209:13;64242;64235:20;;;;;:::i;21724:723::-;21780:13;22001:10;21997:53;;-1:-1:-1;;22028:10:0;;;;;;;;;;;;-1:-1:-1;;;22028:10:0;;;;;21724:723::o;21997:53::-;22075:5;22060:12;22116:78;22123:9;;22116:78;;22149:8;;;;:::i;:::-;;-1:-1:-1;22172:10:0;;-1:-1:-1;22180:2:0;22172:10;;:::i;:::-;;;22116:78;;;22204:19;22236:6;22226:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22226:17:0;;22204:39;;22254:154;22261:10;;22254:154;;22288:11;22298:1;22288:11;;:::i;:::-;;-1:-1:-1;22357:10:0;22365:2;22357:5;:10;:::i;:::-;22344:24;;:2;:24;:::i;:::-;22331:39;;22314:6;22321;22314:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;22314:56:0;;;;;;;;-1:-1:-1;22385:11:0;22394:2;22385:11;;:::i;:::-;;;22254:154;;45488:163;45611:32;45617:2;45621:8;45631:5;45638:4;45611:5;:32::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:347::-;3541:6;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3720:2;3709:9;3705:18;3692:32;3767:5;3760:13;3753:21;3746:5;3743:32;3733:60;;3789:1;3786;3779:12;3733:60;3812:5;3802:15;;;3476:347;;;;;:::o;3828:127::-;3889:10;3884:3;3880:20;3877:1;3870:31;3920:4;3917:1;3910:15;3944:4;3941:1;3934:15;3960:1138;4055:6;4063;4071;4079;4132:3;4120:9;4111:7;4107:23;4103:33;4100:53;;;4149:1;4146;4139:12;4100:53;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4220:38;4254:2;4243:9;4239:18;4220:38;:::i;:::-;4210:48;;4305:2;4294:9;4290:18;4277:32;4267:42;;4360:2;4349:9;4345:18;4332:32;4383:18;4424:2;4416:6;4413:14;4410:34;;;4440:1;4437;4430:12;4410:34;4478:6;4467:9;4463:22;4453:32;;4523:7;4516:4;4512:2;4508:13;4504:27;4494:55;;4545:1;4542;4535:12;4494:55;4581:2;4568:16;4603:2;4599;4596:10;4593:36;;;4609:18;;:::i;:::-;4684:2;4678:9;4652:2;4738:13;;-1:-1:-1;;4734:22:1;;;4758:2;4730:31;4726:40;4714:53;;;4782:18;;;4802:22;;;4779:46;4776:72;;;4828:18;;:::i;:::-;4868:10;4864:2;4857:22;4903:2;4895:6;4888:18;4943:7;4938:2;4933;4929;4925:11;4921:20;4918:33;4915:53;;;4964:1;4961;4954:12;4915:53;5020:2;5015;5011;5007:11;5002:2;4994:6;4990:15;4977:46;5065:1;5060:2;5055;5047:6;5043:15;5039:24;5032:35;5086:6;5076:16;;;;;;;3960:1138;;;;;;;:::o;5103:260::-;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:38;5353:2;5342:9;5338:18;5319:38;:::i;:::-;5309:48;;5103:260;;;;;:::o;5368:380::-;5447:1;5443:12;;;;5490;;;5511:61;;5565:4;5557:6;5553:17;5543:27;;5511:61;5618:2;5610:6;5607:14;5587:18;5584:38;5581:161;;;5664:10;5659:3;5655:20;5652:1;5645:31;5699:4;5696:1;5689:15;5727:4;5724:1;5717:15;5581:161;;5368:380;;;:::o;5753:356::-;5955:2;5937:21;;;5974:18;;;5967:30;6033:34;6028:2;6013:18;;6006:62;6100:2;6085:18;;5753:356::o;7381:127::-;7442:10;7437:3;7433:20;7430:1;7423:31;7473:4;7470:1;7463:15;7497:4;7494:1;7487:15;7513:128;7553:3;7584:1;7580:6;7577:1;7574:13;7571:39;;;7590:18;;:::i;:::-;-1:-1:-1;7626:9:1;;7513:128::o;8420:356::-;8622:2;8604:21;;;8641:18;;;8634:30;8700:34;8695:2;8680:18;;8673:62;8767:2;8752:18;;8420:356::o;8781:135::-;8820:3;-1:-1:-1;;8841:17:1;;8838:43;;;8861:18;;:::i;:::-;-1:-1:-1;8908:1:1;8897:13;;8781:135::o;10030:168::-;10070:7;10136:1;10132;10128:6;10124:14;10121:1;10118:21;10113:1;10106:9;10099:17;10095:45;10092:71;;;10143:18;;:::i;:::-;-1:-1:-1;10183:9:1;;10030:168::o;10554:125::-;10594:4;10622:1;10619;10616:8;10613:34;;;10627:18;;:::i;:::-;-1:-1:-1;10664:9:1;;10554:125::o;11171:637::-;11451:3;11489:6;11483:13;11505:53;11551:6;11546:3;11539:4;11531:6;11527:17;11505:53;:::i;:::-;11621:13;;11580:16;;;;11643:57;11621:13;11580:16;11677:4;11665:17;;11643:57;:::i;:::-;-1:-1:-1;;;11722:20:1;;11751:22;;;11800:1;11789:13;;11171:637;-1:-1:-1;;;;11171:637:1:o;12220:489::-;-1:-1:-1;;;;;12489:15:1;;;12471:34;;12541:15;;12536:2;12521:18;;12514:43;12588:2;12573:18;;12566:34;;;12636:3;12631:2;12616:18;;12609:31;;;12414:4;;12657:46;;12683:19;;12675:6;12657:46;:::i;:::-;12649:54;12220:489;-1:-1:-1;;;;;;12220:489:1:o;12714:249::-;12783:6;12836:2;12824:9;12815:7;12811:23;12807:32;12804:52;;;12852:1;12849;12842:12;12804:52;12884:9;12878:16;12903:30;12927:5;12903:30;:::i;12968:127::-;13029:10;13024:3;13020:20;13017:1;13010:31;13060:4;13057:1;13050:15;13084:4;13081:1;13074:15;13100:120;13140:1;13166;13156:35;;13171:18;;:::i;:::-;-1:-1:-1;13205:9:1;;13100:120::o;13225:112::-;13257:1;13283;13273:35;;13288:18;;:::i;:::-;-1:-1:-1;13322:9:1;;13225:112::o;13342:127::-;13403:10;13398:3;13394:20;13391:1;13384:31;13434:4;13431:1;13424:15;13458:4;13455:1;13448:15

Swarm Source

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