ETH Price: $3,387.28 (+1.19%)

Token

HIDDEN CHAPTER (PAGE)
 

Overview

Max Total Supply

2,362 PAGE

Holders

688

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
HIDDEN

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

pragma solidity ^0.8.0;


// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
/**
 * @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);
}


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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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);
}


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
/**
 * @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);
}


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
/**
 * @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);
}


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)
/**
 * @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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @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;
    }
}


// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)
/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}


// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)
/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
/**
 * @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;
    }
}


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol)
/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _ownerOf(tokenId);
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

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

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner or approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist
     */
    function _ownerOf(uint256 tokenId) internal view virtual returns (address) {
        return _owners[tokenId];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _ownerOf(tokenId) != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId, 1);

        // Check that tokenId was not minted by `_beforeTokenTransfer` hook
        require(!_exists(tokenId), "ERC721: token already minted");

        unchecked {
            // Will not overflow unless all 2**256 token ids are minted to the same owner.
            // Given that tokens are minted one by one, it is impossible in practice that
            // this ever happens. Might change if we allow batch minting.
            // The ERC fails to describe this case.
            _balances[to] += 1;
        }

        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId, 1);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     * This is an internal function that does not check if the sender is authorized to operate on the token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId, 1);

        // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook
        owner = ERC721.ownerOf(tokenId);

        // Clear approvals
        delete _tokenApprovals[tokenId];

        unchecked {
            // Cannot overflow, as that would require more tokens to be burned/transferred
            // out than the owner initially received through minting and transferring in.
            _balances[owner] -= 1;
        }
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId, 1);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId, 1);

        // Check that tokenId was not transferred by `_beforeTokenTransfer` hook
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];

        unchecked {
            // `_balances[from]` cannot overflow for the same reason as described in `_burn`:
            // `from`'s balance is the number of token held, which is at least one before the current
            // transfer.
            // `_balances[to]` could overflow in the conditions described in `_mint`. That would require
            // all 2**256 token ids to be minted, which in practice is impossible.
            _balances[from] -= 1;
            _balances[to] += 1;
        }
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId, 1);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`.
     * - When `from` is zero, the tokens will be minted for `to`.
     * - When `to` is zero, ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256, /* firstTokenId */
        uint256 batchSize
    ) internal virtual {
        if (batchSize > 1) {
            if (from != address(0)) {
                _balances[from] -= batchSize;
            }
            if (to != address(0)) {
                _balances[to] += batchSize;
            }
        }
    }

    /**
     * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is
     * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`.
     * - When `from` is zero, the tokens were minted for `to`.
     * - When `to` is zero, ``from``'s tokens were burned.
     * - `from` and `to` are never both zero.
     * - `batchSize` is non-zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual {}
}


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
/**
 * @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);
}


// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol)
/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 firstTokenId,
        uint256 batchSize
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, firstTokenId, batchSize);

        if (batchSize > 1) {
            // Will only trigger during construction. Batch transferring (minting) is not available afterwards.
            revert("ERC721Enumerable: consecutive transfers not supported");
        }

        uint256 tokenId = firstTokenId;

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)
/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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


/*
  beneath each ornate deception, a seed of fact takes root.
*/
abstract contract DONOTMINT {
  function ownerOf(uint256 _tokenId) public view virtual returns (address);
}

