ETH Price: $3,821.35 (+5.75%)

Token

Harakai! (HARAKAI!)
 

Overview

Max Total Supply

777 HARAKAI!

Holders

416

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 HARAKAI!
0xcaacf9b302287837993eb5db055d4ff9c214fcd9
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

777 stylish Apprentices on the blockchain leaving their impact along the way. We intend to achieve good with our cause, therefore 50% of our Royalties belong to Charity. Our Apprentices will enjoy certain benefits and will decide where to allocate these funds.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Harakai

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-07
*/

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


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

pragma solidity ^0.8.0;

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

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: @openzeppelin/contracts/utils/math/SafeMath.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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


// ERC721A Contracts v4.2.0
// 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: contracts/ERC721A.sol


// ERC721A Contracts v4.2.0
// 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 ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 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: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for {
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp {
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } {
                // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}
// 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: contracts/HRKI.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;








contract Harakai is ERC721A, Ownable {
    using SafeMath for uint256;

    error YouCannotClaimTwice();
    error NoContracts();
    error InsufficentFundsForMint();
    error MintWouldExceedAllowedForIndvidualInWhitelist();
    error InvalidAmountToBeMinted();
    error NotPrelisted();
    error MintWouldExceedMaxSupply();
    error PublicSaleInactive();
    error PreSaleInactive();

    string private _baseTokenURI =
        "ipfs://QmTRbCM1iG7sDFUaH7vHect8vb9ycfrXtX87NmYzCaLVm3/";
   
    uint256 public constant maxSupply = 777;

    bool private publicSale;
    bool private preSale;

    bytes32 private presaleMerkleRoot;

    constructor() ERC721A("Harakai!", "HARAKAI!") {
        _mint(msg.sender,50);
        _mint(0x571C18e700cfed4FA1BE6e179770e643987475E0,25);
        _mint(0x1F6EfED745836A03975aa5924B3C5bDa21262fc4,20);
        _mint(0x444481136f7f3A8a6940ff256544fe105Cd284E9,1);
        _mint(0x62F5E7837a7b4eA4A4174e78FE78f5fC029B3AeB,1);
        _mint(0x211dbD6D9c448F7727B4aDa89d0b936e6741A9B1,2);
        _mint(0xFaa4f13867665e54dE10bBd6f0B338fBc9cD8c95,1);
        _mint(0xe9fE2AA3e59E759876A1986F91f37de3b3Be8ac9,1);
        _mint(0xCAaCF9B302287837993Eb5DB055d4FF9c214fcd9,1);
        _mint(0x543EA3B6ac7b23101354fac7DB2fCc2360881c7B,1);
        _mint(0x1F7a5288C948d391A7Fc5F37fF5F0128530a3F4f,1);
        _mint(0xdB29dA6c180D5396514725FE392defFA5B77A3cA,1);
        _mint(0x01503DC708ce3C55017194847A07aCb679D49f47,1);
        _mint(0xee43B92b789a59A8855C849A84272f1933D28439,1);
        _mint(0x557a5bf27885cB528f57e287D9BBc38f9dCD6430,1);
        _mint(0x37c47fA92c1A7a65D56D6Efa5B1799cDB7100e2e,1);
        _mint(0xd0017A0044EE74D5b1D2feffBcAEFF090A9Aa6Ca,1);
        _mint(0xaEBB58C8a0dA9866Ec673397DB66c57aF880CFa2,1);
        _mint(0x55c3121077D9F33b9Ed04bc6723f2A210f8B472C,1);
        _mint(0x246774d486B946Fb8ecB123866B5e46699aBad64,1);
        _mint(0x4A822F418842bD4136807fAdB3249eEc4A6c827e,1);
        }

    modifier callerIsUser() {
        if (msg.sender != tx.origin) revert NoContracts();
        _;
    }

    function viewPerWalletLimit() external pure returns (uint8) {
        return 1;
    }

    function mint() external callerIsUser {
        uint256 ts = totalSupply();
        if (!publicSale) revert PublicSaleInactive();
        if (ts + 1 > maxSupply) revert MintWouldExceedMaxSupply();
        if (_numberMinted(msg.sender) + 1 > 1)
            revert InvalidAmountToBeMinted();

        _mint(msg.sender, 1);
    }

    function presaleMint(bytes32[] calldata _studentProof)
        external
        callerIsUser
    {
        uint256 ts = totalSupply();
        if (!preSale) revert PreSaleInactive();
        if (ts + 1 > maxSupply)
            revert MintWouldExceedMaxSupply();
        if (
            !MerkleProof.verify(
                _studentProof,
                presaleMerkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            )
        ) revert NotPrelisted();
        if (_numberMinted(msg.sender) + 1 > 1)
            revert MintWouldExceedAllowedForIndvidualInWhitelist();

        _mint(msg.sender, 1);
    }

    function setPresaleMerkleRoot(bytes32 _presaleMerkleRoot)
        external
        onlyOwner
    {
        presaleMerkleRoot = _presaleMerkleRoot;
    }

    function isValid(address _user, bytes32[] calldata _studentProof)
        external
        view
        returns (bool)
    {
        return
            MerkleProof.verify(
                _studentProof,
                presaleMerkleRoot,
                keccak256(abi.encodePacked(_user))
            );

    }

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

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }
    
    function isPublicSaleActive() external view returns (bool) {
        return publicSale;
    }

    function isPreSaleActive() external view returns (bool) {
        return preSale;
    }

    function togglePreSaleActive() external onlyOwner {
        preSale = !preSale;
    }

    function togglePublicSaleActive() external onlyOwner {
        publicSale = !publicSale;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"InsufficentFundsForMint","type":"error"},{"inputs":[],"name":"InvalidAmountToBeMinted","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintWouldExceedAllowedForIndvidualInWhitelist","type":"error"},{"inputs":[],"name":"MintWouldExceedMaxSupply","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NoContracts","type":"error"},{"inputs":[],"name":"NotPrelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PreSaleInactive","type":"error"},{"inputs":[],"name":"PublicSaleInactive","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"},{"inputs":[],"name":"YouCannotClaimTwice","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"isPreSaleActive","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":"address","name":"_user","type":"address"},{"internalType":"bytes32[]","name":"_studentProof","type":"bytes32[]"}],"name":"isValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_studentProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"nonpayable","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_presaleMerkleRoot","type":"bytes32"}],"name":"setPresaleMerkleRoot","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":[],"name":"togglePreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"viewPerWalletLimit","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"}]

