ETH Price: $3,391.10 (+1.69%)

Token

ERC20 ***
 

Overview

Max Total Supply

2,500 ERC20 ***

Holders

469

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 ERC20 ***
0xae01273da9ac1194b3c51f6a5d9b8bdd7fd94cd4
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:
DigiDaigaku

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

/**
 *Submitted for verification at Etherscan.io on 2022-08-29
*/

// SPDX-License-Identifier: MIT

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

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

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80.
            str := add(mload(0x40), 0x80)
            // Update the free memory pointer to allocate.
            mstore(0x40, str)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

// File: contracts/Aidigidaigaku.sol



pragma solidity ^0.8.2;






contract DigiDaigaku is ERC721A, Ownable, ReentrancyGuard {
    enum Status {
        Waiting,
        Started,
        Finished
    }
    using Strings for uint256;
    
    string private baseURI;
    uint256 public constant FREE_MINT_SUPPLY = 200;
    uint256 public constant MAX_FREE_MINT_PER_ADDR = 1;
    uint256 public constant MAX_MINT_PER_ADDR = 5;
    uint256 public PUBLIC_PRICE = .004 * 10**18;
    uint256 public constant MAX_SUPPLY = 2500;
    uint256 public INSTANT_FREE_MINTED = 1;

    bool public paused = false;
    bool public isPublicSaleActive = false;

    event Minted(address minter, uint256 amount);

    constructor(string memory initBaseURI) ERC721A("DigiDaigaku LAND", "DIGILAND") {
        baseURI = initBaseURI;
        _safeMint(msg.sender, MAX_FREE_MINT_PER_ADDR);
    }

    function mint(uint256 quantity) external payable nonReentrant {
        require(isPublicSaleActive, "Public sale is not open");
        require(tx.origin == msg.sender, "-Contract call not allowed-");
        require(
            numberMinted(msg.sender) + quantity <= MAX_MINT_PER_ADDR,
            "-This is more than allowed-"
        );
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "-Not enough quantity-"
        );

        uint256 _cost;
        if (INSTANT_FREE_MINTED < FREE_MINT_SUPPLY) {
            uint256 remainFreeAmont = (numberMinted(msg.sender) <
                MAX_FREE_MINT_PER_ADDR)
                ? (MAX_FREE_MINT_PER_ADDR - numberMinted(msg.sender))
                : 0;

            _cost =
                PUBLIC_PRICE *
                (
                    (quantity <= remainFreeAmont)
                        ? 0
                        : (quantity - remainFreeAmont)
                );

            INSTANT_FREE_MINTED += (
                (quantity <= remainFreeAmont) ? quantity : remainFreeAmont
            );
        } else {
            _cost = PUBLIC_PRICE * quantity;
        }
        require(msg.value >= _cost, "-Not enough ETH-");
        _safeMint(msg.sender, quantity);
        emit Minted(msg.sender, quantity);
    }


    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            string(
                abi.encodePacked(baseURI, "/", _tokenId.toString(), ".json")
            );
    }

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

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

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }
    
    function setpublic(bool _isPublicSaleActive)
      external
      onlyOwner
  {
      isPublicSaleActive = _isPublicSaleActive;
  }

    function treasurymint(uint quantity, address user)
    public
    onlyOwner
  {
    require(
      quantity > 0,
      "Invalid mint amount"
    );
    require(
      totalSupply() + quantity <= MAX_SUPPLY,
      "Maximum supply exceeded"
    );
    _safeMint(user, quantity);
  }
    
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function withdraw(address payable recipient)
        external
        onlyOwner
        nonReentrant
    {
        uint256 balance = address(this).balance;
        (bool success, ) = recipient.call{value: balance}("");
        require(success, "-Withdraw failed-");
    }

    function setprice(uint256 __price) external onlyOwner {
        PUBLIC_PRICE = __price;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FREE_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INSTANT_FREE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__price","type":"uint256"}],"name":"setprice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setpublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"treasurymint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052660e35fa931a0000600b556001600c55600d805461ffff191690553480156200002c57600080fd5b5060405162002349380380620023498339810160408190526200004f91620003f3565b6040518060400160405280601081526020016f111a59da51185a59d85add481310539160821b81525060405180604001604052806008815260200167111251d25310539160c21b8152508160029081620000aa919062000539565b506003620000b9828262000539565b5050600160005550620000cc33620000f4565b6001600955600a620000df828262000539565b50620000ed33600162000146565b506200068e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001688282604051806020016040528060008152506200016c60201b60201c565b5050565b620001788383620001e3565b6001600160a01b0383163b15620001de576000548281035b6001810190620001a690600090879086620002c3565b620001c4576040516368d2bf6b60e11b815260040160405180910390fd5b81811062000190578160005414620001db57600080fd5b50505b505050565b6000805490829003620002095760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620023298339815191528180a4600183015b81811462000298578083600060008051602062002329833981519152600080a46001016200026f565b5081600003620002ba57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620002fa90339089908890889060040162000605565b6020604051808303816000875af192505050801562000338575060408051601f3d908101601f1916820190925262000335918101906200065b565b60015b6200039a573d80801562000369576040519150601f19603f3d011682016040523d82523d6000602084013e6200036e565b606091505b50805160000362000392576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003ea578181015183820152602001620003d0565b50506000910152565b6000602082840312156200040657600080fd5b81516001600160401b03808211156200041e57600080fd5b818401915084601f8301126200043357600080fd5b815181811115620004485762000448620003b7565b604051601f8201601f19908116603f01168101908382118183101715620004735762000473620003b7565b816040528281528760208487010111156200048d57600080fd5b620004a0836020830160208801620003cd565b979650505050505050565b600181811c90821680620004c057607f821691505b602082108103620004e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001de57600081815260208120601f850160051c81016020861015620005105750805b601f850160051c820191505b8181101562000531578281556001016200051c565b505050505050565b81516001600160401b03811115620005555762000555620003b7565b6200056d81620005668454620004ab565b84620004e7565b602080601f831160018114620005a557600084156200058c5750858301515b600019600386901b1c1916600185901b17855562000531565b600085815260208120601f198616915b82811015620005d657888601518255948401946001909101908401620005b5565b5085821015620005f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620006448160a0850160208701620003cd565b601f01601f19169190910160a00195945050505050565b6000602082840312156200066e57600080fd5b81516001600160e01b0319811681146200068757600080fd5b9392505050565b611c8b806200069e6000396000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063d49f0fa511610064578063d49f0fa514610539578063dc33e68114610559578063e985e9c514610579578063f2fde38b1461059957600080fd5b8063a22cb465146104b9578063b88d4fde146104d9578063c4c5a5cc146104f9578063c87b56dd1461051957600080fd5b806382481c0e116100d157806382481c0e1461045d5780638da5cb5b1461047357806395d89b4114610491578063a0712d68146104a657600080fd5b80636352211e146103f357806363eb8bb61461041357806370a0823114610428578063715018a61461044857600080fd5b806323b872dd1161017a57806351cff8d91161014957806351cff8d91461038357806355f804b3146103a35780635c975abb146103c3578063611f3f10146103dd57600080fd5b806323b872dd1461030d5780632432435c1461032d57806332cb6b0c1461034d57806342842e0e1461036357600080fd5b8063095ea7b3116101b6578063095ea7b31461029a57806316154862146102bc57806318160ddd146102d15780631e84c413146102ee57600080fd5b806301ffc9a7146101e85780630528eb431461021d57806306fdde0314610240578063081812fc14610262575b600080fd5b3480156101f457600080fd5b506102086102033660046115ea565b6105b9565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232600181565b604051908152602001610214565b34801561024c57600080fd5b5061025561060b565b6040516102149190611657565b34801561026e57600080fd5b5061028261027d36600461166a565b61069d565b6040516001600160a01b039091168152602001610214565b3480156102a657600080fd5b506102ba6102b5366004611698565b6106e1565b005b3480156102c857600080fd5b50610232600581565b3480156102dd57600080fd5b506001546000540360001901610232565b3480156102fa57600080fd5b50600d5461020890610100900460ff1681565b34801561031957600080fd5b506102ba6103283660046116c4565b610781565b34801561033957600080fd5b506102ba61034836600461171a565b61091a565b34801561035957600080fd5b506102326109c481565b34801561036f57600080fd5b506102ba61037e3660046116c4565b61093c565b34801561038f57600080fd5b506102ba61039e366004611735565b61095c565b3480156103af57600080fd5b506102ba6103be366004611752565b610a61565b3480156103cf57600080fd5b50600d546102089060ff1681565b3480156103e957600080fd5b50610232600b5481565b3480156103ff57600080fd5b5061028261040e36600461166a565b610a76565b34801561041f57600080fd5b5061023260c881565b34801561043457600080fd5b50610232610443366004611735565b610a81565b34801561045457600080fd5b506102ba610ad0565b34801561046957600080fd5b50610232600c5481565b34801561047f57600080fd5b506008546001600160a01b0316610282565b34801561049d57600080fd5b50610255610ae4565b6102ba6104b436600461166a565b610af3565b3480156104c557600080fd5b506102ba6104d43660046117c4565b610de7565b3480156104e557600080fd5b506102ba6104f436600461180f565b610e7c565b34801561050557600080fd5b506102ba6105143660046118ef565b610ec6565b34801561052557600080fd5b5061025561053436600461166a565b610f8b565b34801561054557600080fd5b506102ba61055436600461166a565b61102c565b34801561056557600080fd5b50610232610574366004611735565b611039565b34801561058557600080fd5b5061020861059436600461191f565b611064565b3480156105a557600080fd5b506102ba6105b4366004611735565b611092565b60006301ffc9a760e01b6001600160e01b0319831614806105ea57506380ac58cd60e01b6001600160e01b03198316145b806106055750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061a9061194d565b80601f01602080910402602001604051908101604052809291908181526020018280546106469061194d565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b60006106a88261110b565b6106c5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ec82610a76565b9050336001600160a01b03821614610725576107088133611064565b610725576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078c82611140565b9050836001600160a01b0316816001600160a01b0316146107bf5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761080c576107ef8633611064565b61080c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661083357604051633a954ecd60e21b815260040160405180910390fd5b801561083e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108d0576001840160008181526004602052604081205490036108ce5760005481146108ce5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109226111b6565b600d80549115156101000261ff0019909216919091179055565b61095783838360405180602001604052806000815250610e7c565b505050565b6109646111b6565b6002600954036109bb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610a0d576040519150601f19603f3d011682016040523d82523d6000602084013e610a12565b606091505b5050905080610a575760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016109b2565b5050600160095550565b610a696111b6565b600a6109578284836119cd565b600061060582611140565b60006001600160a01b038216610aaa576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ad86111b6565b610ae26000611210565b565b60606003805461061a9061194d565b600260095403610b455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b2565b6002600955600d54610100900460ff16610ba15760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016109b2565b323314610bf05760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016109b2565b600581610bfc33611039565b610c069190611aa3565b1115610c545760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016109b2565b6001546000546109c49183910360001901610c6f9190611aa3565b1115610cb55760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016109b2565b600060c8600c541015610d475760006001610ccf33611039565b10610cdb576000610cef565b610ce433611039565b610cef906001611ab6565b905080831115610d0857610d038184611ab6565b610d0b565b60005b600b54610d189190611ac9565b915080831115610d285780610d2a565b825b600c6000828254610d3b9190611aa3565b90915550610d58915050565b81600b54610d559190611ac9565b90505b80341015610d9b5760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016109b2565b610da53383611262565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b336001600160a01b03831603610e105760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e87848484610781565b6001600160a01b0383163b15610ec057610ea38484848461127c565b610ec0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ece6111b6565b60008211610f145760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109b2565b6001546000546109c49184910360001901610f2f9190611aa3565b1115610f7d5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109b2565b610f878183611262565b5050565b6060610f968261110b565b610ffa5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109b2565b600a61100583611368565b604051602001611016929190611ae8565b6040516020818303038152906040529050919050565b6110346111b6565b600b55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610605565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61109a6111b6565b6001600160a01b0381166110ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b2565b61110881611210565b50565b60008160011115801561111f575060005482105b8015610605575050600090815260046020526040902054600160e01b161590565b6000818060011161119d5760005481101561119d5760008181526004602052604081205490600160e01b8216900361119b575b80600003611194575060001901600081815260046020526040902054611173565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ae25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b2565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f87828260405180602001604052806000815250611469565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112b1903390899088908890600401611b8e565b6020604051808303816000875af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611bcb565b60015b61134a573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b508051600003611342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361138f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113b957806113a381611be8565b91506113b29050600a83611c17565b9150611393565b60008167ffffffffffffffff8111156113d4576113d46117f9565b6040519080825280601f01601f1916602001820160405280156113fe576020820181803683370190505b5090505b841561136057611413600183611ab6565b9150611420600a86611c2b565b61142b906030611aa3565b60f81b81838151811061144057611440611c3f565b60200101906001600160f81b031916908160001a905350611462600a86611c17565b9450611402565b61147383836114d6565b6001600160a01b0383163b15610957576000548281035b61149d600086838060010194508661127c565b6114ba576040516368d2bf6b60e11b815260040160405180910390fd5b81811061148a5781600054146114cf57600080fd5b5050505050565b60008054908290036114fb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115aa57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611572565b50816000036115cb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461110857600080fd5b6000602082840312156115fc57600080fd5b8135611194816115d4565b60005b8381101561162257818101518382015260200161160a565b50506000910152565b60008151808452611643816020860160208601611607565b601f01601f19169290920160200192915050565b602081526000611194602083018461162b565b60006020828403121561167c57600080fd5b5035919050565b6001600160a01b038116811461110857600080fd5b600080604083850312156116ab57600080fd5b82356116b681611683565b946020939093013593505050565b6000806000606084860312156116d957600080fd5b83356116e481611683565b925060208401356116f481611683565b929592945050506040919091013590565b8035801515811461171557600080fd5b919050565b60006020828403121561172c57600080fd5b61119482611705565b60006020828403121561174757600080fd5b813561119481611683565b6000806020838503121561176557600080fd5b823567ffffffffffffffff8082111561177d57600080fd5b818501915085601f83011261179157600080fd5b8135818111156117a057600080fd5b8660208285010111156117b257600080fd5b60209290920196919550909350505050565b600080604083850312156117d757600080fd5b82356117e281611683565b91506117f060208401611705565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561182557600080fd5b843561183081611683565b9350602085013561184081611683565b925060408501359150606085013567ffffffffffffffff8082111561186457600080fd5b818701915087601f83011261187857600080fd5b81358181111561188a5761188a6117f9565b604051601f8201601f19908116603f011681019083821181831017156118b2576118b26117f9565b816040528281528a60208487010111156118cb57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561190257600080fd5b82359150602083013561191481611683565b809150509250929050565b6000806040838503121561193257600080fd5b823561193d81611683565b9150602083013561191481611683565b600181811c9082168061196157607f821691505b60208210810361198157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561095757600081815260208120601f850160051c810160208610156119ae5750805b601f850160051c820191505b81811015610912578281556001016119ba565b67ffffffffffffffff8311156119e5576119e56117f9565b6119f9836119f3835461194d565b83611987565b6000601f841160018114611a2d5760008515611a155750838201355b600019600387901b1c1916600186901b1783556114cf565b600083815260209020601f19861690835b82811015611a5e5786850135825560209485019460019092019101611a3e565b5086821015611a7b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060557610605611a8d565b8181038181111561060557610605611a8d565b6000816000190483118215151615611ae357611ae3611a8d565b500290565b6000808454611af68161194d565b60018281168015611b0e5760018114611b2357611b52565b60ff1984168752821515830287019450611b52565b8860005260208060002060005b85811015611b495781548a820152908401908201611b30565b50505082870194505b50602f60f81b845286519250611b6e8382860160208a01611607565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bc19083018461162b565b9695505050505050565b600060208284031215611bdd57600080fd5b8151611194816115d4565b600060018201611bfa57611bfa611a8d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611c2657611c26611c01565b500490565b600082611c3a57611c3a611c01565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e22f626e360075eb87146c5c0f4bf6dc97a44a07842ed2cc021106eee5a25cba64736f6c63430008100033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f73332e616d617a6f6e6177732e636f6d2f646176696e63692e75732d656173742d312e61696d616b65726c6162732e636f6d2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063d49f0fa511610064578063d49f0fa514610539578063dc33e68114610559578063e985e9c514610579578063f2fde38b1461059957600080fd5b8063a22cb465146104b9578063b88d4fde146104d9578063c4c5a5cc146104f9578063c87b56dd1461051957600080fd5b806382481c0e116100d157806382481c0e1461045d5780638da5cb5b1461047357806395d89b4114610491578063a0712d68146104a657600080fd5b80636352211e146103f357806363eb8bb61461041357806370a0823114610428578063715018a61461044857600080fd5b806323b872dd1161017a57806351cff8d91161014957806351cff8d91461038357806355f804b3146103a35780635c975abb146103c3578063611f3f10146103dd57600080fd5b806323b872dd1461030d5780632432435c1461032d57806332cb6b0c1461034d57806342842e0e1461036357600080fd5b8063095ea7b3116101b6578063095ea7b31461029a57806316154862146102bc57806318160ddd146102d15780631e84c413146102ee57600080fd5b806301ffc9a7146101e85780630528eb431461021d57806306fdde0314610240578063081812fc14610262575b600080fd5b3480156101f457600080fd5b506102086102033660046115ea565b6105b9565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232600181565b604051908152602001610214565b34801561024c57600080fd5b5061025561060b565b6040516102149190611657565b34801561026e57600080fd5b5061028261027d36600461166a565b61069d565b6040516001600160a01b039091168152602001610214565b3480156102a657600080fd5b506102ba6102b5366004611698565b6106e1565b005b3480156102c857600080fd5b50610232600581565b3480156102dd57600080fd5b506001546000540360001901610232565b3480156102fa57600080fd5b50600d5461020890610100900460ff1681565b34801561031957600080fd5b506102ba6103283660046116c4565b610781565b34801561033957600080fd5b506102ba61034836600461171a565b61091a565b34801561035957600080fd5b506102326109c481565b34801561036f57600080fd5b506102ba61037e3660046116c4565b61093c565b34801561038f57600080fd5b506102ba61039e366004611735565b61095c565b3480156103af57600080fd5b506102ba6103be366004611752565b610a61565b3480156103cf57600080fd5b50600d546102089060ff1681565b3480156103e957600080fd5b50610232600b5481565b3480156103ff57600080fd5b5061028261040e36600461166a565b610a76565b34801561041f57600080fd5b5061023260c881565b34801561043457600080fd5b50610232610443366004611735565b610a81565b34801561045457600080fd5b506102ba610ad0565b34801561046957600080fd5b50610232600c5481565b34801561047f57600080fd5b506008546001600160a01b0316610282565b34801561049d57600080fd5b50610255610ae4565b6102ba6104b436600461166a565b610af3565b3480156104c557600080fd5b506102ba6104d43660046117c4565b610de7565b3480156104e557600080fd5b506102ba6104f436600461180f565b610e7c565b34801561050557600080fd5b506102ba6105143660046118ef565b610ec6565b34801561052557600080fd5b5061025561053436600461166a565b610f8b565b34801561054557600080fd5b506102ba61055436600461166a565b61102c565b34801561056557600080fd5b50610232610574366004611735565b611039565b34801561058557600080fd5b5061020861059436600461191f565b611064565b3480156105a557600080fd5b506102ba6105b4366004611735565b611092565b60006301ffc9a760e01b6001600160e01b0319831614806105ea57506380ac58cd60e01b6001600160e01b03198316145b806106055750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461061a9061194d565b80601f01602080910402602001604051908101604052809291908181526020018280546106469061194d565b80156106935780601f1061066857610100808354040283529160200191610693565b820191906000526020600020905b81548152906001019060200180831161067657829003601f168201915b5050505050905090565b60006106a88261110b565b6106c5576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106ec82610a76565b9050336001600160a01b03821614610725576107088133611064565b610725576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061078c82611140565b9050836001600160a01b0316816001600160a01b0316146107bf5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761080c576107ef8633611064565b61080c57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661083357604051633a954ecd60e21b815260040160405180910390fd5b801561083e57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108d0576001840160008181526004602052604081205490036108ce5760005481146108ce5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109226111b6565b600d80549115156101000261ff0019909216919091179055565b61095783838360405180602001604052806000815250610e7c565b505050565b6109646111b6565b6002600954036109bb5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610a0d576040519150601f19603f3d011682016040523d82523d6000602084013e610a12565b606091505b5050905080610a575760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016109b2565b5050600160095550565b610a696111b6565b600a6109578284836119cd565b600061060582611140565b60006001600160a01b038216610aaa576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610ad86111b6565b610ae26000611210565b565b60606003805461061a9061194d565b600260095403610b455760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109b2565b6002600955600d54610100900460ff16610ba15760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016109b2565b323314610bf05760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016109b2565b600581610bfc33611039565b610c069190611aa3565b1115610c545760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016109b2565b6001546000546109c49183910360001901610c6f9190611aa3565b1115610cb55760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016109b2565b600060c8600c541015610d475760006001610ccf33611039565b10610cdb576000610cef565b610ce433611039565b610cef906001611ab6565b905080831115610d0857610d038184611ab6565b610d0b565b60005b600b54610d189190611ac9565b915080831115610d285780610d2a565b825b600c6000828254610d3b9190611aa3565b90915550610d58915050565b81600b54610d559190611ac9565b90505b80341015610d9b5760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016109b2565b610da53383611262565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b336001600160a01b03831603610e105760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e87848484610781565b6001600160a01b0383163b15610ec057610ea38484848461127c565b610ec0576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ece6111b6565b60008211610f145760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109b2565b6001546000546109c49184910360001901610f2f9190611aa3565b1115610f7d5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109b2565b610f878183611262565b5050565b6060610f968261110b565b610ffa5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109b2565b600a61100583611368565b604051602001611016929190611ae8565b6040516020818303038152906040529050919050565b6110346111b6565b600b55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c16610605565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61109a6111b6565b6001600160a01b0381166110ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b2565b61110881611210565b50565b60008160011115801561111f575060005482105b8015610605575050600090815260046020526040902054600160e01b161590565b6000818060011161119d5760005481101561119d5760008181526004602052604081205490600160e01b8216900361119b575b80600003611194575060001901600081815260046020526040902054611173565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610ae25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109b2565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610f87828260405180602001604052806000815250611469565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112b1903390899088908890600401611b8e565b6020604051808303816000875af19250505080156112ec575060408051601f3d908101601f191682019092526112e991810190611bcb565b60015b61134a573d80801561131a576040519150601f19603f3d011682016040523d82523d6000602084013e61131f565b606091505b508051600003611342576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608160000361138f5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113b957806113a381611be8565b91506113b29050600a83611c17565b9150611393565b60008167ffffffffffffffff8111156113d4576113d46117f9565b6040519080825280601f01601f1916602001820160405280156113fe576020820181803683370190505b5090505b841561136057611413600183611ab6565b9150611420600a86611c2b565b61142b906030611aa3565b60f81b81838151811061144057611440611c3f565b60200101906001600160f81b031916908160001a905350611462600a86611c17565b9450611402565b61147383836114d6565b6001600160a01b0383163b15610957576000548281035b61149d600086838060010194508661127c565b6114ba576040516368d2bf6b60e11b815260040160405180910390fd5b81811061148a5781600054146114cf57600080fd5b5050505050565b60008054908290036114fb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146115aa57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611572565b50816000036115cb57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461110857600080fd5b6000602082840312156115fc57600080fd5b8135611194816115d4565b60005b8381101561162257818101518382015260200161160a565b50506000910152565b60008151808452611643816020860160208601611607565b601f01601f19169290920160200192915050565b602081526000611194602083018461162b565b60006020828403121561167c57600080fd5b5035919050565b6001600160a01b038116811461110857600080fd5b600080604083850312156116ab57600080fd5b82356116b681611683565b946020939093013593505050565b6000806000606084860312156116d957600080fd5b83356116e481611683565b925060208401356116f481611683565b929592945050506040919091013590565b8035801515811461171557600080fd5b919050565b60006020828403121561172c57600080fd5b61119482611705565b60006020828403121561174757600080fd5b813561119481611683565b6000806020838503121561176557600080fd5b823567ffffffffffffffff8082111561177d57600080fd5b818501915085601f83011261179157600080fd5b8135818111156117a057600080fd5b8660208285010111156117b257600080fd5b60209290920196919550909350505050565b600080604083850312156117d757600080fd5b82356117e281611683565b91506117f060208401611705565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561182557600080fd5b843561183081611683565b9350602085013561184081611683565b925060408501359150606085013567ffffffffffffffff8082111561186457600080fd5b818701915087601f83011261187857600080fd5b81358181111561188a5761188a6117f9565b604051601f8201601f19908116603f011681019083821181831017156118b2576118b26117f9565b816040528281528a60208487010111156118cb57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561190257600080fd5b82359150602083013561191481611683565b809150509250929050565b6000806040838503121561193257600080fd5b823561193d81611683565b9150602083013561191481611683565b600181811c9082168061196157607f821691505b60208210810361198157634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561095757600081815260208120601f850160051c810160208610156119ae5750805b601f850160051c820191505b81811015610912578281556001016119ba565b67ffffffffffffffff8311156119e5576119e56117f9565b6119f9836119f3835461194d565b83611987565b6000601f841160018114611a2d5760008515611a155750838201355b600019600387901b1c1916600186901b1783556114cf565b600083815260209020601f19861690835b82811015611a5e5786850135825560209485019460019092019101611a3e565b5086821015611a7b5760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561060557610605611a8d565b8181038181111561060557610605611a8d565b6000816000190483118215151615611ae357611ae3611a8d565b500290565b6000808454611af68161194d565b60018281168015611b0e5760018114611b2357611b52565b60ff1984168752821515830287019450611b52565b8860005260208060002060005b85811015611b495781548a820152908401908201611b30565b50505082870194505b50602f60f81b845286519250611b6e8382860160208a01611607565b64173539b7b760d91b939092019182019290925260060195945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bc19083018461162b565b9695505050505050565b600060208284031215611bdd57600080fd5b8151611194816115d4565b600060018201611bfa57611bfa611a8d565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611c2657611c26611c01565b500490565b600082611c3a57611c3a611c01565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220e22f626e360075eb87146c5c0f4bf6dc97a44a07842ed2cc021106eee5a25cba64736f6c63430008100033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004168747470733a2f2f73332e616d617a6f6e6177732e636f6d2f646176696e63692e75732d656173742d312e61696d616b65726c6162732e636f6d2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): https://s3.amazonaws.com/davinci.us-east-1.aimakerlabs.com/token/

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [2] : 68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f646176696e6369
Arg [3] : 2e75732d656173742d312e61696d616b65726c6162732e636f6d2f746f6b656e
Arg [4] : 2f00000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

68415:3882:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35943:639;;;;;;;;;;-1:-1:-1;35943:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35943:639:0;;;;;;;;68680:50;;;;;;;;;;;;68729:1;68680:50;;;;;738:25:1;;;726:2;711:18;68680:50:0;592:177:1;36845:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43328:218::-;;;;;;;;;;-1:-1:-1;43328:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:1;;;1861:51;;1849:2;1834:18;43328:218:0;1715:203:1;42769:400:0;;;;;;;;;;-1:-1:-1;42769:400:0;;;;;:::i;:::-;;:::i;:::-;;68737:45;;;;;;;;;;;;68781:1;68737:45;;32596:323;;;;;;;;;;-1:-1:-1;71895:1:0;32870:12;32657:7;32854:13;:28;-1:-1:-1;;32854:46:0;32596:323;;68967:38;;;;;;;;;;-1:-1:-1;68967:38:0;;;;;;;;;;;47035:2817;;;;;;;;;;-1:-1:-1;47035:2817:0;;;;;:::i;:::-;;:::i;71354:136::-;;;;;;;;;;-1:-1:-1;71354:136:0;;;;;:::i;:::-;;:::i;68839:41::-;;;;;;;;;;;;68876:4;68839:41;;49948:185;;;;;;;;;;-1:-1:-1;49948:185:0;;;;;:::i;:::-;;:::i;71912:279::-;;;;;;;;;;-1:-1:-1;71912:279:0;;;;;:::i;:::-;;:::i;71007:106::-;;;;;;;;;;-1:-1:-1;71007:106:0;;;;;:::i;:::-;;:::i;68934:26::-;;;;;;;;;;-1:-1:-1;68934:26:0;;;;;;;;68789:43;;;;;;;;;;;;;;;;38238:152;;;;;;;;;;-1:-1:-1;38238:152:0;;;;;:::i;:::-;;:::i;68627:46::-;;;;;;;;;;;;68670:3;68627:46;;33780:233;;;;;;;;;;-1:-1:-1;33780:233:0;;;;;:::i;:::-;;:::i;16691:103::-;;;;;;;;;;;;;:::i;68887:38::-;;;;;;;;;;;;;;;;16043:87;;;;;;;;;;-1:-1:-1;16116:6:0;;-1:-1:-1;;;;;16116:6:0;16043:87;;37021:104;;;;;;;;;;;;;:::i;69250:1336::-;;;;;;:::i;:::-;;:::i;43886:308::-;;;;;;;;;;-1:-1:-1;43886:308:0;;;;;:::i;:::-;;:::i;50731:399::-;;;;;;;;;;-1:-1:-1;50731:399:0;;;;;:::i;:::-;;:::i;71498:293::-;;;;;;;;;;-1:-1:-1;71498:293:0;;;;;:::i;:::-;;:::i;70596:403::-;;;;;;;;;;-1:-1:-1;70596:403:0;;;;;:::i;:::-;;:::i;72199:95::-;;;;;;;;;;-1:-1:-1;72199:95:0;;;;;:::i;:::-;;:::i;71229:113::-;;;;;;;;;;-1:-1:-1;71229:113:0;;;;;:::i;:::-;;:::i;44351:164::-;;;;;;;;;;-1:-1:-1;44351:164:0;;;;;:::i;:::-;;:::i;16949:201::-;;;;;;;;;;-1:-1:-1;16949:201:0;;;;;:::i;:::-;;:::i;35943:639::-;36028:4;-1:-1:-1;;;;;;;;;36352:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36429:25:0;;;36352:102;:179;;;-1:-1:-1;;;;;;;;;;36506:25:0;;;36352:179;36332:199;35943:639;-1:-1:-1;;35943:639:0:o;36845:100::-;36899:13;36932:5;36925:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36845:100;:::o;43328:218::-;43404:7;43429:16;43437:7;43429;:16::i;:::-;43424:64;;43454:34;;-1:-1:-1;;;43454:34:0;;;;;;;;;;;43424:64;-1:-1:-1;43508:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43508:30:0;;43328:218::o;42769:400::-;42850:13;42866:16;42874:7;42866;:16::i;:::-;42850:32;-1:-1:-1;66626:10:0;-1:-1:-1;;;;;42899:28:0;;;42895:175;;42947:44;42964:5;66626:10;44351:164;:::i;42947:44::-;42942:128;;43019:35;;-1:-1:-1;;;43019:35:0;;;;;;;;;;;42942:128;43082:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43082:35:0;-1:-1:-1;;;;;43082:35:0;;;;;;;;;43133:28;;43082:24;;43133:28;;;;;;;42839:330;42769:400;;:::o;47035:2817::-;47169:27;47199;47218:7;47199:18;:27::i;:::-;47169:57;;47284:4;-1:-1:-1;;;;;47243:45:0;47259:19;-1:-1:-1;;;;;47243:45:0;;47239:86;;47297:28;;-1:-1:-1;;;47297:28:0;;;;;;;;;;;47239:86;47339:27;46149:24;;;:15;:24;;;;;46371:26;;66626:10;45774:30;;;-1:-1:-1;;;;;45467:28:0;;45752:20;;;45749:56;47525:180;;47618:43;47635:4;66626:10;44351:164;:::i;47618:43::-;47613:92;;47670:35;;-1:-1:-1;;;47670:35:0;;;;;;;;;;;47613:92;-1:-1:-1;;;;;47722:16:0;;47718:52;;47747:23;;-1:-1:-1;;;47747:23:0;;;;;;;;;;;47718:52;47919:15;47916:160;;;48059:1;48038:19;48031:30;47916:160;-1:-1:-1;;;;;48456:24:0;;;;;;;:18;:24;;;;;;48454:26;;-1:-1:-1;;48454:26:0;;;48525:22;;;;;;;;;48523:24;;-1:-1:-1;48523:24:0;;;41627:11;41602:23;41598:41;41585:63;-1:-1:-1;;;41585:63:0;48818:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;49113:47:0;;:52;;49109:627;;49218:1;49208:11;;49186:19;49341:30;;;:17;:30;;;;;;:35;;49337:384;;49479:13;;49464:11;:28;49460:242;;49626:30;;;;:17;:30;;;;;:52;;;49460:242;49167:569;49109:627;49783:7;49779:2;-1:-1:-1;;;;;49764:27:0;49773:4;-1:-1:-1;;;;;49764:27:0;;;;;;;;;;;49802:42;47158:2694;;;47035:2817;;;:::o;71354:136::-;15929:13;:11;:13::i;:::-;71444:18:::1;:40:::0;;;::::1;;;;-1:-1:-1::0;;71444:40:0;;::::1;::::0;;;::::1;::::0;;71354:136::o;49948:185::-;50086:39;50103:4;50109:2;50113:7;50086:39;;;;;;;;;;;;:16;:39::i;:::-;49948:185;;;:::o;71912:279::-;15929:13;:11;:13::i;:::-;12968:1:::1;13566:7;;:19:::0;13558:63:::1;;;::::0;-1:-1:-1;;;13558:63:0;;7322:2:1;13558:63:0::1;::::0;::::1;7304:21:1::0;7361:2;7341:18;;;7334:30;7400:33;7380:18;;;7373:61;7451:18;;13558:63:0::1;;;;;;;;;12968:1;13699:7;:18:::0;72101:34:::2;::::0;72050:21:::2;::::0;72032:15:::2;::::0;-1:-1:-1;;;;;72101:14:0;::::2;::::0;72050:21;;72032:15;72101:34;72032:15;72101:34;72050:21;72101:14;:34:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72082:53;;;72154:7;72146:37;;;::::0;-1:-1:-1;;;72146:37:0;;7892:2:1;72146:37:0::2;::::0;::::2;7874:21:1::0;7931:2;7911:18;;;7904:30;-1:-1:-1;;;7950:18:1;;;7943:47;8007:18;;72146:37:0::2;7690:341:1::0;72146:37:0::2;-1:-1:-1::0;;12924:1:0::1;13878:7;:22:::0;-1:-1:-1;71912:279:0:o;71007:106::-;15929:13;:11;:13::i;:::-;71085:7:::1;:20;71095:10:::0;;71085:7;:20:::1;:::i;38238:152::-:0;38310:7;38353:27;38372:7;38353:18;:27::i;33780:233::-;33852:7;-1:-1:-1;;;;;33876:19:0;;33872:60;;33904:28;;-1:-1:-1;;;33904:28:0;;;;;;;;;;;33872:60;-1:-1:-1;;;;;;33950:25:0;;;;;:18;:25;;;;;;27939:13;33950:55;;33780:233::o;16691:103::-;15929:13;:11;:13::i;:::-;16756:30:::1;16783:1;16756:18;:30::i;:::-;16691:103::o:0;37021:104::-;37077:13;37110:7;37103:14;;;;;:::i;69250:1336::-;12968:1;13566:7;;:19;13558:63;;;;-1:-1:-1;;;13558:63:0;;7322:2:1;13558:63:0;;;7304:21:1;7361:2;7341:18;;;7334:30;7400:33;7380:18;;;7373:61;7451:18;;13558:63:0;7120:355:1;13558:63:0;12968:1;13699:7;:18;69331::::1;::::0;::::1;::::0;::::1;;;69323:54;;;::::0;-1:-1:-1;;;69323:54:0;;10296:2:1;69323:54:0::1;::::0;::::1;10278:21:1::0;10335:2;10315:18;;;10308:30;10374:25;10354:18;;;10347:53;10417:18;;69323:54:0::1;10094:347:1::0;69323:54:0::1;69396:9;69409:10;69396:23;69388:63;;;::::0;-1:-1:-1;;;69388:63:0;;10648:2:1;69388:63:0::1;::::0;::::1;10630:21:1::0;10687:2;10667:18;;;10660:30;10726:29;10706:18;;;10699:57;10773:18;;69388:63:0::1;10446:351:1::0;69388:63:0::1;68781:1;69511:8;69484:24;69497:10;69484:12;:24::i;:::-;:35;;;;:::i;:::-;:56;;69462:133;;;::::0;-1:-1:-1;;;69462:133:0;;11266:2:1;69462:133:0::1;::::0;::::1;11248:21:1::0;11305:2;11285:18;;;11278:30;11344:29;11324:18;;;11317:57;11391:18;;69462:133:0::1;11064:351:1::0;69462:133:0::1;71895:1:::0;32870:12;32657:7;32854:13;68876:4:::1;::::0;69644:8;;32854:28;-1:-1:-1;;32854:46:0;69628:24:::1;;;;:::i;:::-;:38;;69606:109;;;::::0;-1:-1:-1;;;69606:109:0;;11622:2:1;69606:109:0::1;::::0;::::1;11604:21:1::0;11661:2;11641:18;;;11634:30;-1:-1:-1;;;11680:18:1;;;11673:51;11741:18;;69606:109:0::1;11420:345:1::0;69606:109:0::1;69728:13;68670:3;69756:19;;:38;69752:683;;;69811:23;68729:1;69838:24;69851:10;69838:12;:24::i;:::-;:66;69837:160;;69996:1;69837:160;;;69951:24;69964:10;69951:12;:24::i;:::-;69926:49;::::0;68729:1:::1;69926:49;:::i;:::-;69811:186;;70107:15;70095:8;:27;;70094:114;;70181:26;70192:15:::0;70181:8;:26:::1;:::i;:::-;70094:114;;;70151:1;70094:114;70039:12;;:188;;;;:::i;:::-;70014:213;;70299:15;70287:8;:27;;70286:58;;70329:15;70286:58;;;70318:8;70286:58;70244:19;;:115;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;69752:683:0::1;::::0;-1:-1:-1;;69752:683:0::1;;70415:8;70400:12;;:23;;;;:::i;:::-;70392:31;;69752:683;70466:5;70453:9;:18;;70445:47;;;::::0;-1:-1:-1;;;70445:47:0;;12278:2:1;70445:47:0::1;::::0;::::1;12260:21:1::0;12317:2;12297:18;;;12290:30;-1:-1:-1;;;12336:18:1;;;12329:46;12392:18;;70445:47:0::1;12076:340:1::0;70445:47:0::1;70503:31;70513:10;70525:8;70503:9;:31::i;:::-;70550:28;::::0;;70557:10:::1;12595:51:1::0;;12677:2;12662:18;;12655:34;;;70550:28:0::1;::::0;12568:18:1;70550:28:0::1;;;;;;;-1:-1:-1::0;;12924:1:0;13878:7;:22;69250:1336::o;43886:308::-;66626:10;-1:-1:-1;;;;;43985:31:0;;;43981:61;;44025:17;;-1:-1:-1;;;44025:17:0;;;;;;;;;;;43981:61;66626:10;44055:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;44055:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;44055:60:0;;;;;;;;;;44131:55;;540:41:1;;;44055:49:0;;66626:10;44131:55;;513:18:1;44131:55:0;;;;;;;43886:308;;:::o;50731:399::-;50898:31;50911:4;50917:2;50921:7;50898:12;:31::i;:::-;-1:-1:-1;;;;;50944:14:0;;;:19;50940:183;;50983:56;51014:4;51020:2;51024:7;51033:5;50983:30;:56::i;:::-;50978:145;;51067:40;;-1:-1:-1;;;51067:40:0;;;;;;;;;;;50978:145;50731:399;;;;:::o;71498:293::-;15929:13;:11;:13::i;:::-;71613:1:::1;71602:8;:12;71586:65;;;::::0;-1:-1:-1;;;71586:65:0;;12902:2:1;71586:65:0::1;::::0;::::1;12884:21:1::0;12941:2;12921:18;;;12914:30;-1:-1:-1;;;12960:18:1;;;12953:49;13019:18;;71586:65:0::1;12700:343:1::0;71586:65:0::1;71895:1:::0;32870:12;32657:7;32854:13;68876:4:::1;::::0;71690:8;;32854:28;-1:-1:-1;;32854:46:0;71674:24:::1;;;;:::i;:::-;:38;;71658:95;;;::::0;-1:-1:-1;;;71658:95:0;;13250:2:1;71658:95:0::1;::::0;::::1;13232:21:1::0;13289:2;13269:18;;;13262:30;13328:25;13308:18;;;13301:53;13371:18;;71658:95:0::1;13048:347:1::0;71658:95:0::1;71760:25;71770:4;71776:8;71760:9;:25::i;:::-;71498:293:::0;;:::o;70596:403::-;70715:13;70768:17;70776:8;70768:7;:17::i;:::-;70746:114;;;;-1:-1:-1;;;70746:114:0;;13602:2:1;70746:114:0;;;13584:21:1;13641:2;13621:18;;;13614:30;13680:34;13660:18;;;13653:62;-1:-1:-1;;;13731:18:1;;;13724:45;13786:19;;70746:114:0;13400:411:1;70746:114:0;70933:7;70947:19;:8;:17;:19::i;:::-;70916:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70871:120;;70596:403;;;:::o;72199:95::-;15929:13;:11;:13::i;:::-;72264:12:::1;:22:::0;72199:95::o;71229:113::-;-1:-1:-1;;;;;34184:25:0;;71287:7;34184:25;;;:18;:25;;28077:2;34184:25;;;;27939:13;34184:50;;34183:82;71314:20;34095:178;44351:164;-1:-1:-1;;;;;44472:25:0;;;44448:4;44472:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44351:164::o;16949:201::-;15929:13;:11;:13::i;:::-;-1:-1:-1;;;;;17038:22:0;::::1;17030:73;;;::::0;-1:-1:-1;;;17030:73:0;;15345:2:1;17030:73:0::1;::::0;::::1;15327:21:1::0;15384:2;15364:18;;;15357:30;15423:34;15403:18;;;15396:62;-1:-1:-1;;;15474:18:1;;;15467:36;15520:19;;17030:73:0::1;15143:402:1::0;17030:73:0::1;17114:28;17133:8;17114:18;:28::i;:::-;16949:201:::0;:::o;44773:282::-;44838:4;44894:7;71895:1;44875:26;;:66;;;;;44928:13;;44918:7;:23;44875:66;:153;;;;-1:-1:-1;;44979:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44979:44:0;:49;;44773:282::o;39393:1275::-;39460:7;39495;;71895:1;39544:23;39540:1061;;39597:13;;39590:4;:20;39586:1015;;;39635:14;39652:23;;;:17;:23;;;;;;;-1:-1:-1;;;39741:24:0;;:29;;39737:845;;40406:113;40413:6;40423:1;40413:11;40406:113;;-1:-1:-1;;;40484:6:0;40466:25;;;;:17;:25;;;;;;40406:113;;;40552:6;39393:1275;-1:-1:-1;;;39393:1275:0:o;39737:845::-;39612:989;39586:1015;40629:31;;-1:-1:-1;;;40629:31:0;;;;;;;;;;;16208:132;16116:6;;-1:-1:-1;;;;;16116:6:0;66626:10;16272:23;16264:68;;;;-1:-1:-1;;;16264:68:0;;15752:2:1;16264:68:0;;;15734:21:1;;;15771:18;;;15764:30;15830:34;15810:18;;;15803:62;15882:18;;16264:68:0;15550:356:1;17310:191:0;17403:6;;;-1:-1:-1;;;;;17420:17:0;;;-1:-1:-1;;;;;;17420:17:0;;;;;;;17453:40;;17403:6;;;17420:17;17403:6;;17453:40;;17384:16;;17453:40;17373:128;17310:191;:::o;60371:112::-;60448:27;60458:2;60462:8;60448:27;;;;;;;;;;;;:9;:27::i;53214:716::-;53398:88;;-1:-1:-1;;;53398:88:0;;53377:4;;-1:-1:-1;;;;;53398:45:0;;;;;:88;;66626:10;;53465:4;;53471:7;;53480:5;;53398:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53398:88:0;;;;;;;;-1:-1:-1;;53398:88:0;;;;;;;;;;;;:::i;:::-;;;53394:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53681:6;:13;53698:1;53681:18;53677:235;;53727:40;;-1:-1:-1;;;53727:40:0;;;;;;;;;;;53677:235;53870:6;53864:13;53855:6;53851:2;53847:15;53840:38;53394:529;-1:-1:-1;;;;;;53557:64:0;-1:-1:-1;;;53557:64:0;;-1:-1:-1;53394:529:0;53214:716;;;;;;:::o;536:723::-;592:13;813:5;822:1;813:10;809:53;;-1:-1:-1;;840:10:0;;;;;;;;;;;;-1:-1:-1;;;840:10:0;;;;;536:723::o;809:53::-;887:5;872:12;928:78;935:9;;928:78;;961:8;;;;:::i;:::-;;-1:-1:-1;984:10:0;;-1:-1:-1;992:2:0;984:10;;:::i;:::-;;;928:78;;;1016:19;1048:6;1038:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1038:17:0;;1016:39;;1066:154;1073:10;;1066:154;;1100:11;1110:1;1100:11;;:::i;:::-;;-1:-1:-1;1169:10:0;1177:2;1169:5;:10;:::i;:::-;1156:24;;:2;:24;:::i;:::-;1143:39;;1126:6;1133;1126:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1126:56:0;;;;;;;;-1:-1:-1;1197:11:0;1206:2;1197:11;;:::i;:::-;;;1066:154;;59598:689;59729:19;59735:2;59739:8;59729:5;:19::i;:::-;-1:-1:-1;;;;;59790:14:0;;;:19;59786:483;;59830:11;59844:13;59892:14;;;59925:233;59956:62;59995:1;59999:2;60003:7;;;;;;60012:5;59956:30;:62::i;:::-;59951:167;;60054:40;;-1:-1:-1;;;60054:40:0;;;;;;;;;;;59951:167;60153:3;60145:5;:11;59925:233;;60240:3;60223:13;;:20;60219:34;;60245:8;;;60219:34;59811:458;;59598:689;;;:::o;54392:2454::-;54465:20;54488:13;;;54516;;;54512:44;;54538:18;;-1:-1:-1;;;54538:18:0;;;;;;;;;;;54512:44;-1:-1:-1;;;;;55044:22:0;;;;;;:18;:22;;;;28077:2;55044:22;;;:71;;55082:32;55070:45;;55044:71;;;55358:31;;;:17;:31;;;;;-1:-1:-1;42058:15:0;;42032:24;42028:46;41627:11;41602:23;41598:41;41595:52;41585:63;;55358:173;;55593:23;;;;55358:31;;55044:22;;56092:25;55044:22;;55945:335;56360:1;56346:12;56342:20;56300:346;56401:3;56392:7;56389:16;56300:346;;56619:7;56609:8;56606:1;56579:25;56576:1;56573;56568:59;56454:1;56441:15;56300:346;;;56304:77;56679:8;56691:1;56679:13;56675:45;;56701:19;;-1:-1:-1;;;56701:19:0;;;;;;;;;;;56675:45;56737:13;:19;-1:-1:-1;49948:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;774:250::-;859:1;869:113;883:6;880:1;877:13;869:113;;;959:11;;;953:18;940:11;;;933:39;905:2;898:10;869:113;;;-1:-1:-1;;1016:1:1;998:16;;991:27;774:250::o;1029:271::-;1071:3;1109:5;1103:12;1136:6;1131:3;1124:19;1152:76;1221:6;1214:4;1209:3;1205:14;1198:4;1191:5;1187:16;1152:76;:::i;:::-;1282:2;1261:15;-1:-1:-1;;1257:29:1;1248:39;;;;1289:4;1244:50;;1029:271;-1:-1:-1;;1029:271:1:o;1305:220::-;1454:2;1443:9;1436:21;1417:4;1474:45;1515:2;1504:9;1500:18;1492:6;1474:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:1;;1530:180;-1:-1:-1;1530:180:1:o;1923:131::-;-1:-1:-1;;;;;1998:31:1;;1988:42;;1978:70;;2044:1;2041;2034:12;2059:315;2127:6;2135;2188:2;2176:9;2167:7;2163:23;2159:32;2156:52;;;2204:1;2201;2194:12;2156:52;2243:9;2230:23;2262:31;2287:5;2262:31;:::i;:::-;2312:5;2364:2;2349:18;;;;2336:32;;-1:-1:-1;;;2059:315:1:o;2379:456::-;2456:6;2464;2472;2525:2;2513:9;2504:7;2500:23;2496:32;2493:52;;;2541:1;2538;2531:12;2493:52;2580:9;2567:23;2599:31;2624:5;2599:31;:::i;:::-;2649:5;-1:-1:-1;2706:2:1;2691:18;;2678:32;2719:33;2678:32;2719:33;:::i;:::-;2379:456;;2771:7;;-1:-1:-1;;;2825:2:1;2810:18;;;;2797:32;;2379:456::o;2840:160::-;2905:20;;2961:13;;2954:21;2944:32;;2934:60;;2990:1;2987;2980:12;2934:60;2840:160;;;:::o;3005:180::-;3061:6;3114:2;3102:9;3093:7;3089:23;3085:32;3082:52;;;3130:1;3127;3120:12;3082:52;3153:26;3169:9;3153:26;:::i;3190:255::-;3257:6;3310:2;3298:9;3289:7;3285:23;3281:32;3278:52;;;3326:1;3323;3316:12;3278:52;3365:9;3352:23;3384:31;3409:5;3384:31;:::i;3450:592::-;3521:6;3529;3582:2;3570:9;3561:7;3557:23;3553:32;3550:52;;;3598:1;3595;3588:12;3550:52;3638:9;3625:23;3667:18;3708:2;3700:6;3697:14;3694:34;;;3724:1;3721;3714:12;3694:34;3762:6;3751:9;3747:22;3737:32;;3807:7;3800:4;3796:2;3792:13;3788:27;3778:55;;3829:1;3826;3819:12;3778:55;3869:2;3856:16;3895:2;3887:6;3884:14;3881:34;;;3911:1;3908;3901:12;3881:34;3956:7;3951:2;3942:6;3938:2;3934:15;3930:24;3927:37;3924:57;;;3977:1;3974;3967:12;3924:57;4008:2;4000:11;;;;;4030:6;;-1:-1:-1;3450:592:1;;-1:-1:-1;;;;3450:592:1:o;4299:315::-;4364:6;4372;4425:2;4413:9;4404:7;4400:23;4396:32;4393:52;;;4441:1;4438;4431:12;4393:52;4480:9;4467:23;4499:31;4524:5;4499:31;:::i;:::-;4549:5;-1:-1:-1;4573:35:1;4604:2;4589:18;;4573:35;:::i;:::-;4563:45;;4299:315;;;;;:::o;4619:127::-;4680:10;4675:3;4671:20;4668:1;4661:31;4711:4;4708:1;4701:15;4735:4;4732:1;4725:15;4751:1266;4846:6;4854;4862;4870;4923:3;4911:9;4902:7;4898:23;4894:33;4891:53;;;4940:1;4937;4930:12;4891:53;4979:9;4966:23;4998:31;5023:5;4998:31;:::i;:::-;5048:5;-1:-1:-1;5105:2:1;5090:18;;5077:32;5118:33;5077:32;5118:33;:::i;:::-;5170:7;-1:-1:-1;5224:2:1;5209:18;;5196:32;;-1:-1:-1;5279:2:1;5264:18;;5251:32;5302:18;5332:14;;;5329:34;;;5359:1;5356;5349:12;5329:34;5397:6;5386:9;5382:22;5372:32;;5442:7;5435:4;5431:2;5427:13;5423:27;5413:55;;5464:1;5461;5454:12;5413:55;5500:2;5487:16;5522:2;5518;5515:10;5512:36;;;5528:18;;:::i;:::-;5603:2;5597:9;5571:2;5657:13;;-1:-1:-1;;5653:22:1;;;5677:2;5649:31;5645:40;5633:53;;;5701:18;;;5721:22;;;5698:46;5695:72;;;5747:18;;:::i;:::-;5787:10;5783:2;5776:22;5822:2;5814:6;5807:18;5862:7;5857:2;5852;5848;5844:11;5840:20;5837:33;5834:53;;;5883:1;5880;5873:12;5834:53;5939:2;5934;5930;5926:11;5921:2;5913:6;5909:15;5896:46;5984:1;5979:2;5974;5966:6;5962:15;5958:24;5951:35;6005:6;5995:16;;;;;;;4751:1266;;;;;;;:::o;6022:315::-;6090:6;6098;6151:2;6139:9;6130:7;6126:23;6122:32;6119:52;;;6167:1;6164;6157:12;6119:52;6203:9;6190:23;6180:33;;6263:2;6252:9;6248:18;6235:32;6276:31;6301:5;6276:31;:::i;:::-;6326:5;6316:15;;;6022:315;;;;;:::o;6342:388::-;6410:6;6418;6471:2;6459:9;6450:7;6446:23;6442:32;6439:52;;;6487:1;6484;6477:12;6439:52;6526:9;6513:23;6545:31;6570:5;6545:31;:::i;:::-;6595:5;-1:-1:-1;6652:2:1;6637:18;;6624:32;6665:33;6624:32;6665:33;:::i;6735:380::-;6814:1;6810:12;;;;6857;;;6878:61;;6932:4;6924:6;6920:17;6910:27;;6878:61;6985:2;6977:6;6974:14;6954:18;6951:38;6948:161;;7031:10;7026:3;7022:20;7019:1;7012:31;7066:4;7063:1;7056:15;7094:4;7091:1;7084:15;6948:161;;6735:380;;;:::o;8162:545::-;8264:2;8259:3;8256:11;8253:448;;;8300:1;8325:5;8321:2;8314:17;8370:4;8366:2;8356:19;8440:2;8428:10;8424:19;8421:1;8417:27;8411:4;8407:38;8476:4;8464:10;8461:20;8458:47;;;-1:-1:-1;8499:4:1;8458:47;8554:2;8549:3;8545:12;8542:1;8538:20;8532:4;8528:31;8518:41;;8609:82;8627:2;8620:5;8617:13;8609:82;;;8672:17;;;8653:1;8642:13;8609:82;;8883:1206;9007:18;9002:3;8999:27;8996:53;;;9029:18;;:::i;:::-;9058:94;9148:3;9108:38;9140:4;9134:11;9108:38;:::i;:::-;9102:4;9058:94;:::i;:::-;9178:1;9203:2;9198:3;9195:11;9220:1;9215:616;;;;9875:1;9892:3;9889:93;;;-1:-1:-1;9948:19:1;;;9935:33;9889:93;-1:-1:-1;;8840:1:1;8836:11;;;8832:24;8828:29;8818:40;8864:1;8860:11;;;8815:57;9995:78;;9188:895;;9215:616;8109:1;8102:14;;;8146:4;8133:18;;-1:-1:-1;;9251:17:1;;;9352:9;9374:229;9388:7;9385:1;9382:14;9374:229;;;9477:19;;;9464:33;9449:49;;9584:4;9569:20;;;;9537:1;9525:14;;;;9404:12;9374:229;;;9378:3;9631;9622:7;9619:16;9616:159;;;9755:1;9751:6;9745:3;9739;9736:1;9732:11;9728:21;9724:34;9720:39;9707:9;9702:3;9698:19;9685:33;9681:79;9673:6;9666:95;9616:159;;;9818:1;9812:3;9809:1;9805:11;9801:19;9795:4;9788:33;9188:895;;8883:1206;;;:::o;10802:127::-;10863:10;10858:3;10854:20;10851:1;10844:31;10894:4;10891:1;10884:15;10918:4;10915:1;10908:15;10934:125;10999:9;;;11020:10;;;11017:36;;;11033:18;;:::i;11770:128::-;11837:9;;;11858:11;;;11855:37;;;11872:18;;:::i;11903:168::-;11943:7;12009:1;12005;12001:6;11997:14;11994:1;11991:21;11986:1;11979:9;11972:17;11968:45;11965:71;;;12016:18;;:::i;:::-;-1:-1:-1;12056:9:1;;11903:168::o;13816:1322::-;14194:3;14223:1;14256:6;14250:13;14286:36;14312:9;14286:36;:::i;:::-;14341:1;14358:18;;;14385:133;;;;14532:1;14527:356;;;;14351:532;;14385:133;-1:-1:-1;;14418:24:1;;14406:37;;14491:14;;14484:22;14472:35;;14463:45;;;-1:-1:-1;14385:133:1;;14527:356;14558:6;14555:1;14548:17;14588:4;14633:2;14630:1;14620:16;14658:1;14672:165;14686:6;14683:1;14680:13;14672:165;;;14764:14;;14751:11;;;14744:35;14807:16;;;;14701:10;;14672:165;;;14676:3;;;14866:6;14861:3;14857:16;14850:23;;14351:532;;-1:-1:-1;;;14899:3:1;14892:16;14939:6;14933:13;14917:29;;14955:77;15023:8;15018:2;15013:3;15009:12;15002:4;14994:6;14990:17;14955:77;:::i;:::-;-1:-1:-1;;;15051:18:1;;;;15085:11;;;15078:28;;;;15130:1;15122:10;;13816:1322;-1:-1:-1;;;;;13816:1322:1:o;15911:489::-;-1:-1:-1;;;;;16180:15:1;;;16162:34;;16232:15;;16227:2;16212:18;;16205:43;16279:2;16264:18;;16257:34;;;16327:3;16322:2;16307:18;;16300:31;;;16105:4;;16348:46;;16374:19;;16366:6;16348:46;:::i;:::-;16340:54;15911:489;-1:-1:-1;;;;;;15911:489:1:o;16405:249::-;16474:6;16527:2;16515:9;16506:7;16502:23;16498:32;16495:52;;;16543:1;16540;16533:12;16495:52;16575:9;16569:16;16594:30;16618:5;16594:30;:::i;16659:135::-;16698:3;16719:17;;;16716:43;;16739:18;;:::i;:::-;-1:-1:-1;16786:1:1;16775:13;;16659:135::o;16799:127::-;16860:10;16855:3;16851:20;16848:1;16841:31;16891:4;16888:1;16881:15;16915:4;16912:1;16905:15;16931:120;16971:1;16997;16987:35;;17002:18;;:::i;:::-;-1:-1:-1;17036:9:1;;16931:120::o;17056:112::-;17088:1;17114;17104:35;;17119:18;;:::i;:::-;-1:-1:-1;17153:9:1;;17056:112::o;17173:127::-;17234:10;17229:3;17225:20;17222:1;17215:31;17265:4;17262:1;17255:15;17289:4;17286:1;17279:15

Swarm Source

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