contract HIDDEN is
  ERC721,
  ERC721Enumerable,
  Pausable,
  Ownable
{
  mapping(uint256 => bool) public claimed;
  bool public claimOpen;
  string public baseTokenURI;
  DONOTMINT pillProvider;

  event PageClaimed(uint256 indexed id);
  constructor(address _pillProvider, string memory _baseUri)
  ERC721("HIDDEN CHAPTER", "PAGE") {
    setPillProvider(_pillProvider);
    setBaseURI(_baseUri);
    pause();
  }

  function claimOne(uint256 tokenId)
  public {
    require(claimOpen == true,
      "Claim is not open.");
    require(claimed[tokenId] != true,
      "Token already claimed.");
    require(msg.sender == pillProvider.ownerOf(tokenId),
      "You are not the owner of the token you are trying to use.");
    claimed[tokenId] = true;
    _safeMint(msg.sender, tokenId);
    emit PageClaimed(tokenId);
  }

  function claimAll(uint256[] memory tokenIds)
  public {
    for (uint256 i = 0; i < tokenIds.length; i++) {
      if (claimed[tokenIds[i]] == false) {
        claimOne(tokenIds[i]);
      }
    }
  }

  function setPillProvider(address _pillProvider)
  public
  onlyOwner {
    pillProvider = DONOTMINT(_pillProvider);
  }

  function setBaseURI(string memory _baseTokenURI)
  public
  onlyOwner {
    baseTokenURI = _baseTokenURI;
  }

  function openClaim()
  public
  onlyOwner {
    claimOpen = true;
  }

  function closeClaim()
  public
  onlyOwner {
    claimOpen = false;
  }

  function pause()
  public
  onlyOwner {
    _pause();
  }

  function unpause()
  public
  onlyOwner {
    _unpause();
  }

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

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId,
    uint256 batchSize
  )
  internal
  whenNotPaused
  override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId, batchSize);
  }

  function supportsInterface(bytes4 interfaceId)
  public
  view
  override(ERC721, ERC721Enumerable)
  returns(bool) {
    return super.supportsInterface(interfaceId);
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_pillProvider","type":"address"},{"internalType":"string","name":"_baseUri","type":"string"}],"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":"uint256","name":"id","type":"uint256"}],"name":"PageClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"closeClaim","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pillProvider","type":"address"}],"name":"setPillProvider","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":[{"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620026f9380380620026f983398101604081905262000034916200034c565b604080518082018252600e81526d2424a22222a71021a420a82a22a960911b6020808301918252835180850190945260048452635041474560e01b9084015281519192916200008691600091620002a6565b5080516200009c906001906020840190620002a6565b5050600a805460ff1916905550620000b433620000dc565b620000bf8262000136565b620000ca8162000162565b620000d462000185565b50506200049f565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001406200019b565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b6200016c6200019b565b80516200018190600d906020840190620002a6565b5050565b6200018f6200019b565b6200019962000201565b565b600a546001600160a01b03610100909104163314620001995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6200020b6200025e565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002413390565b6040516001600160a01b03909116815260200160405180910390a1565b600a5460ff1615620001995760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401620001f8565b828054620002b4906200044c565b90600052602060002090601f016020900481019282620002d8576000855562000323565b82601f10620002f357805160ff191683800117855562000323565b8280016001018555821562000323579182015b828111156200032357825182559160200191906001019062000306565b506200033192915062000335565b5090565b5b8082111562000331576000815560010162000336565b600080604083850312156200036057600080fd5b82516001600160a01b03811681146200037857600080fd5b602084810151919350906001600160401b03808211156200039857600080fd5b818601915086601f830112620003ad57600080fd5b815181811115620003c257620003c262000489565b604051601f8201601f19908116603f01168101908382118183101715620003ed57620003ed62000489565b8160405282815289868487010111156200040657600080fd5b600093505b828410156200042a57848401860151818501870152928501926200040b565b828411156200043c5760008684830101525b8096505050505050509250929050565b600181811c908216806200046157607f821691505b602082108114156200048357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61224a80620004af6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063b88d4fde116100a2578063d547cfb711610071578063d547cfb7146103ce578063dbe7e3bd146103d6578063e985e9c5146103f9578063f2fde38b1461043557600080fd5b8063b88d4fde1461038d578063b90d5fb7146103a0578063c2fc94a1146103b3578063c87b56dd146103bb57600080fd5b80638456cb59116100de5780638456cb59146103545780638da5cb5b1461035c57806395d89b4114610372578063a22cb4651461037a57600080fd5b80636352211e14610313578063662331261461032657806370a0823114610339578063715018a61461034c57600080fd5b8063293cdbf1116101875780634b8bcb58116101565780634b8bcb58146102d55780634f6ccce7146102e257806355f804b3146102f55780635c975abb1461030857600080fd5b8063293cdbf11461029f5780632f745c59146102a75780633f4ba83a146102ba57806342842e0e146102c257600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd1461027957806328c778201461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004611e84565b610448565b60405190151581526020015b60405180910390f35b61021a610459565b6040516102099190611fb8565b61023a610235366004611f07565b6104eb565b6040516001600160a01b039091168152602001610209565b610265610260366004611dab565b610512565b005b6008545b604051908152602001610209565b610265610287366004611cb7565b61062d565b61026561029a366004611dd7565b61065e565b6102656106da565b61026b6102b5366004611dab565b6106f1565b610265610787565b6102656102d0366004611cb7565b610799565b600c546101fd9060ff1681565b61026b6102f0366004611f07565b6107b4565b610265610303366004611ebe565b610847565b600a5460ff166101fd565b61023a610321366004611f07565b610862565b610265610334366004611f07565b6108c2565b61026b610347366004611c44565b610abe565b610265610b44565b610265610b56565b600a5461010090046001600160a01b031661023a565b61021a610b66565b610265610388366004611d78565b610b75565b61026561039b366004611cf8565b610b80565b6102656103ae366004611c44565b610bb8565b610265610be2565b61021a6103c9366004611f07565b610bf6565b61021a610c5d565b6101fd6103e4366004611f07565b600b6020526000908152604090205460ff1681565b6101fd610407366004611c7e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610265610443366004611c44565b610ceb565b600061045382610d64565b92915050565b6060600080546104689061213b565b80601f01602080910402602001604051908101604052809291908181526020018280546104949061213b565b80156104e15780601f106104b6576101008083540402835291602001916104e1565b820191906000526020600020905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b60006104f682610d89565b506000908152600460205260409020546001600160a01b031690565b600061051d82610862565b9050806001600160a01b0316836001600160a01b031614156105905760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ac57506105ac8133610407565b61061e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610587565b6106288383610de8565b505050565b6106373382610e56565b6106535760405162461bcd60e51b815260040161058790611fcb565b610628838383610ed5565b60005b81518110156106d657600b6000838381518110610680576106806121bd565b60209081029190910181015182528101919091526040016000205460ff166106c4576106c48282815181106106b7576106b76121bd565b60200260200101516108c2565b806106ce81612176565b915050610661565b5050565b6106e2611046565b600c805460ff19166001179055565b60006106fc83610abe565b821061075e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610587565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61078f611046565b6107976110a6565b565b61062883838360405180602001604052806000815250610b80565b60006107bf60085490565b82106108225760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610587565b60088281548110610835576108356121bd565b90600052602060002001549050919050565b61084f611046565b80516106d690600d906020840190611b53565b6000818152600260205260408120546001600160a01b0316806104535760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610587565b600c5460ff16151560011461090e5760405162461bcd60e51b815260206004820152601260248201527121b630b4b69034b9903737ba1037b832b71760711b6044820152606401610587565b6000818152600b602052604090205460ff1615156001141561096b5760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71030b63932b0b23c9031b630b4b6b2b21760511b6044820152606401610587565b600e546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b1580156109af57600080fd5b505afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611c61565b6001600160a01b0316336001600160a01b031614610a6d5760405162461bcd60e51b815260206004820152603960248201527f596f7520617265206e6f7420746865206f776e6572206f662074686520746f6b60448201527f656e20796f752061726520747279696e6720746f207573652e000000000000006064820152608401610587565b6000818152600b60205260409020805460ff19166001179055610a9033826110f8565b60405181907fc681c251a8f03bcc6beb05d07704933593be2d38149b6d3e607a6c401cb51f2990600090a250565b60006001600160a01b038216610b285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610587565b506001600160a01b031660009081526003602052604090205490565b610b4c611046565b6107976000611112565b610b5e611046565b61079761116c565b6060600180546104689061213b565b6106d63383836111a9565b610b8a3383610e56565b610ba65760405162461bcd60e51b815260040161058790611fcb565b610bb284848484611278565b50505050565b610bc0611046565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610bea611046565b600c805460ff19169055565b6060610c0182610d89565b6000610c0b6112ab565b90506000815111610c2b5760405180602001604052806000815250610c56565b80610c35846112ba565b604051602001610c46929190611f4c565b6040516020818303038152906040525b9392505050565b600d8054610c6a9061213b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c969061213b565b8015610ce35780601f10610cb857610100808354040283529160200191610ce3565b820191906000526020600020905b815481529060010190602001808311610cc657829003601f168201915b505050505081565b610cf3611046565b6001600160a01b038116610d585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610587565b610d6181611112565b50565b60006001600160e01b0319821663780e9d6360e01b1480610453575061045382611357565b6000818152600260205260409020546001600160a01b0316610d615760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610587565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e1d82610862565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e6283610862565b9050806001600160a01b0316846001600160a01b03161480610ea957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610ecd5750836001600160a01b0316610ec2846104eb565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ee882610862565b6001600160a01b031614610f0e5760405162461bcd60e51b81526004016105879061206a565b6001600160a01b038216610f705760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610587565b610f7d83838360016113a7565b826001600160a01b0316610f9082610862565b6001600160a01b031614610fb65760405162461bcd60e51b81526004016105879061206a565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b036101009091041633146107975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610587565b6110ae6113bb565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6106d6828260405180602001604052806000815250611404565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611174611437565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110db3390565b816001600160a01b0316836001600160a01b0316141561120b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610587565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611283848484610ed5565b61128f8484848461147d565b610bb25760405162461bcd60e51b815260040161058790612018565b6060600d80546104689061213b565b606060006112c78361158a565b600101905060008167ffffffffffffffff8111156112e7576112e76121d3565b6040519080825280601f01601f191660200182016040528015611311576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461134a5761134f565b61131b565b509392505050565b60006001600160e01b031982166380ac58cd60e01b148061138857506001600160e01b03198216635b5e139f60e01b145b8061045357506301ffc9a760e01b6001600160e01b0319831614610453565b6113af611437565b610bb284848484611662565b600a5460ff166107975760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610587565b61140e83836117a2565b61141b600084848461147d565b6106285760405162461bcd60e51b815260040161058790612018565b600a5460ff16156107975760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610587565b60006001600160a01b0384163b1561157f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114c1903390899088908890600401611f7b565b602060405180830381600087803b1580156114db57600080fd5b505af192505050801561150b575060408051601f3d908101601f1916820190925261150891810190611ea1565b60015b611565573d808015611539576040519150601f19603f3d011682016040523d82523d6000602084013e61153e565b606091505b50805161155d5760405162461bcd60e51b815260040161058790612018565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ecd565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115c95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115f5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061161357662386f26fc10000830492506010015b6305f5e100831061162b576305f5e100830492506008015b612710831061163f57612710830492506004015b60648310611651576064830492506002015b600a83106104535760010192915050565b61166e8484848461193b565b60018111156116dd5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610587565b816001600160a01b0385166117395761173481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61175c565b836001600160a01b0316856001600160a01b03161461175c5761175c85826119c3565b6001600160a01b0384166117785761177381611a60565b61179b565b846001600160a01b0316846001600160a01b03161461179b5761179b8482611b0f565b5050505050565b6001600160a01b0382166117f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610587565b6000818152600260205260409020546001600160a01b03161561185d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610587565b61186b6000838360016113a7565b6000818152600260205260409020546001600160a01b0316156118d05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610587565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610bb2576001600160a01b03841615611981576001600160a01b0384166000908152600360205260408120805483929061197b9084906120f8565b90915550505b6001600160a01b03831615610bb2576001600160a01b038316600090815260036020526040812080548392906119b89084906120e0565b909155505050505050565b600060016119d084610abe565b6119da91906120f8565b600083815260076020526040902054909150808214611a2d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611a72906001906120f8565b60008381526009602052604081205460088054939450909284908110611a9a57611a9a6121bd565b906000526020600020015490508060088381548110611abb57611abb6121bd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611af357611af36121a7565b6001900381819060005260206000200160009055905550505050565b6000611b1a83610abe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611b5f9061213b565b90600052602060002090601f016020900481019282611b815760008555611bc7565b82601f10611b9a57805160ff1916838001178555611bc7565b82800160010185558215611bc7579182015b82811115611bc7578251825591602001919060010190611bac565b50611bd3929150611bd7565b5090565b5b80821115611bd35760008155600101611bd8565b600067ffffffffffffffff831115611c0657611c066121d3565b611c19601f8401601f19166020016120af565b9050828152838383011115611c2d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611c5657600080fd5b8135610c56816121e9565b600060208284031215611c7357600080fd5b8151610c56816121e9565b60008060408385031215611c9157600080fd5b8235611c9c816121e9565b91506020830135611cac816121e9565b809150509250929050565b600080600060608486031215611ccc57600080fd5b8335611cd7816121e9565b92506020840135611ce7816121e9565b929592945050506040919091013590565b60008060008060808587031215611d0e57600080fd5b8435611d19816121e9565b93506020850135611d29816121e9565b925060408501359150606085013567ffffffffffffffff811115611d4c57600080fd5b8501601f81018713611d5d57600080fd5b611d6c87823560208401611bec565b91505092959194509250565b60008060408385031215611d8b57600080fd5b8235611d96816121e9565b915060208301358015158114611cac57600080fd5b60008060408385031215611dbe57600080fd5b8235611dc9816121e9565b946020939093013593505050565b60006020808385031215611dea57600080fd5b823567ffffffffffffffff80821115611e0257600080fd5b818501915085601f830112611e1657600080fd5b813581811115611e2857611e286121d3565b8060051b9150611e398483016120af565b8181528481019084860184860187018a1015611e5457600080fd5b600095505b83861015611e77578035835260019590950194918601918601611e59565b5098975050505050505050565b600060208284031215611e9657600080fd5b8135610c56816121fe565b600060208284031215611eb357600080fd5b8151610c56816121fe565b600060208284031215611ed057600080fd5b813567ffffffffffffffff811115611ee757600080fd5b8201601f81018413611ef857600080fd5b610ecd84823560208401611bec565b600060208284031215611f1957600080fd5b5035919050565b60008151808452611f3881602086016020860161210f565b601f01601f19169290920160200192915050565b60008351611f5e81846020880161210f565b835190830190611f7281836020880161210f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fae90830184611f20565b9695505050505050565b602081526000610c566020830184611f20565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156120d8576120d86121d3565b604052919050565b600082198211156120f3576120f3612191565b500190565b60008282101561210a5761210a612191565b500390565b60005b8381101561212a578181015183820152602001612112565b83811115610bb25750506000910152565b600181811c9082168061214f57607f821691505b6020821081141561217057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561218a5761218a612191565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6157600080fd5b6001600160e01b031981168114610d6157600080fdfea2646970667358221220c4fbe0a89201e79e4b3746355ea3a3ba25bd24a69e3e8eacf24219a4304a78de64736f6c634300080700330000000000000000000000000b17cbf93a6bc286a2760ad206b03d4e429973820000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f68696464656e2e6964696f742e67756964652f0000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c80636352211e1161010f578063b88d4fde116100a2578063d547cfb711610071578063d547cfb7146103ce578063dbe7e3bd146103d6578063e985e9c5146103f9578063f2fde38b1461043557600080fd5b8063b88d4fde1461038d578063b90d5fb7146103a0578063c2fc94a1146103b3578063c87b56dd146103bb57600080fd5b80638456cb59116100de5780638456cb59146103545780638da5cb5b1461035c57806395d89b4114610372578063a22cb4651461037a57600080fd5b80636352211e14610313578063662331261461032657806370a0823114610339578063715018a61461034c57600080fd5b8063293cdbf1116101875780634b8bcb58116101565780634b8bcb58146102d55780634f6ccce7146102e257806355f804b3146102f55780635c975abb1461030857600080fd5b8063293cdbf11461029f5780632f745c59146102a75780633f4ba83a146102ba57806342842e0e146102c257600080fd5b8063095ea7b3116101c3578063095ea7b31461025257806318160ddd1461026757806323b872dd1461027957806328c778201461028c57600080fd5b806301ffc9a7146101ea57806306fdde0314610212578063081812fc14610227575b600080fd5b6101fd6101f8366004611e84565b610448565b60405190151581526020015b60405180910390f35b61021a610459565b6040516102099190611fb8565b61023a610235366004611f07565b6104eb565b6040516001600160a01b039091168152602001610209565b610265610260366004611dab565b610512565b005b6008545b604051908152602001610209565b610265610287366004611cb7565b61062d565b61026561029a366004611dd7565b61065e565b6102656106da565b61026b6102b5366004611dab565b6106f1565b610265610787565b6102656102d0366004611cb7565b610799565b600c546101fd9060ff1681565b61026b6102f0366004611f07565b6107b4565b610265610303366004611ebe565b610847565b600a5460ff166101fd565b61023a610321366004611f07565b610862565b610265610334366004611f07565b6108c2565b61026b610347366004611c44565b610abe565b610265610b44565b610265610b56565b600a5461010090046001600160a01b031661023a565b61021a610b66565b610265610388366004611d78565b610b75565b61026561039b366004611cf8565b610b80565b6102656103ae366004611c44565b610bb8565b610265610be2565b61021a6103c9366004611f07565b610bf6565b61021a610c5d565b6101fd6103e4366004611f07565b600b6020526000908152604090205460ff1681565b6101fd610407366004611c7e565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610265610443366004611c44565b610ceb565b600061045382610d64565b92915050565b6060600080546104689061213b565b80601f01602080910402602001604051908101604052809291908181526020018280546104949061213b565b80156104e15780601f106104b6576101008083540402835291602001916104e1565b820191906000526020600020905b8154815290600101906020018083116104c457829003601f168201915b5050505050905090565b60006104f682610d89565b506000908152600460205260409020546001600160a01b031690565b600061051d82610862565b9050806001600160a01b0316836001600160a01b031614156105905760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b03821614806105ac57506105ac8133610407565b61061e5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610587565b6106288383610de8565b505050565b6106373382610e56565b6106535760405162461bcd60e51b815260040161058790611fcb565b610628838383610ed5565b60005b81518110156106d657600b6000838381518110610680576106806121bd565b60209081029190910181015182528101919091526040016000205460ff166106c4576106c48282815181106106b7576106b76121bd565b60200260200101516108c2565b806106ce81612176565b915050610661565b5050565b6106e2611046565b600c805460ff19166001179055565b60006106fc83610abe565b821061075e5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610587565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b61078f611046565b6107976110a6565b565b61062883838360405180602001604052806000815250610b80565b60006107bf60085490565b82106108225760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610587565b60088281548110610835576108356121bd565b90600052602060002001549050919050565b61084f611046565b80516106d690600d906020840190611b53565b6000818152600260205260408120546001600160a01b0316806104535760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610587565b600c5460ff16151560011461090e5760405162461bcd60e51b815260206004820152601260248201527121b630b4b69034b9903737ba1037b832b71760711b6044820152606401610587565b6000818152600b602052604090205460ff1615156001141561096b5760405162461bcd60e51b81526020600482015260166024820152752a37b5b2b71030b63932b0b23c9031b630b4b6b2b21760511b6044820152606401610587565b600e546040516331a9108f60e11b8152600481018390526001600160a01b0390911690636352211e9060240160206040518083038186803b1580156109af57600080fd5b505afa1580156109c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e79190611c61565b6001600160a01b0316336001600160a01b031614610a6d5760405162461bcd60e51b815260206004820152603960248201527f596f7520617265206e6f7420746865206f776e6572206f662074686520746f6b60448201527f656e20796f752061726520747279696e6720746f207573652e000000000000006064820152608401610587565b6000818152600b60205260409020805460ff19166001179055610a9033826110f8565b60405181907fc681c251a8f03bcc6beb05d07704933593be2d38149b6d3e607a6c401cb51f2990600090a250565b60006001600160a01b038216610b285760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610587565b506001600160a01b031660009081526003602052604090205490565b610b4c611046565b6107976000611112565b610b5e611046565b61079761116c565b6060600180546104689061213b565b6106d63383836111a9565b610b8a3383610e56565b610ba65760405162461bcd60e51b815260040161058790611fcb565b610bb284848484611278565b50505050565b610bc0611046565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b610bea611046565b600c805460ff19169055565b6060610c0182610d89565b6000610c0b6112ab565b90506000815111610c2b5760405180602001604052806000815250610c56565b80610c35846112ba565b604051602001610c46929190611f4c565b6040516020818303038152906040525b9392505050565b600d8054610c6a9061213b565b80601f0160208091040260200160405190810160405280929190818152602001828054610c969061213b565b8015610ce35780601f10610cb857610100808354040283529160200191610ce3565b820191906000526020600020905b815481529060010190602001808311610cc657829003601f168201915b505050505081565b610cf3611046565b6001600160a01b038116610d585760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610587565b610d6181611112565b50565b60006001600160e01b0319821663780e9d6360e01b1480610453575061045382611357565b6000818152600260205260409020546001600160a01b0316610d615760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610587565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e1d82610862565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610e6283610862565b9050806001600160a01b0316846001600160a01b03161480610ea957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610ecd5750836001600160a01b0316610ec2846104eb565b6001600160a01b0316145b949350505050565b826001600160a01b0316610ee882610862565b6001600160a01b031614610f0e5760405162461bcd60e51b81526004016105879061206a565b6001600160a01b038216610f705760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610587565b610f7d83838360016113a7565b826001600160a01b0316610f9082610862565b6001600160a01b031614610fb65760405162461bcd60e51b81526004016105879061206a565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b036101009091041633146107975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610587565b6110ae6113bb565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6106d6828260405180602001604052806000815250611404565b600a80546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611174611437565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586110db3390565b816001600160a01b0316836001600160a01b0316141561120b5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610587565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611283848484610ed5565b61128f8484848461147d565b610bb25760405162461bcd60e51b815260040161058790612018565b6060600d80546104689061213b565b606060006112c78361158a565b600101905060008167ffffffffffffffff8111156112e7576112e76121d3565b6040519080825280601f01601f191660200182016040528015611311576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461134a5761134f565b61131b565b509392505050565b60006001600160e01b031982166380ac58cd60e01b148061138857506001600160e01b03198216635b5e139f60e01b145b8061045357506301ffc9a760e01b6001600160e01b0319831614610453565b6113af611437565b610bb284848484611662565b600a5460ff166107975760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610587565b61140e83836117a2565b61141b600084848461147d565b6106285760405162461bcd60e51b815260040161058790612018565b600a5460ff16156107975760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610587565b60006001600160a01b0384163b1561157f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906114c1903390899088908890600401611f7b565b602060405180830381600087803b1580156114db57600080fd5b505af192505050801561150b575060408051601f3d908101601f1916820190925261150891810190611ea1565b60015b611565573d808015611539576040519150601f19603f3d011682016040523d82523d6000602084013e61153e565b606091505b50805161155d5760405162461bcd60e51b815260040161058790612018565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ecd565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106115c95772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef810000000083106115f5576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061161357662386f26fc10000830492506010015b6305f5e100831061162b576305f5e100830492506008015b612710831061163f57612710830492506004015b60648310611651576064830492506002015b600a83106104535760010192915050565b61166e8484848461193b565b60018111156116dd5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610587565b816001600160a01b0385166117395761173481600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b61175c565b836001600160a01b0316856001600160a01b03161461175c5761175c85826119c3565b6001600160a01b0384166117785761177381611a60565b61179b565b846001600160a01b0316846001600160a01b03161461179b5761179b8482611b0f565b5050505050565b6001600160a01b0382166117f85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610587565b6000818152600260205260409020546001600160a01b03161561185d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610587565b61186b6000838360016113a7565b6000818152600260205260409020546001600160a01b0316156118d05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610587565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6001811115610bb2576001600160a01b03841615611981576001600160a01b0384166000908152600360205260408120805483929061197b9084906120f8565b90915550505b6001600160a01b03831615610bb2576001600160a01b038316600090815260036020526040812080548392906119b89084906120e0565b909155505050505050565b600060016119d084610abe565b6119da91906120f8565b600083815260076020526040902054909150808214611a2d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611a72906001906120f8565b60008381526009602052604081205460088054939450909284908110611a9a57611a9a6121bd565b906000526020600020015490508060088381548110611abb57611abb6121bd565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611af357611af36121a7565b6001900381819060005260206000200160009055905550505050565b6000611b1a83610abe565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611b5f9061213b565b90600052602060002090601f016020900481019282611b815760008555611bc7565b82601f10611b9a57805160ff1916838001178555611bc7565b82800160010185558215611bc7579182015b82811115611bc7578251825591602001919060010190611bac565b50611bd3929150611bd7565b5090565b5b80821115611bd35760008155600101611bd8565b600067ffffffffffffffff831115611c0657611c066121d3565b611c19601f8401601f19166020016120af565b9050828152838383011115611c2d57600080fd5b828260208301376000602084830101529392505050565b600060208284031215611c5657600080fd5b8135610c56816121e9565b600060208284031215611c7357600080fd5b8151610c56816121e9565b60008060408385031215611c9157600080fd5b8235611c9c816121e9565b91506020830135611cac816121e9565b809150509250929050565b600080600060608486031215611ccc57600080fd5b8335611cd7816121e9565b92506020840135611ce7816121e9565b929592945050506040919091013590565b60008060008060808587031215611d0e57600080fd5b8435611d19816121e9565b93506020850135611d29816121e9565b925060408501359150606085013567ffffffffffffffff811115611d4c57600080fd5b8501601f81018713611d5d57600080fd5b611d6c87823560208401611bec565b91505092959194509250565b60008060408385031215611d8b57600080fd5b8235611d96816121e9565b915060208301358015158114611cac57600080fd5b60008060408385031215611dbe57600080fd5b8235611dc9816121e9565b946020939093013593505050565b60006020808385031215611dea57600080fd5b823567ffffffffffffffff80821115611e0257600080fd5b818501915085601f830112611e1657600080fd5b813581811115611e2857611e286121d3565b8060051b9150611e398483016120af565b8181528481019084860184860187018a1015611e5457600080fd5b600095505b83861015611e77578035835260019590950194918601918601611e59565b5098975050505050505050565b600060208284031215611e9657600080fd5b8135610c56816121fe565b600060208284031215611eb357600080fd5b8151610c56816121fe565b600060208284031215611ed057600080fd5b813567ffffffffffffffff811115611ee757600080fd5b8201601f81018413611ef857600080fd5b610ecd84823560208401611bec565b600060208284031215611f1957600080fd5b5035919050565b60008151808452611f3881602086016020860161210f565b601f01601f19169290920160200192915050565b60008351611f5e81846020880161210f565b835190830190611f7281836020880161210f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fae90830184611f20565b9695505050505050565b602081526000610c566020830184611f20565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156120d8576120d86121d3565b604052919050565b600082198211156120f3576120f3612191565b500190565b60008282101561210a5761210a612191565b500390565b60005b8381101561212a578181015183820152602001612112565b83811115610bb25750506000910152565b600181811c9082168061214f57607f821691505b6020821081141561217057634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561218a5761218a612191565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d6157600080fd5b6001600160e01b031981168114610d6157600080fdfea2646970667358221220c4fbe0a89201e79e4b3746355ea3a3ba25bd24a69e3e8eacf24219a4304a78de64736f6c63430008070033

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

0000000000000000000000000b17cbf93a6bc286a2760ad206b03d4e429973820000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001b68747470733a2f2f68696464656e2e6964696f742e67756964652f0000000000

-----Decoded View---------------
Arg [0] : _pillProvider (address): 0x0b17Cbf93a6bc286a2760Ad206b03D4e42997382
Arg [1] : _baseUri (string): https://hidden.idiot.guide/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000b17cbf93a6bc286a2760ad206b03d4e42997382
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [3] : 68747470733a2f2f68696464656e2e6964696f742e67756964652f0000000000


Deployed Bytecode Sourcemap

63987:2169:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65977:176;;;;;;:::i;:::-;;:::i;:::-;;;7036:14:1;;7029:22;7011:41;;6999:2;6984:18;65977:176:0;;;;;;;;35897:100;;;:::i;:::-;;;;;;;:::i;37409:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6334:32:1;;;6316:51;;6304:2;6289:18;37409:171:0;6170:203:1;36927:416:0;;;;;;:::i;:::-;;:::i;:::-;;53328:113;53416:10;:17;53328:113;;;15577:25:1;;;15565:2;15550:18;53328:113:0;15431:177:1;38109:335:0;;;;;;:::i;:::-;;:::i;64843:206::-;;;;;;:::i;:::-;;:::i;65303:73::-;;;:::i;52996:256::-;;;;;;:::i;:::-;;:::i;65530:65::-;;;:::i;38515:185::-;;;;;;:::i;:::-;;:::i;64112:21::-;;;;;;;;;53518:233;;;;;;:::i;:::-;;:::i;65184:113::-;;;;;;:::i;:::-;;:::i;60207:86::-;60278:7;;;;60207:86;;35607:223;;;;;;:::i;:::-;;:::i;64425:412::-;;;;;;:::i;:::-;;:::i;35338:207::-;;;;;;:::i;:::-;;:::i;62986:103::-;;;:::i;65463:61::-;;;:::i;62338:87::-;62411:6;;;;;-1:-1:-1;;;;;62411:6:0;62338:87;;36066:104;;;:::i;37652:155::-;;;;;;:::i;:::-;;:::i;38771:322::-;;;;;;:::i;:::-;;:::i;65055:123::-;;;;;;:::i;:::-;;:::i;65382:75::-;;;:::i;36241:281::-;;;;;;:::i;:::-;;:::i;64138:26::-;;;:::i;64068:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;37878:164;;;;;;:::i;:::-;-1:-1:-1;;;;;37999:25:0;;;37975:4;37999:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37878:164;63244:201;;;;;;:::i;:::-;;:::i;65977:176::-;66091:4;66111:36;66135:11;66111:23;:36::i;:::-;66104:43;65977:176;-1:-1:-1;;65977:176:0:o;35897:100::-;35951:13;35984:5;35977:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35897:100;:::o;37409:171::-;37485:7;37505:23;37520:7;37505:14;:23::i;:::-;-1:-1:-1;37548:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37548:24:0;;37409:171::o;36927:416::-;37008:13;37024:23;37039:7;37024:14;:23::i;:::-;37008:39;;37072:5;-1:-1:-1;;;;;37066:11:0;:2;-1:-1:-1;;;;;37066:11:0;;;37058:57;;;;-1:-1:-1;;;37058:57:0;;13966:2:1;37058:57:0;;;13948:21:1;14005:2;13985:18;;;13978:30;14044:34;14024:18;;;14017:62;-1:-1:-1;;;14095:18:1;;;14088:31;14136:19;;37058:57:0;;;;;;;;;17571:10;-1:-1:-1;;;;;37150:21:0;;;;:62;;-1:-1:-1;37175:37:0;37192:5;17571:10;37878:164;:::i;37175:37::-;37128:173;;;;-1:-1:-1;;;37128:173:0;;14368:2:1;37128:173:0;;;14350:21:1;14407:2;14387:18;;;14380:30;14446:34;14426:18;;;14419:62;14517:31;14497:18;;;14490:59;14566:19;;37128:173:0;14166:425:1;37128:173:0;37314:21;37323:2;37327:7;37314:8;:21::i;:::-;36997:346;36927:416;;:::o;38109:335::-;38304:41;17571:10;38337:7;38304:18;:41::i;:::-;38296:99;;;;-1:-1:-1;;;38296:99:0;;;;;;;:::i;:::-;38408:28;38418:4;38424:2;38428:7;38408:9;:28::i;64843:206::-;64910:9;64905:139;64929:8;:15;64925:1;:19;64905:139;;;64964:7;:20;64972:8;64981:1;64972:11;;;;;;;;:::i;:::-;;;;;;;;;;;;64964:20;;;;;;;;;;-1:-1:-1;64964:20:0;;;;64960:77;;65006:21;65015:8;65024:1;65015:11;;;;;;;;:::i;:::-;;;;;;;65006:8;:21::i;:::-;64946:3;;;;:::i;:::-;;;;64905:139;;;;64843:206;:::o;65303:73::-;62224:13;:11;:13::i;:::-;65354:9:::1;:16:::0;;-1:-1:-1;;65354:16:0::1;65366:4;65354:16;::::0;;65303:73::o;52996:256::-;53093:7;53129:23;53146:5;53129:16;:23::i;:::-;53121:5;:31;53113:87;;;;-1:-1:-1;;;53113:87:0;;9029:2:1;53113:87:0;;;9011:21:1;9068:2;9048:18;;;9041:30;9107:34;9087:18;;;9080:62;-1:-1:-1;;;9158:18:1;;;9151:41;9209:19;;53113:87:0;8827:407:1;53113:87:0;-1:-1:-1;;;;;;53218:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;52996:256::o;65530:65::-;62224:13;:11;:13::i;:::-;65579:10:::1;:8;:10::i;:::-;65530:65::o:0;38515:185::-;38653:39;38670:4;38676:2;38680:7;38653:39;;;;;;;;;;;;:16;:39::i;53518:233::-;53593:7;53629:30;53416:10;:17;;53328:113;53629:30;53621:5;:38;53613:95;;;;-1:-1:-1;;;53613:95:0;;14798:2:1;53613:95:0;;;14780:21:1;14837:2;14817:18;;;14810:30;14876:34;14856:18;;;14849:62;-1:-1:-1;;;14927:18:1;;;14920:42;14979:19;;53613:95:0;14596:408:1;53613:95:0;53726:10;53737:5;53726:17;;;;;;;;:::i;:::-;;;;;;;;;53719:24;;53518:233;;;:::o;65184:113::-;62224:13;:11;:13::i;:::-;65263:28;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;35607:223::-:0;35679:7;40494:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40494:16:0;;35743:56;;;;-1:-1:-1;;;35743:56:0;;13613:2:1;35743:56:0;;;13595:21:1;13652:2;13632:18;;;13625:30;-1:-1:-1;;;13671:18:1;;;13664:54;13735:18;;35743:56:0;13411:348:1;64425:412:0;64485:9;;;;:17;;:9;:17;64477:55;;;;-1:-1:-1;;;64477:55:0;;13266:2:1;64477:55:0;;;13248:21:1;13305:2;13285:18;;;13278:30;-1:-1:-1;;;13324:18:1;;;13317:48;13382:18;;64477:55:0;13064:342:1;64477:55:0;64547:16;;;;:7;:16;;;;;;;;:24;;:16;:24;;64539:66;;;;-1:-1:-1;;;64539:66:0;;8264:2:1;64539:66:0;;;8246:21:1;8303:2;8283:18;;;8276:30;-1:-1:-1;;;8322:18:1;;;8315:52;8384:18;;64539:66:0;8062:346:1;64539:66:0;64634:12;;:29;;-1:-1:-1;;;64634:29:0;;;;;15577:25:1;;;-1:-1:-1;;;;;64634:12:0;;;;:20;;15550:18:1;;64634:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;64620:43:0;:10;-1:-1:-1;;;;;64620:43:0;;64612:120;;;;-1:-1:-1;;;64612:120:0;;7489:2:1;64612:120:0;;;7471:21:1;7528:2;7508:18;;;7501:30;7567:34;7547:18;;;7540:62;7638:27;7618:18;;;7611:55;7683:19;;64612:120:0;7287:421:1;64612:120:0;64739:16;;;;:7;:16;;;;;:23;;-1:-1:-1;;64739:23:0;64758:4;64739:23;;;64769:30;64779:10;64747:7;64769:9;:30::i;:::-;64811:20;;64823:7;;64811:20;;;;;64425:412;:::o;35338:207::-;35410:7;-1:-1:-1;;;;;35438:19:0;;35430:73;;;;-1:-1:-1;;;35430:73:0;;12134:2:1;35430:73:0;;;12116:21:1;12173:2;12153:18;;;12146:30;12212:34;12192:18;;;12185:62;-1:-1:-1;;;12263:18:1;;;12256:39;12312:19;;35430:73:0;11932:405:1;35430:73:0;-1:-1:-1;;;;;;35521:16:0;;;;;:9;:16;;;;;;;35338:207::o;62986:103::-;62224:13;:11;:13::i;:::-;63051:30:::1;63078:1;63051:18;:30::i;65463:61::-:0;62224:13;:11;:13::i;:::-;65510:8:::1;:6;:8::i;36066:104::-:0;36122:13;36155:7;36148:14;;;;;:::i;37652:155::-;37747:52;17571:10;37780:8;37790;37747:18;:52::i;38771:322::-;38945:41;17571:10;38978:7;38945:18;:41::i;:::-;38937:99;;;;-1:-1:-1;;;38937:99:0;;;;;;;:::i;:::-;39047:38;39061:4;39067:2;39071:7;39080:4;39047:13;:38::i;:::-;38771:322;;;;:::o;65055:123::-;62224:13;:11;:13::i;:::-;65133:12:::1;:39:::0;;-1:-1:-1;;;;;;65133:39:0::1;-1:-1:-1::0;;;;;65133:39:0;;;::::1;::::0;;;::::1;::::0;;65055:123::o;65382:75::-;62224:13;:11;:13::i;:::-;65434:9:::1;:17:::0;;-1:-1:-1;;65434:17:0::1;::::0;;65382:75::o;36241:281::-;36314:13;36340:23;36355:7;36340:14;:23::i;:::-;36376:21;36400:10;:8;:10::i;:::-;36376:34;;36452:1;36434:7;36428:21;:25;:86;;;;;;;;;;;;;;;;;36480:7;36489:18;:7;:16;:18::i;:::-;36463:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;36428:86;36421:93;36241:281;-1:-1:-1;;;36241:281:0:o;64138:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;63244:201::-;62224:13;:11;:13::i;:::-;-1:-1:-1;;;;;63333:22:0;::::1;63325:73;;;::::0;-1:-1:-1;;;63325:73:0;;9860:2:1;63325:73:0::1;::::0;::::1;9842:21:1::0;9899:2;9879:18;;;9872:30;9938:34;9918:18;;;9911:62;-1:-1:-1;;;9989:18:1;;;9982:36;10035:19;;63325:73:0::1;9658:402:1::0;63325:73:0::1;63409:28;63428:8;63409:18;:28::i;:::-;63244:201:::0;:::o;52688:224::-;52790:4;-1:-1:-1;;;;;;52814:50:0;;-1:-1:-1;;;52814:50:0;;:90;;;52868:36;52892:11;52868:23;:36::i;47228:135::-;40896:4;40494:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40494:16:0;47302:53;;;;-1:-1:-1;;;47302:53:0;;13613:2:1;47302:53:0;;;13595:21:1;13652:2;13632:18;;;13625:30;-1:-1:-1;;;13671:18:1;;;13664:54;13735:18;;47302:53:0;13411:348:1;46507:174:0;46582:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;46582:29:0;-1:-1:-1;;;;;46582:29:0;;;;;;;;:24;;46636:23;46582:24;46636:14;:23::i;:::-;-1:-1:-1;;;;;46627:46:0;;;;;;;;;;;46507:174;;:::o;41126:264::-;41219:4;41236:13;41252:23;41267:7;41252:14;:23::i;:::-;41236:39;;41305:5;-1:-1:-1;;;;;41294:16:0;:7;-1:-1:-1;;;;;41294:16:0;;:52;;;-1:-1:-1;;;;;;37999:25:0;;;37975:4;37999:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;41314:32;41294:87;;;;41374:7;-1:-1:-1;;;;;41350:31:0;:20;41362:7;41350:11;:20::i;:::-;-1:-1:-1;;;;;41350:31:0;;41294:87;41286:96;41126:264;-1:-1:-1;;;;41126:264:0:o;45125:1263::-;45284:4;-1:-1:-1;;;;;45257:31:0;:23;45272:7;45257:14;:23::i;:::-;-1:-1:-1;;;;;45257:31:0;;45249:81;;;;-1:-1:-1;;;45249:81:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45349:16:0;;45341:65;;;;-1:-1:-1;;;45341:65:0;;11030:2:1;45341:65:0;;;11012:21:1;11069:2;11049:18;;;11042:30;11108:34;11088:18;;;11081:62;-1:-1:-1;;;11159:18:1;;;11152:34;11203:19;;45341:65:0;10828:400:1;45341:65:0;45419:42;45440:4;45446:2;45450:7;45459:1;45419:20;:42::i;:::-;45591:4;-1:-1:-1;;;;;45564:31:0;:23;45579:7;45564:14;:23::i;:::-;-1:-1:-1;;;;;45564:31:0;;45556:81;;;;-1:-1:-1;;;45556:81:0;;;;;;;:::i;:::-;45709:24;;;;:15;:24;;;;;;;;45702:31;;-1:-1:-1;;;;;;45702:31:0;;;;;;-1:-1:-1;;;;;46185:15:0;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;46185:20:0;;;46220:13;;;;;;;;;:18;;45702:31;46220:18;;;46260:16;;;:7;:16;;;;;;:21;;;;;;;;;;46299:27;;45725:7;;46299:27;;;36997:346;36927:416;;:::o;62503:132::-;62411:6;;-1:-1:-1;;;;;62411:6:0;;;;;17571:10;62567:23;62559:68;;;;-1:-1:-1;;;62559:68:0;;12905:2:1;62559:68:0;;;12887:21:1;;;12924:18;;;12917:30;12983:34;12963:18;;;12956:62;13035:18;;62559:68:0;12703:356:1;61062:120:0;60071:16;:14;:16::i;:::-;61121:7:::1;:15:::0;;-1:-1:-1;;61121:15:0::1;::::0;;61152:22:::1;17571:10:::0;61161:12:::1;61152:22;::::0;-1:-1:-1;;;;;6334:32:1;;;6316:51;;6304:2;6289:18;61152:22:0::1;;;;;;;61062:120::o:0;41732:110::-;41808:26;41818:2;41822:7;41808:26;;;;;;;;;;;;:9;:26::i;63605:191::-;63698:6;;;-1:-1:-1;;;;;63715:17:0;;;63698:6;63715:17;;;-1:-1:-1;;;;;;63715:17:0;;;;;;63748:40;;63698:6;;;;;;;;63748:40;;63679:16;;63748:40;63668:128;63605:191;:::o;60803:118::-;59812:19;:17;:19::i;:::-;60863:7:::1;:14:::0;;-1:-1:-1;;60863:14:0::1;60873:4;60863:14;::::0;;60893:20:::1;60900:12;17571:10:::0;;17491:98;46824:315;46979:8;-1:-1:-1;;;;;46970:17:0;:5;-1:-1:-1;;;;;46970:17:0;;;46962:55;;;;-1:-1:-1;;;46962:55:0;;11435:2:1;46962:55:0;;;11417:21:1;11474:2;11454:18;;;11447:30;11513:27;11493:18;;;11486:55;11558:18;;46962:55:0;11233:349:1;46962:55:0;-1:-1:-1;;;;;47028:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;47028:46:0;;;;;;;;;;47090:41;;7011::1;;;47090::0;;6984:18:1;47090:41:0;;;;;;;46824:315;;;:::o;39974:313::-;40130:28;40140:4;40146:2;40150:7;40130:9;:28::i;:::-;40177:47;40200:4;40206:2;40210:7;40219:4;40177:22;:47::i;:::-;40169:110;;;;-1:-1:-1;;;40169:110:0;;;;;;;:::i;65601:111::-;65665:13;65694:12;65687:19;;;;;:::i;30840:716::-;30896:13;30947:14;30964:17;30975:5;30964:10;:17::i;:::-;30984:1;30964:21;30947:38;;31000:20;31034:6;31023:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31023:18:0;-1:-1:-1;31000:41:0;-1:-1:-1;31165:28:0;;;31181:2;31165:28;31222:288;-1:-1:-1;;31254:5:0;-1:-1:-1;;;31391:2:0;31380:14;;31375:30;31254:5;31362:44;31452:2;31443:11;;;-1:-1:-1;31477:10:0;31473:21;;31489:5;;31473:21;31222:288;;;-1:-1:-1;31531:6:0;30840:716;-1:-1:-1;;;30840:716:0:o;34969:305::-;35071:4;-1:-1:-1;;;;;;35108:40:0;;-1:-1:-1;;;35108:40:0;;:105;;-1:-1:-1;;;;;;;35165:48:0;;-1:-1:-1;;;35165:48:0;35108:105;:158;;;-1:-1:-1;;;;;;;;;;33610:40:0;;;35230:36;33501:157;65718:253;59812:19;:17;:19::i;:::-;65909:56:::1;65936:4;65942:2;65946:7;65955:9;65909:26;:56::i;60551:108::-:0;60278:7;;;;60610:41;;;;-1:-1:-1;;;60610:41:0;;7915:2:1;60610:41:0;;;7897:21:1;7954:2;7934:18;;;7927:30;-1:-1:-1;;;7973:18:1;;;7966:50;8033:18;;60610:41:0;7713:344:1;42069:319:0;42198:18;42204:2;42208:7;42198:5;:18::i;:::-;42249:53;42280:1;42284:2;42288:7;42297:4;42249:22;:53::i;:::-;42227:153;;;;-1:-1:-1;;;42227:153:0;;;;;;;:::i;60366:108::-;60278:7;;;;60436:9;60428:38;;;;-1:-1:-1;;;60428:38:0;;11789:2:1;60428:38:0;;;11771:21:1;11828:2;11808:18;;;11801:30;-1:-1:-1;;;11847:18:1;;;11840:46;11903:18;;60428:38:0;11587:340:1;47927:853:0;48081:4;-1:-1:-1;;;;;48102:13:0;;8995:19;:23;48098:675;;48138:71;;-1:-1:-1;;;48138:71:0;;-1:-1:-1;;;;;48138:36:0;;;;;:71;;17571:10;;48189:4;;48195:7;;48204:4;;48138:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48138:71:0;;;;;;;;-1:-1:-1;;48138:71:0;;;;;;;;;;;;:::i;:::-;;;48134:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48379:13:0;;48375:328;;48422:60;;-1:-1:-1;;;48422:60:0;;;;;;;:::i;48375:328::-;48653:6;48647:13;48638:6;48634:2;48630:15;48623:38;48134:584;-1:-1:-1;;;;;;48260:51:0;-1:-1:-1;;;48260:51:0;;-1:-1:-1;48253:58:0;;48098:675;-1:-1:-1;48757:4:0;47927:853;;;;;;:::o;27791:922::-;27844:7;;-1:-1:-1;;;27922:15:0;;27918:102;;-1:-1:-1;;;27958:15:0;;;-1:-1:-1;28002:2:0;27992:12;27918:102;28047:6;28038:5;:15;28034:102;;28083:6;28074:15;;;-1:-1:-1;28118:2:0;28108:12;28034:102;28163:6;28154:5;:15;28150:102;;28199:6;28190:15;;;-1:-1:-1;28234:2:0;28224:12;28150:102;28279:5;28270;:14;28266:99;;28314:5;28305:14;;;-1:-1:-1;28348:1:0;28338:11;28266:99;28392:5;28383;:14;28379:99;;28427:5;28418:14;;;-1:-1:-1;28461:1:0;28451:11;28379:99;28505:5;28496;:14;28492:99;;28540:5;28531:14;;;-1:-1:-1;28574:1:0;28564:11;28492:99;28618:5;28609;:14;28605:66;;28654:1;28644:11;28699:6;27791:922;-1:-1:-1;;27791:922:0:o;53825:915::-;54002:61;54029:4;54035:2;54039:12;54053:9;54002:26;:61::i;:::-;54092:1;54080:9;:13;54076:222;;;54223:63;;-1:-1:-1;;;54223:63:0;;15211:2:1;54223:63:0;;;15193:21:1;15250:2;15230:18;;;15223:30;15289:34;15269:18;;;15262:62;-1:-1:-1;;;15340:18:1;;;15333:51;15401:19;;54223:63:0;15009:417:1;54076:222:0;54328:12;-1:-1:-1;;;;;54357:18:0;;54353:187;;54392:40;54424:7;55567:10;:17;;55540:24;;;;:15;:24;;;;;:44;;;55595:24;;;;;;;;;;;;55463:164;54392:40;54353:187;;;54462:2;-1:-1:-1;;;;;54454:10:0;:4;-1:-1:-1;;;;;54454:10:0;;54450:90;;54481:47;54514:4;54520:7;54481:32;:47::i;:::-;-1:-1:-1;;;;;54554:16:0;;54550:183;;54587:45;54624:7;54587:36;:45::i;:::-;54550:183;;;54660:4;-1:-1:-1;;;;;54654:10:0;:2;-1:-1:-1;;;;;54654:10:0;;54650:83;;54681:40;54709:2;54713:7;54681:27;:40::i;:::-;53991:749;53825:915;;;;:::o;42724:942::-;-1:-1:-1;;;;;42804:16:0;;42796:61;;;;-1:-1:-1;;;42796:61:0;;12544:2:1;42796:61:0;;;12526:21:1;;;12563:18;;;12556:30;12622:34;12602:18;;;12595:62;12674:18;;42796:61:0;12342:356:1;42796:61:0;40896:4;40494:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40494:16:0;40920:31;42868:58;;;;-1:-1:-1;;;42868:58:0;;10673:2:1;42868:58:0;;;10655:21:1;10712:2;10692:18;;;10685:30;10751;10731:18;;;10724:58;10799:18;;42868:58:0;10471:352:1;42868:58:0;42939:48;42968:1;42972:2;42976:7;42985:1;42939:20;:48::i;:::-;40896:4;40494:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40494:16:0;40920:31;43077:58;;;;-1:-1:-1;;;43077:58:0;;10673:2:1;43077:58:0;;;10655:21:1;10712:2;10692:18;;;10685:30;10751;10731:18;;;10724:58;10799:18;;43077:58:0;10471:352:1;43077:58:0;-1:-1:-1;;;;;43484:13:0;;;;;;:9;:13;;;;;;;;:18;;43501:1;43484:18;;;43526:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;43526:21:0;;;;;43565:33;43534:7;;43484:13;;43565:33;;43484:13;;43565:33;64905:139;64843:206;:::o;49512:410::-;49702:1;49690:9;:13;49686:229;;;-1:-1:-1;;;;;49724:18:0;;;49720:87;;-1:-1:-1;;;;;49763:15:0;;;;;;:9;:15;;;;;:28;;49782:9;;49763:15;:28;;49782:9;;49763:28;:::i;:::-;;;;-1:-1:-1;;49720:87:0;-1:-1:-1;;;;;49825:16:0;;;49821:83;;-1:-1:-1;;;;;49862:13:0;;;;;;:9;:13;;;;;:26;;49879:9;;49862:13;:26;;49879:9;;49862:26;:::i;:::-;;;;-1:-1:-1;;49512:410:0;;;;:::o;56254:988::-;56520:22;56570:1;56545:22;56562:4;56545:16;:22::i;:::-;:26;;;;:::i;:::-;56582:18;56603:26;;;:17;:26;;;;;;56520:51;;-1:-1:-1;56736:28:0;;;56732:328;;-1:-1:-1;;;;;56803:18:0;;56781:19;56803:18;;;:12;:18;;;;;;;;:34;;;;;;;;;56854:30;;;;;;:44;;;56971:30;;:17;:30;;;;;:43;;;56732:328;-1:-1:-1;57156:26:0;;;;:17;:26;;;;;;;;57149:33;;;-1:-1:-1;;;;;57200:18:0;;;;;:12;:18;;;;;:34;;;;;;;57193:41;56254:988::o;57537:1079::-;57815:10;:17;57790:22;;57815:21;;57835:1;;57815:21;:::i;:::-;57847:18;57868:24;;;:15;:24;;;;;;58241:10;:26;;57790:46;;-1:-1:-1;57868:24:0;;57790:46;;58241:26;;;;;;:::i;:::-;;;;;;;;;58219:48;;58305:11;58280:10;58291;58280:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;58385:28;;;:15;:28;;;;;;;:41;;;58557:24;;;;;58550:31;58592:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;57608:1008;;;57537:1079;:::o;55041:221::-;55126:14;55143:20;55160:2;55143:16;:20::i;:::-;-1:-1:-1;;;;;55174:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;55219:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;55041:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:247::-;484:6;537:2;525:9;516:7;512:23;508:32;505:52;;;553:1;550;543:12;505:52;592:9;579:23;611:31;636:5;611:31;:::i;677:251::-;747:6;800:2;788:9;779:7;775:23;771:32;768:52;;;816:1;813;806:12;768:52;848:9;842:16;867:31;892:5;867:31;:::i;933:388::-;1001:6;1009;1062:2;1050:9;1041:7;1037:23;1033:32;1030:52;;;1078:1;1075;1068:12;1030:52;1117:9;1104:23;1136:31;1161:5;1136:31;:::i;:::-;1186:5;-1:-1:-1;1243:2:1;1228:18;;1215:32;1256:33;1215:32;1256:33;:::i;:::-;1308:7;1298:17;;;933:388;;;;;:::o;1326:456::-;1403:6;1411;1419;1472:2;1460:9;1451:7;1447:23;1443:32;1440:52;;;1488:1;1485;1478:12;1440:52;1527:9;1514:23;1546:31;1571:5;1546:31;:::i;:::-;1596:5;-1:-1:-1;1653:2:1;1638:18;;1625:32;1666:33;1625:32;1666:33;:::i;:::-;1326:456;;1718:7;;-1:-1:-1;;;1772:2:1;1757:18;;;;1744:32;;1326:456::o;1787:794::-;1882:6;1890;1898;1906;1959:3;1947:9;1938:7;1934:23;1930:33;1927:53;;;1976:1;1973;1966:12;1927:53;2015:9;2002:23;2034:31;2059:5;2034:31;:::i;:::-;2084:5;-1:-1:-1;2141:2:1;2126:18;;2113:32;2154:33;2113:32;2154:33;:::i;:::-;2206:7;-1:-1:-1;2260:2:1;2245:18;;2232:32;;-1:-1:-1;2315:2:1;2300:18;;2287:32;2342:18;2331:30;;2328:50;;;2374:1;2371;2364:12;2328:50;2397:22;;2450:4;2442:13;;2438:27;-1:-1:-1;2428:55:1;;2479:1;2476;2469:12;2428:55;2502:73;2567:7;2562:2;2549:16;2544:2;2540;2536:11;2502:73;:::i;:::-;2492:83;;;1787:794;;;;;;;:::o;2586:416::-;2651:6;2659;2712:2;2700:9;2691:7;2687:23;2683:32;2680:52;;;2728:1;2725;2718:12;2680:52;2767:9;2754:23;2786:31;2811:5;2786:31;:::i;:::-;2836:5;-1:-1:-1;2893:2:1;2878:18;;2865:32;2935:15;;2928:23;2916:36;;2906:64;;2966:1;2963;2956:12;3007:315;3075:6;3083;3136:2;3124:9;3115:7;3111:23;3107:32;3104:52;;;3152:1;3149;3142:12;3104:52;3191:9;3178:23;3210:31;3235:5;3210:31;:::i;:::-;3260:5;3312:2;3297:18;;;;3284:32;;-1:-1:-1;;;3007:315:1:o;3327:957::-;3411:6;3442:2;3485;3473:9;3464:7;3460:23;3456:32;3453:52;;;3501:1;3498;3491:12;3453:52;3541:9;3528:23;3570:18;3611:2;3603:6;3600:14;3597:34;;;3627:1;3624;3617:12;3597:34;3665:6;3654:9;3650:22;3640:32;;3710:7;3703:4;3699:2;3695:13;3691:27;3681:55;;3732:1;3729;3722:12;3681:55;3768:2;3755:16;3790:2;3786;3783:10;3780:36;;;3796:18;;:::i;:::-;3842:2;3839:1;3835:10;3825:20;;3865:28;3889:2;3885;3881:11;3865:28;:::i;:::-;3927:15;;;3958:12;;;;3990:11;;;4020;;;4016:20;;4013:33;-1:-1:-1;4010:53:1;;;4059:1;4056;4049:12;4010:53;4081:1;4072:10;;4091:163;4105:2;4102:1;4099:9;4091:163;;;4162:17;;4150:30;;4123:1;4116:9;;;;;4200:12;;;;4232;;4091:163;;;-1:-1:-1;4273:5:1;3327:957;-1:-1:-1;;;;;;;;3327:957:1:o;4289:245::-;4347:6;4400:2;4388:9;4379:7;4375:23;4371:32;4368:52;;;4416:1;4413;4406:12;4368:52;4455:9;4442:23;4474:30;4498:5;4474:30;:::i;4539:249::-;4608:6;4661:2;4649:9;4640:7;4636:23;4632:32;4629:52;;;4677:1;4674;4667:12;4629:52;4709:9;4703:16;4728:30;4752:5;4728:30;:::i;4793:450::-;4862:6;4915:2;4903:9;4894:7;4890:23;4886:32;4883:52;;;4931:1;4928;4921:12;4883:52;4971:9;4958:23;5004:18;4996:6;4993:30;4990:50;;;5036:1;5033;5026:12;4990:50;5059:22;;5112:4;5104:13;;5100:27;-1:-1:-1;5090:55:1;;5141:1;5138;5131:12;5090:55;5164:73;5229:7;5224:2;5211:16;5206:2;5202;5198:11;5164:73;:::i;5248:180::-;5307:6;5360:2;5348:9;5339:7;5335:23;5331:32;5328:52;;;5376:1;5373;5366:12;5328:52;-1:-1:-1;5399:23:1;;5248:180;-1:-1:-1;5248:180:1:o;5433:257::-;5474:3;5512:5;5506:12;5539:6;5534:3;5527:19;5555:63;5611:6;5604:4;5599:3;5595:14;5588:4;5581:5;5577:16;5555:63;:::i;:::-;5672:2;5651:15;-1:-1:-1;;5647:29:1;5638:39;;;;5679:4;5634:50;;5433:257;-1:-1:-1;;5433:257:1:o;5695:470::-;5874:3;5912:6;5906:13;5928:53;5974:6;5969:3;5962:4;5954:6;5950:17;5928:53;:::i;:::-;6044:13;;6003:16;;;;6066:57;6044:13;6003:16;6100:4;6088:17;;6066:57;:::i;:::-;6139:20;;5695:470;-1:-1:-1;;;;5695:470:1:o;6378:488::-;-1:-1:-1;;;;;6647:15:1;;;6629:34;;6699:15;;6694:2;6679:18;;6672:43;6746:2;6731:18;;6724:34;;;6794:3;6789:2;6774:18;;6767:31;;;6572:4;;6815:45;;6840:19;;6832:6;6815:45;:::i;:::-;6807:53;6378:488;-1:-1:-1;;;;;;6378:488:1:o;7063:219::-;7212:2;7201:9;7194:21;7175:4;7232:44;7272:2;7261:9;7257:18;7249:6;7232:44;:::i;8413:409::-;8615:2;8597:21;;;8654:2;8634:18;;;8627:30;8693:34;8688:2;8673:18;;8666:62;-1:-1:-1;;;8759:2:1;8744:18;;8737:43;8812:3;8797:19;;8413:409::o;9239:414::-;9441:2;9423:21;;;9480:2;9460:18;;;9453:30;9519:34;9514:2;9499:18;;9492:62;-1:-1:-1;;;9585:2:1;9570:18;;9563:48;9643:3;9628:19;;9239:414::o;10065:401::-;10267:2;10249:21;;;10306:2;10286:18;;;10279:30;10345:34;10340:2;10325:18;;10318:62;-1:-1:-1;;;10411:2:1;10396:18;;10389:35;10456:3;10441:19;;10065:401::o;15613:275::-;15684:2;15678:9;15749:2;15730:13;;-1:-1:-1;;15726:27:1;15714:40;;15784:18;15769:34;;15805:22;;;15766:62;15763:88;;;15831:18;;:::i;:::-;15867:2;15860:22;15613:275;;-1:-1:-1;15613:275:1:o;15893:128::-;15933:3;15964:1;15960:6;15957:1;15954:13;15951:39;;;15970:18;;:::i;:::-;-1:-1:-1;16006:9:1;;15893:128::o;16026:125::-;16066:4;16094:1;16091;16088:8;16085:34;;;16099:18;;:::i;:::-;-1:-1:-1;16136:9:1;;16026:125::o;16156:258::-;16228:1;16238:113;16252:6;16249:1;16246:13;16238:113;;;16328:11;;;16322:18;16309:11;;;16302:39;16274:2;16267:10;16238:113;;;16369:6;16366:1;16363:13;16360:48;;;-1:-1:-1;;16404:1:1;16386:16;;16379:27;16156:258::o;16419:380::-;16498:1;16494:12;;;;16541;;;16562:61;;16616:4;16608:6;16604:17;16594:27;;16562:61;16669:2;16661:6;16658:14;16638:18;16635:38;16632:161;;;16715:10;16710:3;16706:20;16703:1;16696:31;16750:4;16747:1;16740:15;16778:4;16775:1;16768:15;16632:161;;16419:380;;;:::o;16804:135::-;16843:3;-1:-1:-1;;16864:17:1;;16861:43;;;16884:18;;:::i;:::-;-1:-1:-1;16931:1:1;16920:13;;16804:135::o;16944:127::-;17005:10;17000:3;16996:20;16993:1;16986:31;17036:4;17033:1;17026:15;17060:4;17057:1;17050:15;17208:127;17269:10;17264:3;17260:20;17257:1;17250:31;17300:4;17297:1;17290:15;17324:4;17321:1;17314:15;17340:127;17401:10;17396:3;17392:20;17389:1;17382:31;17432:4;17429:1;17422:15;17456:4;17453:1;17446:15;17472:127;17533:10;17528:3;17524:20;17521:1;17514:31;17564:4;17561:1;17554:15;17588:4;17585:1;17578:15;17604:131;-1:-1:-1;;;;;17679:31:1;;17669:42;;17659:70;;17725:1;17722;17715:12;17740:131;-1:-1:-1;;;;;;17814:32:1;;17804:43;;17794:71;;17861:1;17858;17851:12

Swarm Source

ipfs://c4fbe0a89201e79e4b3746355ea3a3ba25bd24a69e3e8eacf24219a4304a78de
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.