ETH Price: $2,600.83 (-2.24%)
Gas: 1 Gwei

Token

Gates Of Oxya - Lands (GoOL)
 

Overview

Max Total Supply

2,131 GoOL

Holders

117

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
kindersurprise.eth
Balance
0 GoOL
0x6586db371b7215b29ec38195c87efc52b8b5c431
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:
GatesOfOxyaLand

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/IERC721A.sol


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



pragma solidity ^0.8.14;






contract GatesOfOxyaLand is ERC721A, Ownable  {

    using Strings for uint;

    event Staked(address owner, uint tokenId, uint timeframe);
    event Unstaked(address owner, uint tokenId, uint timeframe);

    // Is approving allowed for listing
    bool approvingAllowed;

    // Is staked
    mapping(uint => bool) public isStaked;

    // Max supply of the collection
    uint public constant MAX_SUPPLY = 13932 ;

    // Address of the sales contract
    address saleContract;

    // Address of the staking contract
    address public stakingContract;

    string public baseURI;
    bool private isRevealed = false;

    // Timestamp until contract is frozen
    uint public frozenTimestamp;

    // Provenance hash
    string public provenanceHash;

    constructor(string memory _baseURI) ERC721A("Gates Of Oxya - Lands", "GoOL") {
        baseURI = _baseURI;
    }

    modifier isStakingContract {
        require(msg.sender == stakingContract,"Not staking contract");
        _;
    }

    modifier isSaleContract {
        require(msg.sender == saleContract);
        _;
    }

    function setStakingContractAddress(address stakingContractAddress) external onlyOwner {
        stakingContract = stakingContractAddress;
    }   

    function setSaleContractAddress(address saleContractAddress) external onlyOwner {
        saleContract = saleContractAddress;
    }   

    function setApprovingAllowed() external onlyOwner {
        approvingAllowed = !approvingAllowed;
    }

    function setProvenanceHash(string memory _provenanceHash) public onlyOwner {
        provenanceHash = _provenanceHash;
    }

    function setBaseUri(string memory _baseURI) external onlyOwner {
        baseURI = _baseURI;
    }

    function setRevealCollection() external onlyOwner {
        isRevealed = true;
    }

    function mintBySaleContract(address _addressBuyer, uint _quantity) external isSaleContract {
        require(totalSupply()+_quantity <= MAX_SUPPLY, "Cannot mint over MAX_SUPPLY");
        _safeMint(_addressBuyer, _quantity);
    }

    /*
     * Staking function by Sale contract
     * function that stakes NFT and attributes lottery chances
     */
    function stakeNFT(uint tokenId) external isStakingContract {
        isStaked[tokenId] = true;
        emit Staked(msg.sender, tokenId, block.timestamp);
    }
    
    /*
     * Staking function by Owner
     * function that stakes NFT
     */
    function stakeByNFTOwner(uint[] memory tokenId) external {
        for(uint i = 0; i < tokenId.length; i++) {
            require(msg.sender == ownerOf(tokenId[i]), "TokenId not owned");
            require( isStaked[tokenId[i]] != true, "TokenId already staked!");
            isStaked[tokenId[i]] = true;
            emit Staked(msg.sender, tokenId[i], block.timestamp);
        }
    }

    /*
     * Unstaking function by Sale contract
     * function that unstakes NFT 
     */
    function unstakeNFT(uint[] memory tokenId, address _to) external isStakingContract {
        for(uint i = 0; i < tokenId.length; i++) {
            require(_to == ownerOf(tokenId[i]), "TokenId not owned");
            require( isStaked[tokenId[i]] != false, "TokenId not staked!");
            isStaked[tokenId[i]] = false;
            emit Unstaked(_to, tokenId[i], block.timestamp);
        }
    }

    /*
     * Frozen timestamp function
     * blocks transfers for a period of time
     */
    function setFrozen(uint timestamp) external onlyOwner {
        frozenTimestamp = timestamp;
    }

    /*
     * Block setApproval function
     * to allow or not approval, so the NFT can't be listed on OpenSea
     */
     function setApprovalForAll(address operator, bool approved) public override { 
        require(approvingAllowed, "Listing is not allowed");
        super.setApprovalForAll(operator, approved);
    }
    
    /*
     * Block appove function
     * to allow or not approval, so the NFT can't be listed on OpenSea
     */
     function approve(address to, uint tokenId) public payable override { 
        require(approvingAllowed, "Listing is not allowed");
        super.approve(to, tokenId);
    }
    
    /*
     * Before Token Transfer
     * Set the NFT not available for transfer if it's staked or frozen
     */
    function _beforeTokenTransfers(address from,
        address to,
        uint startTokenId,
        uint quantity) internal override { 
        super._beforeTokenTransfers(from, to, startTokenId, quantity);

        require(address(0) == from || block.timestamp >= frozenTimestamp, "frozen");
        require(isStaked[startTokenId] == false, "your NFT is not available for transfer");
    }

    /*
     * TokenURI
     * tokenURI is the link to the metadatas
     */
    function tokenURI(uint _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        if(isRevealed == true) {
            return string(abi.encodePacked(baseURI, _tokenId.toString()));
        }
        else {
            return string(abi.encodePacked(baseURI));
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeframe","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeframe","type":"uint256"}],"name":"Unstaked","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"frozenTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"isStaked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addressBuyer","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mintBySaleContract","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":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setApprovingAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setFrozen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRevealCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"saleContractAddress","type":"address"}],"name":"setSaleContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakingContractAddress","type":"address"}],"name":"setStakingContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"}],"name":"stakeByNFTOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"stakeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenId","type":"uint256[]"},{"internalType":"address","name":"_to","type":"address"}],"name":"unstakeNFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600d805460ff191690553480156200001b57600080fd5b50604051620022be380380620022be8339810160408190526200003e91620001f2565b604080518082018252601581527f4761746573204f66204f787961202d204c616e6473000000000000000000000060208083019182528351808501909452600484526311dbd3d360e21b9084015281519192916200009f9160029162000136565b508051620000b590600390602084019062000136565b50506000805550620000c733620000e4565b8051620000dc90600c90602084019062000136565b50506200030a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014490620002ce565b90600052602060002090601f016020900481019282620001685760008555620001b3565b82601f106200018357805160ff1916838001178555620001b3565b82800160010185558215620001b3579182015b82811115620001b357825182559160200191906001019062000196565b50620001c1929150620001c5565b5090565b5b80821115620001c15760008155600101620001c6565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200020657600080fd5b82516001600160401b03808211156200021e57600080fd5b818501915085601f8301126200023357600080fd5b815181811115620002485762000248620001dc565b604051601f8201601f19908116603f01168101908382118183101715620002735762000273620001dc565b8160405282815288868487010111156200028c57600080fd5b600093505b82841015620002b0578484018601518185018701529285019262000291565b82841115620002c25760008684830101525b98975050505050505050565b600181811c90821680620002e357607f821691505b6020821081036200030457634e487b7160e01b600052602260045260246000fd5b50919050565b611fa4806200031a6000396000f3fe6080604052600436106101f95760003560e01c80636eb604e01161010d578063baa51f86116100a0578063c87b56dd1161006f578063c87b56dd14610556578063e985e9c514610576578063ee99205c146105bf578063f2fde38b146105df578063fabdd6f1146105ff57600080fd5b8063baa51f86146104d1578063bad57ed114610501578063c6ab67a314610521578063c82a808a1461053657600080fd5b806395d89b41116100dc57806395d89b4114610469578063a0bcfc7f1461047e578063a22cb4651461049e578063b88d4fde146104be57600080fd5b80636eb604e0146103f657806370a0823114610416578063715018a6146104365780638da5cb5b1461044b57600080fd5b80631c1f8aa31161019057806342842e0e1161015f57806342842e0e14610378578063571016551461038b57806357514f78146103ab5780636352211e146103c15780636c0360eb146103e157600080fd5b80631c1f8aa31461031a57806323b872dd1461033a5780632a239a571461034d57806332cb6b0c1461036257600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806310969523146102c2578063164415ff146102e257806318160ddd146102f757600080fd5b8063019199ad146101fe57806301ffc9a71461022057806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611a20565b61061f565b005b34801561022c57600080fd5b5061024061023b366004611a84565b610834565b60405190151581526020015b60405180910390f35b34801561026157600080fd5b5061026a610886565b60405161024c9190611af9565b34801561028357600080fd5b50610297610292366004611b0c565b610918565b6040516001600160a01b03909116815260200161024c565b61021e6102bd366004611b25565b61095c565b3480156102ce57600080fd5b5061021e6102dd366004611ba7565b6109bc565b3480156102ee57600080fd5b5061021e6109d7565b34801561030357600080fd5b50600154600054035b60405190815260200161024c565b34801561032657600080fd5b5061021e610335366004611bf0565b610a00565b61021e610348366004611c0b565b610a2a565b34801561035957600080fd5b5061021e610bcf565b34801561036e57600080fd5b5061030c61366c81565b61021e610386366004611c0b565b610be6565b34801561039757600080fd5b5061021e6103a6366004611b0c565b610c01565b3480156103b757600080fd5b5061030c600e5481565b3480156103cd57600080fd5b506102976103dc366004611b0c565b610c0e565b3480156103ed57600080fd5b5061026a610c19565b34801561040257600080fd5b5061021e610411366004611b0c565b610ca7565b34801561042257600080fd5b5061030c610431366004611bf0565b610d55565b34801561044257600080fd5b5061021e610da4565b34801561045757600080fd5b506008546001600160a01b0316610297565b34801561047557600080fd5b5061026a610db8565b34801561048a57600080fd5b5061021e610499366004611ba7565b610dc7565b3480156104aa57600080fd5b5061021e6104b9366004611c47565b610de2565b61021e6104cc366004611c83565b610e3e565b3480156104dd57600080fd5b506102406104ec366004611b0c565b60096020526000908152604090205460ff1681565b34801561050d57600080fd5b5061021e61051c366004611cff565b610e88565b34801561052d57600080fd5b5061026a61103e565b34801561054257600080fd5b5061021e610551366004611bf0565b61104b565b34801561056257600080fd5b5061026a610571366004611b0c565b611075565b34801561058257600080fd5b50610240610591366004611d34565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105cb57600080fd5b50600b54610297906001600160a01b031681565b3480156105eb57600080fd5b5061021e6105fa366004611bf0565b611124565b34801561060b57600080fd5b5061021e61061a366004611b25565b61119d565b600b546001600160a01b031633146106755760405162461bcd60e51b8152602060048201526014602482015273139bdd081cdd185ada5b99c818dbdb9d1c9858dd60621b60448201526064015b60405180910390fd5b60005b825181101561082f576106a383828151811061069657610696611d5e565b6020026020010151610c0e565b6001600160a01b0316826001600160a01b0316146106f75760405162461bcd60e51b8152602060048201526011602482015270151bdad95b9259081b9bdd081bdddb9959607a1b604482015260640161066c565b6009600084838151811061070d5761070d611d5e565b602090810291909101810151825281019190915260400160009081205460ff16151590036107735760405162461bcd60e51b8152602060048201526013602482015272546f6b656e4964206e6f74207374616b65642160681b604482015260640161066c565b60006009600085848151811061078b5761078b611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e828483815181106107ec576107ec611d5e565b602090810291909101810151604080516001600160a01b03909416845291830152429082015260600160405180910390a18061082781611d8a565b915050610678565b505050565b60006301ffc9a760e01b6001600160e01b03198316148061086557506380ac58cd60e01b6001600160e01b03198316145b806108805750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461089590611da3565b80601f01602080910402602001604051908101604052809291908181526020018280546108c190611da3565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b5050505050905090565b600061092382611227565b610940576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600854600160a01b900460ff166109ae5760405162461bcd60e51b8152602060048201526016602482015275131a5cdd1a5b99c81a5cc81b9bdd08185b1b1bddd95960521b604482015260640161066c565b6109b8828261124e565b5050565b6109c46112ee565b80516109b890600f9060208401906118a9565b6109df6112ee565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610a086112ee565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a3582611348565b9050836001600160a01b0316816001600160a01b031614610a685760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ab557610a988633610591565b610ab557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610adc57604051633a954ecd60e21b815260040160405180910390fd5b610ae986868660016113b6565b8015610af457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b8657600184016000818152600460205260408120549003610b84576000548114610b845760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bd76112ee565b600d805460ff19166001179055565b61082f83838360405180602001604052806000815250610e3e565b610c096112ee565b600e55565b600061088082611348565b600c8054610c2690611da3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5290611da3565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b505050505081565b600b546001600160a01b03163314610cf85760405162461bcd60e51b8152602060048201526014602482015273139bdd081cdd185ada5b99c818dbdb9d1c9858dd60621b604482015260640161066c565b600081815260096020908152604091829020805460ff191660011790558151338152908101839052428183015290517f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90916060908290030190a150565b60006001600160a01b038216610d7e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610dac6112ee565b610db66000611471565b565b60606003805461089590611da3565b610dcf6112ee565b80516109b890600c9060208401906118a9565b600854600160a01b900460ff16610e345760405162461bcd60e51b8152602060048201526016602482015275131a5cdd1a5b99c81a5cc81b9bdd08185b1b1bddd95960521b604482015260640161066c565b6109b882826114c3565b610e49848484610a2a565b6001600160a01b0383163b15610e8257610e658484848461152f565b610e82576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60005b81518110156109b857610ea982828151811061069657610696611d5e565b6001600160a01b0316336001600160a01b031614610efd5760405162461bcd60e51b8152602060048201526011602482015270151bdad95b9259081b9bdd081bdddb9959607a1b604482015260640161066c565b60096000838381518110610f1357610f13611d5e565b60209081029190910181015182528101919091526040016000205460ff161515600103610f825760405162461bcd60e51b815260206004820152601760248201527f546f6b656e496420616c7265616479207374616b656421000000000000000000604482015260640161066c565b600160096000848481518110610f9a57610f9a611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9033838381518110610ffb57610ffb611d5e565b602090810291909101810151604080516001600160a01b03909416845291830152429082015260600160405180910390a18061103681611d8a565b915050610e8b565b600f8054610c2690611da3565b6110536112ee565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b606061108082611227565b6110cc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161066c565b600d5460ff16151560010361110d57600c6110e68361161b565b6040516020016110f7929190611e76565b6040516020818303038152906040529050919050565b600c6040516020016110f79190611e9b565b919050565b61112c6112ee565b6001600160a01b0381166111915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b61119a81611471565b50565b600a546001600160a01b031633146111b457600080fd5b61366c816111c56001546000540390565b6111cf9190611ea7565b111561121d5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206d696e74206f766572204d41585f535550504c590000000000604482015260640161066c565b6109b8828261171c565b6000805482108015610880575050600090815260046020526040902054600160e01b161590565b600061125982610c0e565b9050336001600160a01b03821614611292576112758133610591565b611292576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610db65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066c565b60008160005481101561139d5760008181526004602052604081205490600160e01b8216900361139b575b80600003611394575060001901600081815260046020526040902054611373565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03841615806113ce5750600e544210155b6114035760405162461bcd60e51b8152602060048201526006602482015265333937bd32b760d11b604482015260640161066c565b60008281526009602052604090205460ff1615610e825760405162461bcd60e51b815260206004820152602660248201527f796f7572204e4654206973206e6f7420617661696c61626c6520666f7220747260448201526530b739b332b960d11b606482015260840161066c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611564903390899088908890600401611ebf565b6020604051808303816000875af192505050801561159f575060408051601f3d908101601f1916820190925261159c91810190611efc565b60015b6115fd573d8080156115cd576040519150601f19603f3d011682016040523d82523d6000602084013e6115d2565b606091505b5080516000036115f5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036116425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561166c578061165681611d8a565b91506116659050600a83611f2f565b9150611646565b60008167ffffffffffffffff81111561168757611687611942565b6040519080825280601f01601f1916602001820160405280156116b1576020820181803683370190505b5090505b8415611613576116c6600183611f43565b91506116d3600a86611f5a565b6116de906030611ea7565b60f81b8183815181106116f3576116f3611d5e565b60200101906001600160f81b031916908160001a905350611715600a86611f2f565b94506116b5565b6109b882826040518060200160405280600081525061173b838361179e565b6001600160a01b0383163b1561082f576000548281035b611765600086838060010194508661152f565b611782576040516368d2bf6b60e11b815260040160405180910390fd5b81811061175257816000541461179757600080fd5b5050505050565b60008054908290036117c35760405163b562e8dd60e01b815260040160405180910390fd5b6117d060008483856113b6565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461187f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611847565b50816000036118a057604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546118b590611da3565b90600052602060002090601f0160209004810192826118d7576000855561191d565b82601f106118f057805160ff191683800117855561191d565b8280016001018555821561191d579182015b8281111561191d578251825591602001919060010190611902565b5061192992915061192d565b5090565b5b80821115611929576000815560010161192e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561198157611981611942565b604052919050565b600082601f83011261199a57600080fd5b8135602067ffffffffffffffff8211156119b6576119b6611942565b8160051b6119c5828201611958565b92835284810182019282810190878511156119df57600080fd5b83870192505b848310156119fe578235825291830191908301906119e5565b979650505050505050565b80356001600160a01b038116811461111f57600080fd5b60008060408385031215611a3357600080fd5b823567ffffffffffffffff811115611a4a57600080fd5b611a5685828601611989565b925050611a6560208401611a09565b90509250929050565b6001600160e01b03198116811461119a57600080fd5b600060208284031215611a9657600080fd5b813561139481611a6e565b60005b83811015611abc578181015183820152602001611aa4565b83811115610e825750506000910152565b60008151808452611ae5816020860160208601611aa1565b601f01601f19169290920160200192915050565b6020815260006113946020830184611acd565b600060208284031215611b1e57600080fd5b5035919050565b60008060408385031215611b3857600080fd5b611b4183611a09565b946020939093013593505050565b600067ffffffffffffffff831115611b6957611b69611942565b611b7c601f8401601f1916602001611958565b9050828152838383011115611b9057600080fd5b828260208301376000602084830101529392505050565b600060208284031215611bb957600080fd5b813567ffffffffffffffff811115611bd057600080fd5b8201601f81018413611be157600080fd5b61161384823560208401611b4f565b600060208284031215611c0257600080fd5b61139482611a09565b600080600060608486031215611c2057600080fd5b611c2984611a09565b9250611c3760208501611a09565b9150604084013590509250925092565b60008060408385031215611c5a57600080fd5b611c6383611a09565b915060208301358015158114611c7857600080fd5b809150509250929050565b60008060008060808587031215611c9957600080fd5b611ca285611a09565b9350611cb060208601611a09565b925060408501359150606085013567ffffffffffffffff811115611cd357600080fd5b8501601f81018713611ce457600080fd5b611cf387823560208401611b4f565b91505092959194509250565b600060208284031215611d1157600080fd5b813567ffffffffffffffff811115611d2857600080fd5b61161384828501611989565b60008060408385031215611d4757600080fd5b611d5083611a09565b9150611a6560208401611a09565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611d9c57611d9c611d74565b5060010190565b600181811c90821680611db757607f821691505b602082108103611dd757634e487b7160e01b600052602260045260246000fd5b50919050565b8054600090600181811c9080831680611df757607f831692505b60208084108203611e1857634e487b7160e01b600052602260045260246000fd5b818015611e2c5760018114611e3d57611e6a565b60ff19861689528489019650611e6a565b60008881526020902060005b86811015611e625781548b820152908501908301611e49565b505084890196505b50505050505092915050565b6000611e828285611ddd565b8351611e92818360208801611aa1565b01949350505050565b60006113948284611ddd565b60008219821115611eba57611eba611d74565b500190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef290830184611acd565b9695505050505050565b600060208284031215611f0e57600080fd5b815161139481611a6e565b634e487b7160e01b600052601260045260246000fd5b600082611f3e57611f3e611f19565b500490565b600082821015611f5557611f55611d74565b500390565b600082611f6957611f69611f19565b50069056fea2646970667358221220d2e878967da6da933299ced6794f1ecad502c47e33c42925bbe0e81f91c4d06e64736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038697066733a2f2f516d4e74526a53696a554e4c757171766947594a4b375a58387442336466344b734a647061787a71324774353352e280a80000000000000000

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80636eb604e01161010d578063baa51f86116100a0578063c87b56dd1161006f578063c87b56dd14610556578063e985e9c514610576578063ee99205c146105bf578063f2fde38b146105df578063fabdd6f1146105ff57600080fd5b8063baa51f86146104d1578063bad57ed114610501578063c6ab67a314610521578063c82a808a1461053657600080fd5b806395d89b41116100dc57806395d89b4114610469578063a0bcfc7f1461047e578063a22cb4651461049e578063b88d4fde146104be57600080fd5b80636eb604e0146103f657806370a0823114610416578063715018a6146104365780638da5cb5b1461044b57600080fd5b80631c1f8aa31161019057806342842e0e1161015f57806342842e0e14610378578063571016551461038b57806357514f78146103ab5780636352211e146103c15780636c0360eb146103e157600080fd5b80631c1f8aa31461031a57806323b872dd1461033a5780632a239a571461034d57806332cb6b0c1461036257600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806310969523146102c2578063164415ff146102e257806318160ddd146102f757600080fd5b8063019199ad146101fe57806301ffc9a71461022057806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611a20565b61061f565b005b34801561022c57600080fd5b5061024061023b366004611a84565b610834565b60405190151581526020015b60405180910390f35b34801561026157600080fd5b5061026a610886565b60405161024c9190611af9565b34801561028357600080fd5b50610297610292366004611b0c565b610918565b6040516001600160a01b03909116815260200161024c565b61021e6102bd366004611b25565b61095c565b3480156102ce57600080fd5b5061021e6102dd366004611ba7565b6109bc565b3480156102ee57600080fd5b5061021e6109d7565b34801561030357600080fd5b50600154600054035b60405190815260200161024c565b34801561032657600080fd5b5061021e610335366004611bf0565b610a00565b61021e610348366004611c0b565b610a2a565b34801561035957600080fd5b5061021e610bcf565b34801561036e57600080fd5b5061030c61366c81565b61021e610386366004611c0b565b610be6565b34801561039757600080fd5b5061021e6103a6366004611b0c565b610c01565b3480156103b757600080fd5b5061030c600e5481565b3480156103cd57600080fd5b506102976103dc366004611b0c565b610c0e565b3480156103ed57600080fd5b5061026a610c19565b34801561040257600080fd5b5061021e610411366004611b0c565b610ca7565b34801561042257600080fd5b5061030c610431366004611bf0565b610d55565b34801561044257600080fd5b5061021e610da4565b34801561045757600080fd5b506008546001600160a01b0316610297565b34801561047557600080fd5b5061026a610db8565b34801561048a57600080fd5b5061021e610499366004611ba7565b610dc7565b3480156104aa57600080fd5b5061021e6104b9366004611c47565b610de2565b61021e6104cc366004611c83565b610e3e565b3480156104dd57600080fd5b506102406104ec366004611b0c565b60096020526000908152604090205460ff1681565b34801561050d57600080fd5b5061021e61051c366004611cff565b610e88565b34801561052d57600080fd5b5061026a61103e565b34801561054257600080fd5b5061021e610551366004611bf0565b61104b565b34801561056257600080fd5b5061026a610571366004611b0c565b611075565b34801561058257600080fd5b50610240610591366004611d34565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105cb57600080fd5b50600b54610297906001600160a01b031681565b3480156105eb57600080fd5b5061021e6105fa366004611bf0565b611124565b34801561060b57600080fd5b5061021e61061a366004611b25565b61119d565b600b546001600160a01b031633146106755760405162461bcd60e51b8152602060048201526014602482015273139bdd081cdd185ada5b99c818dbdb9d1c9858dd60621b60448201526064015b60405180910390fd5b60005b825181101561082f576106a383828151811061069657610696611d5e565b6020026020010151610c0e565b6001600160a01b0316826001600160a01b0316146106f75760405162461bcd60e51b8152602060048201526011602482015270151bdad95b9259081b9bdd081bdddb9959607a1b604482015260640161066c565b6009600084838151811061070d5761070d611d5e565b602090810291909101810151825281019190915260400160009081205460ff16151590036107735760405162461bcd60e51b8152602060048201526013602482015272546f6b656e4964206e6f74207374616b65642160681b604482015260640161066c565b60006009600085848151811061078b5761078b611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f7fc4727e062e336010f2c282598ef5f14facb3de68cf8195c2f23e1454b2b74e828483815181106107ec576107ec611d5e565b602090810291909101810151604080516001600160a01b03909416845291830152429082015260600160405180910390a18061082781611d8a565b915050610678565b505050565b60006301ffc9a760e01b6001600160e01b03198316148061086557506380ac58cd60e01b6001600160e01b03198316145b806108805750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461089590611da3565b80601f01602080910402602001604051908101604052809291908181526020018280546108c190611da3565b801561090e5780601f106108e35761010080835404028352916020019161090e565b820191906000526020600020905b8154815290600101906020018083116108f157829003601f168201915b5050505050905090565b600061092382611227565b610940576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600854600160a01b900460ff166109ae5760405162461bcd60e51b8152602060048201526016602482015275131a5cdd1a5b99c81a5cc81b9bdd08185b1b1bddd95960521b604482015260640161066c565b6109b8828261124e565b5050565b6109c46112ee565b80516109b890600f9060208401906118a9565b6109df6112ee565b6008805460ff60a01b198116600160a01b9182900460ff1615909102179055565b610a086112ee565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610a3582611348565b9050836001600160a01b0316816001600160a01b031614610a685760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610ab557610a988633610591565b610ab557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610adc57604051633a954ecd60e21b815260040160405180910390fd5b610ae986868660016113b6565b8015610af457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610b8657600184016000818152600460205260408120549003610b84576000548114610b845760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610bd76112ee565b600d805460ff19166001179055565b61082f83838360405180602001604052806000815250610e3e565b610c096112ee565b600e55565b600061088082611348565b600c8054610c2690611da3565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5290611da3565b8015610c9f5780601f10610c7457610100808354040283529160200191610c9f565b820191906000526020600020905b815481529060010190602001808311610c8257829003601f168201915b505050505081565b600b546001600160a01b03163314610cf85760405162461bcd60e51b8152602060048201526014602482015273139bdd081cdd185ada5b99c818dbdb9d1c9858dd60621b604482015260640161066c565b600081815260096020908152604091829020805460ff191660011790558151338152908101839052428183015290517f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90916060908290030190a150565b60006001600160a01b038216610d7e576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610dac6112ee565b610db66000611471565b565b60606003805461089590611da3565b610dcf6112ee565b80516109b890600c9060208401906118a9565b600854600160a01b900460ff16610e345760405162461bcd60e51b8152602060048201526016602482015275131a5cdd1a5b99c81a5cc81b9bdd08185b1b1bddd95960521b604482015260640161066c565b6109b882826114c3565b610e49848484610a2a565b6001600160a01b0383163b15610e8257610e658484848461152f565b610e82576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60005b81518110156109b857610ea982828151811061069657610696611d5e565b6001600160a01b0316336001600160a01b031614610efd5760405162461bcd60e51b8152602060048201526011602482015270151bdad95b9259081b9bdd081bdddb9959607a1b604482015260640161066c565b60096000838381518110610f1357610f13611d5e565b60209081029190910181015182528101919091526040016000205460ff161515600103610f825760405162461bcd60e51b815260206004820152601760248201527f546f6b656e496420616c7265616479207374616b656421000000000000000000604482015260640161066c565b600160096000848481518110610f9a57610f9a611d5e565b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee9033838381518110610ffb57610ffb611d5e565b602090810291909101810151604080516001600160a01b03909416845291830152429082015260600160405180910390a18061103681611d8a565b915050610e8b565b600f8054610c2690611da3565b6110536112ee565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b606061108082611227565b6110cc5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161066c565b600d5460ff16151560010361110d57600c6110e68361161b565b6040516020016110f7929190611e76565b6040516020818303038152906040529050919050565b600c6040516020016110f79190611e9b565b919050565b61112c6112ee565b6001600160a01b0381166111915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161066c565b61119a81611471565b50565b600a546001600160a01b031633146111b457600080fd5b61366c816111c56001546000540390565b6111cf9190611ea7565b111561121d5760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74206d696e74206f766572204d41585f535550504c590000000000604482015260640161066c565b6109b8828261171c565b6000805482108015610880575050600090815260046020526040902054600160e01b161590565b600061125982610c0e565b9050336001600160a01b03821614611292576112758133610591565b611292576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b03163314610db65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161066c565b60008160005481101561139d5760008181526004602052604081205490600160e01b8216900361139b575b80600003611394575060001901600081815260046020526040902054611373565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6001600160a01b03841615806113ce5750600e544210155b6114035760405162461bcd60e51b8152602060048201526006602482015265333937bd32b760d11b604482015260640161066c565b60008281526009602052604090205460ff1615610e825760405162461bcd60e51b815260206004820152602660248201527f796f7572204e4654206973206e6f7420617661696c61626c6520666f7220747260448201526530b739b332b960d11b606482015260840161066c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611564903390899088908890600401611ebf565b6020604051808303816000875af192505050801561159f575060408051601f3d908101601f1916820190925261159c91810190611efc565b60015b6115fd573d8080156115cd576040519150601f19603f3d011682016040523d82523d6000602084013e6115d2565b606091505b5080516000036115f5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816000036116425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561166c578061165681611d8a565b91506116659050600a83611f2f565b9150611646565b60008167ffffffffffffffff81111561168757611687611942565b6040519080825280601f01601f1916602001820160405280156116b1576020820181803683370190505b5090505b8415611613576116c6600183611f43565b91506116d3600a86611f5a565b6116de906030611ea7565b60f81b8183815181106116f3576116f3611d5e565b60200101906001600160f81b031916908160001a905350611715600a86611f2f565b94506116b5565b6109b882826040518060200160405280600081525061173b838361179e565b6001600160a01b0383163b1561082f576000548281035b611765600086838060010194508661152f565b611782576040516368d2bf6b60e11b815260040160405180910390fd5b81811061175257816000541461179757600080fd5b5050505050565b60008054908290036117c35760405163b562e8dd60e01b815260040160405180910390fd5b6117d060008483856113b6565b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461187f57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611847565b50816000036118a057604051622e076360e81b815260040160405180910390fd5b60005550505050565b8280546118b590611da3565b90600052602060002090601f0160209004810192826118d7576000855561191d565b82601f106118f057805160ff191683800117855561191d565b8280016001018555821561191d579182015b8281111561191d578251825591602001919060010190611902565b5061192992915061192d565b5090565b5b80821115611929576000815560010161192e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561198157611981611942565b604052919050565b600082601f83011261199a57600080fd5b8135602067ffffffffffffffff8211156119b6576119b6611942565b8160051b6119c5828201611958565b92835284810182019282810190878511156119df57600080fd5b83870192505b848310156119fe578235825291830191908301906119e5565b979650505050505050565b80356001600160a01b038116811461111f57600080fd5b60008060408385031215611a3357600080fd5b823567ffffffffffffffff811115611a4a57600080fd5b611a5685828601611989565b925050611a6560208401611a09565b90509250929050565b6001600160e01b03198116811461119a57600080fd5b600060208284031215611a9657600080fd5b813561139481611a6e565b60005b83811015611abc578181015183820152602001611aa4565b83811115610e825750506000910152565b60008151808452611ae5816020860160208601611aa1565b601f01601f19169290920160200192915050565b6020815260006113946020830184611acd565b600060208284031215611b1e57600080fd5b5035919050565b60008060408385031215611b3857600080fd5b611b4183611a09565b946020939093013593505050565b600067ffffffffffffffff831115611b6957611b69611942565b611b7c601f8401601f1916602001611958565b9050828152838383011115611b9057600080fd5b828260208301376000602084830101529392505050565b600060208284031215611bb957600080fd5b813567ffffffffffffffff811115611bd057600080fd5b8201601f81018413611be157600080fd5b61161384823560208401611b4f565b600060208284031215611c0257600080fd5b61139482611a09565b600080600060608486031215611c2057600080fd5b611c2984611a09565b9250611c3760208501611a09565b9150604084013590509250925092565b60008060408385031215611c5a57600080fd5b611c6383611a09565b915060208301358015158114611c7857600080fd5b809150509250929050565b60008060008060808587031215611c9957600080fd5b611ca285611a09565b9350611cb060208601611a09565b925060408501359150606085013567ffffffffffffffff811115611cd357600080fd5b8501601f81018713611ce457600080fd5b611cf387823560208401611b4f565b91505092959194509250565b600060208284031215611d1157600080fd5b813567ffffffffffffffff811115611d2857600080fd5b61161384828501611989565b60008060408385031215611d4757600080fd5b611d5083611a09565b9150611a6560208401611a09565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611d9c57611d9c611d74565b5060010190565b600181811c90821680611db757607f821691505b602082108103611dd757634e487b7160e01b600052602260045260246000fd5b50919050565b8054600090600181811c9080831680611df757607f831692505b60208084108203611e1857634e487b7160e01b600052602260045260246000fd5b818015611e2c5760018114611e3d57611e6a565b60ff19861689528489019650611e6a565b60008881526020902060005b86811015611e625781548b820152908501908301611e49565b505084890196505b50505050505092915050565b6000611e828285611ddd565b8351611e92818360208801611aa1565b01949350505050565b60006113948284611ddd565b60008219821115611eba57611eba611d74565b500190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef290830184611acd565b9695505050505050565b600060208284031215611f0e57600080fd5b815161139481611a6e565b634e487b7160e01b600052601260045260246000fd5b600082611f3e57611f3e611f19565b500490565b600082821015611f5557611f55611d74565b500390565b600082611f6957611f69611f19565b50069056fea2646970667358221220d2e878967da6da933299ced6794f1ecad502c47e33c42925bbe0e81f91c4d06e64736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000038697066733a2f2f516d4e74526a53696a554e4c757171766947594a4b375a58387442336466344b734a647061787a71324774353352e280a80000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmNtRjSijUNLuqqviGYJK7ZX8tB3df4KsJdpaxzq2Gt53R


-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000038
Arg [2] : 697066733a2f2f516d4e74526a53696a554e4c757171766947594a4b375a5838
Arg [3] : 7442336466344b734a647061787a71324774353352e280a80000000000000000


Deployed Bytecode Sourcemap

66328:5253:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69339:407;;;;;;;;;;-1:-1:-1;69339:407:0;;;;;:::i;:::-;;:::i;:::-;;33219:639;;;;;;;;;;-1:-1:-1;33219:639:0;;;;;:::i;:::-;;:::i;:::-;;;2299:14:1;;2292:22;2274:41;;2262:2;2247:18;33219:639:0;;;;;;;;34121:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40612:218::-;;;;;;;;;;-1:-1:-1;40612:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3426:32:1;;;3408:51;;3396:2;3381:18;40612:218:0;3262:203:1;70417:175:0;;;;;;:::i;:::-;;:::i;67881:126::-;;;;;;;;;;-1:-1:-1;67881:126:0;;;;;:::i;:::-;;:::i;67768:105::-;;;;;;;;;;;;;:::i;29872:323::-;;;;;;;;;;-1:-1:-1;30146:12:0;;29933:7;30130:13;:28;29872:323;;;4743:25:1;;;4731:2;4716:18;29872:323:0;4597:177:1;67468:145:0;;;;;;;;;;-1:-1:-1;67468:145:0;;;;;:::i;:::-;;:::i;44251:2825::-;;;;;;:::i;:::-;;:::i;68123:86::-;;;;;;;;;;;;;:::i;66718:39::-;;;;;;;;;;;;66752:5;66718:39;;47172:193;;;;;;:::i;:::-;;:::i;69851:100::-;;;;;;;;;;-1:-1:-1;69851:100:0;;;;;:::i;:::-;;:::i;67024:27::-;;;;;;;;;;;;;;;;35514:152;;;;;;;;;;-1:-1:-1;35514:152:0;;;;;:::i;:::-;;:::i;66913:21::-;;;;;;;;;;;;;:::i;68581:162::-;;;;;;;;;;-1:-1:-1;68581:162:0;;;;;:::i;:::-;;:::i;31056:233::-;;;;;;;;;;-1:-1:-1;31056:233:0;;;;;:::i;:::-;;:::i;13998:103::-;;;;;;;;;;;;;:::i;13350:87::-;;;;;;;;;;-1:-1:-1;13423:6:0;;-1:-1:-1;;;;;13423:6:0;13350:87;;34297:104;;;;;;;;;;;;;:::i;68015:100::-;;;;;;;;;;-1:-1:-1;68015:100:0;;;;;:::i;:::-;;:::i;70084:201::-;;;;;;;;;;-1:-1:-1;70084:201:0;;;;;:::i;:::-;;:::i;47963:407::-;;;;;;:::i;:::-;;:::i;66635:37::-;;;;;;;;;;-1:-1:-1;66635:37:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;68839:395;;;;;;;;;;-1:-1:-1;68839:395:0;;;;;:::i;:::-;;:::i;67084:28::-;;;;;;;;;;;;;:::i;67624:133::-;;;;;;;;;;-1:-1:-1;67624:133:0;;;;;:::i;:::-;;:::i;71209:369::-;;;;;;;;;;-1:-1:-1;71209:369:0;;;;;:::i;:::-;;:::i;41561:164::-;;;;;;;;;;-1:-1:-1;41561:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;41682:25:0;;;41658:4;41682:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41561:164;66874:30;;;;;;;;;;-1:-1:-1;66874:30:0;;;;-1:-1:-1;;;;;66874:30:0;;;14256:201;;;;;;;;;;-1:-1:-1;14256:201:0;;;;;:::i;:::-;;:::i;68217:233::-;;;;;;;;;;-1:-1:-1;68217:233:0;;;;;:::i;:::-;;:::i;69339:407::-;67303:15;;-1:-1:-1;;;;;67303:15:0;67289:10;:29;67281:61;;;;-1:-1:-1;;;67281:61:0;;7147:2:1;67281:61:0;;;7129:21:1;7186:2;7166:18;;;7159:30;-1:-1:-1;;;7205:18:1;;;7198:50;7265:18;;67281:61:0;;;;;;;;;69437:6:::1;69433:306;69453:7;:14;69449:1;:18;69433:306;;;69504:19;69512:7;69520:1;69512:10;;;;;;;;:::i;:::-;;;;;;;69504:7;:19::i;:::-;-1:-1:-1::0;;;;;69497:26:0::1;:3;-1:-1:-1::0;;;;;69497:26:0::1;;69489:56;;;::::0;-1:-1:-1;;;69489:56:0;;7628:2:1;69489:56:0::1;::::0;::::1;7610:21:1::0;7667:2;7647:18;;;7640:30;-1:-1:-1;;;7686:18:1;;;7679:47;7743:18;;69489:56:0::1;7426:341:1::0;69489:56:0::1;69569:8;:20;69578:7;69586:1;69578:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;69569:20;;;::::1;::::0;;;;;;-1:-1:-1;69569:20:0;;;;::::1;;:29;;::::0;;69560:62:::1;;;::::0;-1:-1:-1;;;69560:62:0;;7974:2:1;69560:62:0::1;::::0;::::1;7956:21:1::0;8013:2;7993:18;;;7986:30;-1:-1:-1;;;8032:18:1;;;8025:49;8091:18;;69560:62:0::1;7772:343:1::0;69560:62:0::1;69660:5;69637:8;:20;69646:7;69654:1;69646:10;;;;;;;;:::i;:::-;;;;;;;69637:20;;;;;;;;;;;;:28;;;;;;;;;;;;;;;;;;69685:42;69694:3;69699:7;69707:1;69699:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;69685:42:::1;::::0;;-1:-1:-1;;;;;8340:32:1;;;8322:51;;8389:18;;;8382:34;69711:15:0::1;8432:18:1::0;;;8425:34;8310:2;8295:18;69685:42:0::1;;;;;;;69469:3:::0;::::1;::::0;::::1;:::i;:::-;;;;69433:306;;;;69339:407:::0;;:::o;33219:639::-;33304:4;-1:-1:-1;;;;;;;;;33628:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;33705:25:0;;;33628:102;:179;;;-1:-1:-1;;;;;;;;;;33782:25:0;;;33628:179;33608:199;33219:639;-1:-1:-1;;33219:639:0:o;34121:100::-;34175:13;34208:5;34201:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34121:100;:::o;40612:218::-;40688:7;40713:16;40721:7;40713;:16::i;:::-;40708:64;;40738:34;;-1:-1:-1;;;40738:34:0;;;;;;;;;;;40708:64;-1:-1:-1;40792:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;40792:30:0;;40612:218::o;70417:175::-;70504:16;;-1:-1:-1;;;70504:16:0;;;;70496:51;;;;-1:-1:-1;;;70496:51:0;;9329:2:1;70496:51:0;;;9311:21:1;9368:2;9348:18;;;9341:30;-1:-1:-1;;;9387:18:1;;;9380:52;9449:18;;70496:51:0;9127:346:1;70496:51:0;70558:26;70572:2;70576:7;70558:13;:26::i;:::-;70417:175;;:::o;67881:126::-;13236:13;:11;:13::i;:::-;67967:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;67768:105::-:0;13236:13;:11;:13::i;:::-;67849:16:::1;::::0;;-1:-1:-1;;;;67829:36:0;::::1;-1:-1:-1::0;;;67849:16:0;;;::::1;;;67848:17;67829:36:::0;;::::1;;::::0;;67768:105::o;67468:145::-;13236:13;:11;:13::i;:::-;67565:15:::1;:40:::0;;-1:-1:-1;;;;;;67565:40:0::1;-1:-1:-1::0;;;;;67565:40:0;;;::::1;::::0;;;::::1;::::0;;67468:145::o;44251:2825::-;44393:27;44423;44442:7;44423:18;:27::i;:::-;44393:57;;44508:4;-1:-1:-1;;;;;44467:45:0;44483:19;-1:-1:-1;;;;;44467:45:0;;44463:86;;44521:28;;-1:-1:-1;;;44521:28:0;;;;;;;;;;;44463:86;44563:27;43359:24;;;:15;:24;;;;;43587:26;;64378:10;42984:30;;;-1:-1:-1;;;;;42677:28:0;;42962:20;;;42959:56;44749:180;;44842:43;44859:4;64378:10;41561:164;:::i;44842:43::-;44837:92;;44894:35;;-1:-1:-1;;;44894:35:0;;;;;;;;;;;44837:92;-1:-1:-1;;;;;44946:16:0;;44942:52;;44971:23;;-1:-1:-1;;;44971:23:0;;;;;;;;;;;44942:52;45007:43;45029:4;45035:2;45039:7;45048:1;45007:21;:43::i;:::-;45143:15;45140:160;;;45283:1;45262:19;45255:30;45140:160;-1:-1:-1;;;;;45680:24:0;;;;;;;:18;:24;;;;;;45678:26;;-1:-1:-1;;45678:26:0;;;45749:22;;;;;;;;;45747:24;;-1:-1:-1;45747:24:0;;;38903:11;38878:23;38874:41;38861:63;-1:-1:-1;;;38861:63:0;46042:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;46337:47:0;;:52;;46333:627;;46442:1;46432:11;;46410:19;46565:30;;;:17;:30;;;;;;:35;;46561:384;;46703:13;;46688:11;:28;46684:242;;46850:30;;;;:17;:30;;;;;:52;;;46684:242;46391:569;46333:627;47007:7;47003:2;-1:-1:-1;;;;;46988:27:0;46997:4;-1:-1:-1;;;;;46988:27:0;;;;;;;;;;;44382:2694;;;44251:2825;;;:::o;68123:86::-;13236:13;:11;:13::i;:::-;68184:10:::1;:17:::0;;-1:-1:-1;;68184:17:0::1;68197:4;68184:17;::::0;;68123:86::o;47172:193::-;47318:39;47335:4;47341:2;47345:7;47318:39;;;;;;;;;;;;:16;:39::i;69851:100::-;13236:13;:11;:13::i;:::-;69916:15:::1;:27:::0;69851:100::o;35514:152::-;35586:7;35629:27;35648:7;35629:18;:27::i;66913:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;68581:162::-;67303:15;;-1:-1:-1;;;;;67303:15:0;67289:10;:29;67281:61;;;;-1:-1:-1;;;67281:61:0;;7147:2:1;67281:61:0;;;7129:21:1;7186:2;7166:18;;;7159:30;-1:-1:-1;;;7205:18:1;;;7198:50;7265:18;;67281:61:0;6945:344:1;67281:61:0;68651:17:::1;::::0;;;:8:::1;:17;::::0;;;;;;;;:24;;-1:-1:-1;;68651:24:0::1;68671:4;68651:24;::::0;;68691:44;;68698:10:::1;8322:51:1::0;;8389:18;;;8382:34;;;68719:15:0::1;8432:18:1::0;;;8425:34;68691:44:0;;::::1;::::0;8310:2:1;68691:44:0;;;;;;::::1;68581:162:::0;:::o;31056:233::-;31128:7;-1:-1:-1;;;;;31152:19:0;;31148:60;;31180:28;;-1:-1:-1;;;31180:28:0;;;;;;;;;;;31148:60;-1:-1:-1;;;;;;31226:25:0;;;;;:18;:25;;;;;;25215:13;31226:55;;31056:233::o;13998:103::-;13236:13;:11;:13::i;:::-;14063:30:::1;14090:1;14063:18;:30::i;:::-;13998:103::o:0;34297:104::-;34353:13;34386:7;34379:14;;;;;:::i;68015:100::-;13236:13;:11;:13::i;:::-;68089:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;70084:201::-:0;70180:16;;-1:-1:-1;;;70180:16:0;;;;70172:51;;;;-1:-1:-1;;;70172:51:0;;9329:2:1;70172:51:0;;;9311:21:1;9368:2;9348:18;;;9341:30;-1:-1:-1;;;9387:18:1;;;9380:52;9449:18;;70172:51:0;9127:346:1;70172:51:0;70234:43;70258:8;70268;70234:23;:43::i;47963:407::-;48138:31;48151:4;48157:2;48161:7;48138:12;:31::i;:::-;-1:-1:-1;;;;;48184:14:0;;;:19;48180:183;;48223:56;48254:4;48260:2;48264:7;48273:5;48223:30;:56::i;:::-;48218:145;;48307:40;;-1:-1:-1;;;48307:40:0;;;;;;;;;;;48218:145;47963:407;;;;:::o;68839:395::-;68911:6;68907:320;68927:7;:14;68923:1;:18;68907:320;;;68985:19;68993:7;69001:1;68993:10;;;;;;;;:::i;68985:19::-;-1:-1:-1;;;;;68971:33:0;:10;-1:-1:-1;;;;;68971:33:0;;68963:63;;;;-1:-1:-1;;;68963:63:0;;7628:2:1;68963:63:0;;;7610:21:1;7667:2;7647:18;;;7640:30;-1:-1:-1;;;7686:18:1;;;7679:47;7743:18;;68963:63:0;7426:341:1;68963:63:0;69050:8;:20;69059:7;69067:1;69059:10;;;;;;;;:::i;:::-;;;;;;;;;;;;69050:20;;;;;;;;;;-1:-1:-1;69050:20:0;;;;:28;;:20;:28;69041:65;;;;-1:-1:-1;;;69041:65:0;;9680:2:1;69041:65:0;;;9662:21:1;9719:2;9699:18;;;9692:30;9758:25;9738:18;;;9731:53;9801:18;;69041:65:0;9478:347:1;69041:65:0;69144:4;69121:8;:20;69130:7;69138:1;69130:10;;;;;;;;:::i;:::-;;;;;;;69121:20;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;69168:47;69175:10;69187:7;69195:1;69187:10;;;;;;;;:::i;:::-;;;;;;;;;;;;69168:47;;;-1:-1:-1;;;;;8340:32:1;;;8322:51;;8389:18;;;8382:34;69199:15:0;8432:18:1;;;8425:34;8310:2;8295:18;69168:47:0;;;;;;;68943:3;;;;:::i;:::-;;;;68907:320;;67084:28;;;;;;;:::i;67624:133::-;13236:13;:11;:13::i;:::-;67715:12:::1;:34:::0;;-1:-1:-1;;;;;;67715:34:0::1;-1:-1:-1::0;;;;;67715:34:0;;;::::1;::::0;;;::::1;::::0;;67624:133::o;71209:369::-;71280:13;71314:17;71322:8;71314:7;:17::i;:::-;71306:61;;;;-1:-1:-1;;;71306:61:0;;10032:2:1;71306:61:0;;;10014:21:1;10071:2;10051:18;;;10044:30;10110:33;10090:18;;;10083:61;10161:18;;71306:61:0;9830:355:1;71306:61:0;71381:10;;;;:18;;:10;:18;71378:193;;71447:7;71456:19;:8;:17;:19::i;:::-;71430:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71416:61;;71209:369;;;:::o;71378:193::-;71550:7;71533:25;;;;;;;;:::i;71378:193::-;71209:369;;;:::o;14256:201::-;13236:13;:11;:13::i;:::-;-1:-1:-1;;;;;14345:22:0;::::1;14337:73;;;::::0;-1:-1:-1;;;14337:73:0;;12079:2:1;14337:73:0::1;::::0;::::1;12061:21:1::0;12118:2;12098:18;;;12091:30;12157:34;12137:18;;;12130:62;-1:-1:-1;;;12208:18:1;;;12201:36;12254:19;;14337:73:0::1;11877:402:1::0;14337:73:0::1;14421:28;14440:8;14421:18;:28::i;:::-;14256:201:::0;:::o;68217:233::-;67427:12;;-1:-1:-1;;;;;67427:12:0;67413:10;:26;67405:35;;;;;;66752:5:::1;68341:9;68327:13;30146:12:::0;;29933:7;30130:13;:28;;29872:323;68327:13:::1;:23;;;;:::i;:::-;:37;;68319:77;;;::::0;-1:-1:-1;;;68319:77:0;;12619:2:1;68319:77:0::1;::::0;::::1;12601:21:1::0;12658:2;12638:18;;;12631:30;12697:29;12677:18;;;12670:57;12744:18;;68319:77:0::1;12417:351:1::0;68319:77:0::1;68407:35;68417:13;68432:9;68407;:35::i;41983:282::-:0;42048:4;42138:13;;42128:7;:23;42085:153;;;;-1:-1:-1;;42189:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;42189:44:0;:49;;41983:282::o;40045:408::-;40134:13;40150:16;40158:7;40150;:16::i;:::-;40134:32;-1:-1:-1;64378:10:0;-1:-1:-1;;;;;40183:28:0;;;40179:175;;40231:44;40248:5;64378:10;41561:164;:::i;40231:44::-;40226:128;;40303:35;;-1:-1:-1;;;40303:35:0;;;;;;;;;;;40226:128;40366:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;40366:35:0;-1:-1:-1;;;;;40366:35:0;;;;;;;;;40417:28;;40366:24;;40417:28;;;;;;;40123:330;40045:408;;:::o;13515:132::-;13423:6;;-1:-1:-1;;;;;13423:6:0;64378:10;13579:23;13571:68;;;;-1:-1:-1;;;13571:68:0;;12975:2:1;13571:68:0;;;12957:21:1;;;12994:18;;;12987:30;13053:34;13033:18;;;13026:62;13105:18;;13571:68:0;12773:356:1;36669:1275:0;36736:7;36771;36873:13;;36866:4;:20;36862:1015;;;36911:14;36928:23;;;:17;:23;;;;;;;-1:-1:-1;;;37017:24:0;;:29;;37013:845;;37682:113;37689:6;37699:1;37689:11;37682:113;;-1:-1:-1;;;37760:6:0;37742:25;;;;:17;:25;;;;;;37682:113;;;37828:6;36669:1275;-1:-1:-1;;;36669:1275:0:o;37013:845::-;36888:989;36862:1015;37905:31;;-1:-1:-1;;;37905:31:0;;;;;;;;;;;70723:398;-1:-1:-1;;;;;70953:18:0;;;;:56;;;70994:15;;70975;:34;;70953:56;70945:75;;;;-1:-1:-1;;;70945:75:0;;13336:2:1;70945:75:0;;;13318:21:1;13375:1;13355:18;;;13348:29;-1:-1:-1;;;13393:18:1;;;13386:36;13439:18;;70945:75:0;13134:329:1;70945:75:0;71039:22;;;;:8;:22;;;;;;;;:31;71031:82;;;;-1:-1:-1;;;71031:82:0;;13670:2:1;71031:82:0;;;13652:21:1;13709:2;13689:18;;;13682:30;13748:34;13728:18;;;13721:62;-1:-1:-1;;;13799:18:1;;;13792:36;13845:19;;71031:82:0;13468:402:1;14617:191:0;14710:6;;;-1:-1:-1;;;;;14727:17:0;;;-1:-1:-1;;;;;;14727:17:0;;;;;;;14760:40;;14710:6;;;14727:17;14710:6;;14760:40;;14691:16;;14760:40;14680:128;14617:191;:::o;41170:234::-;64378:10;41265:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;41265:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;41265:60:0;;;;;;;;;;41341:55;;2274:41:1;;;41265:49:0;;64378:10;41341:55;;2247:18:1;41341:55:0;;;;;;;41170:234;;:::o;50454:716::-;50638:88;;-1:-1:-1;;;50638:88:0;;50617:4;;-1:-1:-1;;;;;50638:45:0;;;;;:88;;64378:10;;50705:4;;50711:7;;50720:5;;50638:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50638:88:0;;;;;;;;-1:-1:-1;;50638:88:0;;;;;;;;;;;;:::i;:::-;;;50634:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50921:6;:13;50938:1;50921:18;50917:235;;50967:40;;-1:-1:-1;;;50967:40:0;;;;;;;;;;;50917:235;51110:6;51104:13;51095:6;51091:2;51087:15;51080:38;50634:529;-1:-1:-1;;;;;;50797:64:0;-1:-1:-1;;;50797:64:0;;-1:-1:-1;50634:529:0;50454:716;;;;;;:::o;9155:723::-;9211:13;9432:5;9441:1;9432:10;9428:53;;-1:-1:-1;;9459:10:0;;;;;;;;;;;;-1:-1:-1;;;9459:10:0;;;;;9155:723::o;9428:53::-;9506:5;9491:12;9547:78;9554:9;;9547:78;;9580:8;;;;:::i;:::-;;-1:-1:-1;9603:10:0;;-1:-1:-1;9611:2:0;9603:10;;:::i;:::-;;;9547:78;;;9635:19;9667:6;9657:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9657:17:0;;9635:39;;9685:154;9692:10;;9685:154;;9719:11;9729:1;9719:11;;:::i;:::-;;-1:-1:-1;9788:10:0;9796:2;9788:5;:10;:::i;:::-;9775:24;;:2;:24;:::i;:::-;9762:39;;9745:6;9752;9745:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9745:56:0;;;;;;;;-1:-1:-1;9816:11:0;9825:2;9816:11;;:::i;:::-;;;9685:154;;58123:112;58200:27;58210:2;58214:8;58200:27;;;;;;;;;;;;57481:19;57487:2;57491:8;57481:5;:19::i;:::-;-1:-1:-1;;;;;57542:14:0;;;:19;57538:483;;57582:11;57596:13;57644:14;;;57677:233;57708:62;57747:1;57751:2;57755:7;;;;;;57764:5;57708:30;:62::i;:::-;57703:167;;57806:40;;-1:-1:-1;;;57806:40:0;;;;;;;;;;;57703:167;57905:3;57897:5;:11;57677:233;;57992:3;57975:13;;:20;57971:34;;57997:8;;;57971:34;57563:458;;57350:689;;;:::o;51632:2966::-;51705:20;51728:13;;;51756;;;51752:44;;51778:18;;-1:-1:-1;;;51778:18:0;;;;;;;;;;;51752:44;51809:61;51839:1;51843:2;51847:12;51861:8;51809:21;:61::i;:::-;-1:-1:-1;;;;;52284:22:0;;;;;;:18;:22;;;;25353:2;52284:22;;;:71;;52322:32;52310:45;;52284:71;;;52598:31;;;:17;:31;;;;;-1:-1:-1;39334:15:0;;39308:24;39304:46;38903:11;38878:23;38874:41;38871:52;38861:63;;52598:173;;52833:23;;;;52598:31;;52284:22;;53598:25;52284:22;;53451:335;54112:1;54098:12;54094:20;54052:346;54153:3;54144:7;54141:16;54052:346;;54371:7;54361:8;54358:1;54331:25;54328:1;54325;54320:59;54206:1;54193:15;54052:346;;;54056:77;54431:8;54443:1;54431:13;54427:45;;54453:19;;-1:-1:-1;;;54453:19:0;;;;;;;;;;;54427:45;54489:13;:19;-1:-1:-1;69433:306:0::1;69339:407:::0;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:127:1;75:10;70:3;66:20;63:1;56:31;106:4;103:1;96:15;130:4;127:1;120:15;146:275;217:2;211:9;282:2;263:13;;-1:-1:-1;;259:27:1;247:40;;317:18;302:34;;338:22;;;299:62;296:88;;;364:18;;:::i;:::-;400:2;393:22;146:275;;-1:-1:-1;146:275:1:o;426:712::-;480:5;533:3;526:4;518:6;514:17;510:27;500:55;;551:1;548;541:12;500:55;587:6;574:20;613:4;636:18;632:2;629:26;626:52;;;658:18;;:::i;:::-;704:2;701:1;697:10;727:28;751:2;747;743:11;727:28;:::i;:::-;789:15;;;859;;;855:24;;;820:12;;;;891:15;;;888:35;;;919:1;916;909:12;888:35;955:2;947:6;943:15;932:26;;967:142;983:6;978:3;975:15;967:142;;;1049:17;;1037:30;;1000:12;;;;1087;;;;967:142;;;1127:5;426:712;-1:-1:-1;;;;;;;426:712:1:o;1143:173::-;1211:20;;-1:-1:-1;;;;;1260:31:1;;1250:42;;1240:70;;1306:1;1303;1296:12;1321:422;1414:6;1422;1475:2;1463:9;1454:7;1450:23;1446:32;1443:52;;;1491:1;1488;1481:12;1443:52;1531:9;1518:23;1564:18;1556:6;1553:30;1550:50;;;1596:1;1593;1586:12;1550:50;1619:61;1672:7;1663:6;1652:9;1648:22;1619:61;:::i;:::-;1609:71;;;1699:38;1733:2;1722:9;1718:18;1699:38;:::i;:::-;1689:48;;1321:422;;;;;:::o;1748:131::-;-1:-1:-1;;;;;;1822:32:1;;1812:43;;1802:71;;1869:1;1866;1859:12;1884:245;1942:6;1995:2;1983:9;1974:7;1970:23;1966:32;1963:52;;;2011:1;2008;2001:12;1963:52;2050:9;2037:23;2069:30;2093:5;2069:30;:::i;2326:258::-;2398:1;2408:113;2422:6;2419:1;2416:13;2408:113;;;2498:11;;;2492:18;2479:11;;;2472:39;2444:2;2437:10;2408:113;;;2539:6;2536:1;2533:13;2530:48;;;-1:-1:-1;;2574:1:1;2556:16;;2549:27;2326:258::o;2589:::-;2631:3;2669:5;2663:12;2696:6;2691:3;2684:19;2712:63;2768:6;2761:4;2756:3;2752:14;2745:4;2738:5;2734:16;2712:63;:::i;:::-;2829:2;2808:15;-1:-1:-1;;2804:29:1;2795:39;;;;2836:4;2791:50;;2589:258;-1:-1:-1;;2589:258:1:o;2852:220::-;3001:2;2990:9;2983:21;2964:4;3021:45;3062:2;3051:9;3047:18;3039:6;3021:45;:::i;3077:180::-;3136:6;3189:2;3177:9;3168:7;3164:23;3160:32;3157:52;;;3205:1;3202;3195:12;3157:52;-1:-1:-1;3228:23:1;;3077:180;-1:-1:-1;3077:180:1:o;3470:254::-;3538:6;3546;3599:2;3587:9;3578:7;3574:23;3570:32;3567:52;;;3615:1;3612;3605:12;3567:52;3638:29;3657:9;3638:29;:::i;:::-;3628:39;3714:2;3699:18;;;;3686:32;;-1:-1:-1;;;3470:254:1:o;3729:407::-;3794:5;3828:18;3820:6;3817:30;3814:56;;;3850:18;;:::i;:::-;3888:57;3933:2;3912:15;;-1:-1:-1;;3908:29:1;3939:4;3904:40;3888:57;:::i;:::-;3879:66;;3968:6;3961:5;3954:21;4008:3;3999:6;3994:3;3990:16;3987:25;3984:45;;;4025:1;4022;4015:12;3984:45;4074:6;4069:3;4062:4;4055:5;4051:16;4038:43;4128:1;4121:4;4112:6;4105:5;4101:18;4097:29;4090:40;3729:407;;;;;:::o;4141:451::-;4210:6;4263:2;4251:9;4242:7;4238:23;4234:32;4231:52;;;4279:1;4276;4269:12;4231:52;4319:9;4306:23;4352:18;4344:6;4341:30;4338:50;;;4384:1;4381;4374:12;4338:50;4407:22;;4460:4;4452:13;;4448:27;-1:-1:-1;4438:55:1;;4489:1;4486;4479:12;4438:55;4512:74;4578:7;4573:2;4560:16;4555:2;4551;4547:11;4512:74;:::i;4779:186::-;4838:6;4891:2;4879:9;4870:7;4866:23;4862:32;4859:52;;;4907:1;4904;4897:12;4859:52;4930:29;4949:9;4930:29;:::i;4970:328::-;5047:6;5055;5063;5116:2;5104:9;5095:7;5091:23;5087:32;5084:52;;;5132:1;5129;5122:12;5084:52;5155:29;5174:9;5155:29;:::i;:::-;5145:39;;5203:38;5237:2;5226:9;5222:18;5203:38;:::i;:::-;5193:48;;5288:2;5277:9;5273:18;5260:32;5250:42;;4970:328;;;;;:::o;5303:347::-;5368:6;5376;5429:2;5417:9;5408:7;5404:23;5400:32;5397:52;;;5445:1;5442;5435:12;5397:52;5468:29;5487:9;5468:29;:::i;:::-;5458:39;;5547:2;5536:9;5532:18;5519:32;5594:5;5587:13;5580:21;5573:5;5570:32;5560:60;;5616:1;5613;5606:12;5560:60;5639:5;5629:15;;;5303:347;;;;;:::o;5655:667::-;5750:6;5758;5766;5774;5827:3;5815:9;5806:7;5802:23;5798:33;5795:53;;;5844:1;5841;5834:12;5795:53;5867:29;5886:9;5867:29;:::i;:::-;5857:39;;5915:38;5949:2;5938:9;5934:18;5915:38;:::i;:::-;5905:48;;6000:2;5989:9;5985:18;5972:32;5962:42;;6055:2;6044:9;6040:18;6027:32;6082:18;6074:6;6071:30;6068:50;;;6114:1;6111;6104:12;6068:50;6137:22;;6190:4;6182:13;;6178:27;-1:-1:-1;6168:55:1;;6219:1;6216;6209:12;6168:55;6242:74;6308:7;6303:2;6290:16;6285:2;6281;6277:11;6242:74;:::i;:::-;6232:84;;;5655:667;;;;;;;:::o;6327:348::-;6411:6;6464:2;6452:9;6443:7;6439:23;6435:32;6432:52;;;6480:1;6477;6470:12;6432:52;6520:9;6507:23;6553:18;6545:6;6542:30;6539:50;;;6585:1;6582;6575:12;6539:50;6608:61;6661:7;6652:6;6641:9;6637:22;6608:61;:::i;6680:260::-;6748:6;6756;6809:2;6797:9;6788:7;6784:23;6780:32;6777:52;;;6825:1;6822;6815:12;6777:52;6848:29;6867:9;6848:29;:::i;:::-;6838:39;;6896:38;6930:2;6919:9;6915:18;6896:38;:::i;7294:127::-;7355:10;7350:3;7346:20;7343:1;7336:31;7386:4;7383:1;7376:15;7410:4;7407:1;7400:15;8470:127;8531:10;8526:3;8522:20;8519:1;8512:31;8562:4;8559:1;8552:15;8586:4;8583:1;8576:15;8602:135;8641:3;8662:17;;;8659:43;;8682:18;;:::i;:::-;-1:-1:-1;8729:1:1;8718:13;;8602:135::o;8742:380::-;8821:1;8817:12;;;;8864;;;8885:61;;8939:4;8931:6;8927:17;8917:27;;8885:61;8992:2;8984:6;8981:14;8961:18;8958:38;8955:161;;9038:10;9033:3;9029:20;9026:1;9019:31;9073:4;9070:1;9063:15;9101:4;9098:1;9091:15;8955:161;;8742:380;;;:::o;10316:973::-;10401:12;;10366:3;;10456:1;10476:18;;;;10529;;;;10556:61;;10610:4;10602:6;10598:17;10588:27;;10556:61;10636:2;10684;10676:6;10673:14;10653:18;10650:38;10647:161;;10730:10;10725:3;10721:20;10718:1;10711:31;10765:4;10762:1;10755:15;10793:4;10790:1;10783:15;10647:161;10824:18;10851:104;;;;10969:1;10964:319;;;;10817:466;;10851:104;-1:-1:-1;;10884:24:1;;10872:37;;10929:16;;;;-1:-1:-1;10851:104:1;;10964:319;10263:1;10256:14;;;10300:4;10287:18;;11058:1;11072:165;11086:6;11083:1;11080:13;11072:165;;;11164:14;;11151:11;;;11144:35;11207:16;;;;11101:10;;11072:165;;;11076:3;;11266:6;11261:3;11257:16;11250:23;;10817:466;;;;;;;10316:973;;;;:::o;11294:376::-;11470:3;11498:38;11532:3;11524:6;11498:38;:::i;:::-;11565:6;11559:13;11581:52;11626:6;11622:2;11615:4;11607:6;11603:17;11581:52;:::i;:::-;11649:15;;11294:376;-1:-1:-1;;;;11294:376:1:o;11675:197::-;11803:3;11828:38;11862:3;11854:6;11828:38;:::i;12284:128::-;12324:3;12355:1;12351:6;12348:1;12345:13;12342:39;;;12361:18;;:::i;:::-;-1:-1:-1;12397:9:1;;12284:128::o;13875:489::-;-1:-1:-1;;;;;14144:15:1;;;14126:34;;14196:15;;14191:2;14176:18;;14169:43;14243:2;14228:18;;14221:34;;;14291:3;14286:2;14271:18;;14264:31;;;14069:4;;14312:46;;14338:19;;14330:6;14312:46;:::i;:::-;14304:54;13875:489;-1:-1:-1;;;;;;13875:489:1:o;14369:249::-;14438:6;14491:2;14479:9;14470:7;14466:23;14462:32;14459:52;;;14507:1;14504;14497:12;14459:52;14539:9;14533:16;14558:30;14582:5;14558:30;:::i;14623:127::-;14684:10;14679:3;14675:20;14672:1;14665:31;14715:4;14712:1;14705:15;14739:4;14736:1;14729:15;14755:120;14795:1;14821;14811:35;;14826:18;;:::i;:::-;-1:-1:-1;14860:9:1;;14755:120::o;14880:125::-;14920:4;14948:1;14945;14942:8;14939:34;;;14953:18;;:::i;:::-;-1:-1:-1;14990:9:1;;14880:125::o;15010:112::-;15042:1;15068;15058:35;;15073:18;;:::i;:::-;-1:-1:-1;15107:9:1;;15010:112::o

Swarm Source

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