60e0604052603660808181529062001c5b60a039805162000029916009916020909101906200048c565b503480156200003757600080fd5b5060405180604001604052806008815260200167486172616b61692160c01b81525060405180604001604052806008815260200167484152414b41492160c01b8152508160029080519060200190620000929291906200048c565b508051620000a89060039060208401906200048c565b50506000805550620000ba3362000361565b620000c7336032620003b3565b620000e873571c18e700cfed4fa1be6e179770e643987475e06019620003b3565b62000109731f6efed745836a03975aa5924b3c5bda21262fc46014620003b3565b6200012a73444481136f7f3a8a6940ff256544fe105cd284e96001620003b3565b6200014b7362f5e7837a7b4ea4a4174e78fe78f5fc029b3aeb6001620003b3565b6200016c73211dbd6d9c448f7727b4ada89d0b936e6741a9b16002620003b3565b6200018d73faa4f13867665e54de10bbd6f0b338fbc9cd8c956001620003b3565b620001ae73e9fe2aa3e59e759876a1986f91f37de3b3be8ac96001620003b3565b620001cf73caacf9b302287837993eb5db055d4ff9c214fcd96001620003b3565b620001f073543ea3b6ac7b23101354fac7db2fcc2360881c7b6001620003b3565b62000211731f7a5288c948d391a7fc5f37ff5f0128530a3f4f6001620003b3565b6200023273db29da6c180d5396514725fe392deffa5b77a3ca6001620003b3565b620002537301503dc708ce3c55017194847a07acb679d49f476001620003b3565b6200027473ee43b92b789a59a8855c849a84272f1933d284396001620003b3565b6200029573557a5bf27885cb528f57e287d9bbc38f9dcd64306001620003b3565b620002b67337c47fa92c1a7a65d56d6efa5b1799cdb7100e2e6001620003b3565b620002d773d0017a0044ee74d5b1d2feffbcaeff090a9aa6ca6001620003b3565b620002f873aebb58c8a0da9866ec673397db66c57af880cfa26001620003b3565b620003197355c3121077d9f33b9ed04bc6723f2a210f8b472c6001620003b3565b6200033a73246774d486b946fb8ecb123866b5e46699abad646001620003b3565b6200035b734a822f418842bd4136807fadb3249eec4a6c827e6001620003b3565b6200056f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60005481620003d55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b1783179055828401908390839060008051602062001c918339815191528180a4600183015b81811462000464578083600060008051602062001c91833981519152600080a46001016200043b565b50816200048357604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546200049a9062000532565b90600052602060002090601f016020900481019282620004be576000855562000509565b82601f10620004d957805160ff191683800117855562000509565b8280016001018555821562000509579182015b8281111562000509578251825591602001919060010190620004ec565b50620005179291506200051b565b5090565b5b808211156200051757600081556001016200051c565b600181811c908216806200054757607f821691505b602082108114156200056957634e487b7160e01b600052602260045260246000fd5b50919050565b6116dc806200057f6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806355f804b3116100f9578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461037d578063e985e9c514610386578063edc0c72c146103c2578063f2fde38b146103d557600080fd5b8063a22cb46514610344578063b88d4fde14610357578063c87b56dd1461036a57600080fd5b8063715018a6116100d3578063715018a6146103135780638da5cb5b1461031b57806395d89b411461032c5780639d044ed31461033457600080fd5b806355f804b3146102da5780636352211e146102ed57806370a082311461030057600080fd5b80631249c58b1161016657806323b872dd1161014057806323b872dd1461029257806328d7b276146102a557806342842e0e146102b85780634f2dfc8b146102cb57600080fd5b80631249c58b1461026957806318160ddd146102715780631e84c4131461028757600080fd5b8063081812fc116101a2578063081812fc14610210578063095ea7b31461023b5780630c894cfe1461024e5780630fc920961461025657600080fd5b806301ffc9a7146101c957806303cdfe26146101f157806306fdde03146101fb575b600080fd5b6101dc6101d736600461145d565b6103e8565b60405190151581526020015b60405180910390f35b6101f961043a565b005b61020361045f565b6040516101e891906115a1565b61022361021e366004611444565b6104f1565b6040516001600160a01b0390911681526020016101e8565b6101f96102493660046113d8565b610535565b6101f96105d5565b6101dc610264366004611349565b6105f1565b6101f9610672565b600154600054035b6040519081526020016101e8565b600a5460ff166101dc565b6101f96102a0366004611231565b61074c565b6101f96102b3366004611444565b6108dd565b6101f96102c6366004611231565b6108ea565b604051600181526020016101e8565b6101f96102e8366004611497565b61090a565b6102236102fb366004611444565b61091e565b61027961030e3660046111e3565b610929565b6101f9610978565b6008546001600160a01b0316610223565b61020361098c565b600a54610100900460ff166101dc565b6101f961035236600461139c565b61099b565b6101f961036536600461126d565b610a31565b610203610378366004611444565b610a7b565b61027961030981565b6101dc6103943660046111fe565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101f96103d0366004611402565b610b00565b6101f96103e33660046111e3565b610c58565b60006301ffc9a760e01b6001600160e01b03198316148061041957506380ac58cd60e01b6001600160e01b03198316145b806104345750635b5e139f60e01b6001600160e01b03198316145b92915050565b610442610cd3565b600a805461ff001981166101009182900460ff1615909102179055565b60606002805461046e906115f8565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906115f8565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b60006104fc82610d2d565b610519576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105408261091e565b9050336001600160a01b038216146105795761055c8133610394565b610579576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6105dd610cd3565b600a805460ff19811660ff90911615179055565b600061066a83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff1960608b901b16602082015290925060340190505b60405160208183030381529060405280519060200120610d54565b949350505050565b3332146106925760405163875fdad760e01b815260040160405180910390fd5b60006106a16001546000540390565b600a5490915060ff166106c757604051633167946760e21b815260040160405180910390fd5b6103096106d58260016115b4565b11156106f457604051630f3ebdcd60e41b815260040160405180910390fd5b3360009081526005602052604090819020546001911c67ffffffffffffffff1661071f9060016115b4565b111561073e5760405163148f67a560e11b815260040160405180910390fd5b610749336001610d6a565b50565b600061075782610e61565b9050836001600160a01b0316816001600160a01b03161461078a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107d7576107ba8633610394565b6107d757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107fe57604051633a954ecd60e21b815260040160405180910390fd5b801561080957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661089457600184016000818152600460205260409020546108925760005481146108925760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108e5610cd3565b600b55565b61090583838360405180602001604052806000815250610a31565b505050565b610912610cd3565b610905600983836110e2565b600061043482610e61565b60006001600160a01b038216610952576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610980610cd3565b61098a6000610ec2565b565b60606003805461046e906115f8565b6001600160a01b0382163314156109c55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a3c84848461074c565b6001600160a01b0383163b15610a7557610a5884848484610f14565b610a75576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a8682610d2d565b610aa357604051630a14c4b560e41b815260040160405180910390fd5b6000610aad61100b565b9050805160001415610ace5760405180602001604052806000815250610af9565b80610ad88461101a565b604051602001610ae9929190611535565b6040516020818303038152906040525b9392505050565b333214610b205760405163875fdad760e01b815260040160405180910390fd5b6000610b2f6001546000540390565b600a54909150610100900460ff16610b5a5760405163fc7d083760e01b815260040160405180910390fd5b610309610b688260016115b4565b1115610b8757604051630f3ebdcd60e41b815260040160405180910390fd5b610be683838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905061064f565b610c035760405163ce43785f60e01b815260040160405180910390fd5b3360009081526005602052604090819020546001911c67ffffffffffffffff16610c2e9060016115b4565b1115610c4d5760405163099dd24760e01b815260040160405180910390fd5b610905336001610d6a565b610c60610cd3565b6001600160a01b038116610cca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61074981610ec2565b6008546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc1565b6000805482108015610434575050600090815260046020526040902054600160e01b161590565b600082610d618584611069565b14949350505050565b60005481610d8b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e3a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610e02565b5081610e5857604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081600054811015610ea957600081815260046020526040902054600160e01b8116610ea7575b80610af9575060001901600081815260046020526040902054610e89565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f49903390899088908890600401611564565b602060405180830381600087803b158015610f6357600080fd5b505af1925050508015610f93575060408051601f3d908101601f19168201909252610f909181019061147a565b60015b610fee573d808015610fc1576040519150601f19603f3d011682016040523d82523d6000602084013e610fc6565b606091505b508051610fe6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606009805461046e906115f8565b604080516080810191829052607f0190826030600a8206018353600a90045b801561105757600183039250600a81066030018353600a9004611039565b50819003601f19909101908152919050565b600081815b84518110156110ae5761109a8286838151811061108d5761108d611664565b60200260200101516110b6565b9150806110a681611633565b91505061106e565b509392505050565b60008183106110d2576000828152602084905260409020610af9565b5060009182526020526040902090565b8280546110ee906115f8565b90600052602060002090601f0160209004810192826111105760008555611156565b82601f106111295782800160ff19823516178555611156565b82800160010185558215611156579182015b8281111561115657823582559160200191906001019061113b565b50611162929150611166565b5090565b5b808211156111625760008155600101611167565b80356001600160a01b038116811461119257600080fd5b919050565b60008083601f8401126111a957600080fd5b50813567ffffffffffffffff8111156111c157600080fd5b6020830191508360208260051b85010111156111dc57600080fd5b9250929050565b6000602082840312156111f557600080fd5b610af98261117b565b6000806040838503121561121157600080fd5b61121a8361117b565b91506112286020840161117b565b90509250929050565b60008060006060848603121561124657600080fd5b61124f8461117b565b925061125d6020850161117b565b9150604084013590509250925092565b6000806000806080858703121561128357600080fd5b61128c8561117b565b935061129a6020860161117b565b925060408501359150606085013567ffffffffffffffff808211156112be57600080fd5b818701915087601f8301126112d257600080fd5b8135818111156112e4576112e461167a565b604051601f8201601f19908116603f0116810190838211818310171561130c5761130c61167a565b816040528281528a602084870101111561132557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561135e57600080fd5b6113678461117b565b9250602084013567ffffffffffffffff81111561138357600080fd5b61138f86828701611197565b9497909650939450505050565b600080604083850312156113af57600080fd5b6113b88361117b565b9150602083013580151581146113cd57600080fd5b809150509250929050565b600080604083850312156113eb57600080fd5b6113f48361117b565b946020939093013593505050565b6000806020838503121561141557600080fd5b823567ffffffffffffffff81111561142c57600080fd5b61143885828601611197565b90969095509350505050565b60006020828403121561145657600080fd5b5035919050565b60006020828403121561146f57600080fd5b8135610af981611690565b60006020828403121561148c57600080fd5b8151610af981611690565b600080602083850312156114aa57600080fd5b823567ffffffffffffffff808211156114c257600080fd5b818501915085601f8301126114d657600080fd5b8135818111156114e557600080fd5b8660208285010111156114f757600080fd5b60209290920196919550909350505050565b600081518084526115218160208601602086016115cc565b601f01601f19169290920160200192915050565b600083516115478184602088016115cc565b83519083019061155b8183602088016115cc565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061159790830184611509565b9695505050505050565b602081526000610af96020830184611509565b600082198211156115c7576115c761164e565b500190565b60005b838110156115e75781810151838201526020016115cf565b83811115610a755750506000910152565b600181811c9082168061160c57607f821691505b6020821081141561162d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116475761164761164e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461074957600080fdfea26469706673582212207b2a40b9d47f6be30e83db50fd417ead570eb123330f7aa5d689f483a89823df64736f6c63430008070033697066733a2f2f516d545262434d31694737734446556148377648656374387662397963667258745838374e6d597a43614c566d332fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806355f804b3116100f9578063a22cb46511610097578063d5abeb0111610071578063d5abeb011461037d578063e985e9c514610386578063edc0c72c146103c2578063f2fde38b146103d557600080fd5b8063a22cb46514610344578063b88d4fde14610357578063c87b56dd1461036a57600080fd5b8063715018a6116100d3578063715018a6146103135780638da5cb5b1461031b57806395d89b411461032c5780639d044ed31461033457600080fd5b806355f804b3146102da5780636352211e146102ed57806370a082311461030057600080fd5b80631249c58b1161016657806323b872dd1161014057806323b872dd1461029257806328d7b276146102a557806342842e0e146102b85780634f2dfc8b146102cb57600080fd5b80631249c58b1461026957806318160ddd146102715780631e84c4131461028757600080fd5b8063081812fc116101a2578063081812fc14610210578063095ea7b31461023b5780630c894cfe1461024e5780630fc920961461025657600080fd5b806301ffc9a7146101c957806303cdfe26146101f157806306fdde03146101fb575b600080fd5b6101dc6101d736600461145d565b6103e8565b60405190151581526020015b60405180910390f35b6101f961043a565b005b61020361045f565b6040516101e891906115a1565b61022361021e366004611444565b6104f1565b6040516001600160a01b0390911681526020016101e8565b6101f96102493660046113d8565b610535565b6101f96105d5565b6101dc610264366004611349565b6105f1565b6101f9610672565b600154600054035b6040519081526020016101e8565b600a5460ff166101dc565b6101f96102a0366004611231565b61074c565b6101f96102b3366004611444565b6108dd565b6101f96102c6366004611231565b6108ea565b604051600181526020016101e8565b6101f96102e8366004611497565b61090a565b6102236102fb366004611444565b61091e565b61027961030e3660046111e3565b610929565b6101f9610978565b6008546001600160a01b0316610223565b61020361098c565b600a54610100900460ff166101dc565b6101f961035236600461139c565b61099b565b6101f961036536600461126d565b610a31565b610203610378366004611444565b610a7b565b61027961030981565b6101dc6103943660046111fe565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101f96103d0366004611402565b610b00565b6101f96103e33660046111e3565b610c58565b60006301ffc9a760e01b6001600160e01b03198316148061041957506380ac58cd60e01b6001600160e01b03198316145b806104345750635b5e139f60e01b6001600160e01b03198316145b92915050565b610442610cd3565b600a805461ff001981166101009182900460ff1615909102179055565b60606002805461046e906115f8565b80601f016020809104026020016040519081016040528092919081815260200182805461049a906115f8565b80156104e75780601f106104bc576101008083540402835291602001916104e7565b820191906000526020600020905b8154815290600101906020018083116104ca57829003601f168201915b5050505050905090565b60006104fc82610d2d565b610519576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006105408261091e565b9050336001600160a01b038216146105795761055c8133610394565b610579576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6105dd610cd3565b600a805460ff19811660ff90911615179055565b600061066a83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff1960608b901b16602082015290925060340190505b60405160208183030381529060405280519060200120610d54565b949350505050565b3332146106925760405163875fdad760e01b815260040160405180910390fd5b60006106a16001546000540390565b600a5490915060ff166106c757604051633167946760e21b815260040160405180910390fd5b6103096106d58260016115b4565b11156106f457604051630f3ebdcd60e41b815260040160405180910390fd5b3360009081526005602052604090819020546001911c67ffffffffffffffff1661071f9060016115b4565b111561073e5760405163148f67a560e11b815260040160405180910390fd5b610749336001610d6a565b50565b600061075782610e61565b9050836001600160a01b0316816001600160a01b03161461078a5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176107d7576107ba8633610394565b6107d757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166107fe57604051633a954ecd60e21b815260040160405180910390fd5b801561080957600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b831661089457600184016000818152600460205260409020546108925760005481146108925760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6108e5610cd3565b600b55565b61090583838360405180602001604052806000815250610a31565b505050565b610912610cd3565b610905600983836110e2565b600061043482610e61565b60006001600160a01b038216610952576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610980610cd3565b61098a6000610ec2565b565b60606003805461046e906115f8565b6001600160a01b0382163314156109c55760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610a3c84848461074c565b6001600160a01b0383163b15610a7557610a5884848484610f14565b610a75576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a8682610d2d565b610aa357604051630a14c4b560e41b815260040160405180910390fd5b6000610aad61100b565b9050805160001415610ace5760405180602001604052806000815250610af9565b80610ad88461101a565b604051602001610ae9929190611535565b6040516020818303038152906040525b9392505050565b333214610b205760405163875fdad760e01b815260040160405180910390fd5b6000610b2f6001546000540390565b600a54909150610100900460ff16610b5a5760405163fc7d083760e01b815260040160405180910390fd5b610309610b688260016115b4565b1115610b8757604051630f3ebdcd60e41b815260040160405180910390fd5b610be683838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905061064f565b610c035760405163ce43785f60e01b815260040160405180910390fd5b3360009081526005602052604090819020546001911c67ffffffffffffffff16610c2e9060016115b4565b1115610c4d5760405163099dd24760e01b815260040160405180910390fd5b610905336001610d6a565b610c60610cd3565b6001600160a01b038116610cca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61074981610ec2565b6008546001600160a01b0316331461098a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cc1565b6000805482108015610434575050600090815260046020526040902054600160e01b161590565b600082610d618584611069565b14949350505050565b60005481610d8b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e3a57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610e02565b5081610e5857604051622e076360e81b815260040160405180910390fd5b60005550505050565b600081600054811015610ea957600081815260046020526040902054600160e01b8116610ea7575b80610af9575060001901600081815260046020526040902054610e89565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f49903390899088908890600401611564565b602060405180830381600087803b158015610f6357600080fd5b505af1925050508015610f93575060408051601f3d908101601f19168201909252610f909181019061147a565b60015b610fee573d808015610fc1576040519150601f19603f3d011682016040523d82523d6000602084013e610fc6565b606091505b508051610fe6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606009805461046e906115f8565b604080516080810191829052607f0190826030600a8206018353600a90045b801561105757600183039250600a81066030018353600a9004611039565b50819003601f19909101908152919050565b600081815b84518110156110ae5761109a8286838151811061108d5761108d611664565b60200260200101516110b6565b9150806110a681611633565b91505061106e565b509392505050565b60008183106110d2576000828152602084905260409020610af9565b5060009182526020526040902090565b8280546110ee906115f8565b90600052602060002090601f0160209004810192826111105760008555611156565b82601f106111295782800160ff19823516178555611156565b82800160010185558215611156579182015b8281111561115657823582559160200191906001019061113b565b50611162929150611166565b5090565b5b808211156111625760008155600101611167565b80356001600160a01b038116811461119257600080fd5b919050565b60008083601f8401126111a957600080fd5b50813567ffffffffffffffff8111156111c157600080fd5b6020830191508360208260051b85010111156111dc57600080fd5b9250929050565b6000602082840312156111f557600080fd5b610af98261117b565b6000806040838503121561121157600080fd5b61121a8361117b565b91506112286020840161117b565b90509250929050565b60008060006060848603121561124657600080fd5b61124f8461117b565b925061125d6020850161117b565b9150604084013590509250925092565b6000806000806080858703121561128357600080fd5b61128c8561117b565b935061129a6020860161117b565b925060408501359150606085013567ffffffffffffffff808211156112be57600080fd5b818701915087601f8301126112d257600080fd5b8135818111156112e4576112e461167a565b604051601f8201601f19908116603f0116810190838211818310171561130c5761130c61167a565b816040528281528a602084870101111561132557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060006040848603121561135e57600080fd5b6113678461117b565b9250602084013567ffffffffffffffff81111561138357600080fd5b61138f86828701611197565b9497909650939450505050565b600080604083850312156113af57600080fd5b6113b88361117b565b9150602083013580151581146113cd57600080fd5b809150509250929050565b600080604083850312156113eb57600080fd5b6113f48361117b565b946020939093013593505050565b6000806020838503121561141557600080fd5b823567ffffffffffffffff81111561142c57600080fd5b61143885828601611197565b90969095509350505050565b60006020828403121561145657600080fd5b5035919050565b60006020828403121561146f57600080fd5b8135610af981611690565b60006020828403121561148c57600080fd5b8151610af981611690565b600080602083850312156114aa57600080fd5b823567ffffffffffffffff808211156114c257600080fd5b818501915085601f8301126114d657600080fd5b8135818111156114e557600080fd5b8660208285010111156114f757600080fd5b60209290920196919550909350505050565b600081518084526115218160208601602086016115cc565b601f01601f19169290920160200192915050565b600083516115478184602088016115cc565b83519083019061155b8183602088016115cc565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061159790830184611509565b9695505050505050565b602081526000610af96020830184611509565b600082198211156115c7576115c761164e565b500190565b60005b838110156115e75781810151838201526020016115cf565b83811115610a755750506000910152565b600181811c9082168061160c57607f821691505b6020821081141561162d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156116475761164761164e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461074957600080fdfea26469706673582212207b2a40b9d47f6be30e83db50fd417ead570eb123330f7aa5d689f483a89823df64736f6c63430008070033

