ETH Price: $3,189.44 (+0.21%)

Contract

0x874149b1f3942B03f51BAdF33fC83D13121d30A8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Mint207027392024-09-08 1:54:59129 days ago1725760499IN
0x874149b1...3121d30A8
0 ETH0.000084360.83035009
Mint207026862024-09-08 1:43:59129 days ago1725759839IN
0x874149b1...3121d30A8
0 ETH0.00009120.89762181
Mint207022532024-09-08 0:16:35129 days ago1725754595IN
0x874149b1...3121d30A8
0 ETH0.000111681.07459374
Mint207021972024-09-08 0:05:23129 days ago1725753923IN
0x874149b1...3121d30A8
0 ETH0.000103850.99923555
Mint207009232024-09-07 19:49:35129 days ago1725738575IN
0x874149b1...3121d30A8
0 ETH0.000147831.42240997
Mint206983292024-09-07 11:09:23130 days ago1725707363IN
0x874149b1...3121d30A8
0 ETH0.000155881.49993611
Mint206982372024-09-07 10:50:59130 days ago1725706259IN
0x874149b1...3121d30A8
0 ETH0.000272382.61890431
Mint206972732024-09-07 7:37:59130 days ago1725694679IN
0x874149b1...3121d30A8
0 ETH0.000355033.41610431
Mint206971032024-09-07 7:03:35130 days ago1725692615IN
0x874149b1...3121d30A8
0 ETH0.000171611.65
Mint206960952024-09-07 3:41:11130 days ago1725680471IN
0x874149b1...3121d30A8
0 ETH0.000204792.01565907
Set Approval For...206960572024-09-07 3:33:35130 days ago1725680015IN
0x874149b1...3121d30A8
0 ETH0.000052881.14770338
Mint206959872024-09-07 3:19:35130 days ago1725679175IN
0x874149b1...3121d30A8
0 ETH0.000167481.64838839
Mint206959392024-09-07 3:09:59130 days ago1725678599IN
0x874149b1...3121d30A8
0 ETH0.00015921.56696348
Mint206959332024-09-07 3:08:47130 days ago1725678527IN
0x874149b1...3121d30A8
0 ETH0.000156321.53854506
Mint206955822024-09-07 1:58:23130 days ago1725674303IN
0x874149b1...3121d30A8
0 ETH0.000085771.27259817
Mint206955792024-09-07 1:57:47130 days ago1725674267IN
0x874149b1...3121d30A8
0 ETH0.00012351.21552621
Mint206947212024-09-06 23:05:47130 days ago1725663947IN
0x874149b1...3121d30A8
0 ETH0.00015161.45868868
Mint206946912024-09-06 22:59:47130 days ago1725663587IN
0x874149b1...3121d30A8
0 ETH0.000149031.43401808
Mint206896932024-09-06 6:14:47131 days ago1725603287IN
0x874149b1...3121d30A8
0 ETH0.000110291.06126105
Set Approval For...206895892024-09-06 5:53:47131 days ago1725602027IN
0x874149b1...3121d30A8
0 ETH0.000028151.07553684
Set Approval For...206895702024-09-06 5:49:59131 days ago1725601799IN
0x874149b1...3121d30A8
0 ETH0.000039080.84821243
Mint206895012024-09-06 5:35:47131 days ago1725600947IN
0x874149b1...3121d30A8
0 ETH0.000087660.84351513
Mint206893452024-09-06 5:04:23131 days ago1725599063IN
0x874149b1...3121d30A8
0 ETH0.000109951.05795365
Mint206892022024-09-06 4:35:47131 days ago1725597347IN
0x874149b1...3121d30A8
0 ETH0.000140771.35451152
Set Approval For...205757532024-08-21 8:18:23147 days ago1724228303IN
0x874149b1...3121d30A8
0 ETH0.000069072.84828621
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
151429912022-07-14 20:33:48915 days ago1657830828
0x874149b1...3121d30A8
0.28 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GG

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: GG/IERC721A.sol


// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * 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();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

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

    // ==============================
    //            IERC721
    // ==============================

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

    // ==============================
    //        IERC721Metadata
    // ==============================

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}
// 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/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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



pragma solidity ^0.8.0;









