ETH Price: $3,127.90 (+5.40%)
Gas: 7.5 Gwei

Token

ERC20 ***
 

Overview

Max Total Supply

269 ERC20 ***

Holders

204

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

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

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

Contract Source Code Verified (Exact Match)

Contract Name:
AiDigiDaigaku

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-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 AiDigiDaigaku 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 = 1500;
    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("Ai Digi Daigaku ", "AiDigiDaigaku") {
        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"}]

6080604052660e35fa931a0000600b556001600c55600d805461ffff191690553480156200002c57600080fd5b50604051620022d0380380620022d08339810160408190526200004f91620004ac565b604080518082018252601081526f020b4902234b3b4902230b4b3b0b5ba960851b60208083019182528351808501909452600d84526c41694469676944616967616b7560981b908401528151919291620000ac91600291620003d3565b508051620000c2906003906020840190620003d3565b5050600160005550620000d53362000104565b60016009558051620000ef90600a906020840190620003d3565b50620000fd33600162000156565b506200063c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001788282604051806020016040528060008152506200017c60201b60201c565b5050565b620001888383620001f3565b6001600160a01b0383163b15620001ee576000548281035b6001810190620001b690600090879086620002cc565b620001d4576040516368d2bf6b60e11b815260040160405180910390fd5b818110620001a0578160005414620001eb57600080fd5b50505b505050565b60005481620002155760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620022b08339815191528180a4600183015b818114620002a45780836000600080516020620022b0833981519152600080a46001016200027b565b5081620002c357604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200030390339089908890889060040162000564565b602060405180830381600087803b1580156200031e57600080fd5b505af192505050801562000351575060408051601f3d908101601f191682019092526200034e9181019062000479565b60015b620003b0573d80801562000382576040519150601f19603f3d011682016040523d82523d6000602084013e62000387565b606091505b508051620003a8576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b50505050565b828054620003e190620005e9565b90600052602060002090601f01602090048101928262000405576000855562000450565b82601f106200042057805160ff191683800117855562000450565b8280016001018555821562000450579182015b828111156200045057825182559160200191906001019062000433565b506200045e92915062000462565b5090565b5b808211156200045e576000815560010162000463565b6000602082840312156200048c57600080fd5b81516001600160e01b031981168114620004a557600080fd5b9392505050565b600060208284031215620004bf57600080fd5b81516001600160401b0380821115620004d757600080fd5b818401915084601f830112620004ec57600080fd5b81518181111562000501576200050162000626565b604051601f8201601f19908116603f011681019083821181831017156200052c576200052c62000626565b816040528281528760208487010111156200054657600080fd5b62000559836020830160208801620005ba565b979650505050505050565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620005a38160a0850160208701620005ba565b601f01601f19169190910160a00195945050505050565b60005b83811015620005d7578181015183820152602001620005bd565b83811115620003cd5750506000910152565b600181811c90821680620005fe57607f821691505b602082108114156200062057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611c64806200064c6000396000f3fe6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063d49f0fa511610064578063d49f0fa514610539578063dc33e68114610559578063e985e9c514610579578063f2fde38b146105c257600080fd5b8063a22cb465146104b9578063b88d4fde146104d9578063c4c5a5cc146104f9578063c87b56dd1461051957600080fd5b806382481c0e116100d157806382481c0e1461045d5780638da5cb5b1461047357806395d89b4114610491578063a0712d68146104a657600080fd5b80636352211e146103f357806363eb8bb61461041357806370a0823114610428578063715018a61461044857600080fd5b806323b872dd1161017a57806351cff8d91161014957806351cff8d91461038357806355f804b3146103a35780635c975abb146103c3578063611f3f10146103dd57600080fd5b806323b872dd1461030d5780632432435c1461032d57806332cb6b0c1461034d57806342842e0e1461036357600080fd5b8063095ea7b3116101b6578063095ea7b31461029a57806316154862146102bc57806318160ddd146102d15780631e84c413146102ee57600080fd5b806301ffc9a7146101e85780630528eb431461021d57806306fdde0314610240578063081812fc14610262575b600080fd5b3480156101f457600080fd5b50610208610203366004611866565b6105e2565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232600181565b604051908152602001610214565b34801561024c57600080fd5b50610255610634565b6040516102149190611aa0565b34801561026e57600080fd5b5061028261027d366004611912565b6106c6565b6040516001600160a01b039091168152602001610214565b3480156102a657600080fd5b506102ba6102b536600461181f565b61070a565b005b3480156102c857600080fd5b50610232600581565b3480156102dd57600080fd5b506001546000540360001901610232565b3480156102fa57600080fd5b50600d5461020890610100900460ff1681565b34801561031957600080fd5b506102ba6103283660046116c9565b6107aa565b34801561033957600080fd5b506102ba61034836600461184b565b61093b565b34801561035957600080fd5b506102326105dc81565b34801561036f57600080fd5b506102ba61037e3660046116c9565b61095d565b34801561038f57600080fd5b506102ba61039e366004611673565b61097d565b3480156103af57600080fd5b506102ba6103be3660046118a0565b610a83565b3480156103cf57600080fd5b50600d546102089060ff1681565b3480156103e957600080fd5b50610232600b5481565b3480156103ff57600080fd5b5061028261040e366004611912565b610a97565b34801561041f57600080fd5b5061023260c881565b34801561043457600080fd5b50610232610443366004611673565b610aa2565b34801561045457600080fd5b506102ba610af1565b34801561046957600080fd5b50610232600c5481565b34801561047f57600080fd5b506008546001600160a01b0316610282565b34801561049d57600080fd5b50610255610b05565b6102ba6104b4366004611912565b610b14565b3480156104c557600080fd5b506102ba6104d43660046117ea565b610e09565b3480156104e557600080fd5b506102ba6104f436600461170a565b610e9f565b34801561050557600080fd5b506102ba61051436600461192b565b610ee9565b34801561052557600080fd5b50610255610534366004611912565b610fae565b34801561054557600080fd5b506102ba610554366004611912565b61104f565b34801561056557600080fd5b50610232610574366004611673565b61105c565b34801561058557600080fd5b50610208610594366004611690565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ce57600080fd5b506102ba6105dd366004611673565b611087565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611b41565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611b41565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611100565b6106ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071582610a97565b9050336001600160a01b0382161461074e576107318133610594565b61074e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107b582611135565b9050836001600160a01b0316816001600160a01b0316146107e85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610835576108188633610594565b61083557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085c57604051633a954ecd60e21b815260040160405180910390fd5b801561086757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108f257600184016000818152600460205260409020546108f05760005481146108f05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109436111a5565b600d80549115156101000261ff0019909216919091179055565b61097883838360405180602001604052806000815250610e9f565b505050565b6109856111a5565b600260095414156109dd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610a2f576040519150601f19603f3d011682016040523d82523d6000602084013e610a34565b606091505b5050905080610a795760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016109d4565b5050600160095550565b610a8b6111a5565b610978600a83836115c5565b600061062e82611135565b60006001600160a01b038216610acb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610af96111a5565b610b0360006111ff565b565b60606003805461064390611b41565b60026009541415610b675760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109d4565b6002600955600d54610100900460ff16610bc35760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016109d4565b323314610c125760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016109d4565b600581610c1e3361105c565b610c289190611ab3565b1115610c765760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016109d4565b6001546000546105dc9183910360001901610c919190611ab3565b1115610cd75760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016109d4565b600060c8600c541015610d695760006001610cf13361105c565b10610cfd576000610d11565b610d063361105c565b610d11906001611afe565b905080831115610d2a57610d258184611afe565b610d2d565b60005b600b54610d3a9190611adf565b915080831115610d4a5780610d4c565b825b600c6000828254610d5d9190611ab3565b90915550610d7a915050565b81600b54610d779190611adf565b90505b80341015610dbd5760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016109d4565b610dc73383611251565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b6001600160a01b038216331415610e335760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eaa8484846107aa565b6001600160a01b0383163b15610ee357610ec68484848461126b565b610ee3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ef16111a5565b60008211610f375760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109d4565b6001546000546105dc9184910360001901610f529190611ab3565b1115610fa05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109d4565b610faa8183611251565b5050565b6060610fb982611100565b61101d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d4565b600a61102883611363565b604051602001611039929190611998565b6040516020818303038152906040529050919050565b6110576111a5565b600b55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661062e565b61108f6111a5565b6001600160a01b0381166110f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d4565b6110fd816111ff565b50565b600081600111158015611114575060005482105b801561062e575050600090815260046020526040902054600160e01b161590565b6000818060011161118c5760005481101561118c57600081815260046020526040902054600160e01b811661118a575b80611183575060001901600081815260046020526040902054611165565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610faa828260405180602001604052806000815250611461565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112a0903390899088908890600401611a63565b602060405180830381600087803b1580156112ba57600080fd5b505af19250505080156112ea575060408051601f3d908101601f191682019092526112e791810190611883565b60015b611345573d808015611318576040519150601f19603f3d011682016040523d82523d6000602084013e61131d565b606091505b50805161133d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113b1578061139b81611b7c565b91506113aa9050600a83611acb565b915061138b565b60008167ffffffffffffffff8111156113cc576113cc611bed565b6040519080825280601f01601f1916602001820160405280156113f6576020820181803683370190505b5090505b841561135b5761140b600183611afe565b9150611418600a86611b97565b611423906030611ab3565b60f81b81838151811061143857611438611bd7565b60200101906001600160f81b031916908160001a90535061145a600a86611acb565b94506113fa565b61146b83836114ce565b6001600160a01b0383163b15610978576000548281035b611495600086838060010194508661126b565b6114b2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114825781600054146114c757600080fd5b5050505050565b600054816114ef5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461159e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611566565b50816115bc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115d190611b41565b90600052602060002090601f0160209004810192826115f35760008555611639565b82601f1061160c5782800160ff19823516178555611639565b82800160010185558215611639579182015b8281111561163957823582559160200191906001019061161e565b50611645929150611649565b5090565b5b80821115611645576000815560010161164a565b8035801515811461166e57600080fd5b919050565b60006020828403121561168557600080fd5b813561118381611c03565b600080604083850312156116a357600080fd5b82356116ae81611c03565b915060208301356116be81611c03565b809150509250929050565b6000806000606084860312156116de57600080fd5b83356116e981611c03565b925060208401356116f981611c03565b929592945050506040919091013590565b6000806000806080858703121561172057600080fd5b843561172b81611c03565b9350602085013561173b81611c03565b925060408501359150606085013567ffffffffffffffff8082111561175f57600080fd5b818701915087601f83011261177357600080fd5b81358181111561178557611785611bed565b604051601f8201601f19908116603f011681019083821181831017156117ad576117ad611bed565b816040528281528a60208487010111156117c657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117fd57600080fd5b823561180881611c03565b91506118166020840161165e565b90509250929050565b6000806040838503121561183257600080fd5b823561183d81611c03565b946020939093013593505050565b60006020828403121561185d57600080fd5b6111838261165e565b60006020828403121561187857600080fd5b813561118381611c18565b60006020828403121561189557600080fd5b815161118381611c18565b600080602083850312156118b357600080fd5b823567ffffffffffffffff808211156118cb57600080fd5b818501915085601f8301126118df57600080fd5b8135818111156118ee57600080fd5b86602082850101111561190057600080fd5b60209290920196919550909350505050565b60006020828403121561192457600080fd5b5035919050565b6000806040838503121561193e57600080fd5b8235915060208301356116be81611c03565b60008151808452611968816020860160208601611b15565b601f01601f19169290920160200192915050565b6000815161198e818560208601611b15565b9290920192915050565b600080845481600182811c9150808316806119b457607f831692505b60208084108214156119d457634e487b7160e01b86526022600452602486fd5b8180156119e857600181146119f957611a26565b60ff19861689528489019650611a26565b60008b81526020902060005b86811015611a1e5781548b820152908501908301611a05565b505084890196505b505050505050611a5a611a49611a4383602f60f81b815260010190565b8661197c565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a9690830184611950565b9695505050505050565b6020815260006111836020830184611950565b60008219821115611ac657611ac6611bab565b500190565b600082611ada57611ada611bc1565b500490565b6000816000190483118215151615611af957611af9611bab565b500290565b600082821015611b1057611b10611bab565b500390565b60005b83811015611b30578181015183820152602001611b18565b83811115610ee35750506000910152565b600181811c90821680611b5557607f821691505b60208210811415611b7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b9057611b90611bab565b5060010190565b600082611ba657611ba6611bc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110fd57600080fd5b6001600160e01b0319811681146110fd57600080fdfea2646970667358221220b0abbfb5493e3ad0a5ac690c2d860d8f0704595f437a1ef9eae427c9b8c65ae264736f6c63430008070033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6334524839793762376653705937574e5a73727a3557574e743859316e4267364e3469773851653867654d410000000000000000000000

Deployed Bytecode

0x6080604052600436106101e35760003560e01c80636352211e11610102578063a22cb46511610095578063d49f0fa511610064578063d49f0fa514610539578063dc33e68114610559578063e985e9c514610579578063f2fde38b146105c257600080fd5b8063a22cb465146104b9578063b88d4fde146104d9578063c4c5a5cc146104f9578063c87b56dd1461051957600080fd5b806382481c0e116100d157806382481c0e1461045d5780638da5cb5b1461047357806395d89b4114610491578063a0712d68146104a657600080fd5b80636352211e146103f357806363eb8bb61461041357806370a0823114610428578063715018a61461044857600080fd5b806323b872dd1161017a57806351cff8d91161014957806351cff8d91461038357806355f804b3146103a35780635c975abb146103c3578063611f3f10146103dd57600080fd5b806323b872dd1461030d5780632432435c1461032d57806332cb6b0c1461034d57806342842e0e1461036357600080fd5b8063095ea7b3116101b6578063095ea7b31461029a57806316154862146102bc57806318160ddd146102d15780631e84c413146102ee57600080fd5b806301ffc9a7146101e85780630528eb431461021d57806306fdde0314610240578063081812fc14610262575b600080fd5b3480156101f457600080fd5b50610208610203366004611866565b6105e2565b60405190151581526020015b60405180910390f35b34801561022957600080fd5b50610232600181565b604051908152602001610214565b34801561024c57600080fd5b50610255610634565b6040516102149190611aa0565b34801561026e57600080fd5b5061028261027d366004611912565b6106c6565b6040516001600160a01b039091168152602001610214565b3480156102a657600080fd5b506102ba6102b536600461181f565b61070a565b005b3480156102c857600080fd5b50610232600581565b3480156102dd57600080fd5b506001546000540360001901610232565b3480156102fa57600080fd5b50600d5461020890610100900460ff1681565b34801561031957600080fd5b506102ba6103283660046116c9565b6107aa565b34801561033957600080fd5b506102ba61034836600461184b565b61093b565b34801561035957600080fd5b506102326105dc81565b34801561036f57600080fd5b506102ba61037e3660046116c9565b61095d565b34801561038f57600080fd5b506102ba61039e366004611673565b61097d565b3480156103af57600080fd5b506102ba6103be3660046118a0565b610a83565b3480156103cf57600080fd5b50600d546102089060ff1681565b3480156103e957600080fd5b50610232600b5481565b3480156103ff57600080fd5b5061028261040e366004611912565b610a97565b34801561041f57600080fd5b5061023260c881565b34801561043457600080fd5b50610232610443366004611673565b610aa2565b34801561045457600080fd5b506102ba610af1565b34801561046957600080fd5b50610232600c5481565b34801561047f57600080fd5b506008546001600160a01b0316610282565b34801561049d57600080fd5b50610255610b05565b6102ba6104b4366004611912565b610b14565b3480156104c557600080fd5b506102ba6104d43660046117ea565b610e09565b3480156104e557600080fd5b506102ba6104f436600461170a565b610e9f565b34801561050557600080fd5b506102ba61051436600461192b565b610ee9565b34801561052557600080fd5b50610255610534366004611912565b610fae565b34801561054557600080fd5b506102ba610554366004611912565b61104f565b34801561056557600080fd5b50610232610574366004611673565b61105c565b34801561058557600080fd5b50610208610594366004611690565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105ce57600080fd5b506102ba6105dd366004611673565b611087565b60006301ffc9a760e01b6001600160e01b03198316148061061357506380ac58cd60e01b6001600160e01b03198316145b8061062e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461064390611b41565b80601f016020809104026020016040519081016040528092919081815260200182805461066f90611b41565b80156106bc5780601f10610691576101008083540402835291602001916106bc565b820191906000526020600020905b81548152906001019060200180831161069f57829003601f168201915b5050505050905090565b60006106d182611100565b6106ee576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061071582610a97565b9050336001600160a01b0382161461074e576107318133610594565b61074e576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60006107b582611135565b9050836001600160a01b0316816001600160a01b0316146107e85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610835576108188633610594565b61083557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661085c57604051633a954ecd60e21b815260040160405180910390fd5b801561086757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b83166108f257600184016000818152600460205260409020546108f05760005481146108f05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6109436111a5565b600d80549115156101000261ff0019909216919091179055565b61097883838360405180602001604052806000815250610e9f565b505050565b6109856111a5565b600260095414156109dd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610a2f576040519150601f19603f3d011682016040523d82523d6000602084013e610a34565b606091505b5050905080610a795760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b60448201526064016109d4565b5050600160095550565b610a8b6111a5565b610978600a83836115c5565b600061062e82611135565b60006001600160a01b038216610acb576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610af96111a5565b610b0360006111ff565b565b60606003805461064390611b41565b60026009541415610b675760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109d4565b6002600955600d54610100900460ff16610bc35760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e00000000000000000060448201526064016109d4565b323314610c125760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d000000000060448201526064016109d4565b600581610c1e3361105c565b610c289190611ab3565b1115610c765760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d000000000060448201526064016109d4565b6001546000546105dc9183910360001901610c919190611ab3565b1115610cd75760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b60448201526064016109d4565b600060c8600c541015610d695760006001610cf13361105c565b10610cfd576000610d11565b610d063361105c565b610d11906001611afe565b905080831115610d2a57610d258184611afe565b610d2d565b60005b600b54610d3a9190611adf565b915080831115610d4a5780610d4c565b825b600c6000828254610d5d9190611ab3565b90915550610d7a915050565b81600b54610d779190611adf565b90505b80341015610dbd5760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b60448201526064016109d4565b610dc73383611251565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b6001600160a01b038216331415610e335760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610eaa8484846107aa565b6001600160a01b0383163b15610ee357610ec68484848461126b565b610ee3576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b610ef16111a5565b60008211610f375760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109d4565b6001546000546105dc9184910360001901610f529190611ab3565b1115610fa05760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109d4565b610faa8183611251565b5050565b6060610fb982611100565b61101d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109d4565b600a61102883611363565b604051602001611039929190611998565b6040516020818303038152906040529050919050565b6110576111a5565b600b55565b6001600160a01b0381166000908152600560205260408082205467ffffffffffffffff911c1661062e565b61108f6111a5565b6001600160a01b0381166110f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109d4565b6110fd816111ff565b50565b600081600111158015611114575060005482105b801561062e575050600090815260046020526040902054600160e01b161590565b6000818060011161118c5760005481101561118c57600081815260046020526040902054600160e01b811661118a575b80611183575060001901600081815260046020526040902054611165565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6008546001600160a01b03163314610b035760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109d4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610faa828260405180602001604052806000815250611461565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112a0903390899088908890600401611a63565b602060405180830381600087803b1580156112ba57600080fd5b505af19250505080156112ea575060408051601f3d908101601f191682019092526112e791810190611883565b60015b611345573d808015611318576040519150601f19603f3d011682016040523d82523d6000602084013e61131d565b606091505b50805161133d576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816113875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113b1578061139b81611b7c565b91506113aa9050600a83611acb565b915061138b565b60008167ffffffffffffffff8111156113cc576113cc611bed565b6040519080825280601f01601f1916602001820160405280156113f6576020820181803683370190505b5090505b841561135b5761140b600183611afe565b9150611418600a86611b97565b611423906030611ab3565b60f81b81838151811061143857611438611bd7565b60200101906001600160f81b031916908160001a90535061145a600a86611acb565b94506113fa565b61146b83836114ce565b6001600160a01b0383163b15610978576000548281035b611495600086838060010194508661126b565b6114b2576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114825781600054146114c757600080fd5b5050505050565b600054816114ef5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461159e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611566565b50816115bc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546115d190611b41565b90600052602060002090601f0160209004810192826115f35760008555611639565b82601f1061160c5782800160ff19823516178555611639565b82800160010185558215611639579182015b8281111561163957823582559160200191906001019061161e565b50611645929150611649565b5090565b5b80821115611645576000815560010161164a565b8035801515811461166e57600080fd5b919050565b60006020828403121561168557600080fd5b813561118381611c03565b600080604083850312156116a357600080fd5b82356116ae81611c03565b915060208301356116be81611c03565b809150509250929050565b6000806000606084860312156116de57600080fd5b83356116e981611c03565b925060208401356116f981611c03565b929592945050506040919091013590565b6000806000806080858703121561172057600080fd5b843561172b81611c03565b9350602085013561173b81611c03565b925060408501359150606085013567ffffffffffffffff8082111561175f57600080fd5b818701915087601f83011261177357600080fd5b81358181111561178557611785611bed565b604051601f8201601f19908116603f011681019083821181831017156117ad576117ad611bed565b816040528281528a60208487010111156117c657600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156117fd57600080fd5b823561180881611c03565b91506118166020840161165e565b90509250929050565b6000806040838503121561183257600080fd5b823561183d81611c03565b946020939093013593505050565b60006020828403121561185d57600080fd5b6111838261165e565b60006020828403121561187857600080fd5b813561118381611c18565b60006020828403121561189557600080fd5b815161118381611c18565b600080602083850312156118b357600080fd5b823567ffffffffffffffff808211156118cb57600080fd5b818501915085601f8301126118df57600080fd5b8135818111156118ee57600080fd5b86602082850101111561190057600080fd5b60209290920196919550909350505050565b60006020828403121561192457600080fd5b5035919050565b6000806040838503121561193e57600080fd5b8235915060208301356116be81611c03565b60008151808452611968816020860160208601611b15565b601f01601f19169290920160200192915050565b6000815161198e818560208601611b15565b9290920192915050565b600080845481600182811c9150808316806119b457607f831692505b60208084108214156119d457634e487b7160e01b86526022600452602486fd5b8180156119e857600181146119f957611a26565b60ff19861689528489019650611a26565b60008b81526020902060005b86811015611a1e5781548b820152908501908301611a05565b505084890196505b505050505050611a5a611a49611a4383602f60f81b815260010190565b8661197c565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a9690830184611950565b9695505050505050565b6020815260006111836020830184611950565b60008219821115611ac657611ac6611bab565b500190565b600082611ada57611ada611bc1565b500490565b6000816000190483118215151615611af957611af9611bab565b500290565b600082821015611b1057611b10611bab565b500390565b60005b83811015611b30578181015183820152602001611b18565b83811115610ee35750506000910152565b600181811c90821680611b5557607f821691505b60208210811415611b7657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611b9057611b90611bab565b5060010190565b600082611ba657611ba6611bc1565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146110fd57600080fd5b6001600160e01b0319811681146110fd57600080fdfea2646970667358221220b0abbfb5493e3ad0a5ac690c2d860d8f0704595f437a1ef9eae427c9b8c65ae264736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d6334524839793762376653705937574e5a73727a3557574e743859316e4267364e3469773851653867654d410000000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://Qmc4RH9y7b7fSpY7WNZsrz5WWNt8Y1nBg6N4iw8Qe8geMA

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [2] : 697066733a2f2f516d6334524839793762376653705937574e5a73727a355757
Arg [3] : 4e743859316e4267364e3469773851653867654d410000000000000000000000


Deployed Bytecode Sourcemap

68344:3889:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35872:639;;;;;;;;;;-1:-1:-1;35872:639:0;;;;;:::i;:::-;;:::i;:::-;;;8729:14:1;;8722:22;8704:41;;8692:2;8677:18;35872:639:0;;;;;;;;68611:50;;;;;;;;;;;;68660:1;68611:50;;;;;13475:25:1;;;13463:2;13448:18;68611:50:0;13329:177:1;36774:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;43257:218::-;;;;;;;;;;-1:-1:-1;43257:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7748:32:1;;;7730:51;;7718:2;7703:18;43257:218:0;7584:203:1;42698:400:0;;;;;;;;;;-1:-1:-1;42698:400:0;;;;;:::i;:::-;;:::i;:::-;;68668:45;;;;;;;;;;;;68712:1;68668:45;;32525:323;;;;;;;;;;-1:-1:-1;71831:1:0;32799:12;32586:7;32783:13;:28;-1:-1:-1;;32783:46:0;32525:323;;68898:38;;;;;;;;;;-1:-1:-1;68898:38:0;;;;;;;;;;;46964:2817;;;;;;;;;;-1:-1:-1;46964:2817:0;;;;;:::i;:::-;;:::i;71290:136::-;;;;;;;;;;-1:-1:-1;71290:136:0;;;;;:::i;:::-;;:::i;68770:41::-;;;;;;;;;;;;68807:4;68770:41;;49877:185;;;;;;;;;;-1:-1:-1;49877:185:0;;;;;:::i;:::-;;:::i;71848:279::-;;;;;;;;;;-1:-1:-1;71848:279:0;;;;;:::i;:::-;;:::i;70943:106::-;;;;;;;;;;-1:-1:-1;70943:106:0;;;;;:::i;:::-;;:::i;68865:26::-;;;;;;;;;;-1:-1:-1;68865:26:0;;;;;;;;68720:43;;;;;;;;;;;;;;;;38167:152;;;;;;;;;;-1:-1:-1;38167:152:0;;;;;:::i;:::-;;:::i;68558:46::-;;;;;;;;;;;;68601:3;68558:46;;33709:233;;;;;;;;;;-1:-1:-1;33709:233:0;;;;;:::i;:::-;;:::i;16620:103::-;;;;;;;;;;;;;:::i;68818:38::-;;;;;;;;;;;;;;;;15972:87;;;;;;;;;;-1:-1:-1;16045:6:0;;-1:-1:-1;;;;;16045:6:0;15972:87;;36950:104;;;;;;;;;;;;;:::i;69186:1336::-;;;;;;:::i;:::-;;:::i;43815:308::-;;;;;;;;;;-1:-1:-1;43815:308:0;;;;;:::i;:::-;;:::i;50660:399::-;;;;;;;;;;-1:-1:-1;50660:399:0;;;;;:::i;:::-;;:::i;71434:293::-;;;;;;;;;;-1:-1:-1;71434:293:0;;;;;:::i;:::-;;:::i;70532:403::-;;;;;;;;;;-1:-1:-1;70532:403:0;;;;;:::i;:::-;;:::i;72135:95::-;;;;;;;;;;-1:-1:-1;72135:95:0;;;;;:::i;:::-;;:::i;71165:113::-;;;;;;;;;;-1:-1:-1;71165:113:0;;;;;:::i;:::-;;:::i;44280:164::-;;;;;;;;;;-1:-1:-1;44280:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;44401:25:0;;;44377:4;44401:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;44280:164;16878:201;;;;;;;;;;-1:-1:-1;16878:201:0;;;;;:::i;:::-;;:::i;35872:639::-;35957:4;-1:-1:-1;;;;;;;;;36281:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;36358:25:0;;;36281:102;:179;;;-1:-1:-1;;;;;;;;;;36435:25:0;;;36281:179;36261:199;35872:639;-1:-1:-1;;35872:639:0:o;36774:100::-;36828:13;36861:5;36854:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36774:100;:::o;43257:218::-;43333:7;43358:16;43366:7;43358;:16::i;:::-;43353:64;;43383:34;;-1:-1:-1;;;43383:34:0;;;;;;;;;;;43353:64;-1:-1:-1;43437:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;43437:30:0;;43257:218::o;42698:400::-;42779:13;42795:16;42803:7;42795;:16::i;:::-;42779:32;-1:-1:-1;66555:10:0;-1:-1:-1;;;;;42828:28:0;;;42824:175;;42876:44;42893:5;66555:10;44280:164;:::i;42876:44::-;42871:128;;42948:35;;-1:-1:-1;;;42948:35:0;;;;;;;;;;;42871:128;43011:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;43011:35:0;-1:-1:-1;;;;;43011:35:0;;;;;;;;;43062:28;;43011:24;;43062:28;;;;;;;42768:330;42698:400;;:::o;46964:2817::-;47098:27;47128;47147:7;47128:18;:27::i;:::-;47098:57;;47213:4;-1:-1:-1;;;;;47172:45:0;47188:19;-1:-1:-1;;;;;47172:45:0;;47168:86;;47226:28;;-1:-1:-1;;;47226:28:0;;;;;;;;;;;47168:86;47268:27;46078:24;;;:15;:24;;;;;46300:26;;66555:10;45703:30;;;-1:-1:-1;;;;;45396:28:0;;45681:20;;;45678:56;47454:180;;47547:43;47564:4;66555:10;44280:164;:::i;47547:43::-;47542:92;;47599:35;;-1:-1:-1;;;47599:35:0;;;;;;;;;;;47542:92;-1:-1:-1;;;;;47651:16:0;;47647:52;;47676:23;;-1:-1:-1;;;47676:23:0;;;;;;;;;;;47647:52;47848:15;47845:160;;;47988:1;47967:19;47960:30;47845:160;-1:-1:-1;;;;;48385:24:0;;;;;;;:18;:24;;;;;;48383:26;;-1:-1:-1;;48383:26:0;;;48454:22;;;;;;;;;48452:24;;-1:-1:-1;48452:24:0;;;41556:11;41531:23;41527:41;41514:63;-1:-1:-1;;;41514:63:0;48747:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;49042:47:0;;49038:627;;49147:1;49137:11;;49115:19;49270:30;;;:17;:30;;;;;;49266:384;;49408:13;;49393:11;:28;49389:242;;49555:30;;;;:17;:30;;;;;:52;;;49389:242;49096:569;49038:627;49712:7;49708:2;-1:-1:-1;;;;;49693:27:0;49702:4;-1:-1:-1;;;;;49693:27:0;;;;;;;;;;;47087:2694;;;46964:2817;;;:::o;71290:136::-;15858:13;:11;:13::i;:::-;71380:18:::1;:40:::0;;;::::1;;;;-1:-1:-1::0;;71380:40:0;;::::1;::::0;;;::::1;::::0;;71290:136::o;49877:185::-;50015:39;50032:4;50038:2;50042:7;50015:39;;;;;;;;;;;;:16;:39::i;:::-;49877:185;;;:::o;71848:279::-;15858:13;:11;:13::i;:::-;12897:1:::1;13495:7;;:19;;13487:63;;;::::0;-1:-1:-1;;;13487:63:0;;12819:2:1;13487:63:0::1;::::0;::::1;12801:21:1::0;12858:2;12838:18;;;12831:30;12897:33;12877:18;;;12870:61;12948:18;;13487:63:0::1;;;;;;;;;12897:1;13628:7;:18:::0;72037:34:::2;::::0;71986:21:::2;::::0;71968:15:::2;::::0;-1:-1:-1;;;;;72037:14:0;::::2;::::0;71986:21;;71968:15;72037:34;71968:15;72037:34;71986:21;72037:14;:34:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72018:53;;;72090:7;72082:37;;;::::0;-1:-1:-1;;;72082:37:0;;9589:2:1;72082:37:0::2;::::0;::::2;9571:21:1::0;9628:2;9608:18;;;9601:30;-1:-1:-1;;;9647:18:1;;;9640:47;9704:18;;72082:37:0::2;9387:341:1::0;72082:37:0::2;-1:-1:-1::0;;12853:1:0::1;13807:7;:22:::0;-1:-1:-1;71848:279:0:o;70943:106::-;15858:13;:11;:13::i;:::-;71021:20:::1;:7;71031:10:::0;;71021:20:::1;:::i;38167:152::-:0;38239:7;38282:27;38301:7;38282:18;:27::i;33709:233::-;33781:7;-1:-1:-1;;;;;33805:19:0;;33801:60;;33833:28;;-1:-1:-1;;;33833:28:0;;;;;;;;;;;33801:60;-1:-1:-1;;;;;;33879:25:0;;;;;:18;:25;;;;;;27868:13;33879:55;;33709:233::o;16620:103::-;15858:13;:11;:13::i;:::-;16685:30:::1;16712:1;16685:18;:30::i;:::-;16620:103::o:0;36950:104::-;37006:13;37039:7;37032:14;;;;;:::i;69186:1336::-;12897:1;13495:7;;:19;;13487:63;;;;-1:-1:-1;;;13487:63:0;;12819:2:1;13487:63:0;;;12801:21:1;12858:2;12838:18;;;12831:30;12897:33;12877:18;;;12870:61;12948:18;;13487:63:0;12617:355:1;13487:63:0;12897:1;13628:7;:18;69267::::1;::::0;::::1;::::0;::::1;;;69259:54;;;::::0;-1:-1:-1;;;69259:54:0;;13179:2:1;69259:54:0::1;::::0;::::1;13161:21:1::0;13218:2;13198:18;;;13191:30;13257:25;13237:18;;;13230:53;13300:18;;69259:54:0::1;12977:347:1::0;69259:54:0::1;69332:9;69345:10;69332:23;69324:63;;;::::0;-1:-1:-1;;;69324:63:0;;9935:2:1;69324:63:0::1;::::0;::::1;9917:21:1::0;9974:2;9954:18;;;9947:30;10013:29;9993:18;;;9986:57;10060:18;;69324:63:0::1;9733:351:1::0;69324:63:0::1;68712:1;69447:8;69420:24;69433:10;69420:12;:24::i;:::-;:35;;;;:::i;:::-;:56;;69398:133;;;::::0;-1:-1:-1;;;69398:133:0;;10986:2:1;69398:133:0::1;::::0;::::1;10968:21:1::0;11025:2;11005:18;;;10998:30;11064:29;11044:18;;;11037:57;11111:18;;69398:133:0::1;10784:351:1::0;69398:133:0::1;71831:1:::0;32799:12;32586:7;32783:13;68807:4:::1;::::0;69580:8;;32783:28;-1:-1:-1;;32783:46:0;69564:24:::1;;;;:::i;:::-;:38;;69542:109;;;::::0;-1:-1:-1;;;69542:109:0;;10636:2:1;69542:109:0::1;::::0;::::1;10618:21:1::0;10675:2;10655:18;;;10648:30;-1:-1:-1;;;10694:18:1;;;10687:51;10755:18;;69542:109:0::1;10434:345:1::0;69542:109:0::1;69664:13;68601:3;69692:19;;:38;69688:683;;;69747:23;68660:1;69774:24;69787:10;69774:12;:24::i;:::-;:66;69773:160;;69932:1;69773:160;;;69887:24;69900:10;69887:12;:24::i;:::-;69862:49;::::0;68660:1:::1;69862:49;:::i;:::-;69747:186;;70043:15;70031:8;:27;;70030:114;;70117:26;70128:15:::0;70117:8;:26:::1;:::i;:::-;70030:114;;;70087:1;70030:114;69975:12;;:188;;;;:::i;:::-;69950:213;;70235:15;70223:8;:27;;70222:58;;70265:15;70222:58;;;70254:8;70222:58;70180:19;;:115;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;69688:683:0::1;::::0;-1:-1:-1;;69688:683:0::1;;70351:8;70336:12;;:23;;;;:::i;:::-;70328:31;;69688:683;70402:5;70389:9;:18;;70381:47;;;::::0;-1:-1:-1;;;70381:47:0;;10291:2:1;70381:47:0::1;::::0;::::1;10273:21:1::0;10330:2;10310:18;;;10303:30;-1:-1:-1;;;10349:18:1;;;10342:46;10405:18;;70381:47:0::1;10089:340:1::0;70381:47:0::1;70439:31;70449:10;70461:8;70439:9;:31::i;:::-;70486:28;::::0;;70493:10:::1;8459:51:1::0;;8541:2;8526:18;;8519:34;;;70486:28:0::1;::::0;8432:18:1;70486:28:0::1;;;;;;;-1:-1:-1::0;;12853:1:0;13807:7;:22;69186:1336::o;43815:308::-;-1:-1:-1;;;;;43914:31:0;;66555:10;43914:31;43910:61;;;43954:17;;-1:-1:-1;;;43954:17:0;;;;;;;;;;;43910:61;66555:10;43984:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;43984:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;43984:60:0;;;;;;;;;;44060:55;;8704:41:1;;;43984:49:0;;66555:10;44060:55;;8677:18:1;44060:55:0;;;;;;;43815:308;;:::o;50660:399::-;50827:31;50840:4;50846:2;50850:7;50827:12;:31::i;:::-;-1:-1:-1;;;;;50873:14:0;;;:19;50869:183;;50912:56;50943:4;50949:2;50953:7;50962:5;50912:30;:56::i;:::-;50907:145;;50996:40;;-1:-1:-1;;;50996:40:0;;;;;;;;;;;50907:145;50660:399;;;;:::o;71434:293::-;15858:13;:11;:13::i;:::-;71549:1:::1;71538:8;:12;71522:65;;;::::0;-1:-1:-1;;;71522:65:0;;12471:2:1;71522:65:0::1;::::0;::::1;12453:21:1::0;12510:2;12490:18;;;12483:30;-1:-1:-1;;;12529:18:1;;;12522:49;12588:18;;71522:65:0::1;12269:343:1::0;71522:65:0::1;71831:1:::0;32799:12;32586:7;32783:13;68807:4:::1;::::0;71626:8;;32783:28;-1:-1:-1;;32783:46:0;71610:24:::1;;;;:::i;:::-;:38;;71594:95;;;::::0;-1:-1:-1;;;71594:95:0;;11342:2:1;71594:95:0::1;::::0;::::1;11324:21:1::0;11381:2;11361:18;;;11354:30;11420:25;11400:18;;;11393:53;11463:18;;71594:95:0::1;11140:347:1::0;71594:95:0::1;71696:25;71706:4;71712:8;71696:9;:25::i;:::-;71434:293:::0;;:::o;70532:403::-;70651:13;70704:17;70712:8;70704:7;:17::i;:::-;70682:114;;;;-1:-1:-1;;;70682:114:0;;12055:2:1;70682:114:0;;;12037:21:1;12094:2;12074:18;;;12067:30;12133:34;12113:18;;;12106:62;-1:-1:-1;;;12184:18:1;;;12177:45;12239:19;;70682:114:0;11853:411:1;70682:114:0;70869:7;70883:19;:8;:17;:19::i;:::-;70852:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70807:120;;70532:403;;;:::o;72135:95::-;15858:13;:11;:13::i;:::-;72200:12:::1;:22:::0;72135:95::o;71165:113::-;-1:-1:-1;;;;;34113:25:0;;71223:7;34113:25;;;:18;:25;;28006:2;34113:25;;;;27868:13;34113:50;;34112:82;71250:20;34024:178;16878:201;15858:13;:11;:13::i;:::-;-1:-1:-1;;;;;16967:22:0;::::1;16959:73;;;::::0;-1:-1:-1;;;16959:73:0;;9182:2:1;16959:73:0::1;::::0;::::1;9164:21:1::0;9221:2;9201:18;;;9194:30;9260:34;9240:18;;;9233:62;-1:-1:-1;;;9311:18:1;;;9304:36;9357:19;;16959:73:0::1;8980:402:1::0;16959:73:0::1;17043:28;17062:8;17043:18;:28::i;:::-;16878:201:::0;:::o;44702:282::-;44767:4;44823:7;71831:1;44804:26;;:66;;;;;44857:13;;44847:7;:23;44804:66;:153;;;;-1:-1:-1;;44908:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;44908:44:0;:49;;44702:282::o;39322:1275::-;39389:7;39424;;71831:1;39473:23;39469:1061;;39526:13;;39519:4;:20;39515:1015;;;39564:14;39581:23;;;:17;:23;;;;;;-1:-1:-1;;;39670:24:0;;39666:845;;40335:113;40342:11;40335:113;;-1:-1:-1;;;40413:6:0;40395:25;;;;:17;:25;;;;;;40335:113;;;40481:6;39322:1275;-1:-1:-1;;;39322:1275:0:o;39666:845::-;39541:989;39515:1015;40558:31;;-1:-1:-1;;;40558:31:0;;;;;;;;;;;16137:132;16045:6;;-1:-1:-1;;;;;16045:6:0;66555:10;16201:23;16193:68;;;;-1:-1:-1;;;16193:68:0;;11694:2:1;16193:68:0;;;11676:21:1;;;11713:18;;;11706:30;11772:34;11752:18;;;11745:62;11824:18;;16193:68:0;11492:356:1;17239:191:0;17332:6;;;-1:-1:-1;;;;;17349:17:0;;;-1:-1:-1;;;;;;17349:17:0;;;;;;;17382:40;;17332:6;;;17349:17;17332:6;;17382:40;;17313:16;;17382:40;17302:128;17239:191;:::o;60300:112::-;60377:27;60387:2;60391:8;60377:27;;;;;;;;;;;;:9;:27::i;53143:716::-;53327:88;;-1:-1:-1;;;53327:88:0;;53306:4;;-1:-1:-1;;;;;53327:45:0;;;;;:88;;66555:10;;53394:4;;53400:7;;53409:5;;53327:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53327:88:0;;;;;;;;-1:-1:-1;;53327:88:0;;;;;;;;;;;;:::i;:::-;;;53323:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53610:13:0;;53606:235;;53656:40;;-1:-1:-1;;;53656:40:0;;;;;;;;;;;53606:235;53799:6;53793:13;53784:6;53780:2;53776:15;53769:38;53323:529;-1:-1:-1;;;;;;53486:64:0;-1:-1:-1;;;53486:64:0;;-1:-1:-1;53323:529:0;53143:716;;;;;;:::o;465:723::-;521:13;742:10;738:53;;-1:-1:-1;;769:10:0;;;;;;;;;;;;-1:-1:-1;;;769:10:0;;;;;465:723::o;738:53::-;816:5;801:12;857:78;864:9;;857:78;;890:8;;;;:::i;:::-;;-1:-1:-1;913:10:0;;-1:-1:-1;921:2:0;913:10;;:::i;:::-;;;857:78;;;945:19;977:6;967:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;967:17:0;;945:39;;995:154;1002:10;;995:154;;1029:11;1039:1;1029:11;;:::i;:::-;;-1:-1:-1;1098:10:0;1106:2;1098:5;:10;:::i;:::-;1085:24;;:2;:24;:::i;:::-;1072:39;;1055:6;1062;1055:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1055:56:0;;;;;;;;-1:-1:-1;1126:11:0;1135:2;1126:11;;:::i;:::-;;;995:154;;59527:689;59658:19;59664:2;59668:8;59658:5;:19::i;:::-;-1:-1:-1;;;;;59719:14:0;;;:19;59715:483;;59759:11;59773:13;59821:14;;;59854:233;59885:62;59924:1;59928:2;59932:7;;;;;;59941:5;59885:30;:62::i;:::-;59880:167;;59983:40;;-1:-1:-1;;;59983:40:0;;;;;;;;;;;59880:167;60082:3;60074:5;:11;59854:233;;60169:3;60152:13;;:20;60148:34;;60174:8;;;60148:34;59740:458;;59527:689;;;:::o;54321:2454::-;54394:20;54417:13;54445;54441:44;;54467:18;;-1:-1:-1;;;54467:18:0;;;;;;;;;;;54441:44;-1:-1:-1;;;;;54973:22:0;;;;;;:18;:22;;;;28006:2;54973:22;;;:71;;55011:32;54999:45;;54973:71;;;55287:31;;;:17;:31;;;;;-1:-1:-1;41987:15:0;;41961:24;41957:46;41556:11;41531:23;41527:41;41524:52;41514:63;;55287:173;;55522:23;;;;55287:31;;54973:22;;56021:25;54973:22;;55874:335;56289:1;56275:12;56271:20;56229:346;56330:3;56321:7;56318:16;56229:346;;56548:7;56538:8;56535:1;56508:25;56505:1;56502;56497:59;56383:1;56370:15;56229:346;;;-1:-1:-1;56608:13:0;56604:45;;56630:19;;-1:-1:-1;;;56630:19:0;;;;;;;;;;;56604:45;56666:13;:19;-1:-1:-1;49877:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:160:1;79:20;;135:13;;128:21;118:32;;108:60;;164:1;161;154:12;108:60;14:160;;;:::o;179:247::-;238:6;291:2;279:9;270:7;266:23;262:32;259:52;;;307:1;304;297:12;259:52;346:9;333:23;365:31;390:5;365:31;:::i;691:388::-;759:6;767;820:2;808:9;799:7;795:23;791:32;788:52;;;836:1;833;826:12;788:52;875:9;862:23;894:31;919:5;894:31;:::i;:::-;944:5;-1:-1:-1;1001:2:1;986:18;;973:32;1014:33;973:32;1014:33;:::i;:::-;1066:7;1056:17;;;691:388;;;;;:::o;1084:456::-;1161:6;1169;1177;1230:2;1218:9;1209:7;1205:23;1201:32;1198:52;;;1246:1;1243;1236:12;1198:52;1285:9;1272:23;1304:31;1329:5;1304:31;:::i;:::-;1354:5;-1:-1:-1;1411:2:1;1396:18;;1383:32;1424:33;1383:32;1424:33;:::i;:::-;1084:456;;1476:7;;-1:-1:-1;;;1530:2:1;1515:18;;;;1502:32;;1084:456::o;1545:1266::-;1640:6;1648;1656;1664;1717:3;1705:9;1696:7;1692:23;1688:33;1685:53;;;1734:1;1731;1724:12;1685:53;1773:9;1760:23;1792:31;1817:5;1792:31;:::i;:::-;1842:5;-1:-1:-1;1899:2:1;1884:18;;1871:32;1912:33;1871:32;1912:33;:::i;:::-;1964:7;-1:-1:-1;2018:2:1;2003:18;;1990:32;;-1:-1:-1;2073:2:1;2058:18;;2045:32;2096:18;2126:14;;;2123:34;;;2153:1;2150;2143:12;2123:34;2191:6;2180:9;2176:22;2166:32;;2236:7;2229:4;2225:2;2221:13;2217:27;2207:55;;2258:1;2255;2248:12;2207:55;2294:2;2281:16;2316:2;2312;2309:10;2306:36;;;2322:18;;:::i;:::-;2397:2;2391:9;2365:2;2451:13;;-1:-1:-1;;2447:22:1;;;2471:2;2443:31;2439:40;2427:53;;;2495:18;;;2515:22;;;2492:46;2489:72;;;2541:18;;:::i;:::-;2581:10;2577:2;2570:22;2616:2;2608:6;2601:18;2656:7;2651:2;2646;2642;2638:11;2634:20;2631:33;2628:53;;;2677:1;2674;2667:12;2628:53;2733:2;2728;2724;2720:11;2715:2;2707:6;2703:15;2690:46;2778:1;2773:2;2768;2760:6;2756:15;2752:24;2745:35;2799:6;2789:16;;;;;;;1545:1266;;;;;;;:::o;2816:315::-;2881:6;2889;2942:2;2930:9;2921:7;2917:23;2913:32;2910:52;;;2958:1;2955;2948:12;2910:52;2997:9;2984:23;3016:31;3041:5;3016:31;:::i;:::-;3066:5;-1:-1:-1;3090:35:1;3121:2;3106:18;;3090:35;:::i;:::-;3080:45;;2816:315;;;;;:::o;3136:::-;3204:6;3212;3265:2;3253:9;3244:7;3240:23;3236:32;3233:52;;;3281:1;3278;3271:12;3233:52;3320:9;3307:23;3339:31;3364:5;3339:31;:::i;:::-;3389:5;3441:2;3426:18;;;;3413:32;;-1:-1:-1;;;3136:315:1:o;3456:180::-;3512:6;3565:2;3553:9;3544:7;3540:23;3536:32;3533:52;;;3581:1;3578;3571:12;3533:52;3604:26;3620:9;3604:26;:::i;3641:245::-;3699:6;3752:2;3740:9;3731:7;3727:23;3723:32;3720:52;;;3768:1;3765;3758:12;3720:52;3807:9;3794:23;3826:30;3850:5;3826:30;:::i;3891:249::-;3960:6;4013:2;4001:9;3992:7;3988:23;3984:32;3981:52;;;4029:1;4026;4019:12;3981:52;4061:9;4055:16;4080:30;4104:5;4080:30;:::i;4145:592::-;4216:6;4224;4277:2;4265:9;4256:7;4252:23;4248:32;4245:52;;;4293:1;4290;4283:12;4245:52;4333:9;4320:23;4362:18;4403:2;4395:6;4392:14;4389:34;;;4419:1;4416;4409:12;4389:34;4457:6;4446:9;4442:22;4432:32;;4502:7;4495:4;4491:2;4487:13;4483:27;4473:55;;4524:1;4521;4514:12;4473:55;4564:2;4551:16;4590:2;4582:6;4579:14;4576:34;;;4606:1;4603;4596:12;4576:34;4651:7;4646:2;4637:6;4633:2;4629:15;4625:24;4622:37;4619:57;;;4672:1;4669;4662:12;4619:57;4703:2;4695:11;;;;;4725:6;;-1:-1:-1;4145:592:1;;-1:-1:-1;;;;4145:592:1:o;4742:180::-;4801:6;4854:2;4842:9;4833:7;4829:23;4825:32;4822:52;;;4870:1;4867;4860:12;4822:52;-1:-1:-1;4893:23:1;;4742:180;-1:-1:-1;4742:180:1:o;4927:315::-;4995:6;5003;5056:2;5044:9;5035:7;5031:23;5027:32;5024:52;;;5072:1;5069;5062:12;5024:52;5108:9;5095:23;5085:33;;5168:2;5157:9;5153:18;5140:32;5181:31;5206:5;5181:31;:::i;5247:257::-;5288:3;5326:5;5320:12;5353:6;5348:3;5341:19;5369:63;5425:6;5418:4;5413:3;5409:14;5402:4;5395:5;5391:16;5369:63;:::i;:::-;5486:2;5465:15;-1:-1:-1;;5461:29:1;5452:39;;;;5493:4;5448:50;;5247:257;-1:-1:-1;;5247:257:1:o;5509:185::-;5551:3;5589:5;5583:12;5604:52;5649:6;5644:3;5637:4;5630:5;5626:16;5604:52;:::i;:::-;5672:16;;;;;5509:185;-1:-1:-1;;5509:185:1:o;5936:1433::-;6314:3;6343:1;6376:6;6370:13;6406:3;6428:1;6456:9;6452:2;6448:18;6438:28;;6516:2;6505:9;6501:18;6538;6528:61;;6582:4;6574:6;6570:17;6560:27;;6528:61;6608:2;6656;6648:6;6645:14;6625:18;6622:38;6619:165;;;-1:-1:-1;;;6683:33:1;;6739:4;6736:1;6729:15;6769:4;6690:3;6757:17;6619:165;6800:18;6827:104;;;;6945:1;6940:320;;;;6793:467;;6827:104;-1:-1:-1;;6860:24:1;;6848:37;;6905:16;;;;-1:-1:-1;6827:104:1;;6940:320;13584:1;13577:14;;;13621:4;13608:18;;7035:1;7049:165;7063:6;7060:1;7057:13;7049:165;;;7141:14;;7128:11;;;7121:35;7184:16;;;;7078:10;;7049:165;;;7053:3;;7243:6;7238:3;7234:16;7227:23;;6793:467;;;;;;;7276:87;7301:61;7327:34;7357:3;-1:-1:-1;;;5882:16:1;;5923:1;5914:11;;5817:114;7327:34;7319:6;7301:61;:::i;:::-;-1:-1:-1;;;5759:20:1;;5804:1;5795:11;;5699:113;7276:87;7269:94;5936:1433;-1:-1:-1;;;;;5936:1433:1:o;7792:488::-;-1:-1:-1;;;;;8061:15:1;;;8043:34;;8113:15;;8108:2;8093:18;;8086:43;8160:2;8145:18;;8138:34;;;8208:3;8203:2;8188:18;;8181:31;;;7986:4;;8229:45;;8254:19;;8246:6;8229:45;:::i;:::-;8221:53;7792:488;-1:-1:-1;;;;;;7792:488:1:o;8756:219::-;8905:2;8894:9;8887:21;8868:4;8925:44;8965:2;8954:9;8950:18;8942:6;8925:44;:::i;13637:128::-;13677:3;13708:1;13704:6;13701:1;13698:13;13695:39;;;13714:18;;:::i;:::-;-1:-1:-1;13750:9:1;;13637:128::o;13770:120::-;13810:1;13836;13826:35;;13841:18;;:::i;:::-;-1:-1:-1;13875:9:1;;13770:120::o;13895:168::-;13935:7;14001:1;13997;13993:6;13989:14;13986:1;13983:21;13978:1;13971:9;13964:17;13960:45;13957:71;;;14008:18;;:::i;:::-;-1:-1:-1;14048:9:1;;13895:168::o;14068:125::-;14108:4;14136:1;14133;14130:8;14127:34;;;14141:18;;:::i;:::-;-1:-1:-1;14178:9:1;;14068:125::o;14198:258::-;14270:1;14280:113;14294:6;14291:1;14288:13;14280:113;;;14370:11;;;14364:18;14351:11;;;14344:39;14316:2;14309:10;14280:113;;;14411:6;14408:1;14405:13;14402:48;;;-1:-1:-1;;14446:1:1;14428:16;;14421:27;14198:258::o;14461:380::-;14540:1;14536:12;;;;14583;;;14604:61;;14658:4;14650:6;14646:17;14636:27;;14604:61;14711:2;14703:6;14700:14;14680:18;14677:38;14674:161;;;14757:10;14752:3;14748:20;14745:1;14738:31;14792:4;14789:1;14782:15;14820:4;14817:1;14810:15;14674:161;;14461:380;;;:::o;14846:135::-;14885:3;-1:-1:-1;;14906:17:1;;14903:43;;;14926:18;;:::i;:::-;-1:-1:-1;14973:1:1;14962:13;;14846:135::o;14986:112::-;15018:1;15044;15034:35;;15049:18;;:::i;:::-;-1:-1:-1;15083:9:1;;14986:112::o;15103:127::-;15164:10;15159:3;15155:20;15152:1;15145:31;15195:4;15192:1;15185:15;15219:4;15216:1;15209:15;15235:127;15296:10;15291:3;15287:20;15284:1;15277:31;15327:4;15324:1;15317:15;15351:4;15348:1;15341:15;15367:127;15428:10;15423:3;15419:20;15416:1;15409:31;15459:4;15456:1;15449:15;15483:4;15480:1;15473:15;15499:127;15560:10;15555:3;15551:20;15548:1;15541:31;15591:4;15588:1;15581:15;15615:4;15612:1;15605:15;15631:131;-1:-1:-1;;;;;15706:31:1;;15696:42;;15686:70;;15752:1;15749;15742:12;15767:131;-1:-1:-1;;;;;;15841:32:1;;15831:43;;15821:71;;15888:1;15885;15878:12

Swarm Source

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