Deployed Bytecode Sourcemap

76149:4336:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39640:639;;;;;;:::i;:::-;;:::i;:::-;;;7373:14:1;;7366:22;7348:41;;7336:2;7321:18;39640:639:0;;;;;;;;80291:87;;;:::i;:::-;;40542:100;;;:::i;:::-;;;;;;;:::i;47025:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6671:32:1;;;6653:51;;6641:2;6626:18;47025:218:0;6507:203:1;46466:400:0;;;;;;:::i;:::-;;:::i;80386:96::-;;;:::i;79520:322::-;;;;;;:::i;:::-;;:::i;78358:334::-;;;:::i;36293:323::-;36567:12;;36354:7;36551:13;:28;36293:323;;;8538:25:1;;;8526:2;8511:18;36293:323:0;8392:177:1;80091:95:0;80168:10;;;;80091:95;;50732:2817;;;;;;:::i;:::-;;:::i;79355:157::-;;;;;;:::i;:::-;;:::i;53645:185::-;;;;;;:::i;:::-;;:::i;78263:87::-;;;78341:1;8716:36:1;;8704:2;8689:18;78263:87:0;8574:184:1;79973:106:0;;;;;;:::i;:::-;;:::i;41935:152::-;;;;;;:::i;:::-;;:::i;37477:233::-;;;;;;:::i;:::-;;:::i;75226:103::-;;;:::i;74578:87::-;74651:6;;-1:-1:-1;;;;;74651:6:0;74578:87;;40718:104;;;:::i;80194:89::-;80268:7;;;;;;;80194:89;;47583:308;;;;;;:::i;:::-;;:::i;54428:399::-;;;;;;:::i;:::-;;:::i;40928:318::-;;;;;;:::i;:::-;;:::i;76663:39::-;;76699:3;76663:39;;48048:164;;;;;;:::i;:::-;-1:-1:-1;;;;;48169:25:0;;;48145:4;48169:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;48048:164;78700:647;;;;;;:::i;:::-;;:::i;75484:201::-;;;;;;:::i;:::-;;:::i;39640:639::-;39725:4;-1:-1:-1;;;;;;;;;40049:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;40126:25:0;;;40049:102;:179;;;-1:-1:-1;;;;;;;;;;40203:25:0;;;40049:179;40029:199;39640:639;-1:-1:-1;;39640:639:0:o;80291:87::-;74464:13;:11;:13::i;:::-;80363:7:::1;::::0;;-1:-1:-1;;80352:18:0;::::1;80363:7;::::0;;;::::1;;;80362:8;80352:18:::0;;::::1;;::::0;;80291:87::o;40542:100::-;40596:13;40629:5;40622:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40542:100;:::o;47025:218::-;47101:7;47126:16;47134:7;47126;:16::i;:::-;47121:64;;47151:34;;-1:-1:-1;;;47151:34:0;;;;;;;;;;;47121:64;-1:-1:-1;47205:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;47205:30:0;;47025:218::o;46466:400::-;46547:13;46563:16;46571:7;46563;:16::i;:::-;46547:32;-1:-1:-1;70323:10:0;-1:-1:-1;;;;;46596:28:0;;;46592:175;;46644:44;46661:5;70323:10;48048:164;:::i;46644:44::-;46639:128;;46716:35;;-1:-1:-1;;;46716:35:0;;;;;;;;;;;46639:128;46779:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;46779:35:0;-1:-1:-1;;;;;46779:35:0;;;;;;;;;46830:28;;46779:24;;46830:28;;;;;;;46536:330;46466:400;;:::o;80386:96::-;74464:13;:11;:13::i;:::-;80464:10:::1;::::0;;-1:-1:-1;;80450:24:0;::::1;80464:10;::::0;;::::1;80463:11;80450:24;::::0;;80386:96::o;79520:322::-;79636:4;79678:154;79715:13;;79678:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;79747:17:0;;79793:23;;-1:-1:-1;;5947:2:1;5943:15;;;5939:53;79793:23:0;;;5927:66:1;79747:17:0;;-1:-1:-1;6009:12:1;;;-1:-1:-1;79793:23:0;;;;;;;;;;;;;79783:34;;;;;;79678:18;:154::i;:::-;79658:174;79520:322;-1:-1:-1;;;;79520:322:0:o;78358:334::-;78190:10;78204:9;78190:23;78186:49;;78222:13;;-1:-1:-1;;;78222:13:0;;;;;;;;;;;78186:49;78407:10:::1;78420:13;36567:12:::0;;36354:7;36551:13;:28;;36293:323;78420:13:::1;78449:10;::::0;78407:26;;-1:-1:-1;78449:10:0::1;;78444:44;;78468:20;;-1:-1:-1::0;;;78468:20:0::1;;;;;;;;;;;78444:44;76699:3;78503:6;:2:::0;78508:1:::1;78503:6;:::i;:::-;:18;78499:57;;;78530:26;;-1:-1:-1::0;;;78530:26:0::1;;;;;;;;;;;78499:57;78585:10;37853:7:::0;37881:25;;;:18;:25;;31774:2;37881:25;;;;;78603:1:::1;::::0;37881:50;31636:13;37880:82;78571:29:::1;::::0;78599:1:::1;78571:29;:::i;:::-;:33;78567:84;;;78626:25;;-1:-1:-1::0;;;78626:25:0::1;;;;;;;;;;;78567:84;78664:20;78670:10;78682:1;78664:5;:20::i;:::-;78396:296;78358:334::o:0;50732:2817::-;50866:27;50896;50915:7;50896:18;:27::i;:::-;50866:57;;50981:4;-1:-1:-1;;;;;50940:45:0;50956:19;-1:-1:-1;;;;;50940:45:0;;50936:86;;50994:28;;-1:-1:-1;;;50994:28:0;;;;;;;;;;;50936:86;51036:27;49846:24;;;:15;:24;;;;;50068:26;;70323:10;49471:30;;;-1:-1:-1;;;;;49164:28:0;;49449:20;;;49446:56;51222:180;;51315:43;51332:4;70323:10;48048:164;:::i;51315:43::-;51310:92;;51367:35;;-1:-1:-1;;;51367:35:0;;;;;;;;;;;51310:92;-1:-1:-1;;;;;51419:16:0;;51415:52;;51444:23;;-1:-1:-1;;;51444:23:0;;;;;;;;;;;51415:52;51616:15;51613:160;;;51756:1;51735:19;51728:30;51613:160;-1:-1:-1;;;;;52153:24:0;;;;;;;:18;:24;;;;;;52151:26;;-1:-1:-1;;52151:26:0;;;52222:22;;;;;;;;;52220:24;;-1:-1:-1;52220:24:0;;;45324:11;45299:23;45295:41;45282:63;-1:-1:-1;;;45282:63:0;52515:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;52810:47:0;;52806:627;;52915:1;52905:11;;52883:19;53038:30;;;:17;:30;;;;;;53034:384;;53176:13;;53161:11;:28;53157:242;;53323:30;;;;:17;:30;;;;;:52;;;53157:242;52864:569;52806:627;53480:7;53476:2;-1:-1:-1;;;;;53461:27:0;53470:4;-1:-1:-1;;;;;53461:27:0;;;;;;;;;;;50855:2694;;;50732:2817;;;:::o;79355:157::-;74464:13;:11;:13::i;:::-;79466:17:::1;:38:::0;79355:157::o;53645:185::-;53783:39;53800:4;53806:2;53810:7;53783:39;;;;;;;;;;;;:16;:39::i;:::-;53645:185;;;:::o;79973:106::-;74464:13;:11;:13::i;:::-;80048:23:::1;:13;80064:7:::0;;80048:23:::1;:::i;41935:152::-:0;42007:7;42050:27;42069:7;42050:18;:27::i;37477:233::-;37549:7;-1:-1:-1;;;;;37573:19:0;;37569:60;;37601:28;;-1:-1:-1;;;37601:28:0;;;;;;;;;;;37569:60;-1:-1:-1;;;;;;37647:25:0;;;;;:18;:25;;;;;;31636:13;37647:55;;37477:233::o;75226:103::-;74464:13;:11;:13::i;:::-;75291:30:::1;75318:1;75291:18;:30::i;:::-;75226:103::o:0;40718:104::-;40774:13;40807:7;40800:14;;;;;:::i;47583:308::-;-1:-1:-1;;;;;47682:31:0;;70323:10;47682:31;47678:61;;;47722:17;;-1:-1:-1;;;47722:17:0;;;;;;;;;;;47678:61;70323:10;47752:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;47752:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;47752:60:0;;;;;;;;;;47828:55;;7348:41:1;;;47752:49:0;;70323:10;47828:55;;7321:18:1;47828:55:0;;;;;;;47583:308;;:::o;54428:399::-;54595:31;54608:4;54614:2;54618:7;54595:12;:31::i;:::-;-1:-1:-1;;;;;54641:14:0;;;:19;54637:183;;54680:56;54711:4;54717:2;54721:7;54730:5;54680:30;:56::i;:::-;54675:145;;54764:40;;-1:-1:-1;;;54764:40:0;;;;;;;;;;;54675:145;54428:399;;;;:::o;40928:318::-;41001:13;41032:16;41040:7;41032;:16::i;:::-;41027:59;;41057:29;;-1:-1:-1;;;41057:29:0;;;;;;;;;;;41027:59;41099:21;41123:10;:8;:10::i;:::-;41099:34;;41157:7;41151:21;41176:1;41151:26;;:87;;;;;;;;;;;;;;;;;41204:7;41213:18;41223:7;41213:9;:18::i;:::-;41187:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;41151:87;41144:94;40928:318;-1:-1:-1;;;40928:318:0:o;78700:647::-;78190:10;78204:9;78190:23;78186:49;;78222:13;;-1:-1:-1;;;78222:13:0;;;;;;;;;;;78186:49;78811:10:::1;78824:13;36567:12:::0;;36354:7;36551:13;:28;;36293:323;78824:13:::1;78853:7;::::0;78811:26;;-1:-1:-1;78853:7:0::1;::::0;::::1;;;78848:38;;78869:17;;-1:-1:-1::0;;;78869:17:0::1;;;;;;;;;;;78848:38;76699:3;78901:6;:2:::0;78906:1:::1;78901:6;:::i;:::-;:18;78897:70;;;78941:26;;-1:-1:-1::0;;;78941:26:0::1;;;;;;;;;;;78897:70;78997:159;79034:13;;78997:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;79066:17:0::1;::::0;79112:28:::1;::::0;-1:-1:-1;;79129:10:0::1;5947:2:1::0;5943:15;5939:53;79112:28:0::1;::::0;::::1;5927:66:1::0;79066:17:0;;-1:-1:-1;6009:12:1;;;-1:-1:-1;79112:28:0::1;5798:229:1::0;78997:159:0::1;78978:211;;79175:14;;-1:-1:-1::0;;;79175:14:0::1;;;;;;;;;;;78978:211;79218:10;37853:7:::0;37881:25;;;:18;:25;;31774:2;37881:25;;;;;79236:1:::1;::::0;37881:50;31636:13;37880:82;79204:29:::1;::::0;79232:1:::1;79204:29;:::i;:::-;:33;79200:106;;;79259:47;;-1:-1:-1::0;;;79259:47:0::1;;;;;;;;;;;79200:106;79319:20;79325:10;79337:1;79319:5;:20::i;75484:201::-:0;74464:13;:11;:13::i;:::-;-1:-1:-1;;;;;75573:22:0;::::1;75565:73;;;::::0;-1:-1:-1;;;75565:73:0;;7826:2:1;75565:73:0::1;::::0;::::1;7808:21:1::0;7865:2;7845:18;;;7838:30;7904:34;7884:18;;;7877:62;-1:-1:-1;;;7955:18:1;;;7948:36;8001:19;;75565:73:0::1;;;;;;;;;75649:28;75668:8;75649:18;:28::i;74743:132::-:0;74651:6;;-1:-1:-1;;;;;74651:6:0;70323:10;74807:23;74799:68;;;;-1:-1:-1;;;74799:68:0;;8233:2:1;74799:68:0;;;8215:21:1;;;8252:18;;;8245:30;8311:34;8291:18;;;8284:62;8363:18;;74799:68:0;8031:356:1;48470:282:0;48535:4;48625:13;;48615:7;:23;48572:153;;;;-1:-1:-1;;48676:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;48676:44:0;:49;;48470:282::o;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;58089:2454::-;58162:20;58185:13;58213;58209:44;;58235:18;;-1:-1:-1;;;58235:18:0;;;;;;;;;;;58209:44;-1:-1:-1;;;;;58741:22:0;;;;;;:18;:22;;;;31774:2;58741:22;;;:71;;58779:32;58767:45;;58741:71;;;59055:31;;;:17;:31;;;;;-1:-1:-1;45755:15:0;;45729:24;45725:46;45324:11;45299:23;45295:41;45292:52;45282:63;;59055:173;;59290:23;;;;59055:31;;58741:22;;59789:25;58741:22;;59642:335;60057:1;60043:12;60039:20;59997:346;60098:3;60089:7;60086:16;59997:346;;60316:7;60306:8;60303:1;60276:25;60273:1;60270;60265:59;60151:1;60138:15;59997:346;;;-1:-1:-1;60376:13:0;60372:45;;60398:19;;-1:-1:-1;;;60398:19:0;;;;;;;;;;;60372:45;60434:13;:19;-1:-1:-1;53645:185:0;;;:::o;43090:1275::-;43157:7;43192;43294:13;;43287:4;:20;43283:1015;;;43332:14;43349:23;;;:17;:23;;;;;;-1:-1:-1;;;43438:24:0;;43434:845;;44103:113;44110:11;44103:113;;-1:-1:-1;;;44181:6:0;44163:25;;;;:17;:25;;;;;;44103:113;;43434:845;43309:989;43283:1015;44326:31;;-1:-1:-1;;;44326:31:0;;;;;;;;;;;75845:191;75938:6;;;-1:-1:-1;;;;;75955:17:0;;;-1:-1:-1;;;;;;75955:17:0;;;;;;;75988:40;;75938:6;;;75955:17;75938:6;;75988:40;;75919:16;;75988:40;75908:128;75845:191;:::o;56911:716::-;57095:88;;-1:-1:-1;;;57095:88:0;;57074:4;;-1:-1:-1;;;;;57095:45:0;;;;;:88;;70323:10;;57162:4;;57168:7;;57177:5;;57095:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57095:88:0;;;;;;;;-1:-1:-1;;57095:88:0;;;;;;;;;;;;:::i;:::-;;;57091:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57378:13:0;;57374:235;;57424:40;;-1:-1:-1;;;57424:40:0;;;;;;;;;;;57374:235;57567:6;57561:13;57552:6;57548:2;57544:15;57537:38;57091:529;-1:-1:-1;;;;;;57254:64:0;-1:-1:-1;;;57254:64:0;;-1:-1:-1;56911:716:0;;;;;;:::o;79851:114::-;79911:13;79944;79937:20;;;;;:::i;70443:2002::-;70920:4;70914:11;;70927:3;70910:21;;71005:17;;;;71701:11;;;71580:5;71867:2;71881;71871:13;;71863:22;71701:11;71850:36;71922:2;71912:13;;71472:731;71941:4;71472:731;;;72132:1;72127:3;72123:11;72116:18;;72183:2;72177:4;72173:13;72169:2;72165:22;72160:3;72152:36;72036:2;72026:13;;71472:731;;;-1:-1:-1;72233:13:0;;;-1:-1:-1;;72348:12:0;;;72408:19;;;72348:12;70443:2002;-1:-1:-1;70443:2002:0:o;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;-1:-1:-1;8518:13:0;8612:15;;;8648:4;8641:15;8695:4;8679:21;;;8293:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:186::-;623:6;676:2;664:9;655:7;651:23;647:32;644:52;;;692:1;689;682:12;644:52;715:29;734:9;715:29;:::i;755:260::-;823:6;831;884:2;872:9;863:7;859:23;855:32;852:52;;;900:1;897;890:12;852:52;923:29;942:9;923:29;:::i;:::-;913:39;;971:38;1005:2;994:9;990:18;971:38;:::i;:::-;961:48;;755:260;;;;;:::o;1020:328::-;1097:6;1105;1113;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;:::-;1195:39;;1253:38;1287:2;1276:9;1272:18;1253:38;:::i;:::-;1243:48;;1338:2;1327:9;1323:18;1310:32;1300:42;;1020:328;;;;;:::o;1353:1138::-;1448:6;1456;1464;1472;1525:3;1513:9;1504:7;1500:23;1496:33;1493:53;;;1542:1;1539;1532:12;1493:53;1565:29;1584:9;1565:29;:::i;:::-;1555:39;;1613:38;1647:2;1636:9;1632:18;1613:38;:::i;:::-;1603:48;;1698:2;1687:9;1683:18;1670:32;1660:42;;1753:2;1742:9;1738:18;1725:32;1776:18;1817:2;1809:6;1806:14;1803:34;;;1833:1;1830;1823:12;1803:34;1871:6;1860:9;1856:22;1846:32;;1916:7;1909:4;1905:2;1901:13;1897:27;1887:55;;1938:1;1935;1928:12;1887:55;1974:2;1961:16;1996:2;1992;1989:10;1986:36;;;2002:18;;:::i;:::-;2077:2;2071:9;2045:2;2131:13;;-1:-1:-1;;2127:22:1;;;2151:2;2123:31;2119:40;2107:53;;;2175:18;;;2195:22;;;2172:46;2169:72;;;2221:18;;:::i;:::-;2261:10;2257:2;2250:22;2296:2;2288:6;2281:18;2336:7;2331:2;2326;2322;2318:11;2314:20;2311:33;2308:53;;;2357:1;2354;2347:12;2308:53;2413:2;2408;2404;2400:11;2395:2;2387:6;2383:15;2370:46;2458:1;2453:2;2448;2440:6;2436:15;2432:24;2425:35;2479:6;2469:16;;;;;;;1353:1138;;;;;;;:::o;2496:511::-;2591:6;2599;2607;2660:2;2648:9;2639:7;2635:23;2631:32;2628:52;;;2676:1;2673;2666:12;2628:52;2699:29;2718:9;2699:29;:::i;:::-;2689:39;;2779:2;2768:9;2764:18;2751:32;2806:18;2798:6;2795:30;2792:50;;;2838:1;2835;2828:12;2792:50;2877:70;2939:7;2930:6;2919:9;2915:22;2877:70;:::i;:::-;2496:511;;2966:8;;-1:-1:-1;2851:96:1;;-1:-1:-1;;;;2496:511:1:o;3012:347::-;3077:6;3085;3138:2;3126:9;3117:7;3113:23;3109:32;3106:52;;;3154:1;3151;3144:12;3106:52;3177:29;3196:9;3177:29;:::i;:::-;3167:39;;3256:2;3245:9;3241:18;3228:32;3303:5;3296:13;3289:21;3282:5;3279:32;3269:60;;3325:1;3322;3315:12;3269:60;3348:5;3338:15;;;3012:347;;;;;:::o;3364:254::-;3432:6;3440;3493:2;3481:9;3472:7;3468:23;3464:32;3461:52;;;3509:1;3506;3499:12;3461:52;3532:29;3551:9;3532:29;:::i;:::-;3522:39;3608:2;3593:18;;;;3580:32;;-1:-1:-1;;;3364:254:1:o;3623:437::-;3709:6;3717;3770:2;3758:9;3749:7;3745:23;3741:32;3738:52;;;3786:1;3783;3776:12;3738:52;3826:9;3813:23;3859:18;3851:6;3848:30;3845:50;;;3891:1;3888;3881:12;3845:50;3930:70;3992:7;3983:6;3972:9;3968:22;3930:70;:::i;:::-;4019:8;;3904:96;;-1:-1:-1;3623:437:1;-1:-1:-1;;;;3623:437:1:o;4065:180::-;4124:6;4177:2;4165:9;4156:7;4152:23;4148:32;4145:52;;;4193:1;4190;4183:12;4145:52;-1:-1:-1;4216:23:1;;4065:180;-1:-1:-1;4065:180:1:o;4250:245::-;4308:6;4361:2;4349:9;4340:7;4336:23;4332:32;4329:52;;;4377:1;4374;4367:12;4329:52;4416:9;4403:23;4435:30;4459:5;4435:30;:::i;4500:249::-;4569:6;4622:2;4610:9;4601:7;4597:23;4593:32;4590:52;;;4638:1;4635;4628:12;4590:52;4670:9;4664:16;4689:30;4713:5;4689:30;:::i;4754:592::-;4825:6;4833;4886:2;4874:9;4865:7;4861:23;4857:32;4854:52;;;4902:1;4899;4892:12;4854:52;4942:9;4929:23;4971:18;5012:2;5004:6;5001:14;4998:34;;;5028:1;5025;5018:12;4998:34;5066:6;5055:9;5051:22;5041:32;;5111:7;5104:4;5100:2;5096:13;5092:27;5082:55;;5133:1;5130;5123:12;5082:55;5173:2;5160:16;5199:2;5191:6;5188:14;5185:34;;;5215:1;5212;5205:12;5185:34;5260:7;5255:2;5246:6;5242:2;5238:15;5234:24;5231:37;5228:57;;;5281:1;5278;5271:12;5228:57;5312:2;5304:11;;;;;5334:6;;-1:-1:-1;4754:592:1;;-1:-1:-1;;;;4754:592:1:o;5536:257::-;5577:3;5615:5;5609:12;5642:6;5637:3;5630:19;5658:63;5714:6;5707:4;5702:3;5698:14;5691:4;5684:5;5680:16;5658:63;:::i;:::-;5775:2;5754:15;-1:-1:-1;;5750:29:1;5741:39;;;;5782:4;5737:50;;5536:257;-1:-1:-1;;5536:257:1:o;6032:470::-;6211:3;6249:6;6243:13;6265:53;6311:6;6306:3;6299:4;6291:6;6287:17;6265:53;:::i;:::-;6381:13;;6340:16;;;;6403:57;6381:13;6340:16;6437:4;6425:17;;6403:57;:::i;:::-;6476:20;;6032:470;-1:-1:-1;;;;6032:470:1:o;6715:488::-;-1:-1:-1;;;;;6984:15:1;;;6966:34;;7036:15;;7031:2;7016:18;;7009:43;7083:2;7068:18;;7061:34;;;7131:3;7126:2;7111:18;;7104:31;;;6909:4;;7152:45;;7177:19;;7169:6;7152:45;:::i;:::-;7144:53;6715:488;-1:-1:-1;;;;;;6715:488:1:o;7400:219::-;7549:2;7538:9;7531:21;7512:4;7569:44;7609:2;7598:9;7594:18;7586:6;7569:44;:::i;8763:128::-;8803:3;8834:1;8830:6;8827:1;8824:13;8821:39;;;8840:18;;:::i;:::-;-1:-1:-1;8876:9:1;;8763:128::o;8896:258::-;8968:1;8978:113;8992:6;8989:1;8986:13;8978:113;;;9068:11;;;9062:18;9049:11;;;9042:39;9014:2;9007:10;8978:113;;;9109:6;9106:1;9103:13;9100:48;;;-1:-1:-1;;9144:1:1;9126:16;;9119:27;8896:258::o;9159:380::-;9238:1;9234:12;;;;9281;;;9302:61;;9356:4;9348:6;9344:17;9334:27;;9302:61;9409:2;9401:6;9398:14;9378:18;9375:38;9372:161;;;9455:10;9450:3;9446:20;9443:1;9436:31;9490:4;9487:1;9480:15;9518:4;9515:1;9508:15;9372:161;;9159:380;;;:::o;9544:135::-;9583:3;-1:-1:-1;;9604:17:1;;9601:43;;;9624:18;;:::i;:::-;-1:-1:-1;9671:1:1;9660:13;;9544:135::o;9684:127::-;9745:10;9740:3;9736:20;9733:1;9726:31;9776:4;9773:1;9766:15;9800:4;9797:1;9790:15;9816:127;9877:10;9872:3;9868:20;9865:1;9858:31;9908:4;9905:1;9898:15;9932:4;9929:1;9922:15;9948:127;10009:10;10004:3;10000:20;9997:1;9990:31;10040:4;10037:1;10030:15;10064:4;10061:1;10054:15;10080:131;-1:-1:-1;;;;;;10154:32:1;;10144:43;;10134:71;;10201:1;10198;10191:12

Swarm Source

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