/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  uint256 private currentIndex = 1;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // 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) private _ownerships;

  // Mapping owner address to address data
  mapping(address => uint128) private _balance;

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

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_balance[owner]);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @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)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

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

  /**
   * @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);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

    _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 override {
    _transfer(from, to, tokenId);
  }

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

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

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

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    _balance[to] += uint128(quantity);
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

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

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _balance[from] -= 1;
    _balance[to] += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
  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.
   *
   * 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` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}
// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: GG/GoblinGirls.sol



pragma solidity ^0.8.0;






contract GG is Ownable, ERC721A, ReentrancyGuard {
    string _baseUri = "ipfs://Qmd4pK5w6jZmNmKwbXjBfud7Lm7zvckm8AcGanFGJHL5gM/";
    mapping(address => bool) whitelisted;
    mapping(address => uint256) public purchased;
    uint256 maxFree;

    uint256 public tokenPrice;
    bool public hasSaleStarted = false;

    IERC721A public goblinTown = IERC721A(0xbCe3781ae7Ca1a5e050Bd9C4c77369867eBc307e);

    constructor() ERC721A("Goblin Girls", "GG", 30, 10000) {
        maxFree = 2;
        tokenPrice = 0.01 ether;
    }

    function reserve(address[] calldata to, uint256[] calldata quantity) external onlyOwner {
        for(uint256 i=0;i<to.length;i++) {
            require(quantity[i] + totalSupply() <= collectionSize, "GG: Not enough tokens left for minting");
            _safeMint(to[i], quantity[i]);
        }
    }

    function mint(uint256 quantity) external payable {
        require(hasSaleStarted, "GG: Cannot mint before sale has started");
        require(quantity + totalSupply() <= collectionSize, "GG: Total supply exceeded");
        require(purchased[msg.sender] + quantity <= 30, "GG: Can not purchase more than 30");

        if(purchased[msg.sender] >= 2) require(msg.value >= tokenPrice * quantity, "GG: Incorrect ETH");
        else {
            if(quantity > (maxFree - purchased[msg.sender])) {
                uint256 amountPaid = quantity - maxFree + purchased[msg.sender];
                require(msg.value >= tokenPrice * amountPaid,"GG: Incorrect ETH");
            }
        }
        purchased[msg.sender] += quantity;
        _safeMint(msg.sender, quantity);
    }

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

    function setBaseURI(string memory newBaseURI) external onlyOwner {
        _baseUri = newBaseURI;
    }

    function flipSaleState() external onlyOwner {
        hasSaleStarted = !hasSaleStarted;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        tokenPrice = newPrice;
    }

    function setMaxFree(uint256 newMax) external onlyOwner {
        maxFree = newMax;
    }
    
    function amountPurchased(address add) external view returns(uint256){
        return purchased[add];
    }

    function withdrawAll() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"add","type":"address"}],"name":"amountPurchased","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":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"goblinTown","outputs":[{"internalType":"contract IERC721A","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600180556000600855610120604052603660c08181529062002c4d60e03980516200003391600a916020909101906200023d565b50600f80546001600160a81b03191674bce3781ae7ca1a5e050bd9c4c77369867ebc307e001790553480156200006857600080fd5b506040518060400160405280600c81526020016b476f626c696e204769726c7360a01b81525060405180604001604052806002815260200161474760f01b815250601e612710620000c8620000c2620001e960201b60201c565b620001ed565b60008111620001355760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008211620001975760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084016200012c565b8351620001ac9060029060208701906200023d565b508251620001c29060039060208601906200023d565b5060a091909152608052505060016009556002600d55662386f26fc10000600e556200031f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200024b90620002e3565b90600052602060002090601f0160209004810192826200026f5760008555620002ba565b82601f106200028a57805160ff1916838001178555620002ba565b82800160010185558215620002ba579182015b82811115620002ba5782518255916020019190600101906200029d565b50620002c8929150620002cc565b5090565b5b80821115620002c85760008155600101620002cd565b600181811c90821680620002f857607f821691505b6020821081036200031957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516128f36200035a60003960008181611b0701528181611b31015261200d015260008181610d02015261109001526128f36000f3fe6080604052600436106101e35760003560e01c806369e1cac111610102578063a0712d6811610095578063d7224ba011610064578063d7224ba014610579578063d755bf991461058f578063e985e9c5146105af578063f2fde38b146105f857600080fd5b8063a0712d6814610506578063a22cb46514610519578063b88d4fde14610539578063c87b56dd1461055957600080fd5b8063853828b6116100d1578063853828b61461049e5780638da5cb5b146104b357806391b7f5ed146104d157806395d89b41146104f157600080fd5b806369e1cac11461043357806370a0823114610453578063715018a6146104735780637ff9b5961461048857600080fd5b806323b872dd1161017a5780634f6ccce7116101495780634f6ccce7146103a6578063522fe98e146103c657806355f804b3146103f35780636352211e1461041357600080fd5b806323b872dd146103315780632f745c591461035157806334918dfd1461037157806342842e0e1461038657600080fd5b8063095ea7b3116101b6578063095ea7b3146102bb5780630f6dc7a9146102dd57806318160ddd146103025780631c8b232d1461031757600080fd5b806301ffc9a7146101e857806306fdde031461021d578063074ba79d1461023f578063081812fc14610283575b600080fd5b3480156101f457600080fd5b506102086102033660046122e2565b610618565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106e9565b6040516102149190612357565b34801561024b57600080fd5b5061027561025a366004612386565b6001600160a01b03166000908152600c602052604090205490565b604051908152602001610214565b34801561028f57600080fd5b506102a361029e3660046123a1565b61077b565b6040516001600160a01b039091168152602001610214565b3480156102c757600080fd5b506102db6102d63660046123ba565b61081b565b005b3480156102e957600080fd5b50600f546102a39061010090046001600160a01b031681565b34801561030e57600080fd5b5061027561094d565b34801561032357600080fd5b50600f546102089060ff1681565b34801561033d57600080fd5b506102db61034c3660046123e4565b610962565b34801561035d57600080fd5b5061027561036c3660046123ba565b61096d565b34801561037d57600080fd5b506102db610b0d565b34801561039257600080fd5b506102db6103a13660046123e4565b610b7b565b3480156103b257600080fd5b506102756103c13660046123a1565b610b96565b3480156103d257600080fd5b506102756103e1366004612386565b600c6020526000908152604090205481565b3480156103ff57600080fd5b506102db61040e3660046124ac565b610c18565b34801561041f57600080fd5b506102a361042e3660046123a1565b610c89565b34801561043f57600080fd5b506102db61044e366004612541565b610c9b565b34801561045f57600080fd5b5061027561046e366004612386565b610e21565b34801561047f57600080fd5b506102db610ec4565b34801561049457600080fd5b50610275600e5481565b3480156104aa57600080fd5b506102db610f2a565b3480156104bf57600080fd5b506000546001600160a01b03166102a3565b3480156104dd57600080fd5b506102db6104ec3660046123a1565b610fa8565b3480156104fd57600080fd5b50610232611007565b6102db6105143660046123a1565b611016565b34801561052557600080fd5b506102db6105343660046125ad565b6112dc565b34801561054557600080fd5b506102db6105543660046125e9565b6113a0565b34801561056557600080fd5b506102326105743660046123a1565b61142f565b34801561058557600080fd5b5061027560085481565b34801561059b57600080fd5b506102db6105aa3660046123a1565b61150a565b3480156105bb57600080fd5b506102086105ca366004612665565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060457600080fd5b506102db610613366004612386565b611569565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106af57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b806106e357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600280546106f890612698565b80601f016020809104026020016040519081016040528092919081815260200182805461072490612698565b80156107715780601f1061074657610100808354040283529160200191610771565b820191906000526020600020905b81548152906001019060200180831161075457829003601f168201915b5050505050905090565b6000610788826001541190565b6107ff5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061082682610c89565b9050806001600160a01b0316836001600160a01b0316036108af5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b336001600160a01b03821614806108cb57506108cb81336105ca565b61093d5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107f6565b610948838383611648565b505050565b60006001805461095d91906126e8565b905090565b6109488383836116b1565b600061097883610e21565b82106109ec5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b60006109f661094d565b905060008060005b83811015610a9e576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610a5157805192505b876001600160a01b0316836001600160a01b031603610a8b57868403610a7d575093506106e392505050565b83610a87816126ff565b9450505b5080610a96816126ff565b9150506109fe565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e64657800000000000000000000000000000000000060648201526084016107f6565b6000546001600160a01b03163314610b675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600f805460ff19811660ff90911615179055565b610948838383604051806020016040528060008152506113a0565b6000610ba061094d565b8210610c145760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e6473000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b5090565b6000546001600160a01b03163314610c725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b8051610c8590600a90602084019061223c565b5050565b6000610c9482611a72565b5192915050565b6000546001600160a01b03163314610cf55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b60005b83811015610e1a577f0000000000000000000000000000000000000000000000000000000000000000610d2961094d565b848484818110610d3b57610d3b612718565b90506020020135610d4c919061272e565b1115610dc05760405162461bcd60e51b815260206004820152602660248201527f47473a204e6f7420656e6f75676820746f6b656e73206c65667420666f72206d60448201527f696e74696e67000000000000000000000000000000000000000000000000000060648201526084016107f6565b610e08858583818110610dd557610dd5612718565b9050602002016020810190610dea9190612386565b848484818110610dfc57610dfc612718565b90506020020135611c3d565b80610e12816126ff565b915050610cf8565b5050505050565b60006001600160a01b038216610e9f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084016107f6565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b03163314610f1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b610f286000611c57565b565b6000546001600160a01b03163314610f845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b60405133904780156108fc02916000818181858888f19350505050610f2857600080fd5b6000546001600160a01b031633146110025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600e55565b6060600380546106f890612698565b600f5460ff1661108e5760405162461bcd60e51b815260206004820152602760248201527f47473a2043616e6e6f74206d696e74206265666f72652073616c65206861732060448201527f737461727465640000000000000000000000000000000000000000000000000060648201526084016107f6565b7f00000000000000000000000000000000000000000000000000000000000000006110b761094d565b6110c1908361272e565b111561110f5760405162461bcd60e51b815260206004820152601960248201527f47473a20546f74616c20737570706c792065786365656465640000000000000060448201526064016107f6565b336000908152600c6020526040902054601e9061112d90839061272e565b11156111855760405162461bcd60e51b815260206004820152602160248201527f47473a2043616e206e6f74207075726368617365206d6f7265207468616e20336044820152600360fc1b60648201526084016107f6565b336000908152600c60205260409020546002116111fe5780600e546111aa9190612746565b3410156111f95760405162461bcd60e51b815260206004820152601160248201527f47473a20496e636f72726563742045544800000000000000000000000000000060448201526064016107f6565b6112aa565b336000908152600c6020526040902054600d5461121b91906126e8565b8111156112aa57336000908152600c6020526040812054600d5461123f90846126e8565b611249919061272e565b905080600e546112599190612746565b3410156112a85760405162461bcd60e51b815260206004820152601160248201527f47473a20496e636f72726563742045544800000000000000000000000000000060448201526064016107f6565b505b336000908152600c6020526040812080548392906112c990849061272e565b909155506112d990503382611c3d565b50565b336001600160a01b038316036113345760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107f6565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113ab8484846116b1565b6113b784848484611cb4565b6114295760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b50505050565b606061143c826001541190565b6114ae5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107f6565b60006114b8611e0c565b905060008151116114d85760405180602001604052806000815250611503565b806114e284611e1b565b6040516020016114f3929190612765565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146115645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600d55565b6000546001600160a01b031633146115c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b6001600160a01b03811661163f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107f6565b6112d981611c57565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116bc82611a72565b80519091506000906001600160a01b0316336001600160a01b031614806116f35750336116e88461077b565b6001600160a01b0316145b806117055750815161170590336105ca565b90508061177a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016107f6565b846001600160a01b031682600001516001600160a01b0316146118055760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084016107f6565b6001600160a01b0384166118815760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107f6565b6118916000848460000151611648565b6001600160a01b03851660009081526005602052604081208054600192906118c39084906001600160801b03166127bc565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261190f918591166127e4565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561199784600161272e565b6000818152600460205260409020549091506001600160a01b0316611a29576119c1816001541190565b15611a295760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6040805180820190915260008082526020820152611a91826001541190565b611b035760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e0000000000000000000000000000000000000000000060648201526084016107f6565b60007f00000000000000000000000000000000000000000000000000000000000000008310611b6457611b567f0000000000000000000000000000000000000000000000000000000000000000846126e8565b611b6190600161272e565b90505b825b818110611bce576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611bbb57949350505050565b5080611bc68161280f565b915050611b66565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e000000000000000000000000000000000060648201526084016107f6565b610c85828260405180602001604052806000815250611f34565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611e0057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611cf8903390899088908890600401612826565b6020604051808303816000875af1925050508015611d33575060408051601f3d908101601f19168201909252611d3091810190612862565b60015b611de6573d808015611d61576040519150601f19603f3d011682016040523d82523d6000602084013e611d66565b606091505b508051600003611dde5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e04565b5060015b949350505050565b6060600a80546106f890612698565b606081600003611e425750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e6c5780611e56816126ff565b9150611e659050600a83612895565b9150611e46565b60008167ffffffffffffffff811115611e8757611e87612420565b6040519080825280601f01601f191660200182016040528015611eb1576020820181803683370190505b5090505b8415611e0457611ec66001836126e8565b9150611ed3600a866128a9565b611ede90603061272e565b60f81b818381518110611ef357611ef3612718565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f2d600a86612895565b9450611eb5565b6001546001600160a01b038416611fb35760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b611fbe816001541190565b1561200b5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016107f6565b7f00000000000000000000000000000000000000000000000000000000000000008311156120a15760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f676800000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b6001600160a01b038416600090815260056020526040812080548592906120d29084906001600160801b03166127e4565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008781526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905581905b848110156122315760405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461219f6000878487611cb4565b6122115760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b8161221b816126ff565b9250508080612229906126ff565b915050612152565b506001819055610e1a565b82805461224890612698565b90600052602060002090601f01602090048101928261226a57600085556122b0565b82601f1061228357805160ff19168380011785556122b0565b828001600101855582156122b0579182015b828111156122b0578251825591602001919060010190612295565b50610c149291505b80821115610c1457600081556001016122b8565b6001600160e01b0319811681146112d957600080fd5b6000602082840312156122f457600080fd5b8135611503816122cc565b60005b8381101561231a578181015183820152602001612302565b838111156114295750506000910152565b600081518084526123438160208601602086016122ff565b601f01601f19169290920160200192915050565b602081526000611503602083018461232b565b80356001600160a01b038116811461238157600080fd5b919050565b60006020828403121561239857600080fd5b6115038261236a565b6000602082840312156123b357600080fd5b5035919050565b600080604083850312156123cd57600080fd5b6123d68361236a565b946020939093013593505050565b6000806000606084860312156123f957600080fd5b6124028461236a565b92506124106020850161236a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561245157612451612420565b604051601f8501601f19908116603f0116810190828211818310171561247957612479612420565b8160405280935085815286868601111561249257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124be57600080fd5b813567ffffffffffffffff8111156124d557600080fd5b8201601f810184136124e657600080fd5b611e0484823560208401612436565b60008083601f84011261250757600080fd5b50813567ffffffffffffffff81111561251f57600080fd5b6020830191508360208260051b850101111561253a57600080fd5b9250929050565b6000806000806040858703121561255757600080fd5b843567ffffffffffffffff8082111561256f57600080fd5b61257b888389016124f5565b9096509450602087013591508082111561259457600080fd5b506125a1878288016124f5565b95989497509550505050565b600080604083850312156125c057600080fd5b6125c98361236a565b9150602083013580151581146125de57600080fd5b809150509250929050565b600080600080608085870312156125ff57600080fd5b6126088561236a565b93506126166020860161236a565b925060408501359150606085013567ffffffffffffffff81111561263957600080fd5b8501601f8101871361264a57600080fd5b61265987823560208401612436565b91505092959194509250565b6000806040838503121561267857600080fd5b6126818361236a565b915061268f6020840161236a565b90509250929050565b600181811c908216806126ac57607f821691505b6020821081036126cc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156126fa576126fa6126d2565b500390565b600060018201612711576127116126d2565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115612741576127416126d2565b500190565b6000816000190483118215151615612760576127606126d2565b500290565b600083516127778184602088016122ff565b83519083019061278b8183602088016122ff565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006001600160801b03838116908316818110156127dc576127dc6126d2565b039392505050565b60006001600160801b03808316818516808303821115612806576128066126d2565b01949350505050565b60008161281e5761281e6126d2565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612858608083018461232b565b9695505050505050565b60006020828403121561287457600080fd5b8151611503816122cc565b634e487b7160e01b600052601260045260246000fd5b6000826128a4576128a461287f565b500490565b6000826128b8576128b861287f565b50069056fea26469706673582212200d21d5e3506fff851a799d3fab08d29e9ff19d10b6c1b6cf0d6720a72479642064736f6c634300080d0033697066733a2f2f516d6434704b3577366a5a6d4e6d4b7762586a42667564374c6d377a76636b6d38416347616e46474a484c35674d2f

Deployed Bytecode

0x6080604052600436106101e35760003560e01c806369e1cac111610102578063a0712d6811610095578063d7224ba011610064578063d7224ba014610579578063d755bf991461058f578063e985e9c5146105af578063f2fde38b146105f857600080fd5b8063a0712d6814610506578063a22cb46514610519578063b88d4fde14610539578063c87b56dd1461055957600080fd5b8063853828b6116100d1578063853828b61461049e5780638da5cb5b146104b357806391b7f5ed146104d157806395d89b41146104f157600080fd5b806369e1cac11461043357806370a0823114610453578063715018a6146104735780637ff9b5961461048857600080fd5b806323b872dd1161017a5780634f6ccce7116101495780634f6ccce7146103a6578063522fe98e146103c657806355f804b3146103f35780636352211e1461041357600080fd5b806323b872dd146103315780632f745c591461035157806334918dfd1461037157806342842e0e1461038657600080fd5b8063095ea7b3116101b6578063095ea7b3146102bb5780630f6dc7a9146102dd57806318160ddd146103025780631c8b232d1461031757600080fd5b806301ffc9a7146101e857806306fdde031461021d578063074ba79d1461023f578063081812fc14610283575b600080fd5b3480156101f457600080fd5b506102086102033660046122e2565b610618565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b506102326106e9565b6040516102149190612357565b34801561024b57600080fd5b5061027561025a366004612386565b6001600160a01b03166000908152600c602052604090205490565b604051908152602001610214565b34801561028f57600080fd5b506102a361029e3660046123a1565b61077b565b6040516001600160a01b039091168152602001610214565b3480156102c757600080fd5b506102db6102d63660046123ba565b61081b565b005b3480156102e957600080fd5b50600f546102a39061010090046001600160a01b031681565b34801561030e57600080fd5b5061027561094d565b34801561032357600080fd5b50600f546102089060ff1681565b34801561033d57600080fd5b506102db61034c3660046123e4565b610962565b34801561035d57600080fd5b5061027561036c3660046123ba565b61096d565b34801561037d57600080fd5b506102db610b0d565b34801561039257600080fd5b506102db6103a13660046123e4565b610b7b565b3480156103b257600080fd5b506102756103c13660046123a1565b610b96565b3480156103d257600080fd5b506102756103e1366004612386565b600c6020526000908152604090205481565b3480156103ff57600080fd5b506102db61040e3660046124ac565b610c18565b34801561041f57600080fd5b506102a361042e3660046123a1565b610c89565b34801561043f57600080fd5b506102db61044e366004612541565b610c9b565b34801561045f57600080fd5b5061027561046e366004612386565b610e21565b34801561047f57600080fd5b506102db610ec4565b34801561049457600080fd5b50610275600e5481565b3480156104aa57600080fd5b506102db610f2a565b3480156104bf57600080fd5b506000546001600160a01b03166102a3565b3480156104dd57600080fd5b506102db6104ec3660046123a1565b610fa8565b3480156104fd57600080fd5b50610232611007565b6102db6105143660046123a1565b611016565b34801561052557600080fd5b506102db6105343660046125ad565b6112dc565b34801561054557600080fd5b506102db6105543660046125e9565b6113a0565b34801561056557600080fd5b506102326105743660046123a1565b61142f565b34801561058557600080fd5b5061027560085481565b34801561059b57600080fd5b506102db6105aa3660046123a1565b61150a565b3480156105bb57600080fd5b506102086105ca366004612665565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060457600080fd5b506102db610613366004612386565b611569565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061067b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806106af57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b806106e357507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600280546106f890612698565b80601f016020809104026020016040519081016040528092919081815260200182805461072490612698565b80156107715780601f1061074657610100808354040283529160200191610771565b820191906000526020600020905b81548152906001019060200180831161075457829003601f168201915b5050505050905090565b6000610788826001541190565b6107ff5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061082682610c89565b9050806001600160a01b0316836001600160a01b0316036108af5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b336001600160a01b03821614806108cb57506108cb81336105ca565b61093d5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016107f6565b610948838383611648565b505050565b60006001805461095d91906126e8565b905090565b6109488383836116b1565b600061097883610e21565b82106109ec5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b60006109f661094d565b905060008060005b83811015610a9e576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610a5157805192505b876001600160a01b0316836001600160a01b031603610a8b57868403610a7d575093506106e392505050565b83610a87816126ff565b9450505b5080610a96816126ff565b9150506109fe565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e64657800000000000000000000000000000000000060648201526084016107f6565b6000546001600160a01b03163314610b675760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600f805460ff19811660ff90911615179055565b610948838383604051806020016040528060008152506113a0565b6000610ba061094d565b8210610c145760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e6473000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b5090565b6000546001600160a01b03163314610c725760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b8051610c8590600a90602084019061223c565b5050565b6000610c9482611a72565b5192915050565b6000546001600160a01b03163314610cf55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b60005b83811015610e1a577f0000000000000000000000000000000000000000000000000000000000002710610d2961094d565b848484818110610d3b57610d3b612718565b90506020020135610d4c919061272e565b1115610dc05760405162461bcd60e51b815260206004820152602660248201527f47473a204e6f7420656e6f75676820746f6b656e73206c65667420666f72206d60448201527f696e74696e67000000000000000000000000000000000000000000000000000060648201526084016107f6565b610e08858583818110610dd557610dd5612718565b9050602002016020810190610dea9190612386565b848484818110610dfc57610dfc612718565b90506020020135611c3d565b80610e12816126ff565b915050610cf8565b5050505050565b60006001600160a01b038216610e9f5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084016107f6565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b03163314610f1e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b610f286000611c57565b565b6000546001600160a01b03163314610f845760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b60405133904780156108fc02916000818181858888f19350505050610f2857600080fd5b6000546001600160a01b031633146110025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600e55565b6060600380546106f890612698565b600f5460ff1661108e5760405162461bcd60e51b815260206004820152602760248201527f47473a2043616e6e6f74206d696e74206265666f72652073616c65206861732060448201527f737461727465640000000000000000000000000000000000000000000000000060648201526084016107f6565b7f00000000000000000000000000000000000000000000000000000000000027106110b761094d565b6110c1908361272e565b111561110f5760405162461bcd60e51b815260206004820152601960248201527f47473a20546f74616c20737570706c792065786365656465640000000000000060448201526064016107f6565b336000908152600c6020526040902054601e9061112d90839061272e565b11156111855760405162461bcd60e51b815260206004820152602160248201527f47473a2043616e206e6f74207075726368617365206d6f7265207468616e20336044820152600360fc1b60648201526084016107f6565b336000908152600c60205260409020546002116111fe5780600e546111aa9190612746565b3410156111f95760405162461bcd60e51b815260206004820152601160248201527f47473a20496e636f72726563742045544800000000000000000000000000000060448201526064016107f6565b6112aa565b336000908152600c6020526040902054600d5461121b91906126e8565b8111156112aa57336000908152600c6020526040812054600d5461123f90846126e8565b611249919061272e565b905080600e546112599190612746565b3410156112a85760405162461bcd60e51b815260206004820152601160248201527f47473a20496e636f72726563742045544800000000000000000000000000000060448201526064016107f6565b505b336000908152600c6020526040812080548392906112c990849061272e565b909155506112d990503382611c3d565b50565b336001600160a01b038316036113345760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016107f6565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113ab8484846116b1565b6113b784848484611cb4565b6114295760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b50505050565b606061143c826001541190565b6114ae5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016107f6565b60006114b8611e0c565b905060008151116114d85760405180602001604052806000815250611503565b806114e284611e1b565b6040516020016114f3929190612765565b6040516020818303038152906040525b9392505050565b6000546001600160a01b031633146115645760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b600d55565b6000546001600160a01b031633146115c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107f6565b6001600160a01b03811661163f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107f6565b6112d981611c57565b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006116bc82611a72565b80519091506000906001600160a01b0316336001600160a01b031614806116f35750336116e88461077b565b6001600160a01b0316145b806117055750815161170590336105ca565b90508061177a5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016107f6565b846001600160a01b031682600001516001600160a01b0316146118055760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084016107f6565b6001600160a01b0384166118815760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016107f6565b6118916000848460000151611648565b6001600160a01b03851660009081526005602052604081208054600192906118c39084906001600160801b03166127bc565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261190f918591166127e4565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905561199784600161272e565b6000818152600460205260409020549091506001600160a01b0316611a29576119c1816001541190565b15611a295760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6040805180820190915260008082526020820152611a91826001541190565b611b035760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e0000000000000000000000000000000000000000000060648201526084016107f6565b60007f000000000000000000000000000000000000000000000000000000000000001e8310611b6457611b567f000000000000000000000000000000000000000000000000000000000000001e846126e8565b611b6190600161272e565b90505b825b818110611bce576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215611bbb57949350505050565b5080611bc68161280f565b915050611b66565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e000000000000000000000000000000000060648201526084016107f6565b610c85828260405180602001604052806000815250611f34565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0384163b15611e0057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611cf8903390899088908890600401612826565b6020604051808303816000875af1925050508015611d33575060408051601f3d908101601f19168201909252611d3091810190612862565b60015b611de6573d808015611d61576040519150601f19603f3d011682016040523d82523d6000602084013e611d66565b606091505b508051600003611dde5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611e04565b5060015b949350505050565b6060600a80546106f890612698565b606081600003611e425750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e6c5780611e56816126ff565b9150611e659050600a83612895565b9150611e46565b60008167ffffffffffffffff811115611e8757611e87612420565b6040519080825280601f01601f191660200182016040528015611eb1576020820181803683370190505b5090505b8415611e0457611ec66001836126e8565b9150611ed3600a866128a9565b611ede90603061272e565b60f81b818381518110611ef357611ef3612718565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611f2d600a86612895565b9450611eb5565b6001546001600160a01b038416611fb35760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b611fbe816001541190565b1561200b5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016107f6565b7f000000000000000000000000000000000000000000000000000000000000001e8311156120a15760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f676800000000000000000000000000000000000000000000000000000000000060648201526084016107f6565b6001600160a01b038416600090815260056020526040812080548592906120d29084906001600160801b03166127e4565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008781526004909152948520935184549151909216600160a01b026001600160e01b0319909116919092161717905581905b848110156122315760405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461219f6000878487611cb4565b6122115760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016107f6565b8161221b816126ff565b9250508080612229906126ff565b915050612152565b506001819055610e1a565b82805461224890612698565b90600052602060002090601f01602090048101928261226a57600085556122b0565b82601f1061228357805160ff19168380011785556122b0565b828001600101855582156122b0579182015b828111156122b0578251825591602001919060010190612295565b50610c149291505b80821115610c1457600081556001016122b8565b6001600160e01b0319811681146112d957600080fd5b6000602082840312156122f457600080fd5b8135611503816122cc565b60005b8381101561231a578181015183820152602001612302565b838111156114295750506000910152565b600081518084526123438160208601602086016122ff565b601f01601f19169290920160200192915050565b602081526000611503602083018461232b565b80356001600160a01b038116811461238157600080fd5b919050565b60006020828403121561239857600080fd5b6115038261236a565b6000602082840312156123b357600080fd5b5035919050565b600080604083850312156123cd57600080fd5b6123d68361236a565b946020939093013593505050565b6000806000606084860312156123f957600080fd5b6124028461236a565b92506124106020850161236a565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561245157612451612420565b604051601f8501601f19908116603f0116810190828211818310171561247957612479612420565b8160405280935085815286868601111561249257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124be57600080fd5b813567ffffffffffffffff8111156124d557600080fd5b8201601f810184136124e657600080fd5b611e0484823560208401612436565b60008083601f84011261250757600080fd5b50813567ffffffffffffffff81111561251f57600080fd5b6020830191508360208260051b850101111561253a57600080fd5b9250929050565b6000806000806040858703121561255757600080fd5b843567ffffffffffffffff8082111561256f57600080fd5b61257b888389016124f5565b9096509450602087013591508082111561259457600080fd5b506125a1878288016124f5565b95989497509550505050565b600080604083850312156125c057600080fd5b6125c98361236a565b9150602083013580151581146125de57600080fd5b809150509250929050565b600080600080608085870312156125ff57600080fd5b6126088561236a565b93506126166020860161236a565b925060408501359150606085013567ffffffffffffffff81111561263957600080fd5b8501601f8101871361264a57600080fd5b61265987823560208401612436565b91505092959194509250565b6000806040838503121561267857600080fd5b6126818361236a565b915061268f6020840161236a565b90509250929050565b600181811c908216806126ac57607f821691505b6020821081036126cc57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156126fa576126fa6126d2565b500390565b600060018201612711576127116126d2565b5060010190565b634e487b7160e01b600052603260045260246000fd5b60008219821115612741576127416126d2565b500190565b6000816000190483118215151615612760576127606126d2565b500290565b600083516127778184602088016122ff565b83519083019061278b8183602088016122ff565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b60006001600160801b03838116908316818110156127dc576127dc6126d2565b039392505050565b60006001600160801b03808316818516808303821115612806576128066126d2565b01949350505050565b60008161281e5761281e6126d2565b506000190190565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612858608083018461232b565b9695505050505050565b60006020828403121561287457600080fd5b8151611503816122cc565b634e487b7160e01b600052601260045260246000fd5b6000826128a4576128a461287f565b500490565b6000826128b8576128b861287f565b50069056fea26469706673582212200d21d5e3506fff851a799d3fab08d29e9ff19d10b6c1b6cf0d6720a72479642064736f6c634300080d0033

Deployed Bytecode Sourcemap

50950:2421:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36480:370;;;;;;;;;;-1:-1:-1;36480:370:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;36480:370:0;;;;;;;;37948:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;53135:108::-;;;;;;;;;;-1:-1:-1;53135:108:0;;;;;:::i;:::-;-1:-1:-1;;;;;53221:14:0;53195:7;53221:14;;;:9;:14;;;;;;;53135:108;;;;1927:25:1;;;1915:2;1900:18;53135:108:0;1781:177:1;39482:204:0;;;;;;;;;;-1:-1:-1;39482:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2312:55:1;;;2294:74;;2282:2;2267:18;39482:204:0;2148:226:1;39045:379:0;;;;;;;;;;-1:-1:-1;39045:379:0;;;;;:::i;:::-;;:::i;:::-;;51280:81;;;;;;;;;;-1:-1:-1;51280:81:0;;;;;;;-1:-1:-1;;;;;51280:81:0;;;35039:96;;;;;;;;;;;;;:::i;51237:34::-;;;;;;;;;;-1:-1:-1;51237:34:0;;;;;;;;40332:142;;;;;;;;;;-1:-1:-1;40332:142:0;;;;;:::i;:::-;;:::i;35672:744::-;;;;;;;;;;-1:-1:-1;35672:744:0;;;;;:::i;:::-;;:::i;52827:95::-;;;;;;;;;;;;;:::i;40537:157::-;;;;;;;;;;-1:-1:-1;40537:157:0;;;;;:::i;:::-;;:::i;35204:177::-;;;;;;;;;;-1:-1:-1;35204:177:0;;;;;:::i;:::-;;:::i;51130:44::-;;;;;;;;;;-1:-1:-1;51130:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;52714:105;;;;;;;;;;-1:-1:-1;52714:105:0;;;;;:::i;:::-;;:::i;37771:118::-;;;;;;;;;;-1:-1:-1;37771:118:0;;;;;:::i;:::-;;:::i;51497:306::-;;;;;;;;;;-1:-1:-1;51497:306:0;;;;;:::i;:::-;;:::i;36906:199::-;;;;;;;;;;-1:-1:-1;36906:199:0;;;;;:::i;:::-;;:::i;50061:103::-;;;;;;;;;;;;;:::i;51205:25::-;;;;;;;;;;;;;;;;53251:117;;;;;;;;;;;;;:::i;49410:87::-;;;;;;;;;;-1:-1:-1;49456:7:0;49483:6;-1:-1:-1;;;;;49483:6:0;49410:87;;52930:95;;;;;;;;;;-1:-1:-1;52930:95:0;;;;;:::i;:::-;;:::i;38103:98::-;;;;;;;;;;;;;:::i;51811:786::-;;;;;;:::i;:::-;;:::i;39750:274::-;;;;;;;;;;-1:-1:-1;39750:274:0;;;;;:::i;:::-;;:::i;40757:311::-;;;;;;;;;;-1:-1:-1;40757:311:0;;;;;:::i;:::-;;:::i;38264:403::-;;;;;;;;;;-1:-1:-1;38264:403:0;;;;;:::i;:::-;;:::i;44987:43::-;;;;;;;;;;;;;;;;53033:90;;;;;;;;;;-1:-1:-1;53033:90:0;;;;;:::i;:::-;;:::i;40087:186::-;;;;;;;;;;-1:-1:-1;40087:186:0;;;;;:::i;:::-;-1:-1:-1;;;;;40232:25:0;;;40209:4;40232:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40087:186;50319:201;;;;;;;;;;-1:-1:-1;50319:201:0;;;;;:::i;:::-;;:::i;36480:370::-;36607:4;-1:-1:-1;;;;;;36637:40:0;;36652:25;36637:40;;:99;;-1:-1:-1;;;;;;;36688:48:0;;36703:33;36688:48;36637:99;:160;;;-1:-1:-1;;;;;;;36747:50:0;;36762:35;36747:50;36637:160;:207;;;-1:-1:-1;22356:25:0;-1:-1:-1;;;;;;22341:40:0;;;36808:36;36623:221;36480:370;-1:-1:-1;;36480:370:0:o;37948:94::-;38002:13;38031:5;38024:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37948:94;:::o;39482:204::-;39550:7;39574:16;39582:7;41394:12;;-1:-1:-1;41384:22:0;41307:105;39574:16;39566:74;;;;-1:-1:-1;;;39566:74:0;;7583:2:1;39566:74:0;;;7565:21:1;7622:2;7602:18;;;7595:30;7661:34;7641:18;;;7634:62;7732:15;7712:18;;;7705:43;7765:19;;39566:74:0;;;;;;;;;-1:-1:-1;39656:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39656:24:0;;39482:204::o;39045:379::-;39114:13;39130:24;39146:7;39130:15;:24::i;:::-;39114:40;;39175:5;-1:-1:-1;;;;;39169:11:0;:2;-1:-1:-1;;;;;39169:11:0;;39161:58;;;;-1:-1:-1;;;39161:58:0;;7997:2:1;39161:58:0;;;7979:21:1;8036:2;8016:18;;;8009:30;8075:34;8055:18;;;8048:62;8146:4;8126:18;;;8119:32;8168:19;;39161:58:0;7795:398:1;39161:58:0;32684:10;-1:-1:-1;;;;;39244:21:0;;;;:62;;-1:-1:-1;39269:37:0;39286:5;32684:10;40087:186;:::i;39269:37::-;39228:153;;;;-1:-1:-1;;;39228:153:0;;8400:2:1;39228:153:0;;;8382:21:1;8439:2;8419:18;;;8412:30;8478:34;8458:18;;;8451:62;8549:27;8529:18;;;8522:55;8594:19;;39228:153:0;8198:421:1;39228:153:0;39390:28;39399:2;39403:7;39412:5;39390:8;:28::i;:::-;39107:317;39045:379;;:::o;35039:96::-;35092:7;35128:1;35115:12;;:14;;;;:::i;:::-;35108:21;;35039:96;:::o;40332:142::-;40440:28;40450:4;40456:2;40460:7;40440:9;:28::i;35672:744::-;35781:7;35816:16;35826:5;35816:9;:16::i;:::-;35808:5;:24;35800:71;;;;-1:-1:-1;;;35800:71:0;;9145:2:1;35800:71:0;;;9127:21:1;9184:2;9164:18;;;9157:30;9223:34;9203:18;;;9196:62;9294:4;9274:18;;;9267:32;9316:19;;35800:71:0;8943:398:1;35800:71:0;35878:22;35903:13;:11;:13::i;:::-;35878:38;;35923:19;35953:25;36003:9;35998:350;36022:14;36018:1;:18;35998:350;;;36052:31;36086:14;;;:11;:14;;;;;;;;;36052:48;;;;;;;;;-1:-1:-1;;;;;36052:48:0;;;;;-1:-1:-1;;;36052:48:0;;;;;;;;;;;;36113:28;36109:89;;36174:14;;;-1:-1:-1;36109:89:0;36231:5;-1:-1:-1;;;;;36210:26:0;:17;-1:-1:-1;;;;;36210:26:0;;36206:135;;36268:5;36253:11;:20;36249:59;;-1:-1:-1;36295:1:0;-1:-1:-1;36288:8:0;;-1:-1:-1;;;36288:8:0;36249:59;36318:13;;;;:::i;:::-;;;;36206:135;-1:-1:-1;36038:3:0;;;;:::i;:::-;;;;35998:350;;;-1:-1:-1;36354:56:0;;-1:-1:-1;;;36354:56:0;;9688:2:1;36354:56:0;;;9670:21:1;9727:2;9707:18;;;9700:30;9766:34;9746:18;;;9739:62;9837:16;9817:18;;;9810:44;9871:19;;36354:56:0;9486:410:1;52827:95:0;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;52900:14:::1;::::0;;-1:-1:-1;;52882:32:0;::::1;52900:14;::::0;;::::1;52899:15;52882:32;::::0;;52827:95::o;40537:157::-;40649:39;40666:4;40672:2;40676:7;40649:39;;;;;;;;;;;;:16;:39::i;35204:177::-;35271:7;35303:13;:11;:13::i;:::-;35295:5;:21;35287:69;;;;-1:-1:-1;;;35287:69:0;;10464:2:1;35287:69:0;;;10446:21:1;10503:2;10483:18;;;10476:30;10542:34;10522:18;;;10515:62;10613:5;10593:18;;;10586:33;10636:19;;35287:69:0;10262:399:1;35287:69:0;-1:-1:-1;35370:5:0;35204:177::o;52714:105::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;52790:21;;::::1;::::0;:8:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;52714:105:::0;:::o;37771:118::-;37835:7;37858:20;37870:7;37858:11;:20::i;:::-;:25;;37771:118;-1:-1:-1;;37771:118:0:o;51497:306::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;51600:9:::1;51596:200;51612:11:::0;;::::1;51596:200;;;51683:14;51666:13;:11;:13::i;:::-;51652:8;;51661:1;51652:11;;;;;;;:::i;:::-;;;;;;;:27;;;;:::i;:::-;:45;;51644:96;;;::::0;-1:-1:-1;;;51644:96:0;;11190:2:1;51644:96:0::1;::::0;::::1;11172:21:1::0;11229:2;11209:18;;;11202:30;11268:34;11248:18;;;11241:62;11339:8;11319:18;;;11312:36;11365:19;;51644:96:0::1;10988:402:1::0;51644:96:0::1;51755:29;51765:2;;51768:1;51765:5;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;51772:8;;51781:1;51772:11;;;;;;;:::i;:::-;;;;;;;51755:9;:29::i;:::-;51624:3:::0;::::1;::::0;::::1;:::i;:::-;;;;51596:200;;;;51497:306:::0;;;;:::o;36906:199::-;36970:7;-1:-1:-1;;;;;36994:19:0;;36986:75;;;;-1:-1:-1;;;36986:75:0;;11597:2:1;36986:75:0;;;11579:21:1;11636:2;11616:18;;;11609:30;11675:34;11655:18;;;11648:62;11746:13;11726:18;;;11719:41;11777:19;;36986:75:0;11395:407:1;36986:75:0;-1:-1:-1;;;;;;37083:15:0;;;;;:8;:15;;;;;;-1:-1:-1;;;;;37083:15:0;;36906:199::o;50061:103::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;50126:30:::1;50153:1;50126:18;:30::i;:::-;50061:103::o:0;53251:117::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;53312:47:::1;::::0;53320:10:::1;::::0;53337:21:::1;53312:47:::0;::::1;;;::::0;::::1;::::0;;;53337:21;53320:10;53312:47;::::1;;;;;;53304:56;;;::::0;::::1;52930:95:::0;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;52996:10:::1;:21:::0;52930:95::o;38103:98::-;38159:13;38188:7;38181:14;;;;;:::i;51811:786::-;51879:14;;;;51871:66;;;;-1:-1:-1;;;51871:66:0;;12009:2:1;51871:66:0;;;11991:21:1;12048:2;12028:18;;;12021:30;12087:34;12067:18;;;12060:62;12158:9;12138:18;;;12131:37;12185:19;;51871:66:0;11807:403:1;51871:66:0;51984:14;51967:13;:11;:13::i;:::-;51956:24;;:8;:24;:::i;:::-;:42;;51948:80;;;;-1:-1:-1;;;51948:80:0;;12417:2:1;51948:80:0;;;12399:21:1;12456:2;12436:18;;;12429:30;12495:27;12475:18;;;12468:55;12540:18;;51948:80:0;12215:349:1;51948:80:0;52057:10;52047:21;;;;:9;:21;;;;;;52083:2;;52047:32;;52071:8;;52047:32;:::i;:::-;:38;;52039:84;;;;-1:-1:-1;;;52039:84:0;;12771:2:1;52039:84:0;;;12753:21:1;12810:2;12790:18;;;12783:30;12849:34;12829:18;;;12822:62;-1:-1:-1;;;12900:18:1;;;12893:31;12941:19;;52039:84:0;12569:397:1;52039:84:0;52149:10;52139:21;;;;:9;:21;;;;;;52164:1;-1:-1:-1;52136:368:0;;52201:8;52188:10;;:21;;;;:::i;:::-;52175:9;:34;;52167:64;;;;-1:-1:-1;;;52167:64:0;;13346:2:1;52167:64:0;;;13328:21:1;13385:2;13365:18;;;13358:30;13424:19;13404:18;;;13397:47;13461:18;;52167:64:0;13144:341:1;52167:64:0;52136:368;;;52297:10;52287:21;;;;:9;:21;;;;;;52277:7;;:31;;52287:21;52277:31;:::i;:::-;52265:8;:44;52262:231;;;52382:10;52330:18;52372:21;;;:9;:21;;;;;;52362:7;;52351:18;;:8;:18;:::i;:::-;:42;;;;:::i;:::-;52330:63;;52446:10;52433;;:23;;;;:::i;:::-;52420:9;:36;;52412:65;;;;-1:-1:-1;;;52412:65:0;;13346:2:1;52412:65:0;;;13328:21:1;13385:2;13365:18;;;13358:30;13424:19;13404:18;;;13397:47;13461:18;;52412:65:0;13144:341:1;52412:65:0;52311:182;52262:231;52524:10;52514:21;;;;:9;:21;;;;;:33;;52539:8;;52514:21;:33;;52539:8;;52514:33;:::i;:::-;;;;-1:-1:-1;52558:31:0;;-1:-1:-1;52568:10:0;52580:8;52558:9;:31::i;:::-;51811:786;:::o;39750:274::-;32684:10;-1:-1:-1;;;;;39841:24:0;;;39833:63;;;;-1:-1:-1;;;39833:63:0;;13692:2:1;39833:63:0;;;13674:21:1;13731:2;13711:18;;;13704:30;13770:28;13750:18;;;13743:56;13816:18;;39833:63:0;13490:350:1;39833:63:0;32684:10;39905:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;39905:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;39905:53:0;;;;;;;;;;39970:48;;586:41:1;;;39905:42:0;;32684:10;39970:48;;559:18:1;39970:48:0;;;;;;;39750:274;;:::o;40757:311::-;40894:28;40904:4;40910:2;40914:7;40894:9;:28::i;:::-;40945:48;40968:4;40974:2;40978:7;40987:5;40945:22;:48::i;:::-;40929:133;;;;-1:-1:-1;;;40929:133:0;;14047:2:1;40929:133:0;;;14029:21:1;14086:2;14066:18;;;14059:30;14125:34;14105:18;;;14098:62;14196:21;14176:18;;;14169:49;14235:19;;40929:133:0;13845:415:1;40929:133:0;40757:311;;;;:::o;38264:403::-;38362:13;38403:16;38411:7;41394:12;;-1:-1:-1;41384:22:0;41307:105;38403:16;38387:97;;;;-1:-1:-1;;;38387:97:0;;14467:2:1;38387:97:0;;;14449:21:1;14506:2;14486:18;;;14479:30;14545:34;14525:18;;;14518:62;14616:17;14596:18;;;14589:45;14651:19;;38387:97:0;14265:411:1;38387:97:0;38493:21;38517:10;:8;:10::i;:::-;38493:34;;38572:1;38554:7;38548:21;:25;:113;;;;;;;;;;;;;;;;;38609:7;38618:18;:7;:16;:18::i;:::-;38592:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;38548:113;38534:127;38264:403;-1:-1:-1;;;38264:403:0:o;53033:90::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;53099:7:::1;:16:::0;53033:90::o;50319:201::-;49456:7;49483:6;-1:-1:-1;;;;;49483:6:0;32684:10;49630:23;49622:68;;;;-1:-1:-1;;;49622:68:0;;10103:2:1;49622:68:0;;;10085:21:1;;;10122:18;;;10115:30;10181:34;10161:18;;;10154:62;10233:18;;49622:68:0;9901:356:1;49622:68:0;-1:-1:-1;;;;;50408:22:0;::::1;50400:73;;;::::0;-1:-1:-1;;;50400:73:0;;15525:2:1;50400:73:0::1;::::0;::::1;15507:21:1::0;15564:2;15544:18;;;15537:30;15603:34;15583:18;;;15576:62;15674:8;15654:18;;;15647:36;15700:19;;50400:73:0::1;15323:402:1::0;50400:73:0::1;50484:28;50503:8;50484:18;:28::i;44809:172::-:0;44906:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;44906:29:0;-1:-1:-1;;;;;44906:29:0;;;;;;;;;44947:28;;44906:24;;44947:28;;;;;;;44809:172;;;:::o;43198:1505::-;43295:35;43333:20;43345:7;43333:11;:20::i;:::-;43404:18;;43295:58;;-1:-1:-1;43362:22:0;;-1:-1:-1;;;;;43388:34:0;32684:10;-1:-1:-1;;;;;43388:34:0;;:81;;;-1:-1:-1;32684:10:0;43433:20;43445:7;43433:11;:20::i;:::-;-1:-1:-1;;;;;43433:36:0;;43388:81;:142;;;-1:-1:-1;43497:18:0;;43480:50;;32684:10;40087:186;:::i;43480:50::-;43362:169;;43556:17;43540:101;;;;-1:-1:-1;;;43540:101:0;;15932:2:1;43540:101:0;;;15914:21:1;15971:2;15951:18;;;15944:30;16010:34;15990:18;;;15983:62;16081:20;16061:18;;;16054:48;16119:19;;43540:101:0;15730:414:1;43540:101:0;43688:4;-1:-1:-1;;;;;43666:26:0;:13;:18;;;-1:-1:-1;;;;;43666:26:0;;43650:98;;;;-1:-1:-1;;;43650:98:0;;16351:2:1;43650:98:0;;;16333:21:1;16390:2;16370:18;;;16363:30;16429:34;16409:18;;;16402:62;16500:8;16480:18;;;16473:36;16526:19;;43650:98:0;16149:402:1;43650:98:0;-1:-1:-1;;;;;43763:16:0;;43755:66;;;;-1:-1:-1;;;43755:66:0;;16758:2:1;43755:66:0;;;16740:21:1;16797:2;16777:18;;;16770:30;16836:34;16816:18;;;16809:62;16907:7;16887:18;;;16880:35;16932:19;;43755:66:0;16556:401:1;43755:66:0;43930:49;43947:1;43951:7;43960:13;:18;;;43930:8;:49::i;:::-;-1:-1:-1;;;;;43988:14:0;;;;;;:8;:14;;;;;:19;;44006:1;;43988:14;:19;;44006:1;;-1:-1:-1;;;;;43988:19:0;;:::i;:::-;;;;;;;;-1:-1:-1;;;;;43988:19:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;44014:12:0;;-1:-1:-1;44014:12:0;;;:8;:12;;;;;:17;;-1:-1:-1;;;44014:12:0;;:17;;-1:-1:-1;;44014:17:0;;:::i;:::-;;;-1:-1:-1;;;;;44014:17:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44061:43:0;;;;;;;;-1:-1:-1;;;;;44061:43:0;;;;;;44087:15;44061:43;;;;;;;;;-1:-1:-1;44038:20:0;;;:11;:20;;;;;;:66;;;;;;;;;-1:-1:-1;;;44038:66:0;-1:-1:-1;;;;;;44038:66:0;;;;;;;;;;;44354:11;44050:7;-1:-1:-1;44354:11:0;:::i;:::-;44417:1;44376:24;;;:11;:24;;;;;:29;44332:33;;-1:-1:-1;;;;;;44376:29:0;44372:236;;44434:20;44442:11;41394:12;;-1:-1:-1;41384:22:0;41307:105;44434:20;44430:171;;;44494:97;;;;;;;;44521:18;;-1:-1:-1;;;;;44494:97:0;;;;;;44552:28;;;;44494:97;;;;;;;;;;-1:-1:-1;44467:24:0;;;:11;:24;;;;;;;:124;;;;;;;;;-1:-1:-1;;;44467:124:0;-1:-1:-1;;;;;;44467:124:0;;;;;;;;;;;;44430:171;44640:7;44636:2;-1:-1:-1;;;;;44621:27:0;44630:4;-1:-1:-1;;;;;44621:27:0;;;;;;;;;;;43288:1415;;;43198:1505;;;:::o;37111:606::-;-1:-1:-1;;;;;;;;;;;;;;;;;37228:16:0;37236:7;41394:12;;-1:-1:-1;41384:22:0;41307:105;37228:16;37220:71;;;;-1:-1:-1;;;37220:71:0;;17673:2:1;37220:71:0;;;17655:21:1;17712:2;17692:18;;;17685:30;17751:34;17731:18;;;17724:62;17822:12;17802:18;;;17795:40;17852:19;;37220:71:0;17471:406:1;37220:71:0;37300:26;37348:12;37337:7;:23;37333:93;;37392:22;37402:12;37392:7;:22;:::i;:::-;:26;;37417:1;37392:26;:::i;:::-;37371:47;;37333:93;37454:7;37434:212;37471:18;37463:4;:26;37434:212;;37508:31;37542:17;;;:11;:17;;;;;;;;;37508:51;;;;;;;;;-1:-1:-1;;;;;37508:51:0;;;;;-1:-1:-1;;;37508:51:0;;;;;;;;;;;;37572:28;37568:71;;37620:9;37111:606;-1:-1:-1;;;;37111:606:0:o;37568:71::-;-1:-1:-1;37491:6:0;;;;:::i;:::-;;;;37434:212;;;-1:-1:-1;37654:57:0;;-1:-1:-1;;;37654:57:0;;18225:2:1;37654:57:0;;;18207:21:1;18264:2;18244:18;;;18237:30;18303:34;18283:18;;;18276:62;18374:17;18354:18;;;18347:45;18409:19;;37654:57:0;18023:411:1;41418:98:0;41483:27;41493:2;41497:8;41483:27;;;;;;;;;;;;:9;:27::i;50680:191::-;50754:16;50773:6;;-1:-1:-1;;;;;50790:17:0;;;-1:-1:-1;;50790:17:0;;;;;;50823:40;;50773:6;;;;;;;50823:40;;50754:16;50823:40;50743:128;50680:191;:::o;46524:690::-;46661:4;-1:-1:-1;;;;;46678:13:0;;12421:19;:23;46674:535;;46717:72;;-1:-1:-1;;;46717:72:0;;-1:-1:-1;;;;;46717:36:0;;;;;:72;;32684:10;;46768:4;;46774:7;;46783:5;;46717:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46717:72:0;;;;;;;;-1:-1:-1;;46717:72:0;;;;;;;;;;;;:::i;:::-;;;46704:464;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46948:6;:13;46965:1;46948:18;46944:215;;46981:61;;-1:-1:-1;;;46981:61:0;;14047:2:1;46981:61:0;;;14029:21:1;14086:2;14066:18;;;14059:30;14125:34;14105:18;;;14098:62;14196:21;14176:18;;;14169:49;14235:19;;46981:61:0;13845:415:1;46944:215:0;47127:6;47121:13;47112:6;47108:2;47104:15;47097:38;46704:464;-1:-1:-1;;;;;;46839:55:0;-1:-1:-1;;;46839:55:0;;-1:-1:-1;46832:62:0;;46674:535;-1:-1:-1;47197:4:0;46674:535;46524:690;;;;;;:::o;52605:101::-;52657:13;52690:8;52683:15;;;;;:::i;9134:723::-;9190:13;9411:5;9420:1;9411:10;9407:53;;-1:-1:-1;;9438:10:0;;;;;;;;;;;;-1:-1:-1;;;9438:10:0;;;;;9134:723::o;9407:53::-;9485:5;9470:12;9526:78;9533:9;;9526:78;;9559:8;;;;:::i;:::-;;-1:-1:-1;9582:10:0;;-1:-1:-1;9590:2:0;9582:10;;:::i;:::-;;;9526:78;;;9614:19;9646:6;9636:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9636:17:0;;9614:39;;9664:154;9671:10;;9664:154;;9698:11;9708:1;9698:11;;:::i;:::-;;-1:-1:-1;9767:10:0;9775:2;9767:5;:10;:::i;:::-;9754:24;;:2;:24;:::i;:::-;9741:39;;9724:6;9731;9724:14;;;;;;;;:::i;:::-;;;;:56;;;;;;;;;;-1:-1:-1;9795:11:0;9804:2;9795:11;;:::i;:::-;;;9664:154;;41855:1111;41983:12;;-1:-1:-1;;;;;42010:16:0;;42002:62;;;;-1:-1:-1;;;42002:62:0;;19843:2:1;42002:62:0;;;19825:21:1;19882:2;19862:18;;;19855:30;19921:34;19901:18;;;19894:62;19992:3;19972:18;;;19965:31;20013:19;;42002:62:0;19641:397:1;42002:62:0;42201:21;42209:12;41394;;-1:-1:-1;41384:22:0;41307:105;42201:21;42200:22;42192:64;;;;-1:-1:-1;;;42192:64:0;;20245:2:1;42192:64:0;;;20227:21:1;20284:2;20264:18;;;20257:30;20323:31;20303:18;;;20296:59;20372:18;;42192:64:0;20043:353:1;42192:64:0;42283:12;42271:8;:24;;42263:71;;;;-1:-1:-1;;;42263:71:0;;20603:2:1;42263:71:0;;;20585:21:1;20642:2;20622:18;;;20615:30;20681:34;20661:18;;;20654:62;20752:4;20732:18;;;20725:32;20774:19;;42263:71:0;20401:398:1;42263:71:0;-1:-1:-1;;;;;42413:12:0;;;;;;:8;:12;;;;;:33;;42437:8;;42413:12;:33;;42437:8;;-1:-1:-1;;;;;42413:33:0;;:::i;:::-;;;-1:-1:-1;;;;;42413:33:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42481:43:0;;;;;;;;-1:-1:-1;;;;;42481:43:0;;;;;;42507:15;42481:43;;;;;;;;;-1:-1:-1;42453:25:0;;;:11;:25;;;;;;:71;;;;;;;;;-1:-1:-1;;;42453:71:0;-1:-1:-1;;;;;;42453:71:0;;;;;;;;;;;42465:12;;42577:281;42601:8;42597:1;:12;42577:281;;;42630:38;;42655:12;;-1:-1:-1;;;;;42630:38:0;;;42647:1;;42630:38;;42647:1;;42630:38;42695:59;42726:1;42730:2;42734:12;42748:5;42695:22;:59::i;:::-;42677:150;;;;-1:-1:-1;;;42677:150:0;;14047:2:1;42677:150:0;;;14029:21:1;14086:2;14066:18;;;14059:30;14125:34;14105:18;;;14098:62;14196:21;14176:18;;;14169:49;14235:19;;42677:150:0;13845:415:1;42677:150:0;42836:14;;;;:::i;:::-;;;;42611:3;;;;;:::i;:::-;;;;42577:281;;;-1:-1:-1;42866:12:0;:27;;;42900:60;40757:311;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:177:1;-1:-1:-1;;;;;;92:5:1;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:258::-;710:1;720:113;734:6;731:1;728:13;720:113;;;810:11;;;804:18;791:11;;;784:39;756:2;749:10;720:113;;;851:6;848:1;845:13;842:48;;;-1:-1:-1;;886:1:1;868:16;;861:27;638:258::o;901:::-;943:3;981:5;975:12;1008:6;1003:3;996:19;1024:63;1080:6;1073:4;1068:3;1064:14;1057:4;1050:5;1046:16;1024:63;:::i;:::-;1141:2;1120:15;-1:-1:-1;;1116:29:1;1107:39;;;;1148:4;1103:50;;901:258;-1:-1:-1;;901:258:1:o;1164:220::-;1313:2;1302:9;1295:21;1276:4;1333:45;1374:2;1363:9;1359:18;1351:6;1333:45;:::i;1389:196::-;1457:20;;-1:-1:-1;;;;;1506:54:1;;1496:65;;1486:93;;1575:1;1572;1565:12;1486:93;1389:196;;;:::o;1590:186::-;1649:6;1702:2;1690:9;1681:7;1677:23;1673:32;1670:52;;;1718:1;1715;1708:12;1670:52;1741:29;1760:9;1741:29;:::i;1963:180::-;2022:6;2075:2;2063:9;2054:7;2050:23;2046:32;2043:52;;;2091:1;2088;2081:12;2043:52;-1:-1:-1;2114:23:1;;1963:180;-1:-1:-1;1963:180:1:o;2379:254::-;2447:6;2455;2508:2;2496:9;2487:7;2483:23;2479:32;2476:52;;;2524:1;2521;2514:12;2476:52;2547:29;2566:9;2547:29;:::i;:::-;2537:39;2623:2;2608:18;;;;2595:32;;-1:-1:-1;;;2379:254:1:o;2885:328::-;2962:6;2970;2978;3031:2;3019:9;3010:7;3006:23;3002:32;2999:52;;;3047:1;3044;3037:12;2999:52;3070:29;3089:9;3070:29;:::i;:::-;3060:39;;3118:38;3152:2;3141:9;3137:18;3118:38;:::i;:::-;3108:48;;3203:2;3192:9;3188:18;3175:32;3165:42;;2885:328;;;;;:::o;3218:184::-;-1:-1:-1;;;3267:1:1;3260:88;3367:4;3364:1;3357:15;3391:4;3388:1;3381:15;3407:632;3472:5;3502:18;3543:2;3535:6;3532:14;3529:40;;;3549:18;;:::i;:::-;3624:2;3618:9;3592:2;3678:15;;-1:-1:-1;;3674:24:1;;;3700:2;3670:33;3666:42;3654:55;;;3724:18;;;3744:22;;;3721:46;3718:72;;;3770:18;;:::i;:::-;3810:10;3806:2;3799:22;3839:6;3830:15;;3869:6;3861;3854:22;3909:3;3900:6;3895:3;3891:16;3888:25;3885:45;;;3926:1;3923;3916:12;3885:45;3976:6;3971:3;3964:4;3956:6;3952:17;3939:44;4031:1;4024:4;4015:6;4007;4003:19;3999:30;3992:41;;;;3407:632;;;;;:::o;4044:451::-;4113:6;4166:2;4154:9;4145:7;4141:23;4137:32;4134:52;;;4182:1;4179;4172:12;4134:52;4222:9;4209:23;4255:18;4247:6;4244:30;4241:50;;;4287:1;4284;4277:12;4241:50;4310:22;;4363:4;4355:13;;4351:27;-1:-1:-1;4341:55:1;;4392:1;4389;4382:12;4341:55;4415:74;4481:7;4476:2;4463:16;4458:2;4454;4450:11;4415:74;:::i;4500:367::-;4563:8;4573:6;4627:3;4620:4;4612:6;4608:17;4604:27;4594:55;;4645:1;4642;4635:12;4594:55;-1:-1:-1;4668:20:1;;4711:18;4700:30;;4697:50;;;4743:1;4740;4733:12;4697:50;4780:4;4772:6;4768:17;4756:29;;4840:3;4833:4;4823:6;4820:1;4816:14;4808:6;4804:27;4800:38;4797:47;4794:67;;;4857:1;4854;4847:12;4794:67;4500:367;;;;;:::o;4872:773::-;4994:6;5002;5010;5018;5071:2;5059:9;5050:7;5046:23;5042:32;5039:52;;;5087:1;5084;5077:12;5039:52;5127:9;5114:23;5156:18;5197:2;5189:6;5186:14;5183:34;;;5213:1;5210;5203:12;5183:34;5252:70;5314:7;5305:6;5294:9;5290:22;5252:70;:::i;:::-;5341:8;;-1:-1:-1;5226:96:1;-1:-1:-1;5429:2:1;5414:18;;5401:32;;-1:-1:-1;5445:16:1;;;5442:36;;;5474:1;5471;5464:12;5442:36;;5513:72;5577:7;5566:8;5555:9;5551:24;5513:72;:::i;:::-;4872:773;;;;-1:-1:-1;5604:8:1;-1:-1:-1;;;;4872:773:1:o;5650:347::-;5715:6;5723;5776:2;5764:9;5755:7;5751:23;5747:32;5744:52;;;5792:1;5789;5782:12;5744:52;5815:29;5834:9;5815:29;:::i;:::-;5805:39;;5894:2;5883:9;5879:18;5866:32;5941:5;5934:13;5927:21;5920:5;5917:32;5907:60;;5963:1;5960;5953:12;5907:60;5986:5;5976:15;;;5650:347;;;;;:::o;6002:667::-;6097:6;6105;6113;6121;6174:3;6162:9;6153:7;6149:23;6145:33;6142:53;;;6191:1;6188;6181:12;6142:53;6214:29;6233:9;6214:29;:::i;:::-;6204:39;;6262:38;6296:2;6285:9;6281:18;6262:38;:::i;:::-;6252:48;;6347:2;6336:9;6332:18;6319:32;6309:42;;6402:2;6391:9;6387:18;6374:32;6429:18;6421:6;6418:30;6415:50;;;6461:1;6458;6451:12;6415:50;6484:22;;6537:4;6529:13;;6525:27;-1:-1:-1;6515:55:1;;6566:1;6563;6556:12;6515:55;6589:74;6655:7;6650:2;6637:16;6632:2;6628;6624:11;6589:74;:::i;:::-;6579:84;;;6002:667;;;;;;;:::o;6674:260::-;6742:6;6750;6803:2;6791:9;6782:7;6778:23;6774:32;6771:52;;;6819:1;6816;6809:12;6771:52;6842:29;6861:9;6842:29;:::i;:::-;6832:39;;6890:38;6924:2;6913:9;6909:18;6890:38;:::i;:::-;6880:48;;6674:260;;;;;:::o;6939:437::-;7018:1;7014:12;;;;7061;;;7082:61;;7136:4;7128:6;7124:17;7114:27;;7082:61;7189:2;7181:6;7178:14;7158:18;7155:38;7152:218;;-1:-1:-1;;;7223:1:1;7216:88;7327:4;7324:1;7317:15;7355:4;7352:1;7345:15;7152:218;;6939:437;;;:::o;8624:184::-;-1:-1:-1;;;8673:1:1;8666:88;8773:4;8770:1;8763:15;8797:4;8794:1;8787:15;8813:125;8853:4;8881:1;8878;8875:8;8872:34;;;8886:18;;:::i;:::-;-1:-1:-1;8923:9:1;;8813:125::o;9346:135::-;9385:3;9406:17;;;9403:43;;9426:18;;:::i;:::-;-1:-1:-1;9473:1:1;9462:13;;9346:135::o;10666:184::-;-1:-1:-1;;;10715:1:1;10708:88;10815:4;10812:1;10805:15;10839:4;10836:1;10829:15;10855:128;10895:3;10926:1;10922:6;10919:1;10916:13;10913:39;;;10932:18;;:::i;:::-;-1:-1:-1;10968:9:1;;10855:128::o;12971:168::-;13011:7;13077:1;13073;13069:6;13065:14;13062:1;13059:21;13054:1;13047:9;13040:17;13036:45;13033:71;;;13084:18;;:::i;:::-;-1:-1:-1;13124:9:1;;12971:168::o;14681:637::-;14961:3;14999:6;14993:13;15015:53;15061:6;15056:3;15049:4;15041:6;15037:17;15015:53;:::i;:::-;15131:13;;15090:16;;;;15153:57;15131:13;15090:16;15187:4;15175:17;;15153:57;:::i;:::-;15275:7;15232:20;;15261:22;;;15310:1;15299:13;;14681:637;-1:-1:-1;;;;14681:637:1:o;16962:246::-;17002:4;-1:-1:-1;;;;;17115:10:1;;;;17085;;17137:12;;;17134:38;;;17152:18;;:::i;:::-;17189:13;;16962:246;-1:-1:-1;;;16962:246:1:o;17213:253::-;17253:3;-1:-1:-1;;;;;17342:2:1;17339:1;17335:10;17372:2;17369:1;17365:10;17403:3;17399:2;17395:12;17390:3;17387:21;17384:47;;;17411:18;;:::i;:::-;17447:13;;17213:253;-1:-1:-1;;;;17213:253:1:o;17882:136::-;17921:3;17949:5;17939:39;;17958:18;;:::i;:::-;-1:-1:-1;;;17994:18:1;;17882:136::o;18439:512::-;18633:4;-1:-1:-1;;;;;18743:2:1;18735:6;18731:15;18720:9;18713:34;18795:2;18787:6;18783:15;18778:2;18767:9;18763:18;18756:43;;18835:6;18830:2;18819:9;18815:18;18808:34;18878:3;18873:2;18862:9;18858:18;18851:31;18899:46;18940:3;18929:9;18925:19;18917:6;18899:46;:::i;:::-;18891:54;18439:512;-1:-1:-1;;;;;;18439:512:1:o;18956:249::-;19025:6;19078:2;19066:9;19057:7;19053:23;19049:32;19046:52;;;19094:1;19091;19084:12;19046:52;19126:9;19120:16;19145:30;19169:5;19145:30;:::i;19210:184::-;-1:-1:-1;;;19259:1:1;19252:88;19359:4;19356:1;19349:15;19383:4;19380:1;19373:15;19399:120;19439:1;19465;19455:35;;19470:18;;:::i;:::-;-1:-1:-1;19504:9:1;;19399:120::o;19524:112::-;19556:1;19582;19572:35;;19587:18;;:::i;:::-;-1:-1:-1;19621:9:1;;19524:112::o

Swarm Source

ipfs://0d21d5e3506fff851a799d3fab08d29e9ff19d10b6c1b6cf0d6720a724796420

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.