ETH Price: $3,452.65 (+4.27%)

Token

Avatizer (AVA)
 

Overview

Max Total Supply

999 AVA

Holders

668

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
AvatizerNFT

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-10-13
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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


// ERC721A Contracts v4.2.3
// 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();

    /**
     * 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 payable;

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.2.3
// 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 {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    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 payable 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 {
        _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].value`.
        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 payable 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 payable 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 payable 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.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            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`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

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

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

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

// File: @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: AvatizerNFT.sol


pragma solidity ^0.8.12;





interface AvatizerMetadataManager {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

contract AvatizerNFT is ERC721A("Avatizer", "AVA"), Ownable {
    uint256 public maxSupply = 999;
    uint256 public maxPerWallet = 1;
    
    bool public saleStarted;
    
    bytes32 public merkleRoot;

    mapping(uint256 => bytes32) public tokenDNA;
    mapping(uint256 => bytes) public pausedTokenGenes;

    AvatizerMetadataManager metadataManager = AvatizerMetadataManager(address(0)); //placeholder
    
    function setMaxPerWallet(uint256 _maxPerWallet) external onlyOwner {
        maxPerWallet = _maxPerWallet;
    }

    function setSaleStarted(bool _saleStarted) external onlyOwner {
        saleStarted = _saleStarted;
    }

    function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setMetadataManager(address _metadataManager) external onlyOwner {
        metadataManager = AvatizerMetadataManager(_metadataManager);
    }

    function isWhitelisted(address user, bytes32[] calldata _merkleProof) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(user));
        return MerkleProof.verify(_merkleProof, merkleRoot, leaf);
    }

    function getTokenGenes(uint256 tokenId) public view returns (bytes memory) {
        if (pausedTokenGenes[tokenId].length == 0) {
            return abi.encodePacked(tokenDNA[tokenId], (block.timestamp + 25200)/86400);
        } else {
            return pausedTokenGenes[tokenId];
        }
    }

    function pauseDNAGeneration(uint256 tokenId) external {
        require(ownerOf(tokenId) == msg.sender, "Only the token owner can pause token DNA");
        require(pausedTokenGenes[tokenId].length == 0, "Token DNA is already paused");
        pausedTokenGenes[tokenId] = abi.encodePacked(tokenDNA[tokenId], (block.timestamp + 25200)/86400);
    }

    function unpauseDNAGeneration(uint256 tokenId) external {
        require(ownerOf(tokenId) == msg.sender, "Only the token owner can unpause token DNA");
        require(pausedTokenGenes[tokenId].length > 0, "Token DNA is already unpaused");
        delete pausedTokenGenes[tokenId];
    }

    function mint(uint64 amount, bytes32[] calldata _merkleProof) external {
        require(saleStarted, "Sale has not started yet");
        require(_totalMinted() + amount <= maxSupply, "Max Supply Exceeded");
        require(isWhitelisted(msg.sender, _merkleProof), "Address not whitelisted");
        require(_numberMinted(msg.sender) + amount <= maxPerWallet, "Address cannot mint more tokens");
        unchecked {
            uint256 startToken = _nextTokenId();
            for (uint256 i = 0; i < amount; i++) {
                tokenDNA[startToken + i] = keccak256(abi.encodePacked(msg.sender, startToken + i));
            }
        }
        _safeMint(msg.sender, amount);
    }

    function adminMint(address to, uint256 amount) external onlyOwner {
        require(_totalMinted() + amount <= maxSupply, "Max Supply Exceeded");
        require(amount <= 30, "Max mint per transaction exceeded");
        unchecked {
            uint256 startToken = _nextTokenId();
            for (uint256 i = 0; i < amount; i++) {
                tokenDNA[startToken + i] = keccak256(abi.encodePacked(msg.sender, startToken + i));
            }
        }
        _safeMint(to, amount);
    }

    function rescueFunds(address to) external onlyOwner {
        uint256 balance = address(this).balance;
        (bool callSuccess, ) = payable(to).call{value: balance}("");
        require(callSuccess, "Call failed");
    }

    function rescueToken(address token) external onlyOwner {
        IERC20 tokenContract = IERC20(token);
        uint256 balance = tokenContract.balanceOf(address(this));
        tokenContract.transfer(msg.sender, balance);
    }

    function tokenURI(uint256 tokenId) public view override returns (string memory) {
        return metadataManager.tokenURI(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"amount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenGenes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"amount","type":"uint64"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"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":"uint256","name":"tokenId","type":"uint256"}],"name":"pauseDNAGeneration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pausedTokenGenes","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"rescueFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"rescueToken","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":"payable","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":"payable","type":"function"},{"inputs":[],"name":"saleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerWallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadataManager","type":"address"}],"name":"setMetadataManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleStarted","type":"bool"}],"name":"setSaleStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenDNA","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"unpauseDNAGeneration","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526103e76009556001600a55600f80546001600160a01b03191690553480156200002c57600080fd5b506040518060400160405280600881526020016720bb30ba34bd32b960c11b8152506040518060400160405280600381526020016241564160e81b81525081600290816200007b919062000199565b5060036200008a828262000199565b505060008055506200009c33620000a2565b62000265565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200011f57607f821691505b6020821081036200014057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019457600081815260208120601f850160051c810160208610156200016f5750805b601f850160051c820191505b8181101562000190578281556001016200017b565b5050505b505050565b81516001600160401b03811115620001b557620001b5620000f4565b620001cd81620001c684546200010a565b8462000146565b602080601f831160018114620002055760008415620001ec5750858301515b600019600386901b1c1916600185901b17855562000190565b600085815260208120601f198616915b82811015620002365788860151825594840194600190910190840162000215565b5085821015620002555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6120ef80620002756000396000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063e268e4d31161006f578063e268e4d31461059a578063e53b2017146105ba578063e58306f9146105da578063e985e9c5146105fa578063f2fde38b1461061a57600080fd5b8063b88d4fde14610524578063be65d75114610537578063c87b56dd14610564578063d5abeb011461058457600080fd5b806395d89b41116100e757806395d89b411461048f578063a2026e3d146104a4578063a22cb465146104c4578063a854ffba146104e4578063b6fce0d41461050457600080fd5b8063715018a61461041c5780637cb64759146104315780638069b9af146104515780638da5cb5b1461047157600080fd5b80632eb4a7ab1161019b5780635a23dd991161016a5780635a23dd99146103825780635c474f9e146103a25780635ced2dde146103bc5780636352211e146103dc57806370a08231146103fc57600080fd5b80632eb4a7ab1461032357806342842e0e146103395780634460d3cf1461034c578063453c23101461036c57600080fd5b8063124cc077116101d7578063124cc077146102ad57806313728288146102cd57806318160ddd146102ed57806323b872dd1461031057600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611a39565b61063a565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025361068c565b6040516102359190611aa6565b34801561026c57600080fd5b5061028061027b366004611ab9565b61071e565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611ae9565b610762565b005b3480156102b957600080fd5b506102ab6102c8366004611b13565b610802565b3480156102d957600080fd5b506102ab6102e8366004611ab9565b61082c565b3480156102f957600080fd5b50600154600054035b604051908152602001610235565b6102ab61031e366004611b2e565b61096f565b34801561032f57600080fd5b50610302600c5481565b6102ab610347366004611b2e565b610b08565b34801561035857600080fd5b506102ab610367366004611b13565b610b28565b34801561037857600080fd5b50610302600a5481565b34801561038e57600080fd5b5061022961039d366004611bb5565b610c17565b3480156103ae57600080fd5b50600b546102299060ff1681565b3480156103c857600080fd5b506102536103d7366004611ab9565b610c98565b3480156103e857600080fd5b506102806103f7366004611ab9565b610d32565b34801561040857600080fd5b50610302610417366004611b13565b610d3d565b34801561042857600080fd5b506102ab610d8b565b34801561043d57600080fd5b506102ab61044c366004611ab9565b610d9f565b34801561045d57600080fd5b506102ab61046c366004611ab9565b610dac565b34801561047d57600080fd5b506008546001600160a01b0316610280565b34801561049b57600080fd5b50610253610ea1565b3480156104b057600080fd5b506102ab6104bf366004611c07565b610eb0565b3480156104d057600080fd5b506102ab6104df366004611c65565b6110cb565b3480156104f057600080fd5b506102ab6104ff366004611c9c565b611137565b34801561051057600080fd5b5061025361051f366004611ab9565b611152565b6102ab610532366004611d26565b61126c565b34801561054357600080fd5b50610302610552366004611ab9565b600d6020526000908152604090205481565b34801561057057600080fd5b5061025361057f366004611ab9565b6112b0565b34801561059057600080fd5b5061030260095481565b3480156105a657600080fd5b506102ab6105b5366004611ab9565b611322565b3480156105c657600080fd5b506102ab6105d5366004611b13565b61132f565b3480156105e657600080fd5b506102ab6105f5366004611ae9565b6113c8565b34801561060657600080fd5b50610229610615366004611dd0565b6114f1565b34801561062657600080fd5b506102ab610635366004611b13565b61151f565b60006301ffc9a760e01b6001600160e01b03198316148061066b57506380ac58cd60e01b6001600160e01b03198316145b806106865750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069b90611e03565b80601f01602080910402602001604051908101604052809291908181526020018280546106c790611e03565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b600061072982611595565b610746576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076d82610d32565b9050336001600160a01b038216146107a65761078981336114f1565b6107a6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61080a6115bc565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b3361083682610d32565b6001600160a01b0316146108a25760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20706175736520746044820152676f6b656e20444e4160c01b60648201526084015b60405180910390fd5b6000818152600e6020526040902080546108bb90611e03565b15905061090a5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20444e4120697320616c72656164792070617573656400000000006044820152606401610899565b6000818152600d60205260409020546201518061092942616270611e53565b6109339190611e66565b60408051602081019390935282015260600160408051601f198184030181529181526000838152600e602052209061096b9082611ece565b5050565b600061097a82611616565b9050836001600160a01b0316816001600160a01b0316146109ad5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109fa576109dd86336114f1565b6109fa57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2157604051633a954ecd60e21b815260040160405180910390fd5b8015610a2c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610abe57600184016000818152600460205260408120549003610abc576000548114610abc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b238383836040518060200160405280600081525061126c565b505050565b610b306115bc565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611f8d565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c119190611fa6565b50505050565b6040516001600160601b0319606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610c8f84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611684565b95945050505050565b600e6020526000908152604090208054610cb190611e03565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90611e03565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b505050505081565b600061068682611616565b60006001600160a01b038216610d66576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610d936115bc565b610d9d600061169a565b565b610da76115bc565b600c55565b33610db682610d32565b6001600160a01b031614610e1f5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20756e706175736560448201526920746f6b656e20444e4160b01b6064820152608401610899565b6000818152600e602052604081208054610e3890611e03565b905011610e875760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20444e4120697320616c726561647920756e7061757365640000006044820152606401610899565b6000818152600e60205260408120610e9e916119d5565b50565b60606003805461069b90611e03565b600b5460ff16610f025760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610899565b600954836001600160401b0316610f1860005490565b610f229190611e53565b1115610f665760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610899565b610f71338383610c17565b610fbd5760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610899565b600a54836001600160401b0316610ff6336001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b6110009190611e53565b111561104e5760405162461bcd60e51b815260206004820152601f60248201527f416464726573732063616e6e6f74206d696e74206d6f726520746f6b656e73006044820152606401610899565b60008054905b846001600160401b03168110156110b6576040516001600160601b03193360601b166020820152828201603482015260540160408051601f1981840301815291815281516020928301208484016000908152600d909352912055600101611054565b5050610b2333846001600160401b03166116ec565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113f6115bc565b600b805460ff1916911515919091179055565b6000818152600e6020526040902080546060919061116f90611e03565b90506000036111c9576000828152600d60205260409020546201518061119742616270611e53565b6111a19190611e66565b6040805160208101939093528201526060016040516020818303038152906040529050919050565b6000828152600e6020526040902080546111e290611e03565b80601f016020809104026020016040519081016040528092919081815260200182805461120e90611e03565b801561125b5780601f106112305761010080835404028352916020019161125b565b820191906000526020600020905b81548152906001019060200180831161123e57829003601f168201915b50505050509050919050565b919050565b61127784848461096f565b6001600160a01b0383163b15610c115761129384848484611706565b610c11576040516368d2bf6b60e11b815260040160405180910390fd5b600f5460405163c87b56dd60e01b8152600481018390526060916001600160a01b03169063c87b56dd90602401600060405180830381865afa1580156112fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106869190810190611fc3565b61132a6115bc565b600a55565b6113376115bc565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114611384576040519150601f19603f3d011682016040523d82523d6000602084013e611389565b606091505b5050905080610b235760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b6044820152606401610899565b6113d06115bc565b600954816113dd60005490565b6113e79190611e53565b111561142b5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610899565b601e8111156114865760405162461bcd60e51b815260206004820152602160248201527f4d6178206d696e7420706572207472616e73616374696f6e20657863656564656044820152601960fa1b6064820152608401610899565b60008054905b828110156114e5576040516001600160601b03193360601b166020820152828201603482015260540160408051601f1981840301815291815281516020928301208484016000908152600d90935291205560010161148c565b505061096b82826116ec565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6115276115bc565b6001600160a01b03811661158c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610899565b610e9e8161169a565b6000805482108015610686575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610d9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610899565b60008160005481101561166b5760008181526004602052604081205490600160e01b82169003611669575b80600003611662575060001901600081815260046020526040902054611641565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60008261169185846117f1565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61096b82826040518060200160405280600081525061183e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061173b903390899088908890600401612030565b6020604051808303816000875af1925050508015611776575060408051601f3d908101601f191682019092526117739181019061206d565b60015b6117d4573d8080156117a4576040519150601f19603f3d011682016040523d82523d6000602084013e6117a9565b606091505b5080516000036117cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b845181101561183657611822828683815181106118155761181561208a565b60200260200101516118ab565b91508061182e816120a0565b9150506117f6565b509392505050565b61184883836118d7565b6001600160a01b0383163b15610b23576000548281035b6118726000868380600101945086611706565b61188f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061185f5781600054146118a457600080fd5b5050505050565b60008183106118c7576000828152602084905260409020611662565b5060009182526020526040902090565b60008054908290036118fc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119ab57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611973565b50816000036119cc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b5080546119e190611e03565b6000825580601f106119f1575050565b601f016020900490600052602060002090810190610e9e91905b80821115611a1f5760008155600101611a0b565b5090565b6001600160e01b031981168114610e9e57600080fd5b600060208284031215611a4b57600080fd5b813561166281611a23565b60005b83811015611a71578181015183820152602001611a59565b50506000910152565b60008151808452611a92816020860160208601611a56565b601f01601f19169290920160200192915050565b6020815260006116626020830184611a7a565b600060208284031215611acb57600080fd5b5035919050565b80356001600160a01b038116811461126757600080fd5b60008060408385031215611afc57600080fd5b611b0583611ad2565b946020939093013593505050565b600060208284031215611b2557600080fd5b61166282611ad2565b600080600060608486031215611b4357600080fd5b611b4c84611ad2565b9250611b5a60208501611ad2565b9150604084013590509250925092565b60008083601f840112611b7c57600080fd5b5081356001600160401b03811115611b9357600080fd5b6020830191508360208260051b8501011115611bae57600080fd5b9250929050565b600080600060408486031215611bca57600080fd5b611bd384611ad2565b925060208401356001600160401b03811115611bee57600080fd5b611bfa86828701611b6a565b9497909650939450505050565b600080600060408486031215611c1c57600080fd5b83356001600160401b038082168214611c3457600080fd5b90935060208501359080821115611c4a57600080fd5b50611bfa86828701611b6a565b8015158114610e9e57600080fd5b60008060408385031215611c7857600080fd5b611c8183611ad2565b91506020830135611c9181611c57565b809150509250929050565b600060208284031215611cae57600080fd5b813561166281611c57565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611cf757611cf7611cb9565b604052919050565b60006001600160401b03821115611d1857611d18611cb9565b50601f01601f191660200190565b60008060008060808587031215611d3c57600080fd5b611d4585611ad2565b9350611d5360208601611ad2565b92506040850135915060608501356001600160401b03811115611d7557600080fd5b8501601f81018713611d8657600080fd5b8035611d99611d9482611cff565b611ccf565b818152886020838501011115611dae57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611de357600080fd5b611dec83611ad2565b9150611dfa60208401611ad2565b90509250929050565b600181811c90821680611e1757607f821691505b602082108103611e3757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068657610686611e3d565b600082611e8357634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610b2357600081815260208120601f850160051c81016020861015611eaf5750805b601f850160051c820191505b81811015610b0057828155600101611ebb565b81516001600160401b03811115611ee757611ee7611cb9565b611efb81611ef58454611e03565b84611e88565b602080601f831160018114611f305760008415611f185750858301515b600019600386901b1c1916600185901b178555610b00565b600085815260208120601f198616915b82811015611f5f57888601518255948401946001909101908401611f40565b5085821015611f7d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611f9f57600080fd5b5051919050565b600060208284031215611fb857600080fd5b815161166281611c57565b600060208284031215611fd557600080fd5b81516001600160401b03811115611feb57600080fd5b8201601f81018413611ffc57600080fd5b805161200a611d9482611cff565b81815285602083850101111561201f57600080fd5b610c8f826020830160208601611a56565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061206390830184611a7a565b9695505050505050565b60006020828403121561207f57600080fd5b815161166281611a23565b634e487b7160e01b600052603260045260246000fd5b6000600182016120b2576120b2611e3d565b506001019056fea26469706673582212204e337a17b027ae4f5b42b2310660f4239013716de87f6b23fbf3adc4fa93471564736f6c63430008110033

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063715018a611610118578063b88d4fde116100a0578063e268e4d31161006f578063e268e4d31461059a578063e53b2017146105ba578063e58306f9146105da578063e985e9c5146105fa578063f2fde38b1461061a57600080fd5b8063b88d4fde14610524578063be65d75114610537578063c87b56dd14610564578063d5abeb011461058457600080fd5b806395d89b41116100e757806395d89b411461048f578063a2026e3d146104a4578063a22cb465146104c4578063a854ffba146104e4578063b6fce0d41461050457600080fd5b8063715018a61461041c5780637cb64759146104315780638069b9af146104515780638da5cb5b1461047157600080fd5b80632eb4a7ab1161019b5780635a23dd991161016a5780635a23dd99146103825780635c474f9e146103a25780635ced2dde146103bc5780636352211e146103dc57806370a08231146103fc57600080fd5b80632eb4a7ab1461032357806342842e0e146103395780634460d3cf1461034c578063453c23101461036c57600080fd5b8063124cc077116101d7578063124cc077146102ad57806313728288146102cd57806318160ddd146102ed57806323b872dd1461031057600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004611a39565b61063a565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b5061025361068c565b6040516102359190611aa6565b34801561026c57600080fd5b5061028061027b366004611ab9565b61071e565b6040516001600160a01b039091168152602001610235565b6102ab6102a6366004611ae9565b610762565b005b3480156102b957600080fd5b506102ab6102c8366004611b13565b610802565b3480156102d957600080fd5b506102ab6102e8366004611ab9565b61082c565b3480156102f957600080fd5b50600154600054035b604051908152602001610235565b6102ab61031e366004611b2e565b61096f565b34801561032f57600080fd5b50610302600c5481565b6102ab610347366004611b2e565b610b08565b34801561035857600080fd5b506102ab610367366004611b13565b610b28565b34801561037857600080fd5b50610302600a5481565b34801561038e57600080fd5b5061022961039d366004611bb5565b610c17565b3480156103ae57600080fd5b50600b546102299060ff1681565b3480156103c857600080fd5b506102536103d7366004611ab9565b610c98565b3480156103e857600080fd5b506102806103f7366004611ab9565b610d32565b34801561040857600080fd5b50610302610417366004611b13565b610d3d565b34801561042857600080fd5b506102ab610d8b565b34801561043d57600080fd5b506102ab61044c366004611ab9565b610d9f565b34801561045d57600080fd5b506102ab61046c366004611ab9565b610dac565b34801561047d57600080fd5b506008546001600160a01b0316610280565b34801561049b57600080fd5b50610253610ea1565b3480156104b057600080fd5b506102ab6104bf366004611c07565b610eb0565b3480156104d057600080fd5b506102ab6104df366004611c65565b6110cb565b3480156104f057600080fd5b506102ab6104ff366004611c9c565b611137565b34801561051057600080fd5b5061025361051f366004611ab9565b611152565b6102ab610532366004611d26565b61126c565b34801561054357600080fd5b50610302610552366004611ab9565b600d6020526000908152604090205481565b34801561057057600080fd5b5061025361057f366004611ab9565b6112b0565b34801561059057600080fd5b5061030260095481565b3480156105a657600080fd5b506102ab6105b5366004611ab9565b611322565b3480156105c657600080fd5b506102ab6105d5366004611b13565b61132f565b3480156105e657600080fd5b506102ab6105f5366004611ae9565b6113c8565b34801561060657600080fd5b50610229610615366004611dd0565b6114f1565b34801561062657600080fd5b506102ab610635366004611b13565b61151f565b60006301ffc9a760e01b6001600160e01b03198316148061066b57506380ac58cd60e01b6001600160e01b03198316145b806106865750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461069b90611e03565b80601f01602080910402602001604051908101604052809291908181526020018280546106c790611e03565b80156107145780601f106106e957610100808354040283529160200191610714565b820191906000526020600020905b8154815290600101906020018083116106f757829003601f168201915b5050505050905090565b600061072982611595565b610746576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076d82610d32565b9050336001600160a01b038216146107a65761078981336114f1565b6107a6576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61080a6115bc565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b3361083682610d32565b6001600160a01b0316146108a25760405162461bcd60e51b815260206004820152602860248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20706175736520746044820152676f6b656e20444e4160c01b60648201526084015b60405180910390fd5b6000818152600e6020526040902080546108bb90611e03565b15905061090a5760405162461bcd60e51b815260206004820152601b60248201527f546f6b656e20444e4120697320616c72656164792070617573656400000000006044820152606401610899565b6000818152600d60205260409020546201518061092942616270611e53565b6109339190611e66565b60408051602081019390935282015260600160408051601f198184030181529181526000838152600e602052209061096b9082611ece565b5050565b600061097a82611616565b9050836001600160a01b0316816001600160a01b0316146109ad5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176109fa576109dd86336114f1565b6109fa57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a2157604051633a954ecd60e21b815260040160405180910390fd5b8015610a2c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610abe57600184016000818152600460205260408120549003610abc576000548114610abc5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610b238383836040518060200160405280600081525061126c565b505050565b610b306115bc565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610b79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b9d9190611f8d565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610bed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c119190611fa6565b50505050565b6040516001600160601b0319606085901b1660208201526000908190603401604051602081830303815290604052805190602001209050610c8f84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600c549150849050611684565b95945050505050565b600e6020526000908152604090208054610cb190611e03565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90611e03565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b505050505081565b600061068682611616565b60006001600160a01b038216610d66576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610d936115bc565b610d9d600061169a565b565b610da76115bc565b600c55565b33610db682610d32565b6001600160a01b031614610e1f5760405162461bcd60e51b815260206004820152602a60248201527f4f6e6c792074686520746f6b656e206f776e65722063616e20756e706175736560448201526920746f6b656e20444e4160b01b6064820152608401610899565b6000818152600e602052604081208054610e3890611e03565b905011610e875760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e20444e4120697320616c726561647920756e7061757365640000006044820152606401610899565b6000818152600e60205260408120610e9e916119d5565b50565b60606003805461069b90611e03565b600b5460ff16610f025760405162461bcd60e51b815260206004820152601860248201527f53616c6520686173206e6f7420737461727465642079657400000000000000006044820152606401610899565b600954836001600160401b0316610f1860005490565b610f229190611e53565b1115610f665760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610899565b610f71338383610c17565b610fbd5760405162461bcd60e51b815260206004820152601760248201527f41646472657373206e6f742077686974656c69737465640000000000000000006044820152606401610899565b600a54836001600160401b0316610ff6336001600160a01b03166000908152600560205260409081902054901c6001600160401b031690565b6110009190611e53565b111561104e5760405162461bcd60e51b815260206004820152601f60248201527f416464726573732063616e6e6f74206d696e74206d6f726520746f6b656e73006044820152606401610899565b60008054905b846001600160401b03168110156110b6576040516001600160601b03193360601b166020820152828201603482015260540160408051601f1981840301815291815281516020928301208484016000908152600d909352912055600101611054565b5050610b2333846001600160401b03166116ec565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61113f6115bc565b600b805460ff1916911515919091179055565b6000818152600e6020526040902080546060919061116f90611e03565b90506000036111c9576000828152600d60205260409020546201518061119742616270611e53565b6111a19190611e66565b6040805160208101939093528201526060016040516020818303038152906040529050919050565b6000828152600e6020526040902080546111e290611e03565b80601f016020809104026020016040519081016040528092919081815260200182805461120e90611e03565b801561125b5780601f106112305761010080835404028352916020019161125b565b820191906000526020600020905b81548152906001019060200180831161123e57829003601f168201915b50505050509050919050565b919050565b61127784848461096f565b6001600160a01b0383163b15610c115761129384848484611706565b610c11576040516368d2bf6b60e11b815260040160405180910390fd5b600f5460405163c87b56dd60e01b8152600481018390526060916001600160a01b03169063c87b56dd90602401600060405180830381865afa1580156112fa573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526106869190810190611fc3565b61132a6115bc565b600a55565b6113376115bc565b60405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114611384576040519150601f19603f3d011682016040523d82523d6000602084013e611389565b606091505b5050905080610b235760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b6044820152606401610899565b6113d06115bc565b600954816113dd60005490565b6113e79190611e53565b111561142b5760405162461bcd60e51b815260206004820152601360248201527213585e0814dd5c1c1b1e48115e18d959591959606a1b6044820152606401610899565b601e8111156114865760405162461bcd60e51b815260206004820152602160248201527f4d6178206d696e7420706572207472616e73616374696f6e20657863656564656044820152601960fa1b6064820152608401610899565b60008054905b828110156114e5576040516001600160601b03193360601b166020820152828201603482015260540160408051601f1981840301815291815281516020928301208484016000908152600d90935291205560010161148c565b505061096b82826116ec565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6115276115bc565b6001600160a01b03811661158c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610899565b610e9e8161169a565b6000805482108015610686575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610d9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610899565b60008160005481101561166b5760008181526004602052604081205490600160e01b82169003611669575b80600003611662575060001901600081815260046020526040902054611641565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b60008261169185846117f1565b14949350505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61096b82826040518060200160405280600081525061183e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061173b903390899088908890600401612030565b6020604051808303816000875af1925050508015611776575060408051601f3d908101601f191682019092526117739181019061206d565b60015b6117d4573d8080156117a4576040519150601f19603f3d011682016040523d82523d6000602084013e6117a9565b606091505b5080516000036117cc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600081815b845181101561183657611822828683815181106118155761181561208a565b60200260200101516118ab565b91508061182e816120a0565b9150506117f6565b509392505050565b61184883836118d7565b6001600160a01b0383163b15610b23576000548281035b6118726000868380600101945086611706565b61188f576040516368d2bf6b60e11b815260040160405180910390fd5b81811061185f5781600054146118a457600080fd5b5050505050565b60008183106118c7576000828152602084905260409020611662565b5060009182526020526040902090565b60008054908290036118fc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146119ab57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611973565b50816000036119cc57604051622e076360e81b815260040160405180910390fd5b60005550505050565b5080546119e190611e03565b6000825580601f106119f1575050565b601f016020900490600052602060002090810190610e9e91905b80821115611a1f5760008155600101611a0b565b5090565b6001600160e01b031981168114610e9e57600080fd5b600060208284031215611a4b57600080fd5b813561166281611a23565b60005b83811015611a71578181015183820152602001611a59565b50506000910152565b60008151808452611a92816020860160208601611a56565b601f01601f19169290920160200192915050565b6020815260006116626020830184611a7a565b600060208284031215611acb57600080fd5b5035919050565b80356001600160a01b038116811461126757600080fd5b60008060408385031215611afc57600080fd5b611b0583611ad2565b946020939093013593505050565b600060208284031215611b2557600080fd5b61166282611ad2565b600080600060608486031215611b4357600080fd5b611b4c84611ad2565b9250611b5a60208501611ad2565b9150604084013590509250925092565b60008083601f840112611b7c57600080fd5b5081356001600160401b03811115611b9357600080fd5b6020830191508360208260051b8501011115611bae57600080fd5b9250929050565b600080600060408486031215611bca57600080fd5b611bd384611ad2565b925060208401356001600160401b03811115611bee57600080fd5b611bfa86828701611b6a565b9497909650939450505050565b600080600060408486031215611c1c57600080fd5b83356001600160401b038082168214611c3457600080fd5b90935060208501359080821115611c4a57600080fd5b50611bfa86828701611b6a565b8015158114610e9e57600080fd5b60008060408385031215611c7857600080fd5b611c8183611ad2565b91506020830135611c9181611c57565b809150509250929050565b600060208284031215611cae57600080fd5b813561166281611c57565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611cf757611cf7611cb9565b604052919050565b60006001600160401b03821115611d1857611d18611cb9565b50601f01601f191660200190565b60008060008060808587031215611d3c57600080fd5b611d4585611ad2565b9350611d5360208601611ad2565b92506040850135915060608501356001600160401b03811115611d7557600080fd5b8501601f81018713611d8657600080fd5b8035611d99611d9482611cff565b611ccf565b818152886020838501011115611dae57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b60008060408385031215611de357600080fd5b611dec83611ad2565b9150611dfa60208401611ad2565b90509250929050565b600181811c90821680611e1757607f821691505b602082108103611e3757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068657610686611e3d565b600082611e8357634e487b7160e01b600052601260045260246000fd5b500490565b601f821115610b2357600081815260208120601f850160051c81016020861015611eaf5750805b601f850160051c820191505b81811015610b0057828155600101611ebb565b81516001600160401b03811115611ee757611ee7611cb9565b611efb81611ef58454611e03565b84611e88565b602080601f831160018114611f305760008415611f185750858301515b600019600386901b1c1916600185901b178555610b00565b600085815260208120601f198616915b82811015611f5f57888601518255948401946001909101908401611f40565b5085821015611f7d5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611f9f57600080fd5b5051919050565b600060208284031215611fb857600080fd5b815161166281611c57565b600060208284031215611fd557600080fd5b81516001600160401b03811115611feb57600080fd5b8201601f81018413611ffc57600080fd5b805161200a611d9482611cff565b81815285602083850101111561201f57600080fd5b610c8f826020830160208601611a56565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061206390830184611a7a565b9695505050505050565b60006020828403121561207f57600080fd5b815161166281611a23565b634e487b7160e01b600052603260045260246000fd5b6000600182016120b2576120b2611e3d565b506001019056fea26469706673582212204e337a17b027ae4f5b42b2310660f4239013716de87f6b23fbf3adc4fa93471564736f6c63430008110033

Deployed Bytecode Sourcemap

66819:3983:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30008:639;;;;;;;;;;-1:-1:-1;30008:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;30008:639:0;;;;;;;;30910:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37401:218::-;;;;;;;;;;-1:-1:-1;37401:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;37401:218:0;1533:203:1;36834:408:0;;;;;;:::i;:::-;;:::i;:::-;;67600:151;;;;;;;;;;-1:-1:-1;67600:151:0;;;;;:::i;:::-;;:::i;68310:351::-;;;;;;;;;;-1:-1:-1;68310:351:0;;;;;:::i;:::-;;:::i;26661:323::-;;;;;;;;;;-1:-1:-1;26935:12:0;;26722:7;26919:13;:28;26661:323;;;2515:25:1;;;2503:2;2488:18;26661:323:0;2369:177:1;41040:2825:0;;;;;;:::i;:::-;;:::i;67003:25::-;;;;;;;;;;;;;;;;43961:193;;;;;;:::i;:::-;;:::i;70421:231::-;;;;;;;;;;-1:-1:-1;70421:231:0;;;;;:::i;:::-;;:::i;66923:31::-;;;;;;;;;;;;;;;;67759:232;;;;;;;;;;-1:-1:-1;67759:232:0;;;;;:::i;:::-;;:::i;66967:23::-;;;;;;;;;;-1:-1:-1;66967:23:0;;;;;;;;67087:49;;;;;;;;;;-1:-1:-1;67087:49:0;;;;;:::i;:::-;;:::i;32303:152::-;;;;;;;;;;-1:-1:-1;32303:152:0;;;;;:::i;:::-;;:::i;27845:233::-;;;;;;;;;;-1:-1:-1;27845:233:0;;;;;:::i;:::-;;:::i;65815:103::-;;;;;;;;;;;;;:::i;67486:106::-;;;;;;;;;;-1:-1:-1;67486:106:0;;;;;:::i;:::-;;:::i;68669:292::-;;;;;;;;;;-1:-1:-1;68669:292:0;;;;;:::i;:::-;;:::i;65167:87::-;;;;;;;;;;-1:-1:-1;65240:6:0;;-1:-1:-1;;;;;65240:6:0;65167:87;;31086:104;;;;;;;;;;;;;:::i;68969:698::-;;;;;;;;;;-1:-1:-1;68969:698:0;;;;;:::i;:::-;;:::i;37959:234::-;;;;;;;;;;-1:-1:-1;37959:234:0;;;;;:::i;:::-;;:::i;67371:107::-;;;;;;;;;;-1:-1:-1;67371:107:0;;;;;:::i;:::-;;:::i;67999:303::-;;;;;;;;;;-1:-1:-1;67999:303:0;;;;;:::i;:::-;;:::i;44752:407::-;;;;;;:::i;:::-;;:::i;67037:43::-;;;;;;;;;;-1:-1:-1;67037:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;70660:139;;;;;;;;;;-1:-1:-1;70660:139:0;;;;;:::i;:::-;;:::i;66886:30::-;;;;;;;;;;;;;;;;67249:114;;;;;;;;;;-1:-1:-1;67249:114:0;;;;;:::i;:::-;;:::i;70187:226::-;;;;;;;;;;-1:-1:-1;70187:226:0;;;;;:::i;:::-;;:::i;69675:504::-;;;;;;;;;;-1:-1:-1;69675:504:0;;;;;:::i;:::-;;:::i;38350:164::-;;;;;;;;;;-1:-1:-1;38350:164:0;;;;;:::i;:::-;;:::i;66073:201::-;;;;;;;;;;-1:-1:-1;66073:201:0;;;;;:::i;:::-;;:::i;30008:639::-;30093:4;-1:-1:-1;;;;;;;;;30417:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;30494:25:0;;;30417:102;:179;;;-1:-1:-1;;;;;;;;;;30571:25:0;;;30417:179;30397:199;30008:639;-1:-1:-1;;30008:639:0:o;30910:100::-;30964:13;30997:5;30990:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30910:100;:::o;37401:218::-;37477:7;37502:16;37510:7;37502;:16::i;:::-;37497:64;;37527:34;;-1:-1:-1;;;37527:34:0;;;;;;;;;;;37497:64;-1:-1:-1;37581:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;37581:30:0;;37401:218::o;36834:408::-;36923:13;36939:16;36947:7;36939;:16::i;:::-;36923:32;-1:-1:-1;61167:10:0;-1:-1:-1;;;;;36972:28:0;;;36968:175;;37020:44;37037:5;61167:10;38350:164;:::i;37020:44::-;37015:128;;37092:35;;-1:-1:-1;;;37092:35:0;;;;;;;;;;;37015:128;37155:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;37155:35:0;-1:-1:-1;;;;;37155:35:0;;;;;;;;;37206:28;;37155:24;;37206:28;;;;;;;36912:330;36834:408;;:::o;67600:151::-;65053:13;:11;:13::i;:::-;67684:15:::1;:59:::0;;-1:-1:-1;;;;;;67684:59:0::1;-1:-1:-1::0;;;;;67684:59:0;;;::::1;::::0;;;::::1;::::0;;67600:151::o;68310:351::-;68403:10;68383:16;68391:7;68383;:16::i;:::-;-1:-1:-1;;;;;68383:30:0;;68375:83;;;;-1:-1:-1;;;68375:83:0;;8018:2:1;68375:83:0;;;8000:21:1;8057:2;8037:18;;;8030:30;8096:34;8076:18;;;8069:62;-1:-1:-1;;;8147:18:1;;;8140:38;8195:19;;68375:83:0;;;;;;;;;68477:25;;;;:16;:25;;;;;:32;;;;;:::i;:::-;:37;;-1:-1:-1;68469:77:0;;;;-1:-1:-1;;;68469:77:0;;8427:2:1;68469:77:0;;;8409:21:1;8466:2;8446:18;;;8439:30;8505:29;8485:18;;;8478:57;8552:18;;68469:77:0;8225:351:1;68469:77:0;68602:17;;;;:8;:17;;;;;;68647:5;68622:23;:15;68640:5;68622:23;:::i;:::-;68621:31;;;;:::i;:::-;68585:68;;;;;;9222:19:1;;;;9257:12;;9250:28;9294:12;;68585:68:0;;;-1:-1:-1;;68585:68:0;;;;;;;;;68557:25;;;;:16;68585:68;68557:25;;;:96;;:25;:96;:::i;:::-;;68310:351;:::o;41040:2825::-;41182:27;41212;41231:7;41212:18;:27::i;:::-;41182:57;;41297:4;-1:-1:-1;;;;;41256:45:0;41272:19;-1:-1:-1;;;;;41256:45:0;;41252:86;;41310:28;;-1:-1:-1;;;41310:28:0;;;;;;;;;;;41252:86;41352:27;40148:24;;;:15;:24;;;;;40376:26;;61167:10;39773:30;;;-1:-1:-1;;;;;39466:28:0;;39751:20;;;39748:56;41538:180;;41631:43;41648:4;61167:10;38350:164;:::i;41631:43::-;41626:92;;41683:35;;-1:-1:-1;;;41683:35:0;;;;;;;;;;;41626:92;-1:-1:-1;;;;;41735:16:0;;41731:52;;41760:23;;-1:-1:-1;;;41760:23:0;;;;;;;;;;;41731:52;41932:15;41929:160;;;42072:1;42051:19;42044:30;41929:160;-1:-1:-1;;;;;42469:24:0;;;;;;;:18;:24;;;;;;42467:26;;-1:-1:-1;;42467:26:0;;;42538:22;;;;;;;;;42536:24;;-1:-1:-1;42536:24:0;;;35692:11;35667:23;35663:41;35650:63;-1:-1:-1;;;35650:63:0;42831:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;43126:47:0;;:52;;43122:627;;43231:1;43221:11;;43199:19;43354:30;;;:17;:30;;;;;;:35;;43350:384;;43492:13;;43477:11;:28;43473:242;;43639:30;;;;:17;:30;;;;;:52;;;43473:242;43180:569;43122:627;43796:7;43792:2;-1:-1:-1;;;;;43777:27:0;43786:4;-1:-1:-1;;;;;43777:27:0;;;;;;;;;;;43815:42;41171:2694;;;41040:2825;;;:::o;43961:193::-;44107:39;44124:4;44130:2;44134:7;44107:39;;;;;;;;;;;;:16;:39::i;:::-;43961:193;;;:::o;70421:231::-;65053:13;:11;:13::i;:::-;70552:38:::1;::::0;-1:-1:-1;;;70552:38:0;;70584:4:::1;70552:38;::::0;::::1;1679:51:1::0;70517:5:0;;70487:20:::1;::::0;-1:-1:-1;;;;;70552:23:0;::::1;::::0;::::1;::::0;1652:18:1;;70552:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70601:43;::::0;-1:-1:-1;;;70601:43:0;;70624:10:::1;70601:43;::::0;::::1;11878:51:1::0;11945:18;;;11938:34;;;70534:56:0;;-1:-1:-1;;;;;;70601:22:0;::::1;::::0;::::1;::::0;11851:18:1;;70601:43:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;70476:176;;70421:231:::0;:::o;67759:232::-;67892:22;;-1:-1:-1;;;;;;12382:2:1;12378:15;;;12374:53;67892:22:0;;;12362:66:1;67850:4:0;;;;12444:12:1;;67892:22:0;;;;;;;;;;;;67882:33;;;;;;67867:48;;67933:50;67952:12;;67933:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;67966:10:0;;;-1:-1:-1;67978:4:0;;-1:-1:-1;67933:18:0;:50::i;:::-;67926:57;67759:232;-1:-1:-1;;;;;67759:232:0:o;67087:49::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;32303:152::-;32375:7;32418:27;32437:7;32418:18;:27::i;27845:233::-;27917:7;-1:-1:-1;;;;;27941:19:0;;27937:60;;27969:28;;-1:-1:-1;;;27969:28:0;;;;;;;;;;;27937:60;-1:-1:-1;;;;;;28015:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;28015:55:0;;27845:233::o;65815:103::-;65053:13;:11;:13::i;:::-;65880:30:::1;65907:1;65880:18;:30::i;:::-;65815:103::o:0;67486:106::-;65053:13;:11;:13::i;:::-;67560:10:::1;:24:::0;67486:106::o;68669:292::-;68764:10;68744:16;68752:7;68744;:16::i;:::-;-1:-1:-1;;;;;68744:30:0;;68736:85;;;;-1:-1:-1;;;68736:85:0;;12669:2:1;68736:85:0;;;12651:21:1;12708:2;12688:18;;;12681:30;12747:34;12727:18;;;12720:62;-1:-1:-1;;;12798:18:1;;;12791:40;12848:19;;68736:85:0;12467:406:1;68736:85:0;68875:1;68840:25;;;:16;:25;;;;;:32;;;;;:::i;:::-;;;:36;68832:78;;;;-1:-1:-1;;;68832:78:0;;13080:2:1;68832:78:0;;;13062:21:1;13119:2;13099:18;;;13092:30;13158:31;13138:18;;;13131:59;13207:18;;68832:78:0;12878:353:1;68832:78:0;68928:25;;;;:16;:25;;;;;68921:32;;;:::i;:::-;68669:292;:::o;31086:104::-;31142:13;31175:7;31168:14;;;;;:::i;68969:698::-;69059:11;;;;69051:48;;;;-1:-1:-1;;;69051:48:0;;13438:2:1;69051:48:0;;;13420:21:1;13477:2;13457:18;;;13450:30;13516:26;13496:18;;;13489:54;13560:18;;69051:48:0;13236:348:1;69051:48:0;69145:9;;69135:6;-1:-1:-1;;;;;69118:23:0;:14;27137:7;27328:13;;27082:296;69118:14;:23;;;;:::i;:::-;:36;;69110:68;;;;-1:-1:-1;;;69110:68:0;;13791:2:1;69110:68:0;;;13773:21:1;13830:2;13810:18;;;13803:30;-1:-1:-1;;;13849:18:1;;;13842:49;13908:18;;69110:68:0;13589:343:1;69110:68:0;69197:39;69211:10;69223:12;;69197:13;:39::i;:::-;69189:75;;;;-1:-1:-1;;;69189:75:0;;14139:2:1;69189:75:0;;;14121:21:1;14178:2;14158:18;;;14151:30;14217:25;14197:18;;;14190:53;14260:18;;69189:75:0;13937:347:1;69189:75:0;69321:12;;69311:6;-1:-1:-1;;;;;69283:34:0;:25;69297:10;-1:-1:-1;;;;;28249:25:0;28221:7;28249:25;;;:18;:25;;22142:2;28249:25;;;;;:50;;-1:-1:-1;;;;;28248:82:0;;28160:178;69283:25;:34;;;;:::i;:::-;:50;;69275:94;;;;-1:-1:-1;;;69275:94:0;;14491:2:1;69275:94:0;;;14473:21:1;14530:2;14510:18;;;14503:30;14569:33;14549:18;;;14542:61;14620:18;;69275:94:0;14289:355:1;69275:94:0;69405:18;26430:13;;;69455:154;69479:6;-1:-1:-1;;;;;69475:10:0;:1;:10;69455:154;;;69548:44;;-1:-1:-1;;;;;;69565:10:0;14826:2:1;14822:15;14818:53;69548:44:0;;;14806:66:1;69577:14:0;;;14888:12:1;;;14881:28;14925:12;;69548:44:0;;;-1:-1:-1;;69548:44:0;;;;;;;;;69538:55;;69548:44;69538:55;;;;69520:14;;;69511:24;;;;:8;:24;;;;;:82;69487:3;;69455:154;;;;69380:240;69630:29;69640:10;69652:6;-1:-1:-1;;;;;69630:29:0;:9;:29::i;37959:234::-;61167:10;38054:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;38054:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;38054:60:0;;;;;;;;;;38130:55;;540:41:1;;;38054:49:0;;61167:10;38130:55;;513:18:1;38130:55:0;;;;;;;37959:234;;:::o;67371:107::-;65053:13;:11;:13::i;:::-;67444:11:::1;:26:::0;;-1:-1:-1;;67444:26:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67371:107::o;67999:303::-;68089:25;;;;:16;:25;;;;;:32;;68060:12;;68089:25;:32;;;:::i;:::-;;;68125:1;68089:37;68085:210;;68167:17;;;;:8;:17;;;;;;68212:5;68187:23;:15;68205:5;68187:23;:::i;:::-;68186:31;;;;:::i;:::-;68150:68;;;;;;9222:19:1;;;;9257:12;;9250:28;9294:12;;68150:68:0;;;;;;;;;;;;68143:75;;67999:303;;;:::o;68085:210::-;68258:25;;;;:16;:25;;;;;68251:32;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67999:303;;;:::o;68085:210::-;67999:303;;;:::o;44752:407::-;44927:31;44940:4;44946:2;44950:7;44927:12;:31::i;:::-;-1:-1:-1;;;;;44973:14:0;;;:19;44969:183;;45012:56;45043:4;45049:2;45053:7;45062:5;45012:30;:56::i;:::-;45007:145;;45096:40;;-1:-1:-1;;;45096:40:0;;;;;;;;;;;70660:139;70758:15;;:33;;-1:-1:-1;;;70758:33:0;;;;;2515:25:1;;;70725:13:0;;-1:-1:-1;;;;;70758:15:0;;:24;;2488:18:1;;70758:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70758:33:0;;;;;;;;;;;;:::i;67249:114::-;65053:13;:11;:13::i;:::-;67327:12:::1;:28:::0;67249:114::o;70187:226::-;65053:13;:11;:13::i;:::-;70323:36:::1;::::0;70268:21:::1;::::0;70250:15:::1;::::0;-1:-1:-1;;;;;70323:16:0;::::1;::::0;70268:21;;70250:15;70323:36;70250:15;70323:36;70268:21;70323:16;:36:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70300:59;;;70378:11;70370:35;;;::::0;-1:-1:-1;;;70370:35:0;;16013:2:1;70370:35:0::1;::::0;::::1;15995:21:1::0;16052:2;16032:18;;;16025:30;-1:-1:-1;;;16071:18:1;;;16064:41;16122:18;;70370:35:0::1;15811:335:1::0;69675:504:0;65053:13;:11;:13::i;:::-;69787:9:::1;;69777:6;69760:14;27137:7:::0;27328:13;;27082:296;69760:14:::1;:23;;;;:::i;:::-;:36;;69752:68;;;::::0;-1:-1:-1;;;69752:68:0;;13791:2:1;69752:68:0::1;::::0;::::1;13773:21:1::0;13830:2;13810:18;;;13803:30;-1:-1:-1;;;13849:18:1;;;13842:49;13908:18;;69752:68:0::1;13589:343:1::0;69752:68:0::1;69849:2;69839:6;:12;;69831:58;;;::::0;-1:-1:-1;;;69831:58:0;;16353:2:1;69831:58:0::1;::::0;::::1;16335:21:1::0;16392:2;16372:18;;;16365:30;16431:34;16411:18;;;16404:62;-1:-1:-1;;;16482:18:1;;;16475:31;16523:19;;69831:58:0::1;16151:397:1::0;69831:58:0::1;69925:18;26430:13:::0;;;69975:154:::1;69999:6;69995:1;:10;69975:154;;;70068:44;::::0;-1:-1:-1;;;;;;70085:10:0::1;14826:2:1::0;14822:15;14818:53;70068:44:0::1;::::0;::::1;14806:66:1::0;70097:14:0;;::::1;14888:12:1::0;;;14881:28;14925:12;;70068:44:0::1;::::0;;-1:-1:-1;;70068:44:0;;::::1;::::0;;;;;;70058:55;;70068:44:::1;70058:55:::0;;::::1;::::0;70040:14;;::::1;70031:24;::::0;;;:8:::1;:24:::0;;;;;:82;70007:3:::1;;69975:154;;;;69900:240;70150:21;70160:2;70164:6;70150:9;:21::i;38350:164::-:0;-1:-1:-1;;;;;38471:25:0;;;38447:4;38471:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38350:164::o;66073:201::-;65053:13;:11;:13::i;:::-;-1:-1:-1;;;;;66162:22:0;::::1;66154:73;;;::::0;-1:-1:-1;;;66154:73:0;;16755:2:1;66154:73:0::1;::::0;::::1;16737:21:1::0;16794:2;16774:18;;;16767:30;16833:34;16813:18;;;16806:62;-1:-1:-1;;;16884:18:1;;;16877:36;16930:19;;66154:73:0::1;16553:402:1::0;66154:73:0::1;66238:28;66257:8;66238:18;:28::i;38772:282::-:0;38837:4;38927:13;;38917:7;:23;38874:153;;;;-1:-1:-1;;38978:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;38978:44:0;:49;;38772:282::o;65332:132::-;65240:6;;-1:-1:-1;;;;;65240:6:0;61167:10;65396:23;65388:68;;;;-1:-1:-1;;;65388:68:0;;17162:2:1;65388:68:0;;;17144:21:1;;;17181:18;;;17174:30;17240:34;17220:18;;;17213:62;17292:18;;65388:68:0;16960:356:1;33458:1275:0;33525:7;33560;33662:13;;33655:4;:20;33651:1015;;;33700:14;33717:23;;;:17;:23;;;;;;;-1:-1:-1;;;33806:24:0;;:29;;33802:845;;34471:113;34478:6;34488:1;34478:11;34471:113;;-1:-1:-1;;;34549:6:0;34531:25;;;;:17;:25;;;;;;34471:113;;;34617:6;33458:1275;-1:-1:-1;;;33458:1275:0:o;33802:845::-;33677:989;33651:1015;34694:31;;-1:-1:-1;;;34694:31:0;;;;;;;;;;;4098:190;4223:4;4276;4247:25;4260:5;4267:4;4247:12;:25::i;:::-;:33;;4098:190;-1:-1:-1;;;;4098:190:0:o;66434:191::-;66527:6;;;-1:-1:-1;;;;;66544:17:0;;;-1:-1:-1;;;;;;66544:17:0;;;;;;;66577:40;;66527:6;;;66544:17;66527:6;;66577:40;;66508:16;;66577:40;66497:128;66434:191;:::o;54912:112::-;54989:27;54999:2;55003:8;54989:27;;;;;;;;;;;;:9;:27::i;47243:716::-;47427:88;;-1:-1:-1;;;47427:88:0;;47406:4;;-1:-1:-1;;;;;47427:45:0;;;;;:88;;61167:10;;47494:4;;47500:7;;47509:5;;47427:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47427:88:0;;;;;;;;-1:-1:-1;;47427:88:0;;;;;;;;;;;;:::i;:::-;;;47423:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47710:6;:13;47727:1;47710:18;47706:235;;47756:40;;-1:-1:-1;;;47756:40:0;;;;;;;;;;;47706:235;47899:6;47893:13;47884:6;47880:2;47876:15;47869:38;47423:529;-1:-1:-1;;;;;;47586:64:0;-1:-1:-1;;;47586:64:0;;-1:-1:-1;47243:716:0;;;;;;:::o;4965:296::-;5048:7;5091:4;5048:7;5106:118;5130:5;:12;5126:1;:16;5106:118;;;5179:33;5189:12;5203:5;5209:1;5203:8;;;;;;;;:::i;:::-;;;;;;;5179:9;:33::i;:::-;5164:48;-1:-1:-1;5144:3:0;;;;:::i;:::-;;;;5106:118;;;-1:-1:-1;5241:12:0;4965:296;-1:-1:-1;;;4965:296:0:o;54139:689::-;54270:19;54276:2;54280:8;54270:5;:19::i;:::-;-1:-1:-1;;;;;54331:14:0;;;:19;54327:483;;54371:11;54385:13;54433:14;;;54466:233;54497:62;54536:1;54540:2;54544:7;;;;;;54553:5;54497:30;:62::i;:::-;54492:167;;54595:40;;-1:-1:-1;;;54595:40:0;;;;;;;;;;;54492:167;54694:3;54686:5;:11;54466:233;;54781:3;54764:13;;:20;54760:34;;54786:8;;;54760:34;54352:458;;54139:689;;;:::o;11172:149::-;11235:7;11266:1;11262;:5;:51;;11397:13;11491:15;;;11527:4;11520:15;;;11574:4;11558:21;;11262:51;;;-1:-1:-1;11397:13:0;11491:15;;;11527:4;11520:15;11574:4;11558:21;;;11172:149::o;48421:2966::-;48494:20;48517:13;;;48545;;;48541:44;;48567:18;;-1:-1:-1;;;48567:18:0;;;;;;;;;;;48541:44;-1:-1:-1;;;;;49073:22:0;;;;;;:18;:22;;;;22142:2;49073:22;;;:71;;49111:32;49099:45;;49073:71;;;49387:31;;;:17;:31;;;;;-1:-1:-1;36123:15:0;;36097:24;36093:46;35692:11;35667:23;35663:41;35660:52;35650:63;;49387:173;;49622:23;;;;49387:31;;49073:22;;50387:25;49073:22;;50240:335;50901:1;50887:12;50883:20;50841:346;50942:3;50933:7;50930:16;50841:346;;51160:7;51150:8;51147:1;51120:25;51117:1;51114;51109:59;50995:1;50982:15;50841:346;;;50845:77;51220:8;51232:1;51220:13;51216:45;;51242:19;;-1:-1:-1;;;51242:19:0;;;;;;;;;;;51216:45;51278:13;:19;-1:-1:-1;43961:193:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2178:186::-;2237:6;2290:2;2278:9;2269:7;2265:23;2261:32;2258:52;;;2306:1;2303;2296:12;2258:52;2329:29;2348:9;2329:29;:::i;2551:328::-;2628:6;2636;2644;2697:2;2685:9;2676:7;2672:23;2668:32;2665:52;;;2713:1;2710;2703:12;2665:52;2736:29;2755:9;2736:29;:::i;:::-;2726:39;;2784:38;2818:2;2807:9;2803:18;2784:38;:::i;:::-;2774:48;;2869:2;2858:9;2854:18;2841:32;2831:42;;2551:328;;;;;:::o;3066:367::-;3129:8;3139:6;3193:3;3186:4;3178:6;3174:17;3170:27;3160:55;;3211:1;3208;3201:12;3160:55;-1:-1:-1;3234:20:1;;-1:-1:-1;;;;;3266:30:1;;3263:50;;;3309:1;3306;3299:12;3263:50;3346:4;3338:6;3334:17;3322:29;;3406:3;3399:4;3389:6;3386:1;3382:14;3374:6;3370:27;3366:38;3363:47;3360:67;;;3423:1;3420;3413:12;3360:67;3066:367;;;;;:::o;3438:511::-;3533:6;3541;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3721:2;3710:9;3706:18;3693:32;-1:-1:-1;;;;;3740:6:1;3737:30;3734:50;;;3780:1;3777;3770:12;3734:50;3819:70;3881:7;3872:6;3861:9;3857:22;3819:70;:::i;:::-;3438:511;;3908:8;;-1:-1:-1;3793:96:1;;-1:-1:-1;;;;3438:511:1:o;4362:614::-;4456:6;4464;4472;4525:2;4513:9;4504:7;4500:23;4496:32;4493:52;;;4541:1;4538;4531:12;4493:52;4580:9;4567:23;-1:-1:-1;;;;;4667:2:1;4660:5;4656:14;4649:5;4646:25;4636:53;;4685:1;4682;4675:12;4636:53;4708:5;;-1:-1:-1;4764:2:1;4749:18;;4736:32;;4780:14;;;4777:34;;;4807:1;4804;4797:12;4777:34;;4846:70;4908:7;4899:6;4888:9;4884:22;4846:70;:::i;4981:118::-;5067:5;5060:13;5053:21;5046:5;5043:32;5033:60;;5089:1;5086;5079:12;5104:315;5169:6;5177;5230:2;5218:9;5209:7;5205:23;5201:32;5198:52;;;5246:1;5243;5236:12;5198:52;5269:29;5288:9;5269:29;:::i;:::-;5259:39;;5348:2;5337:9;5333:18;5320:32;5361:28;5383:5;5361:28;:::i;:::-;5408:5;5398:15;;;5104:315;;;;;:::o;5424:241::-;5480:6;5533:2;5521:9;5512:7;5508:23;5504:32;5501:52;;;5549:1;5546;5539:12;5501:52;5588:9;5575:23;5607:28;5629:5;5607:28;:::i;5670:127::-;5731:10;5726:3;5722:20;5719:1;5712:31;5762:4;5759:1;5752:15;5786:4;5783:1;5776:15;5802:275;5873:2;5867:9;5938:2;5919:13;;-1:-1:-1;;5915:27:1;5903:40;;-1:-1:-1;;;;;5958:34:1;;5994:22;;;5955:62;5952:88;;;6020:18;;:::i;:::-;6056:2;6049:22;5802:275;;-1:-1:-1;5802:275:1:o;6082:186::-;6130:4;-1:-1:-1;;;;;6155:6:1;6152:30;6149:56;;;6185:18;;:::i;:::-;-1:-1:-1;6251:2:1;6230:15;-1:-1:-1;;6226:29:1;6257:4;6222:40;;6082:186::o;6273:888::-;6368:6;6376;6384;6392;6445:3;6433:9;6424:7;6420:23;6416:33;6413:53;;;6462:1;6459;6452:12;6413:53;6485:29;6504:9;6485:29;:::i;:::-;6475:39;;6533:38;6567:2;6556:9;6552:18;6533:38;:::i;:::-;6523:48;;6618:2;6607:9;6603:18;6590:32;6580:42;;6673:2;6662:9;6658:18;6645:32;-1:-1:-1;;;;;6692:6:1;6689:30;6686:50;;;6732:1;6729;6722:12;6686:50;6755:22;;6808:4;6800:13;;6796:27;-1:-1:-1;6786:55:1;;6837:1;6834;6827:12;6786:55;6873:2;6860:16;6898:48;6914:31;6942:2;6914:31;:::i;:::-;6898:48;:::i;:::-;6969:2;6962:5;6955:17;7009:7;7004:2;6999;6995;6991:11;6987:20;6984:33;6981:53;;;7030:1;7027;7020:12;6981:53;7085:2;7080;7076;7072:11;7067:2;7060:5;7056:14;7043:45;7129:1;7124:2;7119;7112:5;7108:14;7104:23;7097:34;7150:5;7140:15;;;;;6273:888;;;;;;;:::o;7166:260::-;7234:6;7242;7295:2;7283:9;7274:7;7270:23;7266:32;7263:52;;;7311:1;7308;7301:12;7263:52;7334:29;7353:9;7334:29;:::i;:::-;7324:39;;7382:38;7416:2;7405:9;7401:18;7382:38;:::i;:::-;7372:48;;7166:260;;;;;:::o;7431:380::-;7510:1;7506:12;;;;7553;;;7574:61;;7628:4;7620:6;7616:17;7606:27;;7574:61;7681:2;7673:6;7670:14;7650:18;7647:38;7644:161;;7727:10;7722:3;7718:20;7715:1;7708:31;7762:4;7759:1;7752:15;7790:4;7787:1;7780:15;7644:161;;7431:380;;;:::o;8581:127::-;8642:10;8637:3;8633:20;8630:1;8623:31;8673:4;8670:1;8663:15;8697:4;8694:1;8687:15;8713:125;8778:9;;;8799:10;;;8796:36;;;8812:18;;:::i;8843:217::-;8883:1;8909;8899:132;;8953:10;8948:3;8944:20;8941:1;8934:31;8988:4;8985:1;8978:15;9016:4;9013:1;9006:15;8899:132;-1:-1:-1;9045:9:1;;8843:217::o;9442:544::-;9543:2;9538:3;9535:11;9532:448;;;9579:1;9604:5;9600:2;9593:17;9649:4;9645:2;9635:19;9719:2;9707:10;9703:19;9700:1;9696:27;9690:4;9686:38;9755:4;9743:10;9740:20;9737:47;;;-1:-1:-1;9778:4:1;9737:47;9833:2;9828:3;9824:12;9821:1;9817:20;9811:4;9807:31;9797:41;;9888:82;9906:2;9899:5;9896:13;9888:82;;;9951:17;;;9932:1;9921:13;9888:82;;10162:1348;10286:3;10280:10;-1:-1:-1;;;;;10305:6:1;10302:30;10299:56;;;10335:18;;:::i;:::-;10364:96;10453:6;10413:38;10445:4;10439:11;10413:38;:::i;:::-;10407:4;10364:96;:::i;:::-;10515:4;;10579:2;10568:14;;10596:1;10591:662;;;;11297:1;11314:6;11311:89;;;-1:-1:-1;11366:19:1;;;11360:26;11311:89;-1:-1:-1;;10119:1:1;10115:11;;;10111:24;10107:29;10097:40;10143:1;10139:11;;;10094:57;11413:81;;10561:943;;10591:662;9389:1;9382:14;;;9426:4;9413:18;;-1:-1:-1;;10627:20:1;;;10744:236;10758:7;10755:1;10752:14;10744:236;;;10847:19;;;10841:26;10826:42;;10939:27;;;;10907:1;10895:14;;;;10774:19;;10744:236;;;10748:3;11008:6;10999:7;10996:19;10993:201;;;11069:19;;;11063:26;-1:-1:-1;;11152:1:1;11148:14;;;11164:3;11144:24;11140:37;11136:42;11121:58;11106:74;;10993:201;-1:-1:-1;;;;;11240:1:1;11224:14;;;11220:22;11207:36;;-1:-1:-1;10162:1348:1:o;11515:184::-;11585:6;11638:2;11626:9;11617:7;11613:23;11609:32;11606:52;;;11654:1;11651;11644:12;11606:52;-1:-1:-1;11677:16:1;;11515:184;-1:-1:-1;11515:184:1:o;11983:245::-;12050:6;12103:2;12091:9;12082:7;12078:23;12074:32;12071:52;;;12119:1;12116;12109:12;12071:52;12151:9;12145:16;12170:28;12192:5;12170:28;:::i;14948:648::-;15028:6;15081:2;15069:9;15060:7;15056:23;15052:32;15049:52;;;15097:1;15094;15087:12;15049:52;15130:9;15124:16;-1:-1:-1;;;;;15155:6:1;15152:30;15149:50;;;15195:1;15192;15185:12;15149:50;15218:22;;15271:4;15263:13;;15259:27;-1:-1:-1;15249:55:1;;15300:1;15297;15290:12;15249:55;15329:2;15323:9;15354:48;15370:31;15398:2;15370:31;:::i;15354:48::-;15425:2;15418:5;15411:17;15465:7;15460:2;15455;15451;15447:11;15443:20;15440:33;15437:53;;;15486:1;15483;15476:12;15437:53;15499:67;15563:2;15558;15551:5;15547:14;15542:2;15538;15534:11;15499:67;:::i;17321:489::-;-1:-1:-1;;;;;17590:15:1;;;17572:34;;17642:15;;17637:2;17622:18;;17615:43;17689:2;17674:18;;17667:34;;;17737:3;17732:2;17717:18;;17710:31;;;17515:4;;17758:46;;17784:19;;17776:6;17758:46;:::i;:::-;17750:54;17321:489;-1:-1:-1;;;;;;17321:489:1:o;17815:249::-;17884:6;17937:2;17925:9;17916:7;17912:23;17908:32;17905:52;;;17953:1;17950;17943:12;17905:52;17985:9;17979:16;18004:30;18028:5;18004:30;:::i;18069:127::-;18130:10;18125:3;18121:20;18118:1;18111:31;18161:4;18158:1;18151:15;18185:4;18182:1;18175:15;18201:135;18240:3;18261:17;;;18258:43;;18281:18;;:::i;:::-;-1:-1:-1;18328:1:1;18317:13;;18201:135::o

Swarm Source

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