ETH Price: $3,117.17 (-1.65%)

Token

Naughty Giraffes (GIRAFFE)
 

Overview

Max Total Supply

10,001 GIRAFFE

Holders

1,308

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
10 GIRAFFE
0x0949745c10da8c8e67cc2687aff529fd5ffa6806
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:
NaughtyGiraffes

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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

// File: @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/Context.sol


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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts 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: @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/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: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;







/**
 * @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, IERC721A {
    using Address for address;
    using Strings for uint256;

    // 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 Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override 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) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

        if (_msgSender() != owner) if(!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()) if(!_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;
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    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 {
        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 (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 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) 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;

            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 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: contracts/NaughtyGiraffes.sol


pragma solidity 0.8.13;

// Naughty Giraffes (www.naughtygiraffes.com)
// Created by: oaktreeapps.com





contract NaughtyGiraffes is ERC721A, Ownable {
    using Strings for uint256;
    using MerkleProof for bytes32[];

    uint256 private _publicStartTime = 1652538600; // Saturday, 14 May 2022 02:30:00 PM GMT (Saturday, May 14, 2022 10:30:00 AM GMT-04:00 DST)
    string private _tokenRevealedBaseURI; 
    bytes32 private merkleroot = 0;
    string private baseExtension = ".json";
    uint256 private totalNoOfMints = 0;
    enum saleType{ PRE, EARLY, PUBLIC }

    mapping(address => mapping(uint256 => uint)) public totalNoOfTokensMintedByAddress;
    event SetStartTime(uint256 _timestamp);

    // Pre Sale Attributes
    uint256 public constant MAX_MINT_PER_ADDRESS_IN_PRESALE = 3;
    uint256 public preSalePrice = 0.05 ether;
    uint256 public constant MAX_PRESALE_SUPPLY = 1000;
    
    // Early Bird Sale Attributes
    uint256 public constant MAX_MINT_PER_ADDRESS_IN_EARLY_SALE = 3;
    uint256 public earlySalePrice = 0.06 ether;
    uint256 public constant MAX_EARLY_SALE_SUPPLY = 3000;

    // Public Sale Attributes
    uint256 public constant MAX_MINT_PER_ADDRESS_IN_PUBLIC_SALE = 10;
    uint256 public publicSalePrice = 0.08 ether;
    uint256 public constant MAX_PUBLIC_SALE_SUPPLY = 9700;

    address private withdrawalWalletAddress = 0x0D5F33686F12A0de805C1837AeD68aF76312352a;
    address lazyLionsAddress = 0x8943C7bAC1914C9A7ABa750Bf2B6B09Fd21037E0;
    address smilesssvrsAddress = 0x177EF8787CEb5D4596b6f011df08C86eb84380dC;
    string private _tokenBaseURI = "ipfs://QmQSrhWELz2yao4SdwKCitKZmPmqqpsbL9mgGgCe5PxpwC";

    /// @notice initial royalties value is 6.0%
    uint256 public royaltiesValue = 6_000;
    uint256 public constant ROYALTY_HUNDRED_PERCENT = 100_000;

    constructor() ERC721A("Naughty Giraffes", "GIRAFFE") {}

    //Check if address is a #{Lazy Lions} or ${Smilesssvrs} NFT holder to be eligible for presale
    modifier isAddressOnWhitelist(bytes32[] memory _merkleproof) {
        if(block.timestamp >= _publicStartTime - 86400) {
            // Everyone can Mint
        }else if(block.timestamp >= (_publicStartTime - 172800)){

           IERC721 lazyLionsToken = IERC721(lazyLionsAddress);
           uint256 ownedLazyLionsToken = lazyLionsToken.balanceOf(msg.sender);
           IERC721 smilesssvrsToken = IERC721(smilesssvrsAddress);
           uint256 ownedSmilesssvrs = smilesssvrsToken.balanceOf(msg.sender);

            if(ownedLazyLionsToken == 0 && ownedSmilesssvrs == 0){
                if(!MerkleProof.verify(
                    _merkleproof,
                    merkleroot,
                    keccak256(abi.encodePacked(msg.sender)))
                ){
                    revert("Address is not on white list.");
                }
            }
        }else require(false,"Sale is not Start yet.");
        _;
    }

    //Update memory variables based on timestamp against three categories and mint accordingly.
    function mintSale(uint256 _numOfTokensToMint, bytes32[] calldata _merkleproof) 
        external 
        payable
        isAddressOnWhitelist(_merkleproof)
    {
        require(tx.origin == msg.sender, 'Caller not user');
        uint256 maxMintPerAddress;
        uint256 mintPrice;
        uint256 maxMintsPerCategory;
        uint256 supply = totalNoOfMints;
        uint256 totalTokensMintedByAddress;
        uint currentSale;

        if(block.timestamp >= _publicStartTime) {
            maxMintPerAddress = MAX_MINT_PER_ADDRESS_IN_PUBLIC_SALE;
            mintPrice = publicSalePrice;
            maxMintsPerCategory = MAX_PUBLIC_SALE_SUPPLY;
            currentSale = uint(saleType.PUBLIC);
        }else if(block.timestamp >= (_publicStartTime - 86400)){
            maxMintPerAddress = MAX_MINT_PER_ADDRESS_IN_EARLY_SALE;
            mintPrice = earlySalePrice;
            maxMintsPerCategory = MAX_EARLY_SALE_SUPPLY;
            currentSale = uint(saleType.EARLY);
        }else if(block.timestamp >= (_publicStartTime - 172800)){
            maxMintPerAddress = MAX_MINT_PER_ADDRESS_IN_PRESALE;
            mintPrice = preSalePrice;
            maxMintsPerCategory = MAX_PRESALE_SUPPLY;
            currentSale = uint(saleType.PRE);
        }

        totalTokensMintedByAddress = totalNoOfTokensMintedByAddress[msg.sender][currentSale];

        require(_numOfTokensToMint <= maxMintPerAddress, "Exceeds the number of token mints permitted for this category per transaction.");
        require(totalTokensMintedByAddress + _numOfTokensToMint <= maxMintPerAddress,"Exceeds the number of token mints available per account.");
        require(supply + _numOfTokensToMint <= maxMintsPerCategory, "Not enough tokens remaining to mint!");
        require(_numOfTokensToMint * mintPrice <= msg.value, "Incorrect eth amount sent to mint!");
     
        _safeMint(msg.sender, _numOfTokensToMint);

        totalNoOfMints += _numOfTokensToMint;
        totalNoOfTokensMintedByAddress[msg.sender][currentSale] = totalTokensMintedByAddress + _numOfTokensToMint;
    }

    // Owner mint
    function ownerMint(uint256 _numOfTokensToMint) external onlyOwner {
        require(_numOfTokensToMint + totalNoOfMints <= 10000, "Not enough tokens remaining to mint!");
        _safeMint(msg.sender, _numOfTokensToMint);
    }

    //Set Merkle tree to enable whitelist.
    function setMerkleroot(bytes32 _merkleRoot) external onlyOwner {
       merkleroot = _merkleRoot;
    }

    function setStartTime(uint256 newTime) external onlyOwner  {
        _publicStartTime = newTime;
        emit SetStartTime(newTime);
    }

    function setMintPrice(uint256[] calldata _mintPrice) external onlyOwner {
        preSalePrice = _mintPrice[0];
        earlySalePrice = _mintPrice[1];
        publicSalePrice = _mintPrice[2];
    }

    // Only a designated wallet address can withdraw
    function withdraw() external onlyOwner {
        require(tx.origin == msg.sender, 'Caller not user');
        uint256 balance = address(this).balance;
        payable(withdrawalWalletAddress).transfer(balance);
    }

    function setBaseURI(string calldata _uri) external onlyOwner {
        _tokenBaseURI = _uri;
    }

    function setRevealedBaseURI(string calldata _revealedBaseUri) external onlyOwner {
        _tokenRevealedBaseURI = _revealedBaseUri;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override(ERC721A)
        returns (string memory)
    {
        require(_exists(_tokenId), "Token does not exist.");
        return
            bytes(_tokenRevealedBaseURI).length > 0
                ? string(
                    abi.encodePacked(_tokenRevealedBaseURI, _tokenId.toString(),baseExtension)
                )
                : _tokenBaseURI;
    }

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount)
    {
        require(_exists(_tokenId), "Royalty For Non existent Token");
        return (
            withdrawalWalletAddress,
            (_salePrice * royaltiesValue) / ROYALTY_HUNDRED_PERCENT
        );
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"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":false,"internalType":"uint256","name":"_timestamp","type":"uint256"}],"name":"SetStartTime","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_EARLY_SALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDRESS_IN_EARLY_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDRESS_IN_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDRESS_IN_PUBLIC_SALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SALE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_HUNDRED_PERCENT","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":"earlySalePrice","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":"_numOfTokensToMint","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleproof","type":"bytes32[]"}],"name":"mintSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numOfTokensToMint","type":"uint256"}],"name":"ownerMint","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":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltiesValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleroot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_mintPrice","type":"uint256[]"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_revealedBaseUri","type":"string"}],"name":"setRevealedBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalNoOfTokensMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

63627fbce86009556000600b5560c06040526005608081905264173539b7b760d91b60a09081526200003591600c9190620001de565b506000600d5566b1a2bc2ec50000600f5566d529ae9e86000060105567011c37937e080000601155601280546001600160a01b0319908116730d5f33686f12a0de805c1837aed68af76312352a17909155601380548216738943c7bac1914c9a7aba750bf2b6b09fd21037e01790556014805490911673177ef8787ceb5d4596b6f011df08c86eb84380dc17905560408051606081019091526035808252620026d660208301398051620000f291601591602090910190620001de565b506117706016553480156200010657600080fd5b50604080518082018252601081526f4e61756768747920476972616666657360801b6020808301918252835180850190945260078452664749524146464560c81b9084015281519192916200015e91600291620001de565b50805162000174906003906020840190620001de565b5050600080555062000186336200018c565b620002c0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001ec9062000284565b90600052602060002090601f0160209004810192826200021057600085556200025b565b82601f106200022b57805160ff19168380011785556200025b565b828001600101855582156200025b579182015b828111156200025b5782518255916020019190600101906200023e565b50620002699291506200026d565b5090565b5b808211156200026957600081556001016200026e565b600181811c908216806200029957607f821691505b602082108103620002ba57634e487b7160e01b600052602260045260246000fd5b50919050565b61240680620002d06000396000f3fe6080604052600436106102255760003560e01c806355f804b3116101235780639b6860c8116100ab578063e757c17d1161006f578063e757c17d14610618578063e985e9c51461062e578063ed3d97c214610677578063f19e75d41461068d578063f2fde38b146106ad57600080fd5b80639b6860c814610582578063a22cb46514610598578063b88d4fde146105b8578063c87b56dd146105d8578063ce2da6db146105f857600080fd5b806370a08231116100f257806370a08231146104fa578063715018a61461051a5780638da5cb5b1461052f57806392f6c4391461054d57806395d89b411461056d57600080fd5b806355f804b3146104845780636352211e146104a45780636b8dc355146104c45780636e83843a146104da57600080fd5b80632f8af9df116101b157806342842e0e1161017557806342842e0e14610422578063445910f7146104425780634767ac2d146104425780634c5f6bfc1461045757806353e086041461046d57600080fd5b80632f8af9df146103af5780632fb03cc5146103c257806331f353c7146103d85780633ccfd60b146103ed5780633e0a322d1461040257600080fd5b8063081812fc116101f8578063081812fc146102dd578063095ea7b31461031557806318160ddd1461033757806323b872dd146103505780632a55205a1461037057600080fd5b806301ffc9a71461022a57806304787f3d1461025f57806305144bea1461028357806306fdde03146102bb575b600080fd5b34801561023657600080fd5b5061024a610245366004611d00565b6106cd565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560165481565b604051908152602001610256565b34801561028f57600080fd5b5061027561029e366004611d40565b600e60209081526000928352604080842090915290825290205481565b3480156102c757600080fd5b506102d061071f565b6040516102569190611dc2565b3480156102e957600080fd5b506102fd6102f8366004611dd5565b6107b1565b6040516001600160a01b039091168152602001610256565b34801561032157600080fd5b50610335610330366004611d40565b6107f5565b005b34801561034357600080fd5b5060015460005403610275565b34801561035c57600080fd5b5061033561036b366004611dee565b61087b565b34801561037c57600080fd5b5061039061038b366004611e2a565b610886565b604080516001600160a01b039093168352602083019190915201610256565b6103356103bd366004611e91565b61091a565b3480156103ce57600080fd5b506102756125e481565b3480156103e457600080fd5b50610275600a81565b3480156103f957600080fd5b50610335610e19565b34801561040e57600080fd5b5061033561041d366004611dd5565b610ec2565b34801561042e57600080fd5b5061033561043d366004611dee565b610f27565b34801561044e57600080fd5b50610275600381565b34801561046357600080fd5b50610275610bb881565b34801561047957600080fd5b50610275620186a081565b34801561049057600080fd5b5061033561049f366004611edd565b610f42565b3480156104b057600080fd5b506102fd6104bf366004611dd5565b610f78565b3480156104d057600080fd5b506102756103e881565b3480156104e657600080fd5b506103356104f5366004611edd565b610f8a565b34801561050657600080fd5b50610275610515366004611f4f565b610fc0565b34801561052657600080fd5b5061033561100f565b34801561053b57600080fd5b506008546001600160a01b03166102fd565b34801561055957600080fd5b50610335610568366004611dd5565b611045565b34801561057957600080fd5b506102d0611074565b34801561058e57600080fd5b5061027560115481565b3480156105a457600080fd5b506103356105b3366004611f6a565b611083565b3480156105c457600080fd5b506103356105d3366004611fbc565b611118565b3480156105e457600080fd5b506102d06105f3366004611dd5565b611162565b34801561060457600080fd5b50610335610613366004612098565b61128b565b34801561062457600080fd5b50610275600f5481565b34801561063a57600080fd5b5061024a6106493660046120da565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068357600080fd5b5061027560105481565b34801561069957600080fd5b506103356106a8366004611dd5565b611316565b3480156106b957600080fd5b506103356106c8366004611f4f565b61137c565b60006001600160e01b031982166380ac58cd60e01b14806106fe57506001600160e01b03198216635b5e139f60e01b145b8061071957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461072e9061210d565b80601f016020809104026020016040519081016040528092919081815260200182805461075a9061210d565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc82611414565b6107d9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080082610f78565b9050806001600160a01b0316836001600160a01b0316036108345760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461086b5761084e8133610649565b61086b576040516367d9dca160e11b815260040160405180910390fd5b61087683838361143f565b505050565b61087683838361149b565b60008061089284611414565b6108e35760405162461bcd60e51b815260206004820152601e60248201527f526f79616c747920466f72204e6f6e206578697374656e7420546f6b656e000060448201526064015b60405180910390fd5b6012546016546001600160a01b0390911690620186a090610904908661215d565b61090e9190612192565b915091505b9250929050565b8181808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060095461095e92506201518091506121a6565b421015610b4a576202a30060095461097691906121a6565b4210610b09576013546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed91906121bd565b6014546040516370a0823160e01b81523360048201529192506001600160a01b03169060009082906370a0823190602401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906121bd565b905082158015610a6d575080155b15610b0057600b546040516bffffffffffffffffffffffff193360601b166020820152610ab49187916034016040516020818303038152906040528051906020012061168a565b610b005760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206973206e6f74206f6e207768697465206c6973742e00000060448201526064016108da565b50505050610b4a565b60405162461bcd60e51b815260206004820152601660248201527529b0b6329034b9903737ba1029ba30b93a103cb2ba1760511b60448201526064016108da565b323314610b8b5760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b60448201526064016108da565b600080600080600d5490506000806009544210610bba57601154600a965094506125e4935060025b9050610c0f565b62015180600954610bcb91906121a6565b4210610be657601054600396509450610bb893506001610bb3565b6202a300600954610bf791906121a6565b4210610c0f5750600f546003955093506103e8925060005b336000908152600e602090815260408083208484529091529020549150858a1115610cb95760405162461bcd60e51b815260206004820152604e60248201527f4578636565647320746865206e756d626572206f6620746f6b656e206d696e7460448201527f73207065726d697474656420666f7220746869732063617465676f727920706560648201526d39103a3930b739b0b1ba34b7b71760911b608482015260a4016108da565b85610cc48b846121d6565b1115610d385760405162461bcd60e51b815260206004820152603860248201527f4578636565647320746865206e756d626572206f6620746f6b656e206d696e7460448201527f7320617661696c61626c6520706572206163636f756e742e000000000000000060648201526084016108da565b83610d438b856121d6565b1115610d615760405162461bcd60e51b81526004016108da906121ee565b34610d6c868c61215d565b1115610dc55760405162461bcd60e51b815260206004820152602260248201527f496e636f72726563742065746820616d6f756e742073656e7420746f206d696e604482015261742160f01b60648201526084016108da565b610dcf338b6116a0565b89600d6000828254610de191906121d6565b90915550610df190508a836121d6565b336000908152600e602090815260408083209483529390529190912055505050505050505050565b6008546001600160a01b03163314610e435760405162461bcd60e51b81526004016108da90612232565b323314610e845760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b60448201526064016108da565b60125460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ebe573d6000803e3d6000fd5b5050565b6008546001600160a01b03163314610eec5760405162461bcd60e51b81526004016108da90612232565b60098190556040518181527f191dde3e99ae398f28f0457d7346866a4fa04805ac0b57190b944935b5aa75509060200160405180910390a150565b61087683838360405180602001604052806000815250611118565b6008546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108da90612232565b61087660158383611c51565b6000610f83826116ba565b5192915050565b6008546001600160a01b03163314610fb45760405162461bcd60e51b81526004016108da90612232565b610876600a8383611c51565b60006001600160a01b038216610fe9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146110395760405162461bcd60e51b81526004016108da90612232565b61104360006117d6565b565b6008546001600160a01b0316331461106f5760405162461bcd60e51b81526004016108da90612232565b600b55565b60606003805461072e9061210d565b336001600160a01b038316036110ac5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61112384848461149b565b6001600160a01b0383163b1561115c5761113f84848484611828565b61115c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061116d82611414565b6111b15760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016108da565b6000600a80546111c09061210d565b90501161125757601580546111d49061210d565b80601f01602080910402602001604051908101604052809291908181526020018280546112009061210d565b801561124d5780601f106112225761010080835404028352916020019161124d565b820191906000526020600020905b81548152906001019060200180831161123057829003601f168201915b5050505050610719565b600a61126283611914565b600c60405160200161127693929190612300565b60405160208183030381529060405292915050565b6008546001600160a01b031633146112b55760405162461bcd60e51b81526004016108da90612232565b818160008181106112c8576112c8612333565b6020029190910135600f5550818160018181106112e7576112e7612333565b6020029190910135601055508181600281811061130657611306612333565b6020029190910135601155505050565b6008546001600160a01b031633146113405760405162461bcd60e51b81526004016108da90612232565b612710600d548261135191906121d6565b111561136f5760405162461bcd60e51b81526004016108da906121ee565b61137933826116a0565b50565b6008546001600160a01b031633146113a65760405162461bcd60e51b81526004016108da90612232565b6001600160a01b03811661140b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b611379816117d6565b6000805482108015610719575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006114a6826116ba565b9050836001600160a01b031681600001516001600160a01b0316146114dd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114fb57506114fb8533610649565b8061151657503361150b846107b1565b6001600160a01b0316145b90508061153657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661155d57604051633a954ecd60e21b815260040160405180910390fd5b6115696000848761143f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661163f57600054821461163f578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000826116978584611a15565b14949350505050565b610ebe828260405180602001604052806000815250611a89565b6040805160608101825260008082526020820181905291810191909152816000548110156117bd57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906117bb5780516001600160a01b031615611751579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156117b6579392505050565b611751565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061185d903390899088908890600401612349565b6020604051808303816000875af1925050508015611898575060408051601f3d908101601f1916820190925261189591810190612386565b60015b6118f6573d8080156118c6576040519150601f19603f3d011682016040523d82523d6000602084013e6118cb565b606091505b5080516000036118ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361193b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611965578061194f816123a3565b915061195e9050600a83612192565b915061193f565b60008167ffffffffffffffff81111561198057611980611fa6565b6040519080825280601f01601f1916602001820160405280156119aa576020820181803683370190505b5090505b841561190c576119bf6001836121a6565b91506119cc600a866123bc565b6119d79060306121d6565b60f81b8183815181106119ec576119ec612333565b60200101906001600160f81b031916908160001a905350611a0e600a86612192565b94506119ae565b600081815b8451811015611a81576000858281518110611a3757611a37612333565b60200260200101519050808311611a5d5760008381526020829052604090209250611a6e565b600081815260208490526040902092505b5080611a79816123a3565b915050611a1a565b509392505050565b6000546001600160a01b038416611ab257604051622e076360e81b815260040160405180910390fd5b82600003611ad35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611bfc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bc56000878480600101955087611828565b611be2576040516368d2bf6b60e11b815260040160405180910390fd5b808210611b7a578260005414611bf757600080fd5b611c41565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611bfd575b50600090815561115c9085838684565b828054611c5d9061210d565b90600052602060002090601f016020900481019282611c7f5760008555611cc5565b82601f10611c985782800160ff19823516178555611cc5565b82800160010185558215611cc5579182015b82811115611cc5578235825591602001919060010190611caa565b50611cd1929150611cd5565b5090565b5b80821115611cd15760008155600101611cd6565b6001600160e01b03198116811461137957600080fd5b600060208284031215611d1257600080fd5b8135611d1d81611cea565b9392505050565b80356001600160a01b0381168114611d3b57600080fd5b919050565b60008060408385031215611d5357600080fd5b611d5c83611d24565b946020939093013593505050565b60005b83811015611d85578181015183820152602001611d6d565b8381111561115c5750506000910152565b60008151808452611dae816020860160208601611d6a565b601f01601f19169290920160200192915050565b602081526000611d1d6020830184611d96565b600060208284031215611de757600080fd5b5035919050565b600080600060608486031215611e0357600080fd5b611e0c84611d24565b9250611e1a60208501611d24565b9150604084013590509250925092565b60008060408385031215611e3d57600080fd5b50508035926020909101359150565b60008083601f840112611e5e57600080fd5b50813567ffffffffffffffff811115611e7657600080fd5b6020830191508360208260051b850101111561091357600080fd5b600080600060408486031215611ea657600080fd5b83359250602084013567ffffffffffffffff811115611ec457600080fd5b611ed086828701611e4c565b9497909650939450505050565b60008060208385031215611ef057600080fd5b823567ffffffffffffffff80821115611f0857600080fd5b818501915085601f830112611f1c57600080fd5b813581811115611f2b57600080fd5b866020828501011115611f3d57600080fd5b60209290920196919550909350505050565b600060208284031215611f6157600080fd5b611d1d82611d24565b60008060408385031215611f7d57600080fd5b611f8683611d24565b915060208301358015158114611f9b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611fd257600080fd5b611fdb85611d24565b9350611fe960208601611d24565b925060408501359150606085013567ffffffffffffffff8082111561200d57600080fd5b818701915087601f83011261202157600080fd5b81358181111561203357612033611fa6565b604051601f8201601f19908116603f0116810190838211818310171561205b5761205b611fa6565b816040528281528a602084870101111561207457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080602083850312156120ab57600080fd5b823567ffffffffffffffff8111156120c257600080fd5b6120ce85828601611e4c565b90969095509350505050565b600080604083850312156120ed57600080fd5b6120f683611d24565b915061210460208401611d24565b90509250929050565b600181811c9082168061212157607f821691505b60208210810361214157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561217757612177612147565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121a1576121a161217c565b500490565b6000828210156121b8576121b8612147565b500390565b6000602082840312156121cf57600080fd5b5051919050565b600082198211156121e9576121e9612147565b500190565b60208082526024908201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d604082015263696e742160e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8054600090600181811c908083168061228157607f831692505b602080841082036122a257634e487b7160e01b600052602260045260246000fd5b8180156122b657600181146122c7576122f4565b60ff198616895284890196506122f4565b60008881526020902060005b868110156122ec5781548b8201529085019083016122d3565b505084890196505b50505050505092915050565b600061230c8286612267565b845161231c818360208901611d6a565b61232881830186612267565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237c90830184611d96565b9695505050505050565b60006020828403121561239857600080fd5b8151611d1d81611cea565b6000600182016123b5576123b5612147565b5060010190565b6000826123cb576123cb61217c565b50069056fea264697066735822122003e09d6afc0179fe6946b0b45fc175097a3ee206cc8119406652ffa721043ea464736f6c634300080d0033697066733a2f2f516d5153726857454c7a3279616f345364774b4369744b5a6d506d71717073624c396d6747674365355078707743

Deployed Bytecode

0x6080604052600436106102255760003560e01c806355f804b3116101235780639b6860c8116100ab578063e757c17d1161006f578063e757c17d14610618578063e985e9c51461062e578063ed3d97c214610677578063f19e75d41461068d578063f2fde38b146106ad57600080fd5b80639b6860c814610582578063a22cb46514610598578063b88d4fde146105b8578063c87b56dd146105d8578063ce2da6db146105f857600080fd5b806370a08231116100f257806370a08231146104fa578063715018a61461051a5780638da5cb5b1461052f57806392f6c4391461054d57806395d89b411461056d57600080fd5b806355f804b3146104845780636352211e146104a45780636b8dc355146104c45780636e83843a146104da57600080fd5b80632f8af9df116101b157806342842e0e1161017557806342842e0e14610422578063445910f7146104425780634767ac2d146104425780634c5f6bfc1461045757806353e086041461046d57600080fd5b80632f8af9df146103af5780632fb03cc5146103c257806331f353c7146103d85780633ccfd60b146103ed5780633e0a322d1461040257600080fd5b8063081812fc116101f8578063081812fc146102dd578063095ea7b31461031557806318160ddd1461033757806323b872dd146103505780632a55205a1461037057600080fd5b806301ffc9a71461022a57806304787f3d1461025f57806305144bea1461028357806306fdde03146102bb575b600080fd5b34801561023657600080fd5b5061024a610245366004611d00565b6106cd565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560165481565b604051908152602001610256565b34801561028f57600080fd5b5061027561029e366004611d40565b600e60209081526000928352604080842090915290825290205481565b3480156102c757600080fd5b506102d061071f565b6040516102569190611dc2565b3480156102e957600080fd5b506102fd6102f8366004611dd5565b6107b1565b6040516001600160a01b039091168152602001610256565b34801561032157600080fd5b50610335610330366004611d40565b6107f5565b005b34801561034357600080fd5b5060015460005403610275565b34801561035c57600080fd5b5061033561036b366004611dee565b61087b565b34801561037c57600080fd5b5061039061038b366004611e2a565b610886565b604080516001600160a01b039093168352602083019190915201610256565b6103356103bd366004611e91565b61091a565b3480156103ce57600080fd5b506102756125e481565b3480156103e457600080fd5b50610275600a81565b3480156103f957600080fd5b50610335610e19565b34801561040e57600080fd5b5061033561041d366004611dd5565b610ec2565b34801561042e57600080fd5b5061033561043d366004611dee565b610f27565b34801561044e57600080fd5b50610275600381565b34801561046357600080fd5b50610275610bb881565b34801561047957600080fd5b50610275620186a081565b34801561049057600080fd5b5061033561049f366004611edd565b610f42565b3480156104b057600080fd5b506102fd6104bf366004611dd5565b610f78565b3480156104d057600080fd5b506102756103e881565b3480156104e657600080fd5b506103356104f5366004611edd565b610f8a565b34801561050657600080fd5b50610275610515366004611f4f565b610fc0565b34801561052657600080fd5b5061033561100f565b34801561053b57600080fd5b506008546001600160a01b03166102fd565b34801561055957600080fd5b50610335610568366004611dd5565b611045565b34801561057957600080fd5b506102d0611074565b34801561058e57600080fd5b5061027560115481565b3480156105a457600080fd5b506103356105b3366004611f6a565b611083565b3480156105c457600080fd5b506103356105d3366004611fbc565b611118565b3480156105e457600080fd5b506102d06105f3366004611dd5565b611162565b34801561060457600080fd5b50610335610613366004612098565b61128b565b34801561062457600080fd5b50610275600f5481565b34801561063a57600080fd5b5061024a6106493660046120da565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561068357600080fd5b5061027560105481565b34801561069957600080fd5b506103356106a8366004611dd5565b611316565b3480156106b957600080fd5b506103356106c8366004611f4f565b61137c565b60006001600160e01b031982166380ac58cd60e01b14806106fe57506001600160e01b03198216635b5e139f60e01b145b8061071957506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461072e9061210d565b80601f016020809104026020016040519081016040528092919081815260200182805461075a9061210d565b80156107a75780601f1061077c576101008083540402835291602001916107a7565b820191906000526020600020905b81548152906001019060200180831161078a57829003601f168201915b5050505050905090565b60006107bc82611414565b6107d9576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061080082610f78565b9050806001600160a01b0316836001600160a01b0316036108345760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461086b5761084e8133610649565b61086b576040516367d9dca160e11b815260040160405180910390fd5b61087683838361143f565b505050565b61087683838361149b565b60008061089284611414565b6108e35760405162461bcd60e51b815260206004820152601e60248201527f526f79616c747920466f72204e6f6e206578697374656e7420546f6b656e000060448201526064015b60405180910390fd5b6012546016546001600160a01b0390911690620186a090610904908661215d565b61090e9190612192565b915091505b9250929050565b8181808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060095461095e92506201518091506121a6565b421015610b4a576202a30060095461097691906121a6565b4210610b09576013546040516370a0823160e01b81523360048201526001600160a01b039091169060009082906370a0823190602401602060405180830381865afa1580156109c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ed91906121bd565b6014546040516370a0823160e01b81523360048201529192506001600160a01b03169060009082906370a0823190602401602060405180830381865afa158015610a3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5f91906121bd565b905082158015610a6d575080155b15610b0057600b546040516bffffffffffffffffffffffff193360601b166020820152610ab49187916034016040516020818303038152906040528051906020012061168a565b610b005760405162461bcd60e51b815260206004820152601d60248201527f41646472657373206973206e6f74206f6e207768697465206c6973742e00000060448201526064016108da565b50505050610b4a565b60405162461bcd60e51b815260206004820152601660248201527529b0b6329034b9903737ba1029ba30b93a103cb2ba1760511b60448201526064016108da565b323314610b8b5760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b60448201526064016108da565b600080600080600d5490506000806009544210610bba57601154600a965094506125e4935060025b9050610c0f565b62015180600954610bcb91906121a6565b4210610be657601054600396509450610bb893506001610bb3565b6202a300600954610bf791906121a6565b4210610c0f5750600f546003955093506103e8925060005b336000908152600e602090815260408083208484529091529020549150858a1115610cb95760405162461bcd60e51b815260206004820152604e60248201527f4578636565647320746865206e756d626572206f6620746f6b656e206d696e7460448201527f73207065726d697474656420666f7220746869732063617465676f727920706560648201526d39103a3930b739b0b1ba34b7b71760911b608482015260a4016108da565b85610cc48b846121d6565b1115610d385760405162461bcd60e51b815260206004820152603860248201527f4578636565647320746865206e756d626572206f6620746f6b656e206d696e7460448201527f7320617661696c61626c6520706572206163636f756e742e000000000000000060648201526084016108da565b83610d438b856121d6565b1115610d615760405162461bcd60e51b81526004016108da906121ee565b34610d6c868c61215d565b1115610dc55760405162461bcd60e51b815260206004820152602260248201527f496e636f72726563742065746820616d6f756e742073656e7420746f206d696e604482015261742160f01b60648201526084016108da565b610dcf338b6116a0565b89600d6000828254610de191906121d6565b90915550610df190508a836121d6565b336000908152600e602090815260408083209483529390529190912055505050505050505050565b6008546001600160a01b03163314610e435760405162461bcd60e51b81526004016108da90612232565b323314610e845760405162461bcd60e51b815260206004820152600f60248201526e21b0b63632b9103737ba103ab9b2b960891b60448201526064016108da565b60125460405147916001600160a01b03169082156108fc029083906000818181858888f19350505050158015610ebe573d6000803e3d6000fd5b5050565b6008546001600160a01b03163314610eec5760405162461bcd60e51b81526004016108da90612232565b60098190556040518181527f191dde3e99ae398f28f0457d7346866a4fa04805ac0b57190b944935b5aa75509060200160405180910390a150565b61087683838360405180602001604052806000815250611118565b6008546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108da90612232565b61087660158383611c51565b6000610f83826116ba565b5192915050565b6008546001600160a01b03163314610fb45760405162461bcd60e51b81526004016108da90612232565b610876600a8383611c51565b60006001600160a01b038216610fe9576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146110395760405162461bcd60e51b81526004016108da90612232565b61104360006117d6565b565b6008546001600160a01b0316331461106f5760405162461bcd60e51b81526004016108da90612232565b600b55565b60606003805461072e9061210d565b336001600160a01b038316036110ac5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61112384848461149b565b6001600160a01b0383163b1561115c5761113f84848484611828565b61115c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061116d82611414565b6111b15760405162461bcd60e51b81526020600482015260156024820152742a37b5b2b7103237b2b9903737ba1032bc34b9ba1760591b60448201526064016108da565b6000600a80546111c09061210d565b90501161125757601580546111d49061210d565b80601f01602080910402602001604051908101604052809291908181526020018280546112009061210d565b801561124d5780601f106112225761010080835404028352916020019161124d565b820191906000526020600020905b81548152906001019060200180831161123057829003601f168201915b5050505050610719565b600a61126283611914565b600c60405160200161127693929190612300565b60405160208183030381529060405292915050565b6008546001600160a01b031633146112b55760405162461bcd60e51b81526004016108da90612232565b818160008181106112c8576112c8612333565b6020029190910135600f5550818160018181106112e7576112e7612333565b6020029190910135601055508181600281811061130657611306612333565b6020029190910135601155505050565b6008546001600160a01b031633146113405760405162461bcd60e51b81526004016108da90612232565b612710600d548261135191906121d6565b111561136f5760405162461bcd60e51b81526004016108da906121ee565b61137933826116a0565b50565b6008546001600160a01b031633146113a65760405162461bcd60e51b81526004016108da90612232565b6001600160a01b03811661140b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108da565b611379816117d6565b6000805482108015610719575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006114a6826116ba565b9050836001600160a01b031681600001516001600160a01b0316146114dd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806114fb57506114fb8533610649565b8061151657503361150b846107b1565b6001600160a01b0316145b90508061153657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661155d57604051633a954ecd60e21b815260040160405180910390fd5b6115696000848761143f565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102178355870180845292208054919390911661163f57600054821461163f578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b6000826116978584611a15565b14949350505050565b610ebe828260405180602001604052806000815250611a89565b6040805160608101825260008082526020820181905291810191909152816000548110156117bd57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906117bb5780516001600160a01b031615611751579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156117b6579392505050565b611751565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061185d903390899088908890600401612349565b6020604051808303816000875af1925050508015611898575060408051601f3d908101601f1916820190925261189591810190612386565b60015b6118f6573d8080156118c6576040519150601f19603f3d011682016040523d82523d6000602084013e6118cb565b606091505b5080516000036118ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361193b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611965578061194f816123a3565b915061195e9050600a83612192565b915061193f565b60008167ffffffffffffffff81111561198057611980611fa6565b6040519080825280601f01601f1916602001820160405280156119aa576020820181803683370190505b5090505b841561190c576119bf6001836121a6565b91506119cc600a866123bc565b6119d79060306121d6565b60f81b8183815181106119ec576119ec612333565b60200101906001600160f81b031916908160001a905350611a0e600a86612192565b94506119ae565b600081815b8451811015611a81576000858281518110611a3757611a37612333565b60200260200101519050808311611a5d5760008381526020829052604090209250611a6e565b600081815260208490526040902092505b5080611a79816123a3565b915050611a1a565b509392505050565b6000546001600160a01b038416611ab257604051622e076360e81b815260040160405180910390fd5b82600003611ad35760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15611bfc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611bc56000878480600101955087611828565b611be2576040516368d2bf6b60e11b815260040160405180910390fd5b808210611b7a578260005414611bf757600080fd5b611c41565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611bfd575b50600090815561115c9085838684565b828054611c5d9061210d565b90600052602060002090601f016020900481019282611c7f5760008555611cc5565b82601f10611c985782800160ff19823516178555611cc5565b82800160010185558215611cc5579182015b82811115611cc5578235825591602001919060010190611caa565b50611cd1929150611cd5565b5090565b5b80821115611cd15760008155600101611cd6565b6001600160e01b03198116811461137957600080fd5b600060208284031215611d1257600080fd5b8135611d1d81611cea565b9392505050565b80356001600160a01b0381168114611d3b57600080fd5b919050565b60008060408385031215611d5357600080fd5b611d5c83611d24565b946020939093013593505050565b60005b83811015611d85578181015183820152602001611d6d565b8381111561115c5750506000910152565b60008151808452611dae816020860160208601611d6a565b601f01601f19169290920160200192915050565b602081526000611d1d6020830184611d96565b600060208284031215611de757600080fd5b5035919050565b600080600060608486031215611e0357600080fd5b611e0c84611d24565b9250611e1a60208501611d24565b9150604084013590509250925092565b60008060408385031215611e3d57600080fd5b50508035926020909101359150565b60008083601f840112611e5e57600080fd5b50813567ffffffffffffffff811115611e7657600080fd5b6020830191508360208260051b850101111561091357600080fd5b600080600060408486031215611ea657600080fd5b83359250602084013567ffffffffffffffff811115611ec457600080fd5b611ed086828701611e4c565b9497909650939450505050565b60008060208385031215611ef057600080fd5b823567ffffffffffffffff80821115611f0857600080fd5b818501915085601f830112611f1c57600080fd5b813581811115611f2b57600080fd5b866020828501011115611f3d57600080fd5b60209290920196919550909350505050565b600060208284031215611f6157600080fd5b611d1d82611d24565b60008060408385031215611f7d57600080fd5b611f8683611d24565b915060208301358015158114611f9b57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611fd257600080fd5b611fdb85611d24565b9350611fe960208601611d24565b925060408501359150606085013567ffffffffffffffff8082111561200d57600080fd5b818701915087601f83011261202157600080fd5b81358181111561203357612033611fa6565b604051601f8201601f19908116603f0116810190838211818310171561205b5761205b611fa6565b816040528281528a602084870101111561207457600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080602083850312156120ab57600080fd5b823567ffffffffffffffff8111156120c257600080fd5b6120ce85828601611e4c565b90969095509350505050565b600080604083850312156120ed57600080fd5b6120f683611d24565b915061210460208401611d24565b90509250929050565b600181811c9082168061212157607f821691505b60208210810361214157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561217757612177612147565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121a1576121a161217c565b500490565b6000828210156121b8576121b8612147565b500390565b6000602082840312156121cf57600080fd5b5051919050565b600082198211156121e9576121e9612147565b500190565b60208082526024908201527f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720746f206d604082015263696e742160e01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8054600090600181811c908083168061228157607f831692505b602080841082036122a257634e487b7160e01b600052602260045260246000fd5b8180156122b657600181146122c7576122f4565b60ff198616895284890196506122f4565b60008881526020902060005b868110156122ec5781548b8201529085019083016122d3565b505084890196505b50505050505092915050565b600061230c8286612267565b845161231c818360208901611d6a565b61232881830186612267565b979650505050505050565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237c90830184611d96565b9695505050505050565b60006020828403121561239857600080fd5b8151611d1d81611cea565b6000600182016123b5576123b5612147565b5060010190565b6000826123cb576123cb61217c565b50069056fea264697066735822122003e09d6afc0179fe6946b0b45fc175097a3ee206cc8119406652ffa721043ea464736f6c634300080d0033

Deployed Bytecode Sourcemap

50204:7222:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31230:305;;;;;;;;;;-1:-1:-1;31230:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;31230:305:0;;;;;;;;51838:37;;;;;;;;;;;;;;;;;;;738:25:1;;;726:2;711:18;51838:37:0;592:177:1;50682:82:0;;;;;;;;;;-1:-1:-1;50682:82:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;34345:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35849:204::-;;;;;;;;;;-1:-1:-1;35849:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2311:32:1;;;2293:51;;2281:2;2266:18;35849:204:0;2147:203:1;35411:372:0;;;;;;;;;;-1:-1:-1;35411:372:0;;;;;:::i;:::-;;:::i;:::-;;30470:312;;;;;;;;;;-1:-1:-1;30733:12:0;;30523:7;30717:13;:28;30470:312;;36714:170;;;;;;;;;;-1:-1:-1;36714:170:0;;;;;:::i;:::-;;:::i;57050:371::-;;;;;;;;;;-1:-1:-1;57050:371:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3133:32:1;;;3115:51;;3197:2;3182:18;;3175:34;;;;3088:18;57050:371:0;2941:274:1;53162:2115:0;;;;;;:::i;:::-;;:::i;51387:53::-;;;;;;;;;;;;51436:4;51387:53;;51266:64;;;;;;;;;;;;51328:2;51266:64;;56112:220;;;;;;;;;;;;;:::i;55699:141::-;;;;;;;;;;-1:-1:-1;55699:141:0;;;;;:::i;:::-;;:::i;36955:185::-;;;;;;;;;;-1:-1:-1;36955:185:0;;;;;:::i;:::-;;:::i;50846:59::-;;;;;;;;;;;;50904:1;50846:59;;51174:52;;;;;;;;;;;;51222:4;51174:52;;51882:57;;;;;;;;;;;;51932:7;51882:57;;56340:100;;;;;;;;;;-1:-1:-1;56340:100:0;;;;;:::i;:::-;;:::i;34153:125::-;;;;;;;;;;-1:-1:-1;34153:125:0;;;;;:::i;:::-;;:::i;50959:49::-;;;;;;;;;;;;51004:4;50959:49;;56448:140;;;;;;;;;;-1:-1:-1;56448:140:0;;;;;:::i;:::-;;:::i;31599:206::-;;;;;;;;;;-1:-1:-1;31599:206:0;;;;;:::i;:::-;;:::i;7415:103::-;;;;;;;;;;;;;:::i;6764:87::-;;;;;;;;;;-1:-1:-1;6837:6:0;;-1:-1:-1;;;;;6837:6:0;6764:87;;55586:105;;;;;;;;;;-1:-1:-1;55586:105:0;;;;;:::i;:::-;;:::i;34514:104::-;;;;;;;;;;;;;:::i;51337:43::-;;;;;;;;;;;;;;;;36125:287;;;;;;;;;;-1:-1:-1;36125:287:0;;;;;:::i;:::-;;:::i;37211:370::-;;;;;;;;;;-1:-1:-1;37211:370:0;;;;;:::i;:::-;;:::i;56596:446::-;;;;;;;;;;-1:-1:-1;56596:446:0;;;;;:::i;:::-;;:::i;55848:202::-;;;;;;;;;;-1:-1:-1;55848:202:0;;;;;:::i;:::-;;:::i;50912:40::-;;;;;;;;;;;;;;;;36483:164;;;;;;;;;;-1:-1:-1;36483:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36604:25:0;;;36580:4;36604:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36483:164;51125:42;;;;;;;;;;;;;;;;55304:230;;;;;;;;;;-1:-1:-1;55304:230:0;;;;;:::i;:::-;;:::i;7673:201::-;;;;;;;;;;-1:-1:-1;7673:201:0;;;;;:::i;:::-;;:::i;31230:305::-;31332:4;-1:-1:-1;;;;;;31369:40:0;;-1:-1:-1;;;31369:40:0;;:105;;-1:-1:-1;;;;;;;31426:48:0;;-1:-1:-1;;;31426:48:0;31369:105;:158;;;-1:-1:-1;;;;;;;;;;19680:40:0;;;31491:36;31349:178;31230:305;-1:-1:-1;;31230:305:0:o;34345:100::-;34399:13;34432:5;34425:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34345:100;:::o;35849:204::-;35917:7;35942:16;35950:7;35942;:16::i;:::-;35937:64;;35967:34;;-1:-1:-1;;;35967:34:0;;;;;;;;;;;35937:64;-1:-1:-1;36021:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36021:24:0;;35849:204::o;35411:372::-;35484:13;35500:24;35516:7;35500:15;:24::i;:::-;35484:40;;35545:5;-1:-1:-1;;;;;35539:11:0;:2;-1:-1:-1;;;;;35539:11:0;;35535:48;;35559:24;;-1:-1:-1;;;35559:24:0;;;;;;;;;;;35535:48;5568:10;-1:-1:-1;;;;;35600:21:0;;;35596:139;;35627:37;35644:5;5568:10;36483:164;:::i;35627:37::-;35623:112;;35688:35;;-1:-1:-1;;;35688:35:0;;;;;;;;;;;35623:112;35747:28;35756:2;35760:7;35769:5;35747:8;:28::i;:::-;35473:310;35411:372;;:::o;36714:170::-;36848:28;36858:4;36864:2;36868:7;36848:9;:28::i;57050:371::-;57159:16;57177:21;57224:17;57232:8;57224:7;:17::i;:::-;57216:60;;;;-1:-1:-1;;;57216:60:0;;7996:2:1;57216:60:0;;;7978:21:1;8035:2;8015:18;;;8008:30;8074:32;8054:18;;;8047:60;8124:18;;57216:60:0;;;;;;;;;57309:23;;57361:14;;-1:-1:-1;;;;;57309:23:0;;;;51932:7;;57348:27;;:10;:27;:::i;:::-;57347:55;;;;:::i;:::-;57287:126;;;;57050:371;;;;;;:::o;53162:2115::-;53308:12;;52110:947;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52204:16:0;;:24;;-1:-1:-1;52223:5:0;;-1:-1:-1;52204:24:0;:::i;:::-;52185:15;:43;52182:855;;;52323:6;52304:16;;:25;;;;:::i;:::-;52284:15;:46;52281:756;;52380:16;;52441:36;;-1:-1:-1;;;52441:36:0;;52466:10;52441:36;;;2293:51:1;-1:-1:-1;;;;;52380:16:0;;;;52347:22;;52380:16;;52441:24;;2266:18:1;;52441:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52526:18;;52586:38;;-1:-1:-1;;;52586:38:0;;52613:10;52586:38;;;2293:51:1;52411:66:0;;-1:-1:-1;;;;;;52526:18:0;;52491:24;;52526:18;;52586:26;;2266:18:1;;52586:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52559:65;-1:-1:-1;52644:24:0;;:49;;;;-1:-1:-1;52672:21:0;;52644:49;52641:341;;;52793:10;;52836:28;;-1:-1:-1;;52853:10:0;9183:2:1;9179:15;9175:53;52836:28:0;;;9163:66:1;52717:149:0;;52758:12;;9245::1;;52836:28:0;;;;;;;;;;;;52826:39;;;;;;52717:18;:149::i;:::-;52713:254;;52908:39;;-1:-1:-1;;;52908:39:0;;9470:2:1;52908:39:0;;;9452:21:1;9509:2;9489:18;;;9482:30;9548:31;9528:18;;;9521:59;9597:18;;52908:39:0;9268:353:1;52713:254:0;52331:662;;;;52281:756;;;52998:39;;-1:-1:-1;;;52998:39:0;;9828:2:1;52998:39:0;;;9810:21:1;9867:2;9847:18;;;9840:30;-1:-1:-1;;;9886:18:1;;;9879:52;9948:18;;52998:39:0;9626:346:1;52998:39:0;53346:9:::1;53359:10;53346:23;53338:51;;;::::0;-1:-1:-1;;;53338:51:0;;10179:2:1;53338:51:0::1;::::0;::::1;10161:21:1::0;10218:2;10198:18;;;10191:30;-1:-1:-1;;;10237:18:1;;;10230:45;10292:18;;53338:51:0::1;9977:339:1::0;53338:51:0::1;53400:25;53436:17:::0;53464:27:::1;53502:14:::0;53519::::1;;53502:31;;53544:34;53589:16:::0;53640::::1;;53621:15;:35;53618:830;;53755:15;::::0;51328:2:::1;::::0;-1:-1:-1;53755:15:0;-1:-1:-1;51436:4:0::1;::::0;-1:-1:-1;53863:15:0::1;53858:21;53844:35;;53618:830;;;53938:5;53919:16;;:24;;;;:::i;:::-;53899:15;:45;53896:552;;54041:14;::::0;51117:1:::1;::::0;-1:-1:-1;54041:14:0;-1:-1:-1;51222:4:0::1;::::0;-1:-1:-1;54147:14:0::1;54142:20;::::0;53896:552:::1;54221:6;54202:16;;:25;;;;:::i;:::-;54182:15;:46;54179:269;;-1:-1:-1::0;54322:12:0::1;::::0;50904:1:::1;::::0;-1:-1:-1;54322:12:0;-1:-1:-1;51004:4:0::1;::::0;-1:-1:-1;54423:12:0::1;54179:269;54520:10;54489:42;::::0;;;:30:::1;:42;::::0;;;;;;;:55;;;;;;;;;;-1:-1:-1;54565:39:0;;::::1;;54557:130;;;::::0;-1:-1:-1;;;54557:130:0;;10655:2:1;54557:130:0::1;::::0;::::1;10637:21:1::0;10694:2;10674:18;;;10667:30;10733:34;10713:18;;;10706:62;10804:34;10784:18;;;10777:62;-1:-1:-1;;;10855:19:1;;;10848:45;10910:19;;54557:130:0::1;10453:482:1::0;54557:130:0::1;54757:17:::0;54706:47:::1;54735:18:::0;54706:26;:47:::1;:::i;:::-;:68;;54698:136;;;::::0;-1:-1:-1;;;54698:136:0;;11275:2:1;54698:136:0::1;::::0;::::1;11257:21:1::0;11314:2;11294:18;;;11287:30;11353:34;11333:18;;;11326:62;11424:26;11404:18;;;11397:54;11468:19;;54698:136:0::1;11073:420:1::0;54698:136:0::1;54884:19:::0;54853:27:::1;54862:18:::0;54853:6;:27:::1;:::i;:::-;:50;;54845:99;;;;-1:-1:-1::0;;;54845:99:0::1;;;;;;;:::i;:::-;54997:9;54963:30;54984:9:::0;54963:18;:30:::1;:::i;:::-;:43;;54955:90;;;::::0;-1:-1:-1;;;54955:90:0;;12105:2:1;54955:90:0::1;::::0;::::1;12087:21:1::0;12144:2;12124:18;;;12117:30;12183:34;12163:18;;;12156:62;-1:-1:-1;;;12234:18:1;;;12227:32;12276:19;;54955:90:0::1;11903:398:1::0;54955:90:0::1;55063:41;55073:10;55085:18;55063:9;:41::i;:::-;55135:18;55117:14;;:36;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;55222:47:0::1;::::0;-1:-1:-1;55251:18:0;55222:26;:47:::1;:::i;:::-;55195:10;55164:42;::::0;;;:30:::1;:42;::::0;;;;;;;:55;;;;;;;;;;:105;-1:-1:-1;;;;;;;;;53162:2115:0:o;56112:220::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;56170:9:::1;56183:10;56170:23;56162:51;;;::::0;-1:-1:-1;;;56162:51:0;;10179:2:1;56162:51:0::1;::::0;::::1;10161:21:1::0;10218:2;10198:18;;;10191:30;-1:-1:-1;;;10237:18:1;;;10230:45;10292:18;;56162:51:0::1;9977:339:1::0;56162:51:0::1;56282:23;::::0;56274:50:::1;::::0;56242:21:::1;::::0;-1:-1:-1;;;;;56282:23:0::1;::::0;56274:50;::::1;;;::::0;56242:21;;56224:15:::1;56274:50:::0;56224:15;56274:50;56242:21;56282:23;56274:50;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;56151:181;56112:220::o:0;55699:141::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;55769:16:::1;:26:::0;;;55811:21:::1;::::0;738:25:1;;;55811:21:0::1;::::0;726:2:1;711:18;55811:21:0::1;;;;;;;55699:141:::0;:::o;36955:185::-;37093:39;37110:4;37116:2;37120:7;37093:39;;;;;;;;;;;;:16;:39::i;56340:100::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;56412:20:::1;:13;56428:4:::0;;56412:20:::1;:::i;34153:125::-:0;34217:7;34244:21;34257:7;34244:12;:21::i;:::-;:26;;34153:125;-1:-1:-1;;34153:125:0:o;56448:140::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;56540:40:::1;:21;56564:16:::0;;56540:40:::1;:::i;31599:206::-:0;31663:7;-1:-1:-1;;;;;31687:19:0;;31683:60;;31715:28;;-1:-1:-1;;;31715:28:0;;;;;;;;;;;31683:60;-1:-1:-1;;;;;;31769:19:0;;;;;:12;:19;;;;;:27;;;;31599:206::o;7415:103::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;7480:30:::1;7507:1;7480:18;:30::i;:::-;7415:103::o:0;55586:105::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;55659:10:::1;:24:::0;55586:105::o;34514:104::-;34570:13;34603:7;34596:14;;;;;:::i;36125:287::-;5568:10;-1:-1:-1;;;;;36224:24:0;;;36220:54;;36257:17;;-1:-1:-1;;;36257:17:0;;;;;;;;;;;36220:54;5568:10;36287:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36287:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36287:53:0;;;;;;;;;;36356:48;;540:41:1;;;36287:42:0;;5568:10;36356:48;;513:18:1;36356:48:0;;;;;;;36125:287;;:::o;37211:370::-;37378:28;37388:4;37394:2;37398:7;37378:9;:28::i;:::-;-1:-1:-1;;;;;37421:13:0;;9760:19;:23;37417:157;;37442:56;37473:4;37479:2;37483:7;37492:5;37442:30;:56::i;:::-;37438:136;;37522:40;;-1:-1:-1;;;37522:40:0;;;;;;;;;;;37438:136;37211:370;;;;:::o;56596:446::-;56707:13;56746:17;56754:8;56746:7;:17::i;:::-;56738:51;;;;-1:-1:-1;;;56738:51:0;;12869:2:1;56738:51:0;;;12851:21:1;12908:2;12888:18;;;12881:30;-1:-1:-1;;;12927:18:1;;;12920:51;12988:18;;56738:51:0;12667:345:1;56738:51:0;56858:1;56826:21;56820:35;;;;;:::i;:::-;;;:39;:214;;57021:13;56820:214;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56925:21;56948:19;:8;:17;:19::i;:::-;56968:13;56908:74;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56800:234;56596:446;-1:-1:-1;;56596:446:0:o;55848:202::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;55946:10:::1;;55957:1;55946:13;;;;;;;:::i;:::-;;;::::0;;;::::1;;55931:12;:28:::0;-1:-1:-1;55987:10:0;;55998:1:::1;55987:13:::0;;::::1;;;;;:::i;:::-;;;::::0;;;::::1;;55970:14;:30:::0;-1:-1:-1;56029:10:0;;56040:1:::1;56029:13:::0;;::::1;;;;;:::i;:::-;;;::::0;;;::::1;;56011:15;:31:::0;-1:-1:-1;;;55848:202:0:o;55304:230::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;55428:5:::1;55410:14;;55389:18;:35;;;;:::i;:::-;:44;;55381:93;;;;-1:-1:-1::0;;;55381:93:0::1;;;;;;;:::i;:::-;55485:41;55495:10;55507:18;55485:9;:41::i;:::-;55304:230:::0;:::o;7673:201::-;6837:6;;-1:-1:-1;;;;;6837:6:0;5568:10;6984:23;6976:68;;;;-1:-1:-1;;;6976:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7762:22:0;::::1;7754:73;;;::::0;-1:-1:-1;;;7754:73:0;;14916:2:1;7754:73:0::1;::::0;::::1;14898:21:1::0;14955:2;14935:18;;;14928:30;14994:34;14974:18;;;14967:62;-1:-1:-1;;;15045:18:1;;;15038:36;15091:19;;7754:73:0::1;14714:402:1::0;7754:73:0::1;7838:28;7857:8;7838:18;:28::i;37836:174::-:0;37893:4;37957:13;;37947:7;:23;37917:85;;;;-1:-1:-1;;37975:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;37975:27:0;;;;37974:28;;37836:174::o;47058:196::-;47173:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;47173:29:0;-1:-1:-1;;;;;47173:29:0;;;;;;;;;47218:28;;47173:24;;47218:28;;;;;;;47058:196;;;:::o;42006:2130::-;42121:35;42159:21;42172:7;42159:12;:21::i;:::-;42121:59;;42219:4;-1:-1:-1;;;;;42197:26:0;:13;:18;;;-1:-1:-1;;;;;42197:26:0;;42193:67;;42232:28;;-1:-1:-1;;;42232:28:0;;;;;;;;;;;42193:67;42273:22;5568:10;-1:-1:-1;;;;;42299:20:0;;;;:73;;-1:-1:-1;42336:36:0;42353:4;5568:10;36483:164;:::i;42336:36::-;42299:126;;;-1:-1:-1;5568:10:0;42389:20;42401:7;42389:11;:20::i;:::-;-1:-1:-1;;;;;42389:36:0;;42299:126;42273:153;;42444:17;42439:66;;42470:35;;-1:-1:-1;;;42470:35:0;;;;;;;;;;;42439:66;-1:-1:-1;;;;;42520:16:0;;42516:52;;42545:23;;-1:-1:-1;;;42545:23:0;;;;;;;;;;;42516:52;42689:35;42706:1;42710:7;42719:4;42689:8;:35::i;:::-;-1:-1:-1;;;;;43020:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;43020:31:0;;;;;;;-1:-1:-1;;43020:31:0;;;;;;;43066:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;43066:29:0;;;;;;;;;;;43146:20;;;:11;:20;;;;;;43181:18;;-1:-1:-1;;;;;;43214:49:0;;;;-1:-1:-1;;;43247:15:0;43214:49;;;;;;;;;;43537:11;;43597:24;;;;;43640:13;;43146:20;;43597:24;;43640:13;43636:384;;43850:13;;43835:11;:28;43831:174;;43888:20;;43957:28;;;;43931:54;;-1:-1:-1;;;43931:54:0;-1:-1:-1;;;;;;43931:54:0;;;-1:-1:-1;;;;;43888:20:0;;43931:54;;;;43831:174;42995:1036;;;44067:7;44063:2;-1:-1:-1;;;;;44048:27:0;44057:4;-1:-1:-1;;;;;44048:27:0;;;;;;;;;;;42110:2026;;42006:2130;;;:::o;1220:190::-;1345:4;1398;1369:25;1382:5;1389:4;1369:12;:25::i;:::-;:33;;1220:190;-1:-1:-1;;;;1220:190:0:o;38094:104::-;38163:27;38173:2;38177:8;38163:27;;;;;;;;;;;;:9;:27::i;32980:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33091:7:0;33176:13;;33169:4;:20;33165:859;;;33210:31;33244:17;;;:11;:17;;;;;;;;;33210:51;;;;;;;;;-1:-1:-1;;;;;33210:51:0;;;;-1:-1:-1;;;33210:51:0;;;;;;;;;;;-1:-1:-1;;;33210:51:0;;;;;;;;;;;;;;33280:729;;33330:14;;-1:-1:-1;;;;;33330:28:0;;33326:101;;33394:9;32980:1111;-1:-1:-1;;;32980:1111:0:o;33326:101::-;-1:-1:-1;;;33769:6:0;33814:17;;;;:11;:17;;;;;;;;;33802:29;;;;;;;;;-1:-1:-1;;;;;33802:29:0;;;;;-1:-1:-1;;;33802:29:0;;;;;;;;;;;-1:-1:-1;;;33802:29:0;;;;;;;;;;;;;33862:28;33858:109;;33930:9;32980:1111;-1:-1:-1;;;32980:1111:0:o;33858:109::-;33729:261;;;33191:833;33165:859;34052:31;;-1:-1:-1;;;34052:31:0;;;;;;;;;;;8034:191;8127:6;;;-1:-1:-1;;;;;8144:17:0;;;-1:-1:-1;;;;;;8144:17:0;;;;;;;8177:40;;8127:6;;;8144:17;8127:6;;8177:40;;8108:16;;8177:40;8097:128;8034:191;:::o;47746:667::-;47930:72;;-1:-1:-1;;;47930:72:0;;47909:4;;-1:-1:-1;;;;;47930:36:0;;;;;:72;;5568:10;;47981:4;;47987:7;;47996:5;;47930:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47930:72:0;;;;;;;;-1:-1:-1;;47930:72:0;;;;;;;;;;;;:::i;:::-;;;47926:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48164:6;:13;48181:1;48164:18;48160:235;;48210:40;;-1:-1:-1;;;48210:40:0;;;;;;;;;;;48160:235;48353:6;48347:13;48338:6;48334:2;48330:15;48323:38;47926:480;-1:-1:-1;;;;;;48049:55:0;-1:-1:-1;;;48049:55:0;;-1:-1:-1;47926:480:0;47746:667;;;;;;:::o;3050:723::-;3106:13;3327:5;3336:1;3327:10;3323:53;;-1:-1:-1;;3354:10:0;;;;;;;;;;;;-1:-1:-1;;;3354:10:0;;;;;3050:723::o;3323:53::-;3401:5;3386:12;3442:78;3449:9;;3442:78;;3475:8;;;;:::i;:::-;;-1:-1:-1;3498:10:0;;-1:-1:-1;3506:2:0;3498:10;;:::i;:::-;;;3442:78;;;3530:19;3562:6;3552:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3552:17:0;;3530:39;;3580:154;3587:10;;3580:154;;3614:11;3624:1;3614:11;;:::i;:::-;;-1:-1:-1;3683:10:0;3691:2;3683:5;:10;:::i;:::-;3670:24;;:2;:24;:::i;:::-;3657:39;;3640:6;3647;3640:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3640:56:0;;;;;;;;-1:-1:-1;3711:11:0;3720:2;3711:11;;:::i;:::-;;;3580:154;;1771:675;1854:7;1897:4;1854:7;1912:497;1936:5;:12;1932:1;:16;1912:497;;;1970:20;1993:5;1999:1;1993:8;;;;;;;;:::i;:::-;;;;;;;1970:31;;2036:12;2020;:28;2016:382;;2522:13;2572:15;;;2608:4;2601:15;;;2655:4;2639:21;;2148:57;;2016:382;;;2522:13;2572:15;;;2608:4;2601:15;;;2655:4;2639:21;;2325:57;;2016:382;-1:-1:-1;1950:3:0;;;;:::i;:::-;;;;1912:497;;;-1:-1:-1;2426:12:0;1771:675;-1:-1:-1;;;1771:675:0:o;38571:1749::-;38694:20;38717:13;-1:-1:-1;;;;;38745:16:0;;38741:48;;38770:19;;-1:-1:-1;;;38770:19:0;;;;;;;;;;;38741:48;38804:8;38816:1;38804:13;38800:44;;38826:18;;-1:-1:-1;;;38826:18:0;;;;;;;;;;;38800:44;-1:-1:-1;;;;;39195:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39254:49:0;;39195:44;;;;;;;;39254:49;;;;-1:-1:-1;;39195:44:0;;;;;;39254:49;;;;;;;;;;;;;;;;39320:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39370:66:0;;;-1:-1:-1;;;39420:15:0;39370:66;;;;;;;;;;;;;39320:25;;39517:23;;;;9760:19;:23;39557:631;;39597:313;39628:38;;39653:12;;-1:-1:-1;;;;;39628:38:0;;;39645:1;;39628:38;;39645:1;;39628:38;39694:69;39733:1;39737:2;39741:14;;;;;;39757:5;39694:30;:69::i;:::-;39689:174;;39799:40;;-1:-1:-1;;;39799:40:0;;;;;;;;;;;39689:174;39905:3;39890:12;:18;39597:313;;39991:12;39974:13;;:29;39970:43;;40005:8;;;39970:43;39557:631;;;40054:119;40085:40;;40110:14;;;;;-1:-1:-1;;;;;40085:40:0;;;40102:1;;40085:40;;40102:1;;40085:40;40168:3;40153:12;:18;40054:119;;39557:631;-1:-1:-1;40202:13:0;:28;;;40252:60;;40285:2;40289:12;40303:8;40252:60;:::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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;774:173::-;842:20;;-1:-1:-1;;;;;891:31:1;;881:42;;871:70;;937:1;934;927:12;871:70;774:173;;;:::o;952:254::-;1020:6;1028;1081:2;1069:9;1060:7;1056:23;1052:32;1049:52;;;1097:1;1094;1087:12;1049:52;1120:29;1139:9;1120:29;:::i;:::-;1110:39;1196:2;1181:18;;;;1168:32;;-1:-1:-1;;;952:254:1:o;1211:258::-;1283:1;1293:113;1307:6;1304:1;1301:13;1293:113;;;1383:11;;;1377:18;1364:11;;;1357:39;1329:2;1322:10;1293:113;;;1424:6;1421:1;1418:13;1415:48;;;-1:-1:-1;;1459:1:1;1441:16;;1434:27;1211:258::o;1474:::-;1516:3;1554:5;1548:12;1581:6;1576:3;1569:19;1597:63;1653:6;1646:4;1641:3;1637:14;1630:4;1623:5;1619:16;1597:63;:::i;:::-;1714:2;1693:15;-1:-1:-1;;1689:29:1;1680:39;;;;1721:4;1676:50;;1474:258;-1:-1:-1;;1474:258:1:o;1737:220::-;1886:2;1875:9;1868:21;1849:4;1906:45;1947:2;1936:9;1932:18;1924:6;1906:45;:::i;1962:180::-;2021:6;2074:2;2062:9;2053:7;2049:23;2045:32;2042:52;;;2090:1;2087;2080:12;2042:52;-1:-1:-1;2113:23:1;;1962:180;-1:-1:-1;1962:180: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:248::-;2756:6;2764;2817:2;2805:9;2796:7;2792:23;2788:32;2785:52;;;2833:1;2830;2823:12;2785:52;-1:-1:-1;;2856:23:1;;;2926:2;2911:18;;;2898:32;;-1:-1:-1;2688:248:1:o;3220:367::-;3283:8;3293:6;3347:3;3340:4;3332:6;3328:17;3324:27;3314:55;;3365:1;3362;3355:12;3314:55;-1:-1:-1;3388:20:1;;3431:18;3420:30;;3417:50;;;3463:1;3460;3453:12;3417:50;3500:4;3492:6;3488:17;3476:29;;3560:3;3553:4;3543:6;3540:1;3536:14;3528:6;3524:27;3520:38;3517:47;3514:67;;;3577:1;3574;3567:12;3592:505;3687:6;3695;3703;3756:2;3744:9;3735:7;3731:23;3727:32;3724:52;;;3772:1;3769;3762:12;3724:52;3808:9;3795:23;3785:33;;3869:2;3858:9;3854:18;3841:32;3896:18;3888:6;3885:30;3882:50;;;3928:1;3925;3918:12;3882:50;3967:70;4029:7;4020:6;4009:9;4005:22;3967:70;:::i;:::-;3592:505;;4056:8;;-1:-1:-1;3941:96:1;;-1:-1:-1;;;;3592:505:1:o;4102:592::-;4173:6;4181;4234:2;4222:9;4213:7;4209:23;4205:32;4202:52;;;4250:1;4247;4240:12;4202:52;4290:9;4277:23;4319:18;4360:2;4352:6;4349:14;4346:34;;;4376:1;4373;4366:12;4346:34;4414:6;4403:9;4399:22;4389:32;;4459:7;4452:4;4448:2;4444:13;4440:27;4430:55;;4481:1;4478;4471:12;4430:55;4521:2;4508:16;4547:2;4539:6;4536:14;4533:34;;;4563:1;4560;4553:12;4533:34;4608:7;4603:2;4594:6;4590:2;4586:15;4582:24;4579:37;4576:57;;;4629:1;4626;4619:12;4576:57;4660:2;4652:11;;;;;4682:6;;-1:-1:-1;4102:592:1;;-1:-1:-1;;;;4102:592:1:o;4699:186::-;4758:6;4811:2;4799:9;4790:7;4786:23;4782:32;4779:52;;;4827:1;4824;4817:12;4779:52;4850:29;4869:9;4850:29;:::i;5075:347::-;5140:6;5148;5201:2;5189:9;5180:7;5176:23;5172:32;5169:52;;;5217:1;5214;5207:12;5169:52;5240:29;5259:9;5240:29;:::i;:::-;5230:39;;5319:2;5308:9;5304:18;5291:32;5366:5;5359:13;5352:21;5345:5;5342:32;5332:60;;5388:1;5385;5378:12;5332:60;5411:5;5401:15;;;5075:347;;;;;:::o;5427:127::-;5488:10;5483:3;5479:20;5476:1;5469:31;5519:4;5516:1;5509:15;5543:4;5540:1;5533:15;5559:1138;5654:6;5662;5670;5678;5731:3;5719:9;5710:7;5706:23;5702:33;5699:53;;;5748:1;5745;5738:12;5699:53;5771:29;5790:9;5771:29;:::i;:::-;5761:39;;5819:38;5853:2;5842:9;5838:18;5819:38;:::i;:::-;5809:48;;5904:2;5893:9;5889:18;5876:32;5866:42;;5959:2;5948:9;5944:18;5931:32;5982:18;6023:2;6015:6;6012:14;6009:34;;;6039:1;6036;6029:12;6009:34;6077:6;6066:9;6062:22;6052:32;;6122:7;6115:4;6111:2;6107:13;6103:27;6093:55;;6144:1;6141;6134:12;6093:55;6180:2;6167:16;6202:2;6198;6195:10;6192:36;;;6208:18;;:::i;:::-;6283:2;6277:9;6251:2;6337:13;;-1:-1:-1;;6333:22:1;;;6357:2;6329:31;6325:40;6313:53;;;6381:18;;;6401:22;;;6378:46;6375:72;;;6427:18;;:::i;:::-;6467:10;6463:2;6456:22;6502:2;6494:6;6487:18;6542:7;6537:2;6532;6528;6524:11;6520:20;6517:33;6514:53;;;6563:1;6560;6553:12;6514:53;6619:2;6614;6610;6606:11;6601:2;6593:6;6589:15;6576:46;6664:1;6659:2;6654;6646:6;6642:15;6638:24;6631:35;6685:6;6675:16;;;;;;;5559:1138;;;;;;;:::o;6702:437::-;6788:6;6796;6849:2;6837:9;6828:7;6824:23;6820:32;6817:52;;;6865:1;6862;6855:12;6817:52;6905:9;6892:23;6938:18;6930:6;6927:30;6924:50;;;6970:1;6967;6960:12;6924:50;7009:70;7071:7;7062:6;7051:9;7047:22;7009:70;:::i;:::-;7098:8;;6983:96;;-1:-1:-1;6702:437:1;-1:-1:-1;;;;6702:437:1:o;7144:260::-;7212:6;7220;7273:2;7261:9;7252:7;7248:23;7244:32;7241:52;;;7289:1;7286;7279:12;7241:52;7312:29;7331:9;7312:29;:::i;:::-;7302:39;;7360:38;7394:2;7383:9;7379:18;7360:38;:::i;:::-;7350:48;;7144:260;;;;;:::o;7409:380::-;7488:1;7484:12;;;;7531;;;7552:61;;7606:4;7598:6;7594:17;7584:27;;7552:61;7659:2;7651:6;7648:14;7628:18;7625:38;7622:161;;7705:10;7700:3;7696:20;7693:1;7686:31;7740:4;7737:1;7730:15;7768:4;7765:1;7758:15;7622:161;;7409:380;;;:::o;8153:127::-;8214:10;8209:3;8205:20;8202:1;8195:31;8245:4;8242:1;8235:15;8269:4;8266:1;8259:15;8285:168;8325:7;8391:1;8387;8383:6;8379:14;8376:1;8373:21;8368:1;8361:9;8354:17;8350:45;8347:71;;;8398:18;;:::i;:::-;-1:-1:-1;8438:9:1;;8285:168::o;8458:127::-;8519:10;8514:3;8510:20;8507:1;8500:31;8550:4;8547:1;8540:15;8574:4;8571:1;8564:15;8590:120;8630:1;8656;8646:35;;8661:18;;:::i;:::-;-1:-1:-1;8695:9:1;;8590:120::o;8715:125::-;8755:4;8783:1;8780;8777:8;8774:34;;;8788:18;;:::i;:::-;-1:-1:-1;8825:9:1;;8715:125::o;8845:184::-;8915:6;8968:2;8956:9;8947:7;8943:23;8939:32;8936:52;;;8984:1;8981;8974:12;8936:52;-1:-1:-1;9007:16:1;;8845:184;-1:-1:-1;8845:184:1:o;10940:128::-;10980:3;11011:1;11007:6;11004:1;11001:13;10998:39;;;11017:18;;:::i;:::-;-1:-1:-1;11053:9:1;;10940:128::o;11498:400::-;11700:2;11682:21;;;11739:2;11719:18;;;11712:30;11778:34;11773:2;11758:18;;11751:62;-1:-1:-1;;;11844:2:1;11829:18;;11822:34;11888:3;11873:19;;11498:400::o;12306:356::-;12508:2;12490:21;;;12527:18;;;12520:30;12586:34;12581:2;12566:18;;12559:62;12653:2;12638:18;;12306:356::o;13143:973::-;13228:12;;13193:3;;13283:1;13303:18;;;;13356;;;;13383:61;;13437:4;13429:6;13425:17;13415:27;;13383:61;13463:2;13511;13503:6;13500:14;13480:18;13477:38;13474:161;;13557:10;13552:3;13548:20;13545:1;13538:31;13592:4;13589:1;13582:15;13620:4;13617:1;13610:15;13474:161;13651:18;13678:104;;;;13796:1;13791:319;;;;13644:466;;13678:104;-1:-1:-1;;13711:24:1;;13699:37;;13756:16;;;;-1:-1:-1;13678:104:1;;13791:319;13090:1;13083:14;;;13127:4;13114:18;;13885:1;13899:165;13913:6;13910:1;13907:13;13899:165;;;13991:14;;13978:11;;;13971:35;14034:16;;;;13928:10;;13899:165;;;13903:3;;14093:6;14088:3;14084:16;14077:23;;13644:466;;;;;;;13143:973;;;;:::o;14121:456::-;14342:3;14370:38;14404:3;14396:6;14370:38;:::i;:::-;14437:6;14431:13;14453:52;14498:6;14494:2;14487:4;14479:6;14475:17;14453:52;:::i;:::-;14521:50;14563:6;14559:2;14555:15;14547:6;14521:50;:::i;:::-;14514:57;14121:456;-1:-1:-1;;;;;;;14121:456:1:o;14582:127::-;14643:10;14638:3;14634:20;14631:1;14624:31;14674:4;14671:1;14664:15;14698:4;14695:1;14688:15;15121:489;-1:-1:-1;;;;;15390:15:1;;;15372:34;;15442:15;;15437:2;15422:18;;15415:43;15489:2;15474:18;;15467:34;;;15537:3;15532:2;15517:18;;15510:31;;;15315:4;;15558:46;;15584:19;;15576:6;15558:46;:::i;:::-;15550:54;15121:489;-1:-1:-1;;;;;;15121:489:1:o;15615:249::-;15684:6;15737:2;15725:9;15716:7;15712:23;15708:32;15705:52;;;15753:1;15750;15743:12;15705:52;15785:9;15779:16;15804:30;15828:5;15804:30;:::i;15869:135::-;15908:3;15929:17;;;15926:43;;15949:18;;:::i;:::-;-1:-1:-1;15996:1:1;15985:13;;15869:135::o;16009:112::-;16041:1;16067;16057:35;;16072:18;;:::i;:::-;-1:-1:-1;16106:9:1;;16009:112::o

Swarm Source

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