ETH Price: $3,391.59 (+2.27%)
Gas: 4.98 Gwei

Token

Undeeds (UNDEEDS)
 

Overview

Max Total Supply

6,969 UNDEEDS

Holders

2,969

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
aqomi.eth
Balance
7 UNDEEDS
0x82A2d2B9d0d6908E6e7256fc2E650D825E7c236D
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:
Undeeds

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-06
*/

// 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/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.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of 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 through `_extraData`.
        uint24 extraData;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 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`.
     *
     * 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 calldata data
    ) external;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 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.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard,
 * including the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at `_startTokenId()`
 * (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // 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 tokenId of the next token 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 => address) private _tokenApprovals;

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

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

    /**
     * @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 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 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 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 returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    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: 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.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view 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 {
        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;
    }

    /**
     * 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 ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

    /**
     * @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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    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 '';
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

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

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, 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 {
        _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 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 {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _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 {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool 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))
                }
            }
        }
    }

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

    /**
     * @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 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 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 returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit),
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length,
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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

// File: contracts/Undeeds.sol


pragma solidity ^0.8.14;




contract Undeeds is Ownable, ERC721A {
  uint256 public maxSupply = 6969;

  // Quantity per Mint
  uint256 public maxPublicMintQty = 2;
  uint256 public maxDeedlistMintQty = 2;
  uint256 public maxFreeMintQty = 1;

  // Max minted quantity in this sale
  uint256 public maxDeedlistAmount = 2;
  uint256 public maxFreeMintAmount = 1;

  uint256 public deedlistPrice = 0.00969 ether;
  uint256 public publicPrice = 0.00969 ether;

  uint256 public deedlistSaleStartTime;
  uint256 public publicSaleStartTime;
  uint256 public freeMintSaleStartTime;

  string private _baseTokenURI;

  bytes32 public rootDL;
  bytes32 public rootFR;

  constructor() ERC721A('Undeeds', 'UNDEEDS') {}

  function freeMint(bytes32[] memory proof, uint256 quantity) external {
    uint256 supply = totalSupply();
    require(
      freeMintSaleStartTime != 0 && block.timestamp >= freeMintSaleStartTime,
      'Sale has not started yet'
    );
    require(
      _getAux(msg.sender) + quantity <= maxFreeMintAmount,
      'Already minted'
    );
    require(
      isValidFR(proof, keccak256(abi.encodePacked(msg.sender))),
      'Not a part of free mint'
    );
    require(quantity <= maxFreeMintQty, 'Reached max free mint amount');
    require(supply + quantity <= maxSupply, 'Reached max supply');
    _setAux(msg.sender, _getAux(msg.sender) + uint64(quantity));
    _safeMint(msg.sender, quantity);
  }

  function deedlistMint(bytes32[] memory proof, uint256 quantity)
    external
    payable
  {
    uint256 supply = totalSupply();
    require(
      deedlistSaleStartTime != 0 && block.timestamp >= deedlistSaleStartTime,
      'Sale has not started yet'
    );
    require(
      _numberMinted(msg.sender) + quantity <= maxDeedlistAmount,
      'Already minted'
    );
    require(
      isValidDL(proof, keccak256(abi.encodePacked(msg.sender))),
      'Not a part of deedlist'
    );
    require(quantity <= maxDeedlistMintQty, 'Reached max deedlist amount');
    require(supply + quantity <= maxSupply, 'Reached max supply');
    require(msg.value >= deedlistPrice * quantity);
    _safeMint(msg.sender, quantity);
  }

  function publicMint(uint256 quantity) external payable {
    uint256 supply = totalSupply();
    require(
      publicSaleStartTime != 0 && block.timestamp >= publicSaleStartTime,
      'Sale has not started yet'
    );
    require(quantity <= maxPublicMintQty, 'Can not mint this many');
    require(supply + quantity <= maxSupply, 'Reached max public supply');
    require(msg.value >= publicPrice * quantity);
    _safeMint(msg.sender, quantity);
  }

  function isValidDL(bytes32[] memory proof, bytes32 leaf)
    public
    view
    returns (bool)
  {
    return MerkleProof.verify(proof, rootDL, leaf);
  }

  function isValidFR(bytes32[] memory proof, bytes32 leaf)
    public
    view
    returns (bool)
  {
    return MerkleProof.verify(proof, rootFR, leaf);
  }

  function getNumMinted() public view returns (uint256) {
    return _numberMinted(msg.sender);
  }

  function getNumFRMinted() public view returns (uint256) {
    return _getAux(msg.sender);
  }

  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  // Only Owner
  function devMint(uint256 quantity) external onlyOwner {
    require(totalSupply() + quantity <= maxSupply, 'Reached max supply');
    _safeMint(msg.sender, quantity);
  }

  function setMaxSupply(uint256 _maxSupply) external onlyOwner {
    maxSupply = _maxSupply;
  }

  function setMaxPublicMintQty(uint256 _maxPublicMintQty) external onlyOwner {
    maxPublicMintQty = _maxPublicMintQty;
  }

  function setMaxDeedlistMintQty(uint256 _maxDeedlistMintQty)
    external
    onlyOwner
  {
    maxDeedlistMintQty = _maxDeedlistMintQty;
  }

  function setMaxFreeMintQty(uint256 _maxFreeMintQty) external onlyOwner {
    maxFreeMintQty = _maxFreeMintQty;
  }

  function setMaxDeedlistAmount(uint256 _maxDeedlistAmount) external onlyOwner {
    maxDeedlistAmount = _maxDeedlistAmount;
  }

  function setMaxFreeMintAmount(uint256 _maxFreeMintAmount) external onlyOwner {
    maxFreeMintAmount = _maxFreeMintAmount;
  }

  function setDeedlistPrice(uint256 _newPrice) external onlyOwner {
    deedlistPrice = _newPrice;
  }

  function setPublicPrice(uint256 _newPrice) external onlyOwner {
    publicPrice = _newPrice;
  }

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

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

  function setDeedlistSaleStartTime(uint256 timestamp) external onlyOwner {
    deedlistSaleStartTime = timestamp;
  }

  function setPublicSaleStartTime(uint256 timestamp) external onlyOwner {
    publicSaleStartTime = timestamp;
  }

  function setFreeMintSaleStartTime(uint256 timestamp) external onlyOwner {
    freeMintSaleStartTime = timestamp;
  }

  function setRootDL(bytes32 _rootDL) external onlyOwner {
    rootDL = _rootDL;
  }

  function setRootFR(bytes32 _rootFR) external onlyOwner {
    rootFR = _rootFR;
  }

  function withdraw() external onlyOwner {
    uint256 funds = address(this).balance;
    (bool succ, ) = payable(msg.sender).call{value: funds}('');
    require(succ, 'transfer failed');
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"deedlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"deedlistPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deedlistSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintSaleStartTime","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":[],"name":"getNumFRMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidDL","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"leaf","type":"bytes32"}],"name":"isValidFR","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDeedlistAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDeedlistMintQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintQty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rootDL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rootFR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setDeedlistPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setDeedlistSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setFreeMintSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDeedlistAmount","type":"uint256"}],"name":"setMaxDeedlistAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDeedlistMintQty","type":"uint256"}],"name":"setMaxDeedlistMintQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintAmount","type":"uint256"}],"name":"setMaxFreeMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintQty","type":"uint256"}],"name":"setMaxFreeMintQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicMintQty","type":"uint256"}],"name":"setMaxPublicMintQty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootDL","type":"bytes32"}],"name":"setRootDL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rootFR","type":"bytes32"}],"name":"setRootFR","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052611b396009556002600a556002600b556001600c556002600d556001600e5566226d00efdfa000600f5566226d00efdfa0006010553480156200004657600080fd5b5060405180604001604052806007815260200166556e646565647360c81b81525060405180604001604052806007815260200166554e444545445360c81b815250620000a16200009b620000d960201b60201c565b620000dd565b8151620000b69060039060208501906200012d565b508051620000cc9060049060208401906200012d565b505060018055506200020f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200013b90620001d3565b90600052602060002090601f0160209004810192826200015f5760008555620001aa565b82601f106200017a57805160ff1916838001178555620001aa565b82800160010185558215620001aa579182015b82811115620001aa5782518255916020019190600101906200018d565b50620001b8929150620001bc565b5090565b5b80821115620001b85760008155600101620001bd565b600181811c90821680620001e857607f821691505b6020821081036200020957634e487b7160e01b600052602260045260246000fd5b50919050565b612114806200021f6000396000f3fe60806040526004361061031a5760003560e01c80636bb7b1d9116101ab5780639f361cde116100f7578063c87b56dd11610095578063db7afa231161006f578063db7afa23146108c9578063e985e9c5146108e9578063f2fde38b14610932578063fb1515aa1461095257600080fd5b8063c87b56dd14610873578063d5abeb0114610893578063d5ceafed146108a957600080fd5b8063a945bf80116100d1578063a945bf80146107fd578063b88d4fde14610813578063bb3f4b1b14610833578063c62752551461085357600080fd5b80639f361cde146107aa578063a002a462146107ca578063a22cb465146107dd57600080fd5b806388c553f611610164578063936eb8dd1161013e578063936eb8dd1461073f578063945a68141461075f57806395d89b411461077f5780639d3d41de1461079457600080fd5b806388c553f6146106dc5780638da5cb5b1461070157806392723cc01461071f57600080fd5b80636bb7b1d91461063b5780636d5d40c6146106515780636f8b44b01461067157806370a0823114610691578063715018a6146106b1578063762d9b4c146106c657600080fd5b80632db115441161026a57806342842e0e1161022357806355ad45c3116101fd57806355ad45c3146105c557806355f804b3146105e557806356a5203b146106055780636352211e1461061b57600080fd5b806342842e0e1461057957806347ea9dc41461059957806350d7da46146105af57600080fd5b80632db11544146104cb5780633615ab45146104de5780633726230a146104fe578063375a069a1461052e57806339ce42c41461054e5780633ccfd60b1461056457600080fd5b80630b4c9ffd116102d757806318160ddd116102b157806318160ddd146104605780632227bd8a1461047557806323b872dd1461048b5780632aba3832146104ab57600080fd5b80630b4c9ffd1461041457806310e22ec11461043457806314df28841461044a57600080fd5b806301ffc9a71461031f57806302c76a411461035457806304398e851461037657806306fdde031461039a578063081812fc146103bc578063095ea7b3146103f4575b600080fd5b34801561032b57600080fd5b5061033f61033a366004611b2e565b610972565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061037461036f366004611b4b565b6109c4565b005b34801561038257600080fd5b5061038c60135481565b60405190815260200161034b565b3480156103a657600080fd5b506103af6109d1565b60405161034b9190611bbc565b3480156103c857600080fd5b506103dc6103d7366004611b4b565b610a63565b6040516001600160a01b03909116815260200161034b565b34801561040057600080fd5b5061037461040f366004611beb565b610aa7565b34801561042057600080fd5b5061037461042f366004611b4b565b610b47565b34801561044057600080fd5b5061038c600c5481565b34801561045657600080fd5b5061038c60115481565b34801561046c57600080fd5b5061038c610b54565b34801561048157600080fd5b5061038c600d5481565b34801561049757600080fd5b506103746104a6366004611c15565b610b62565b3480156104b757600080fd5b506103746104c6366004611b4b565b610cfa565b6103746104d9366004611b4b565b610d07565b3480156104ea57600080fd5b506103746104f9366004611d18565b610e1b565b34801561050a57600080fd5b5033600090815260066020526040908190205467ffffffffffffffff911c1661038c565b34801561053a57600080fd5b50610374610549366004611b4b565b611024565b34801561055a57600080fd5b5061038c600b5481565b34801561057057600080fd5b5061037461106d565b34801561058557600080fd5b50610374610594366004611c15565b611101565b3480156105a557600080fd5b5061038c600a5481565b3480156105bb57600080fd5b5061038c600f5481565b3480156105d157600080fd5b506103746105e0366004611b4b565b61111c565b3480156105f157600080fd5b50610374610600366004611d5d565b611129565b34801561061157600080fd5b5061038c60165481565b34801561062757600080fd5b506103dc610636366004611b4b565b61113d565b34801561064757600080fd5b5061038c60125481565b34801561065d57600080fd5b5061037461066c366004611b4b565b611148565b34801561067d57600080fd5b5061037461068c366004611b4b565b611155565b34801561069d57600080fd5b5061038c6106ac366004611dcf565b611162565b3480156106bd57600080fd5b506103746111b1565b3480156106d257600080fd5b5061038c60155481565b3480156106e857600080fd5b503360009081526006602052604090205460c01c61038c565b34801561070d57600080fd5b506000546001600160a01b03166103dc565b34801561072b57600080fd5b5061037461073a366004611b4b565b6111c5565b34801561074b57600080fd5b5061033f61075a366004611d18565b6111d2565b34801561076b57600080fd5b5061037461077a366004611b4b565b6111e8565b34801561078b57600080fd5b506103af6111f5565b3480156107a057600080fd5b5061038c600e5481565b3480156107b657600080fd5b506103746107c5366004611b4b565b611204565b6103746107d8366004611d18565b611211565b3480156107e957600080fd5b506103746107f8366004611dea565b6113d4565b34801561080957600080fd5b5061038c60105481565b34801561081f57600080fd5b5061037461082e366004611e26565b611469565b34801561083f57600080fd5b5061033f61084e366004611d18565b6114b3565b34801561085f57600080fd5b5061037461086e366004611b4b565b6114c2565b34801561087f57600080fd5b506103af61088e366004611b4b565b6114cf565b34801561089f57600080fd5b5061038c60095481565b3480156108b557600080fd5b506103746108c4366004611b4b565b611552565b3480156108d557600080fd5b506103746108e4366004611b4b565b61155f565b3480156108f557600080fd5b5061033f610904366004611ee6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561093e57600080fd5b5061037461094d366004611dcf565b61156c565b34801561095e57600080fd5b5061037461096d366004611b4b565b6115e2565b60006301ffc9a760e01b6001600160e01b0319831614806109a357506380ac58cd60e01b6001600160e01b03198316145b806109be5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6109cc6115ef565b600c55565b6060600380546109e090611f19565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0c90611f19565b8015610a595780601f10610a2e57610100808354040283529160200191610a59565b820191906000526020600020905b815481529060010190602001808311610a3c57829003601f168201915b5050505050905090565b6000610a6e82611649565b610a8b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ab28261113d565b9050336001600160a01b03821614610aeb57610ace8133610904565b610aeb576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b4f6115ef565b600d55565b600254600154036000190190565b6000610b6d8261167e565b9050836001600160a01b0316816001600160a01b031614610ba05760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610bed57610bd08633610904565b610bed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c1457604051633a954ecd60e21b815260040160405180910390fd5b8015610c1f57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610cb157600184016000818152600560205260408120549003610caf576001548114610caf5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610d026115ef565b600e55565b6000610d11610b54565b9050601254600014158015610d2857506012544210155b610d4d5760405162461bcd60e51b8152600401610d4490611f53565b60405180910390fd5b600a54821115610d985760405162461bcd60e51b815260206004820152601660248201527543616e206e6f74206d696e742074686973206d616e7960501b6044820152606401610d44565b600954610da58383611fa0565b1115610df35760405162461bcd60e51b815260206004820152601960248201527f52656163686564206d6178207075626c696320737570706c79000000000000006044820152606401610d44565b81601054610e019190611fb8565b341015610e0d57600080fd5b610e1733836116ed565b5050565b6000610e25610b54565b9050601354600014158015610e3c57506013544210155b610e585760405162461bcd60e51b8152600401610d4490611f53565b600e5433600090815260066020526040902054610e7990849060c01c611fa0565b1115610eb85760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d44565b6040516bffffffffffffffffffffffff193360601b166020820152610ef7908490603401604051602081830303815290604052805190602001206111d2565b610f435760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662066726565206d696e740000000000000000006044820152606401610d44565b600c54821115610f955760405162461bcd60e51b815260206004820152601c60248201527f52656163686564206d61782066726565206d696e7420616d6f756e74000000006044820152606401610d44565b600954610fa28383611fa0565b1115610fc05760405162461bcd60e51b8152600401610d4490611fd7565b336000818152600660205260409020546110159190610fe390859060c01c612003565b6001600160a01b03909116600090815260066020526040902080546001600160c01b031660c09290921b919091179055565b61101f33836116ed565b505050565b61102c6115ef565b60095481611038610b54565b6110429190611fa0565b11156110605760405162461bcd60e51b8152600401610d4490611fd7565b61106a33826116ed565b50565b6110756115ef565b6040514790600090339083908381818185875af1925050503d80600081146110b9576040519150601f19603f3d011682016040523d82523d6000602084013e6110be565b606091505b5050905080610e175760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610d44565b61101f83838360405180602001604052806000815250611469565b6111246115ef565b600a55565b6111316115ef565b61101f60148383611a7f565b60006109be8261167e565b6111506115ef565b601255565b61115d6115ef565b600955565b60006001600160a01b03821661118b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6111b96115ef565b6111c36000611707565b565b6111cd6115ef565b601155565b60006111e18360165484611757565b9392505050565b6111f06115ef565b601355565b6060600480546109e090611f19565b61120c6115ef565b600b55565b600061121b610b54565b905060115460001415801561123257506011544210155b61124e5760405162461bcd60e51b8152600401610d4490611f53565b600d5433600090815260066020526040908190205484911c67ffffffffffffffff1661127a9190611fa0565b11156112b95760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d44565b6040516bffffffffffffffffffffffff193360601b1660208201526112f8908490603401604051602081830303815290604052805190602001206114b3565b61133d5760405162461bcd60e51b8152602060048201526016602482015275139bdd0818481c185c9d081bd988191959591b1a5cdd60521b6044820152606401610d44565b600b5482111561138f5760405162461bcd60e51b815260206004820152601b60248201527f52656163686564206d617820646565646c69737420616d6f756e7400000000006044820152606401610d44565b60095461139c8383611fa0565b11156113ba5760405162461bcd60e51b8152600401610d4490611fd7565b81600f546113c89190611fb8565b34101561101557600080fd5b336001600160a01b038316036113fd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611474848484610b62565b6001600160a01b0383163b156114ad576114908484848461176d565b6114ad576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006111e18360155484611757565b6114ca6115ef565b601055565b60606114da82611649565b6114f757604051630a14c4b560e41b815260040160405180910390fd5b6000611501611858565b9050805160000361152157604051806020016040528060008152506111e1565b8061152b84611867565b60405160200161153c92919061202f565b6040516020818303038152906040529392505050565b61155a6115ef565b601655565b6115676115ef565b601555565b6115746115ef565b6001600160a01b0381166115d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d44565b61106a81611707565b6115ea6115ef565b600f55565b6000546001600160a01b031633146111c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d44565b60008160011115801561165d575060015482105b80156109be575050600090815260056020526040902054600160e01b161590565b600081806001116116d4576001548110156116d45760008181526005602052604081205490600160e01b821690036116d2575b806000036111e15750600019016000818152600560205260409020546116b1565b505b604051636f96cda160e11b815260040160405180910390fd5b610e178282604051806020016040528060008152506118b6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826117648584611923565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117a2903390899088908890600401612055565b6020604051808303816000875af19250505080156117dd575060408051601f3d908101601f191682019092526117da91810190612092565b60015b61183b573d80801561180b576040519150601f19603f3d011682016040523d82523d6000602084013e611810565b606091505b508051600003611833576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601480546109e090611f19565b604080516080810191829052607f0190826030600a8206018353600a90045b80156118a457600183039250600a81066030018353600a9004611886565b50819003601f19909101908152919050565b6118c08383611970565b6001600160a01b0383163b1561101f576001548281035b6118ea600086838060010194508661176d565b611907576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118d757816001541461191c57600080fd5b5050505050565b600081815b84518110156119685761195482868381518110611947576119476120af565b6020026020010151611a50565b915080611960816120c5565b915050611928565b509392505050565b6001546001600160a01b03831661199957604051622e076360e81b815260040160405180910390fd5b816000036119ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a045760015550505050565b6000818310611a6c5760008281526020849052604090206111e1565b60008381526020839052604090206111e1565b828054611a8b90611f19565b90600052602060002090601f016020900481019282611aad5760008555611af3565b82601f10611ac65782800160ff19823516178555611af3565b82800160010185558215611af3579182015b82811115611af3578235825591602001919060010190611ad8565b50611aff929150611b03565b5090565b5b80821115611aff5760008155600101611b04565b6001600160e01b03198116811461106a57600080fd5b600060208284031215611b4057600080fd5b81356111e181611b18565b600060208284031215611b5d57600080fd5b5035919050565b60005b83811015611b7f578181015183820152602001611b67565b838111156114ad5750506000910152565b60008151808452611ba8816020860160208601611b64565b601f01601f19169290920160200192915050565b6020815260006111e16020830184611b90565b80356001600160a01b0381168114611be657600080fd5b919050565b60008060408385031215611bfe57600080fd5b611c0783611bcf565b946020939093013593505050565b600080600060608486031215611c2a57600080fd5b611c3384611bcf565b9250611c4160208501611bcf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611c9057611c90611c51565b604052919050565b600082601f830112611ca957600080fd5b8135602067ffffffffffffffff821115611cc557611cc5611c51565b8160051b611cd4828201611c67565b9283528481018201928281019087851115611cee57600080fd5b83870192505b84831015611d0d57823582529183019190830190611cf4565b979650505050505050565b60008060408385031215611d2b57600080fd5b823567ffffffffffffffff811115611d4257600080fd5b611d4e85828601611c98565b95602094909401359450505050565b60008060208385031215611d7057600080fd5b823567ffffffffffffffff80821115611d8857600080fd5b818501915085601f830112611d9c57600080fd5b813581811115611dab57600080fd5b866020828501011115611dbd57600080fd5b60209290920196919550909350505050565b600060208284031215611de157600080fd5b6111e182611bcf565b60008060408385031215611dfd57600080fd5b611e0683611bcf565b915060208301358015158114611e1b57600080fd5b809150509250929050565b60008060008060808587031215611e3c57600080fd5b611e4585611bcf565b93506020611e54818701611bcf565b935060408601359250606086013567ffffffffffffffff80821115611e7857600080fd5b818801915088601f830112611e8c57600080fd5b813581811115611e9e57611e9e611c51565b611eb0601f8201601f19168501611c67565b91508082528984828501011115611ec657600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ef957600080fd5b611f0283611bcf565b9150611f1060208401611bcf565b90509250929050565b600181811c90821680611f2d57607f821691505b602082108103611f4d57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f53616c6520686173206e6f742073746172746564207965740000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fb357611fb3611f8a565b500190565b6000816000190483118215151615611fd257611fd2611f8a565b500290565b60208082526012908201527152656163686564206d617820737570706c7960701b604082015260600190565b600067ffffffffffffffff80831681851680830382111561202657612026611f8a565b01949350505050565b60008351612041818460208801611b64565b835190830190612026818360208801611b64565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208890830184611b90565b9695505050505050565b6000602082840312156120a457600080fd5b81516111e181611b18565b634e487b7160e01b600052603260045260246000fd5b6000600182016120d7576120d7611f8a565b506001019056fea2646970667358221220326d91f53711ee2ba5963955e6365ea88143e1c0252e526e1b1f1e9277993a1564736f6c634300080e0033

Deployed Bytecode

0x60806040526004361061031a5760003560e01c80636bb7b1d9116101ab5780639f361cde116100f7578063c87b56dd11610095578063db7afa231161006f578063db7afa23146108c9578063e985e9c5146108e9578063f2fde38b14610932578063fb1515aa1461095257600080fd5b8063c87b56dd14610873578063d5abeb0114610893578063d5ceafed146108a957600080fd5b8063a945bf80116100d1578063a945bf80146107fd578063b88d4fde14610813578063bb3f4b1b14610833578063c62752551461085357600080fd5b80639f361cde146107aa578063a002a462146107ca578063a22cb465146107dd57600080fd5b806388c553f611610164578063936eb8dd1161013e578063936eb8dd1461073f578063945a68141461075f57806395d89b411461077f5780639d3d41de1461079457600080fd5b806388c553f6146106dc5780638da5cb5b1461070157806392723cc01461071f57600080fd5b80636bb7b1d91461063b5780636d5d40c6146106515780636f8b44b01461067157806370a0823114610691578063715018a6146106b1578063762d9b4c146106c657600080fd5b80632db115441161026a57806342842e0e1161022357806355ad45c3116101fd57806355ad45c3146105c557806355f804b3146105e557806356a5203b146106055780636352211e1461061b57600080fd5b806342842e0e1461057957806347ea9dc41461059957806350d7da46146105af57600080fd5b80632db11544146104cb5780633615ab45146104de5780633726230a146104fe578063375a069a1461052e57806339ce42c41461054e5780633ccfd60b1461056457600080fd5b80630b4c9ffd116102d757806318160ddd116102b157806318160ddd146104605780632227bd8a1461047557806323b872dd1461048b5780632aba3832146104ab57600080fd5b80630b4c9ffd1461041457806310e22ec11461043457806314df28841461044a57600080fd5b806301ffc9a71461031f57806302c76a411461035457806304398e851461037657806306fdde031461039a578063081812fc146103bc578063095ea7b3146103f4575b600080fd5b34801561032b57600080fd5b5061033f61033a366004611b2e565b610972565b60405190151581526020015b60405180910390f35b34801561036057600080fd5b5061037461036f366004611b4b565b6109c4565b005b34801561038257600080fd5b5061038c60135481565b60405190815260200161034b565b3480156103a657600080fd5b506103af6109d1565b60405161034b9190611bbc565b3480156103c857600080fd5b506103dc6103d7366004611b4b565b610a63565b6040516001600160a01b03909116815260200161034b565b34801561040057600080fd5b5061037461040f366004611beb565b610aa7565b34801561042057600080fd5b5061037461042f366004611b4b565b610b47565b34801561044057600080fd5b5061038c600c5481565b34801561045657600080fd5b5061038c60115481565b34801561046c57600080fd5b5061038c610b54565b34801561048157600080fd5b5061038c600d5481565b34801561049757600080fd5b506103746104a6366004611c15565b610b62565b3480156104b757600080fd5b506103746104c6366004611b4b565b610cfa565b6103746104d9366004611b4b565b610d07565b3480156104ea57600080fd5b506103746104f9366004611d18565b610e1b565b34801561050a57600080fd5b5033600090815260066020526040908190205467ffffffffffffffff911c1661038c565b34801561053a57600080fd5b50610374610549366004611b4b565b611024565b34801561055a57600080fd5b5061038c600b5481565b34801561057057600080fd5b5061037461106d565b34801561058557600080fd5b50610374610594366004611c15565b611101565b3480156105a557600080fd5b5061038c600a5481565b3480156105bb57600080fd5b5061038c600f5481565b3480156105d157600080fd5b506103746105e0366004611b4b565b61111c565b3480156105f157600080fd5b50610374610600366004611d5d565b611129565b34801561061157600080fd5b5061038c60165481565b34801561062757600080fd5b506103dc610636366004611b4b565b61113d565b34801561064757600080fd5b5061038c60125481565b34801561065d57600080fd5b5061037461066c366004611b4b565b611148565b34801561067d57600080fd5b5061037461068c366004611b4b565b611155565b34801561069d57600080fd5b5061038c6106ac366004611dcf565b611162565b3480156106bd57600080fd5b506103746111b1565b3480156106d257600080fd5b5061038c60155481565b3480156106e857600080fd5b503360009081526006602052604090205460c01c61038c565b34801561070d57600080fd5b506000546001600160a01b03166103dc565b34801561072b57600080fd5b5061037461073a366004611b4b565b6111c5565b34801561074b57600080fd5b5061033f61075a366004611d18565b6111d2565b34801561076b57600080fd5b5061037461077a366004611b4b565b6111e8565b34801561078b57600080fd5b506103af6111f5565b3480156107a057600080fd5b5061038c600e5481565b3480156107b657600080fd5b506103746107c5366004611b4b565b611204565b6103746107d8366004611d18565b611211565b3480156107e957600080fd5b506103746107f8366004611dea565b6113d4565b34801561080957600080fd5b5061038c60105481565b34801561081f57600080fd5b5061037461082e366004611e26565b611469565b34801561083f57600080fd5b5061033f61084e366004611d18565b6114b3565b34801561085f57600080fd5b5061037461086e366004611b4b565b6114c2565b34801561087f57600080fd5b506103af61088e366004611b4b565b6114cf565b34801561089f57600080fd5b5061038c60095481565b3480156108b557600080fd5b506103746108c4366004611b4b565b611552565b3480156108d557600080fd5b506103746108e4366004611b4b565b61155f565b3480156108f557600080fd5b5061033f610904366004611ee6565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561093e57600080fd5b5061037461094d366004611dcf565b61156c565b34801561095e57600080fd5b5061037461096d366004611b4b565b6115e2565b60006301ffc9a760e01b6001600160e01b0319831614806109a357506380ac58cd60e01b6001600160e01b03198316145b806109be5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6109cc6115ef565b600c55565b6060600380546109e090611f19565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0c90611f19565b8015610a595780601f10610a2e57610100808354040283529160200191610a59565b820191906000526020600020905b815481529060010190602001808311610a3c57829003601f168201915b5050505050905090565b6000610a6e82611649565b610a8b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ab28261113d565b9050336001600160a01b03821614610aeb57610ace8133610904565b610aeb576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610b4f6115ef565b600d55565b600254600154036000190190565b6000610b6d8261167e565b9050836001600160a01b0316816001600160a01b031614610ba05760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610bed57610bd08633610904565b610bed57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610c1457604051633a954ecd60e21b815260040160405180910390fd5b8015610c1f57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610cb157600184016000818152600560205260408120549003610caf576001548114610caf5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610d026115ef565b600e55565b6000610d11610b54565b9050601254600014158015610d2857506012544210155b610d4d5760405162461bcd60e51b8152600401610d4490611f53565b60405180910390fd5b600a54821115610d985760405162461bcd60e51b815260206004820152601660248201527543616e206e6f74206d696e742074686973206d616e7960501b6044820152606401610d44565b600954610da58383611fa0565b1115610df35760405162461bcd60e51b815260206004820152601960248201527f52656163686564206d6178207075626c696320737570706c79000000000000006044820152606401610d44565b81601054610e019190611fb8565b341015610e0d57600080fd5b610e1733836116ed565b5050565b6000610e25610b54565b9050601354600014158015610e3c57506013544210155b610e585760405162461bcd60e51b8152600401610d4490611f53565b600e5433600090815260066020526040902054610e7990849060c01c611fa0565b1115610eb85760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d44565b6040516bffffffffffffffffffffffff193360601b166020820152610ef7908490603401604051602081830303815290604052805190602001206111d2565b610f435760405162461bcd60e51b815260206004820152601760248201527f4e6f7420612070617274206f662066726565206d696e740000000000000000006044820152606401610d44565b600c54821115610f955760405162461bcd60e51b815260206004820152601c60248201527f52656163686564206d61782066726565206d696e7420616d6f756e74000000006044820152606401610d44565b600954610fa28383611fa0565b1115610fc05760405162461bcd60e51b8152600401610d4490611fd7565b336000818152600660205260409020546110159190610fe390859060c01c612003565b6001600160a01b03909116600090815260066020526040902080546001600160c01b031660c09290921b919091179055565b61101f33836116ed565b505050565b61102c6115ef565b60095481611038610b54565b6110429190611fa0565b11156110605760405162461bcd60e51b8152600401610d4490611fd7565b61106a33826116ed565b50565b6110756115ef565b6040514790600090339083908381818185875af1925050503d80600081146110b9576040519150601f19603f3d011682016040523d82523d6000602084013e6110be565b606091505b5050905080610e175760405162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b6044820152606401610d44565b61101f83838360405180602001604052806000815250611469565b6111246115ef565b600a55565b6111316115ef565b61101f60148383611a7f565b60006109be8261167e565b6111506115ef565b601255565b61115d6115ef565b600955565b60006001600160a01b03821661118b576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6111b96115ef565b6111c36000611707565b565b6111cd6115ef565b601155565b60006111e18360165484611757565b9392505050565b6111f06115ef565b601355565b6060600480546109e090611f19565b61120c6115ef565b600b55565b600061121b610b54565b905060115460001415801561123257506011544210155b61124e5760405162461bcd60e51b8152600401610d4490611f53565b600d5433600090815260066020526040908190205484911c67ffffffffffffffff1661127a9190611fa0565b11156112b95760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b5a5b9d195960921b6044820152606401610d44565b6040516bffffffffffffffffffffffff193360601b1660208201526112f8908490603401604051602081830303815290604052805190602001206114b3565b61133d5760405162461bcd60e51b8152602060048201526016602482015275139bdd0818481c185c9d081bd988191959591b1a5cdd60521b6044820152606401610d44565b600b5482111561138f5760405162461bcd60e51b815260206004820152601b60248201527f52656163686564206d617820646565646c69737420616d6f756e7400000000006044820152606401610d44565b60095461139c8383611fa0565b11156113ba5760405162461bcd60e51b8152600401610d4490611fd7565b81600f546113c89190611fb8565b34101561101557600080fd5b336001600160a01b038316036113fd5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611474848484610b62565b6001600160a01b0383163b156114ad576114908484848461176d565b6114ad576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60006111e18360155484611757565b6114ca6115ef565b601055565b60606114da82611649565b6114f757604051630a14c4b560e41b815260040160405180910390fd5b6000611501611858565b9050805160000361152157604051806020016040528060008152506111e1565b8061152b84611867565b60405160200161153c92919061202f565b6040516020818303038152906040529392505050565b61155a6115ef565b601655565b6115676115ef565b601555565b6115746115ef565b6001600160a01b0381166115d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d44565b61106a81611707565b6115ea6115ef565b600f55565b6000546001600160a01b031633146111c35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d44565b60008160011115801561165d575060015482105b80156109be575050600090815260056020526040902054600160e01b161590565b600081806001116116d4576001548110156116d45760008181526005602052604081205490600160e01b821690036116d2575b806000036111e15750600019016000818152600560205260409020546116b1565b505b604051636f96cda160e11b815260040160405180910390fd5b610e178282604051806020016040528060008152506118b6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826117648584611923565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117a2903390899088908890600401612055565b6020604051808303816000875af19250505080156117dd575060408051601f3d908101601f191682019092526117da91810190612092565b60015b61183b573d80801561180b576040519150601f19603f3d011682016040523d82523d6000602084013e611810565b606091505b508051600003611833576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060601480546109e090611f19565b604080516080810191829052607f0190826030600a8206018353600a90045b80156118a457600183039250600a81066030018353600a9004611886565b50819003601f19909101908152919050565b6118c08383611970565b6001600160a01b0383163b1561101f576001548281035b6118ea600086838060010194508661176d565b611907576040516368d2bf6b60e11b815260040160405180910390fd5b8181106118d757816001541461191c57600080fd5b5050505050565b600081815b84518110156119685761195482868381518110611947576119476120af565b6020026020010151611a50565b915080611960816120c5565b915050611928565b509392505050565b6001546001600160a01b03831661199957604051622e076360e81b815260040160405180910390fd5b816000036119ba5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a045760015550505050565b6000818310611a6c5760008281526020849052604090206111e1565b60008381526020839052604090206111e1565b828054611a8b90611f19565b90600052602060002090601f016020900481019282611aad5760008555611af3565b82601f10611ac65782800160ff19823516178555611af3565b82800160010185558215611af3579182015b82811115611af3578235825591602001919060010190611ad8565b50611aff929150611b03565b5090565b5b80821115611aff5760008155600101611b04565b6001600160e01b03198116811461106a57600080fd5b600060208284031215611b4057600080fd5b81356111e181611b18565b600060208284031215611b5d57600080fd5b5035919050565b60005b83811015611b7f578181015183820152602001611b67565b838111156114ad5750506000910152565b60008151808452611ba8816020860160208601611b64565b601f01601f19169290920160200192915050565b6020815260006111e16020830184611b90565b80356001600160a01b0381168114611be657600080fd5b919050565b60008060408385031215611bfe57600080fd5b611c0783611bcf565b946020939093013593505050565b600080600060608486031215611c2a57600080fd5b611c3384611bcf565b9250611c4160208501611bcf565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611c9057611c90611c51565b604052919050565b600082601f830112611ca957600080fd5b8135602067ffffffffffffffff821115611cc557611cc5611c51565b8160051b611cd4828201611c67565b9283528481018201928281019087851115611cee57600080fd5b83870192505b84831015611d0d57823582529183019190830190611cf4565b979650505050505050565b60008060408385031215611d2b57600080fd5b823567ffffffffffffffff811115611d4257600080fd5b611d4e85828601611c98565b95602094909401359450505050565b60008060208385031215611d7057600080fd5b823567ffffffffffffffff80821115611d8857600080fd5b818501915085601f830112611d9c57600080fd5b813581811115611dab57600080fd5b866020828501011115611dbd57600080fd5b60209290920196919550909350505050565b600060208284031215611de157600080fd5b6111e182611bcf565b60008060408385031215611dfd57600080fd5b611e0683611bcf565b915060208301358015158114611e1b57600080fd5b809150509250929050565b60008060008060808587031215611e3c57600080fd5b611e4585611bcf565b93506020611e54818701611bcf565b935060408601359250606086013567ffffffffffffffff80821115611e7857600080fd5b818801915088601f830112611e8c57600080fd5b813581811115611e9e57611e9e611c51565b611eb0601f8201601f19168501611c67565b91508082528984828501011115611ec657600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611ef957600080fd5b611f0283611bcf565b9150611f1060208401611bcf565b90509250929050565b600181811c90821680611f2d57607f821691505b602082108103611f4d57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527f53616c6520686173206e6f742073746172746564207965740000000000000000604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fb357611fb3611f8a565b500190565b6000816000190483118215151615611fd257611fd2611f8a565b500290565b60208082526012908201527152656163686564206d617820737570706c7960701b604082015260600190565b600067ffffffffffffffff80831681851680830382111561202657612026611f8a565b01949350505050565b60008351612041818460208801611b64565b835190830190612026818360208801611b64565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061208890830184611b90565b9695505050505050565b6000602082840312156120a457600080fd5b81516111e181611b18565b634e487b7160e01b600052603260045260246000fd5b6000600182016120d7576120d7611f8a565b506001019056fea2646970667358221220326d91f53711ee2ba5963955e6365ea88143e1c0252e526e1b1f1e9277993a1564736f6c634300080e0033

Deployed Bytecode Sourcemap

57112:5438:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26910:615;;;;;;;;;;-1:-1:-1;26910:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;26910:615:0;;;;;;;;60984:116;;;;;;;;;;-1:-1:-1;60984:116:0;;;;;:::i;:::-;;:::i;:::-;;57639:36;;;;;;;;;;;;;;;;;;;923:25:1;;;911:2;896:18;57639:36:0;777:177:1;32557:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34503:204::-;;;;;;;;;;-1:-1:-1;34503:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1874:32:1;;;1856:51;;1844:2;1829:18;34503:204:0;1710:203:1;34051:386:0;;;;;;;;;;-1:-1:-1;34051:386:0;;;;;:::i;:::-;;:::i;61106:128::-;;;;;;;;;;-1:-1:-1;61106:128:0;;;;;:::i;:::-;;:::i;57298:33::-;;;;;;;;;;;;;;;;57559:36;;;;;;;;;;;;;;;;25964:315;;;;;;;;;;;;;:::i;57377:36::-;;;;;;;;;;;;;;;;43768:2800;;;;;;;;;;-1:-1:-1;43768:2800:0;;;;;:::i;:::-;;:::i;61240:128::-;;;;;;;;;;-1:-1:-1;61240:128:0;;;;;:::i;:::-;;:::i;59295:463::-;;;;;;:::i;:::-;;:::i;57823:720::-;;;;;;;;;;-1:-1:-1;57823:720:0;;;;;:::i;:::-;;:::i;60098:99::-;;;;;;;;;;-1:-1:-1;60180:10:0;60143:7;27984:25;;;:18;:25;;22281:2;27984:25;;;;;22144:13;27984:49;;27983:80;60098:99;;60422:173;;;;;;;;;;-1:-1:-1;60422:173:0;;;;;:::i;:::-;;:::i;57256:37::-;;;;;;;;;;;;;;;;62354:193;;;;;;;;;;;;;:::i;35393:185::-;;;;;;;;;;-1:-1:-1;35393:185:0;;;;;:::i;:::-;;:::i;57216:35::-;;;;;;;;;;;;;;;;57461:44;;;;;;;;;;;;;;;;60703:124;;;;;;;;;;-1:-1:-1;60703:124:0;;;;;:::i;:::-;;:::i;61700:100::-;;;;;;;;;;-1:-1:-1;61700:100:0;;;;;:::i;:::-;;:::i;57743:21::-;;;;;;;;;;;;;;;;32346:144;;;;;;;;;;-1:-1:-1;32346:144:0;;;;;:::i;:::-;;:::i;57600:34::-;;;;;;;;;;;;;;;;61930:114;;;;;;;;;;-1:-1:-1;61930:114:0;;;;;:::i;:::-;;:::i;60601:96::-;;;;;;;;;;-1:-1:-1;60601:96:0;;;;;:::i;:::-;;:::i;27589:224::-;;;;;;;;;;-1:-1:-1;27589:224:0;;;;;:::i;:::-;;:::i;11501:103::-;;;;;;;;;;;;;:::i;57717:21::-;;;;;;;;;;;;;;;;60203:95;;;;;;;;;;-1:-1:-1;60281:10:0;60250:7;28551:25;;;:18;:25;;;;;;22515:3;28551:39;60203:95;;10853:87;;;;;;;;;;-1:-1:-1;10899:7:0;10926:6;-1:-1:-1;;;;;10926:6:0;10853:87;;61806:118;;;;;;;;;;-1:-1:-1;61806:118:0;;;;;:::i;:::-;;:::i;59931:161::-;;;;;;;;;;-1:-1:-1;59931:161:0;;;;;:::i;:::-;;:::i;62050:118::-;;;;;;;;;;-1:-1:-1;62050:118:0;;;;;:::i;:::-;;:::i;32726:104::-;;;;;;;;;;;;;:::i;57418:36::-;;;;;;;;;;;;;;;;60833:145;;;;;;;;;;-1:-1:-1;60833:145:0;;;;;:::i;:::-;;:::i;58549:740::-;;;;;;:::i;:::-;;:::i;34779:308::-;;;;;;;;;;-1:-1:-1;34779:308:0;;;;;:::i;:::-;;:::i;57510:42::-;;;;;;;;;;;;;;;;35649:399;;;;;;;;;;-1:-1:-1;35649:399:0;;;;;:::i;:::-;;:::i;59764:161::-;;;;;;;;;;-1:-1:-1;59764:161:0;;;;;:::i;:::-;;:::i;61482:98::-;;;;;;;;;;-1:-1:-1;61482:98:0;;;;;:::i;:::-;;:::i;32901:318::-;;;;;;;;;;-1:-1:-1;32901:318:0;;;;;:::i;:::-;;:::i;57154:31::-;;;;;;;;;;;;;;;;62264:84;;;;;;;;;;-1:-1:-1;62264:84:0;;;;;:::i;:::-;;:::i;62174:::-;;;;;;;;;;-1:-1:-1;62174:84:0;;;;;:::i;:::-;;:::i;35158:164::-;;;;;;;;;;-1:-1:-1;35158:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;35279:25:0;;;35255:4;35279:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35158:164;11759:201;;;;;;;;;;-1:-1:-1;11759:201:0;;;;;:::i;:::-;;:::i;61374:102::-;;;;;;;;;;-1:-1:-1;61374:102:0;;;;;:::i;:::-;;:::i;26910:615::-;26995:4;-1:-1:-1;;;;;;;;;27295:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;27372:25:0;;;27295:102;:179;;;-1:-1:-1;;;;;;;;;;27449:25:0;;;27295:179;27275:199;26910:615;-1:-1:-1;;26910:615:0:o;60984:116::-;10739:13;:11;:13::i;:::-;61062:14:::1;:32:::0;60984:116::o;32557:100::-;32611:13;32644:5;32637:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32557:100;:::o;34503:204::-;34571:7;34596:16;34604:7;34596;:16::i;:::-;34591:64;;34621:34;;-1:-1:-1;;;34621:34:0;;;;;;;;;;;34591:64;-1:-1:-1;34675:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34675:24:0;;34503:204::o;34051:386::-;34124:13;34140:16;34148:7;34140;:16::i;:::-;34124:32;-1:-1:-1;54951:10:0;-1:-1:-1;;;;;34173:28:0;;;34169:175;;34221:44;34238:5;54951:10;35158:164;:::i;34221:44::-;34216:128;;34293:35;;-1:-1:-1;;;34293:35:0;;;;;;;;;;;34216:128;34356:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;34356:29:0;-1:-1:-1;;;;;34356:29:0;;;;;;;;;34401:28;;34356:24;;34401:28;;;;;;;34113:324;34051:386;;:::o;61106:128::-;10739:13;:11;:13::i;:::-;61190:17:::1;:38:::0;61106:128::o;25964:315::-;26230:12;;60392:1;26214:13;:28;-1:-1:-1;;26214:46:0;;25964:315::o;43768:2800::-;43902:27;43932;43951:7;43932:18;:27::i;:::-;43902:57;;44017:4;-1:-1:-1;;;;;43976:45:0;43992:19;-1:-1:-1;;;;;43976:45:0;;43972:86;;44030:28;;-1:-1:-1;;;44030:28:0;;;;;;;;;;;43972:86;44072:27;42498:21;;;42325:15;42540:4;42533:36;42622:4;42606:21;;42712:26;;54951:10;43465:30;;;-1:-1:-1;;;;;43163:26:0;;43444:19;;;43441:55;44251:174;;44338:43;44355:4;54951:10;35158:164;:::i;44338:43::-;44333:92;;44390:35;;-1:-1:-1;;;44390:35:0;;;;;;;;;;;44333:92;-1:-1:-1;;;;;44442:16:0;;44438:52;;44467:23;;-1:-1:-1;;;44467:23:0;;;;;;;;;;;44438:52;44639:15;44636:160;;;44779:1;44758:19;44751:30;44636:160;-1:-1:-1;;;;;45174:24:0;;;;;;;:18;:24;;;;;;45172:26;;-1:-1:-1;;45172:26:0;;;45243:22;;;;;;;;;45241:24;;-1:-1:-1;45241:24:0;;;32245:11;32221:22;32217:40;32204:62;-1:-1:-1;;;32204:62:0;45536:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;45830:46:0;;:51;;45826:626;;45934:1;45924:11;;45902:19;46057:30;;;:17;:30;;;;;;:35;;46053:384;;46195:13;;46180:11;:28;46176:242;;46342:30;;;;:17;:30;;;;;:52;;;46176:242;45883:569;45826:626;46499:7;46495:2;-1:-1:-1;;;;;46480:27:0;46489:4;-1:-1:-1;;;;;46480:27:0;;;;;;;;;;;43891:2677;;;43768:2800;;;:::o;61240:128::-;10739:13;:11;:13::i;:::-;61324:17:::1;:38:::0;61240:128::o;59295:463::-;59357:14;59374:13;:11;:13::i;:::-;59357:30;;59410:19;;59433:1;59410:24;;:66;;;;;59457:19;;59438:15;:38;;59410:66;59394:124;;;;-1:-1:-1;;;59394:124:0;;;;;;;:::i;:::-;;;;;;;;;59545:16;;59533:8;:28;;59525:63;;;;-1:-1:-1;;;59525:63:0;;8356:2:1;59525:63:0;;;8338:21:1;8395:2;8375:18;;;8368:30;-1:-1:-1;;;8414:18:1;;;8407:52;8476:18;;59525:63:0;8154:346:1;59525:63:0;59624:9;;59603:17;59612:8;59603:6;:17;:::i;:::-;:30;;59595:68;;;;-1:-1:-1;;;59595:68:0;;8972:2:1;59595:68:0;;;8954:21:1;9011:2;8991:18;;;8984:30;9050:27;9030:18;;;9023:55;9095:18;;59595:68:0;8770:349:1;59595:68:0;59705:8;59691:11;;:22;;;;:::i;:::-;59678:9;:35;;59670:44;;;;;;59721:31;59731:10;59743:8;59721:9;:31::i;:::-;59350:408;59295:463;:::o;57823:720::-;57899:14;57916:13;:11;:13::i;:::-;57899:30;;57952:21;;57977:1;57952:26;;:70;;;;;58001:21;;57982:15;:40;;57952:70;57936:128;;;;-1:-1:-1;;;57936:128:0;;;;;;;:::i;:::-;58121:17;;58095:10;28518:6;28551:25;;;:18;:25;;;;;;58087:30;;58109:8;;22515:3;28551:39;58087:30;:::i;:::-;:51;;58071:99;;;;-1:-1:-1;;;58071:99:0;;9499:2:1;58071:99:0;;;9481:21:1;9538:2;9518:18;;;9511:30;-1:-1:-1;;;9557:18:1;;;9550:44;9611:18;;58071:99:0;9297:338:1;58071:99:0;58220:28;;-1:-1:-1;;58237:10:0;9789:2:1;9785:15;9781:53;58220:28:0;;;9769:66:1;58193:57:0;;58203:5;;9851:12:1;;58220:28:0;;;;;;;;;;;;58210:39;;;;;;58193:9;:57::i;:::-;58177:114;;;;-1:-1:-1;;;58177:114:0;;10076:2:1;58177:114:0;;;10058:21:1;10115:2;10095:18;;;10088:30;10154:25;10134:18;;;10127:53;10197:18;;58177:114:0;9874:347:1;58177:114:0;58318:14;;58306:8;:26;;58298:67;;;;-1:-1:-1;;;58298:67:0;;10428:2:1;58298:67:0;;;10410:21:1;10467:2;10447:18;;;10440:30;10506;10486:18;;;10479:58;10554:18;;58298:67:0;10226:352:1;58298:67:0;58401:9;;58380:17;58389:8;58380:6;:17;:::i;:::-;:30;;58372:61;;;;-1:-1:-1;;;58372:61:0;;;;;;;:::i;:::-;58448:10;28518:6;28551:25;;;:18;:25;;;;;;58440:59;;58448:10;58460:38;;58489:8;;22515:3;28551:39;58460:38;:::i;:::-;-1:-1:-1;;;;;28868:25:0;;;28851:14;28868:25;;;:18;:25;;;;;;;-1:-1:-1;;;;;29068:31:0;22515:3;29104:23;;;;29067:61;;;;29139:34;;28787:394;58440:59;58506:31;58516:10;58528:8;58506:9;:31::i;:::-;57892:651;57823:720;;:::o;60422:173::-;10739:13;:11;:13::i;:::-;60519:9:::1;;60507:8;60491:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:37;;60483:68;;;;-1:-1:-1::0;;;60483:68:0::1;;;;;;;:::i;:::-;60558:31;60568:10;60580:8;60558:9;:31::i;:::-;60422:173:::0;:::o;62354:193::-;10739:13;:11;:13::i;:::-;62460:42:::1;::::0;62416:21:::1;::::0;62400:13:::1;::::0;62468:10:::1;::::0;62416:21;;62400:13;62460:42;62400:13;62460:42;62416:21;62468:10;62460:42:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62444:58;;;62517:4;62509:32;;;::::0;-1:-1:-1;;;62509:32:0;;11583:2:1;62509:32:0::1;::::0;::::1;11565:21:1::0;11622:2;11602:18;;;11595:30;-1:-1:-1;;;11641:18:1;;;11634:45;11696:18;;62509:32:0::1;11381:339:1::0;35393:185:0;35531:39;35548:4;35554:2;35558:7;35531:39;;;;;;;;;;;;:16;:39::i;60703:124::-;10739:13;:11;:13::i;:::-;60785:16:::1;:36:::0;60703:124::o;61700:100::-;10739:13;:11;:13::i;:::-;61771:23:::1;:13;61787:7:::0;;61771:23:::1;:::i;32346:144::-:0;32410:7;32453:27;32472:7;32453:18;:27::i;61930:114::-;10739:13;:11;:13::i;:::-;62007:19:::1;:31:::0;61930:114::o;60601:96::-;10739:13;:11;:13::i;:::-;60669:9:::1;:22:::0;60601:96::o;27589:224::-;27653:7;-1:-1:-1;;;;;27677:19:0;;27673:60;;27705:28;;-1:-1:-1;;;27705:28:0;;;;;;;;;;;27673:60;-1:-1:-1;;;;;;27751:25:0;;;;;:18;:25;;;;;;22144:13;27751:54;;27589:224::o;11501:103::-;10739:13;:11;:13::i;:::-;11566:30:::1;11593:1;11566:18;:30::i;:::-;11501:103::o:0;61806:118::-;10739:13;:11;:13::i;:::-;61885:21:::1;:33:::0;61806:118::o;59931:161::-;60024:4;60047:39;60066:5;60073:6;;60081:4;60047:18;:39::i;:::-;60040:46;59931:161;-1:-1:-1;;;59931:161:0:o;62050:118::-;10739:13;:11;:13::i;:::-;62129:21:::1;:33:::0;62050:118::o;32726:104::-;32782:13;32815:7;32808:14;;;;;:::i;60833:145::-;10739:13;:11;:13::i;:::-;60932:18:::1;:40:::0;60833:145::o;58549:740::-;58650:14;58667:13;:11;:13::i;:::-;58650:30;;58703:21;;58728:1;58703:26;;:70;;;;;58752:21;;58733:15;:40;;58703:70;58687:128;;;;-1:-1:-1;;;58687:128:0;;;;;;;:::i;:::-;58878:17;;58852:10;27956:7;27984:25;;;:18;:25;;22281:2;27984:25;;;;;58866:8;;27984:49;22144:13;27983:80;58838:36;;;;:::i;:::-;:57;;58822:105;;;;-1:-1:-1;;;58822:105:0;;9499:2:1;58822:105:0;;;9481:21:1;9538:2;9518:18;;;9511:30;-1:-1:-1;;;9557:18:1;;;9550:44;9611:18;;58822:105:0;9297:338:1;58822:105:0;58977:28;;-1:-1:-1;;58994:10:0;9789:2:1;9785:15;9781:53;58977:28:0;;;9769:66:1;58950:57:0;;58960:5;;9851:12:1;;58977:28:0;;;;;;;;;;;;58967:39;;;;;;58950:9;:57::i;:::-;58934:113;;;;-1:-1:-1;;;58934:113:0;;11927:2:1;58934:113:0;;;11909:21:1;11966:2;11946:18;;;11939:30;-1:-1:-1;;;11985:18:1;;;11978:52;12047:18;;58934:113:0;11725:346:1;58934:113:0;59074:18;;59062:8;:30;;59054:70;;;;-1:-1:-1;;;59054:70:0;;12278:2:1;59054:70:0;;;12260:21:1;12317:2;12297:18;;;12290:30;12356:29;12336:18;;;12329:57;12403:18;;59054:70:0;12076:351:1;59054:70:0;59160:9;;59139:17;59148:8;59139:6;:17;:::i;:::-;:30;;59131:61;;;;-1:-1:-1;;;59131:61:0;;;;;;;:::i;:::-;59236:8;59220:13;;:24;;;;:::i;:::-;59207:9;:37;;59199:46;;;;;34779:308;54951:10;-1:-1:-1;;;;;34878:31:0;;;34874:61;;34918:17;;-1:-1:-1;;;34918:17:0;;;;;;;;;;;34874:61;54951:10;34948:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;34948:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;34948:60:0;;;;;;;;;;35024:55;;540:41:1;;;34948:49:0;;54951:10;35024:55;;513:18:1;35024:55:0;;;;;;;34779:308;;:::o;35649:399::-;35816:31;35829:4;35835:2;35839:7;35816:12;:31::i;:::-;-1:-1:-1;;;;;35862:14:0;;;:19;35858:183;;35901:56;35932:4;35938:2;35942:7;35951:5;35901:30;:56::i;:::-;35896:145;;35985:40;;-1:-1:-1;;;35985:40:0;;;;;;;;;;;35896:145;35649:399;;;;:::o;59764:161::-;59857:4;59880:39;59899:5;59906:6;;59914:4;59880:18;:39::i;61482:98::-;10739:13;:11;:13::i;:::-;61551:11:::1;:23:::0;61482:98::o;32901:318::-;32974:13;33005:16;33013:7;33005;:16::i;:::-;33000:59;;33030:29;;-1:-1:-1;;;33030:29:0;;;;;;;;;;;33000:59;33072:21;33096:10;:8;:10::i;:::-;33072:34;;33130:7;33124:21;33149:1;33124:26;:87;;;;;;;;;;;;;;;;;33177:7;33186:18;33196:7;33186:9;:18::i;:::-;33160:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;33117:94;32901:318;-1:-1:-1;;;32901:318:0:o;62264:84::-;10739:13;:11;:13::i;:::-;62326:6:::1;:16:::0;62264:84::o;62174:::-;10739:13;:11;:13::i;:::-;62236:6:::1;:16:::0;62174:84::o;11759:201::-;10739:13;:11;:13::i;:::-;-1:-1:-1;;;;;11848:22:0;::::1;11840:73;;;::::0;-1:-1:-1;;;11840:73:0;;13109:2:1;11840:73:0::1;::::0;::::1;13091:21:1::0;13148:2;13128:18;;;13121:30;13187:34;13167:18;;;13160:62;-1:-1:-1;;;13238:18:1;;;13231:36;13284:19;;11840:73:0::1;12907:402:1::0;11840:73:0::1;11924:28;11943:8;11924:18;:28::i;61374:102::-:0;10739:13;:11;:13::i;:::-;61445::::1;:25:::0;61374:102::o;11018:132::-;10899:7;10926:6;-1:-1:-1;;;;;10926:6:0;54951:10;11082:23;11074:68;;;;-1:-1:-1;;;11074:68:0;;13516:2:1;11074:68:0;;;13498:21:1;;;13535:18;;;13528:30;13594:34;13574:18;;;13567:62;13646:18;;11074:68:0;13314:356:1;36303:273:0;36360:4;36416:7;60392:1;36397:26;;:66;;;;;36450:13;;36440:7;:23;36397:66;:152;;;;-1:-1:-1;;36501:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;36501:43:0;:48;;36303:273::o;29263:1129::-;29330:7;29365;;60392:1;29414:23;29410:915;;29467:13;;29460:4;:20;29456:869;;;29505:14;29522:23;;;:17;:23;;;;;;;-1:-1:-1;;;29611:23:0;;:28;;29607:699;;30130:113;30137:6;30147:1;30137:11;30130:113;;-1:-1:-1;;;30208:6:0;30190:25;;;;:17;:25;;;;;;30130:113;;29607:699;29482:843;29456:869;30353:31;;-1:-1:-1;;;30353:31:0;;;;;;;;;;;36660:104;36729:27;36739:2;36743:8;36729:27;;;;;;;;;;;;:9;:27::i;12120:191::-;12194:16;12213:6;;-1:-1:-1;;;;;12230:17:0;;;-1:-1:-1;;;;;;12230:17:0;;;;;;12263:40;;12213:6;;;;;;;12263:40;;12194:16;12263:40;12183:128;12120:191;:::o;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;50519:716::-;50703:88;;-1:-1:-1;;;50703:88:0;;50682:4;;-1:-1:-1;;;;;50703:45:0;;;;;:88;;54951:10;;50770:4;;50776:7;;50785:5;;50703:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50703:88:0;;;;;;;;-1:-1:-1;;50703:88:0;;;;;;;;;;;;:::i;:::-;;;50699:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50986:6;:13;51003:1;50986:18;50982:235;;51032:40;;-1:-1:-1;;;51032:40:0;;;;;;;;;;;50982:235;51175:6;51169:13;51160:6;51156:2;51152:15;51145:38;50699:529;-1:-1:-1;;;;;;50862:64:0;-1:-1:-1;;;50862:64:0;;-1:-1:-1;50519:716:0;;;;;;:::o;61586:108::-;61646:13;61675;61668:20;;;;;:::i;55075:1960::-;55544:4;55538:11;;55551:3;55534:21;;55629:17;;;;56325:11;;;56204:5;56457:2;56471;56461:13;;56453:22;56325:11;56440:36;56512:2;56502:13;;56096:697;56531:4;56096:697;;;56722:1;56717:3;56713:11;56706:18;;56773:2;56767:4;56763:13;56759:2;56755:22;56750:3;56742:36;56626:2;56616:13;;56096:697;;;-1:-1:-1;56823:13:0;;;-1:-1:-1;;56938:12:0;;;56998:19;;;56938:12;55075:1960;-1:-1:-1;55075:1960:0:o;37180:681::-;37303:19;37309:2;37313:8;37303:5;:19::i;:::-;-1:-1:-1;;;;;37364:14:0;;;:19;37360:483;;37418:13;;37466:14;;;37499:233;37530:62;37569:1;37573:2;37577:7;;;;;;37586:5;37530:30;:62::i;:::-;37525:167;;37628:40;;-1:-1:-1;;;37628:40:0;;;;;;;;;;;37525:167;37727:3;37719:5;:11;37499:233;;37814:3;37797:13;;:20;37793:34;;37819:8;;;37793:34;37385:458;;37180:681;;;:::o;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;38134:1529::-;38222:13;;-1:-1:-1;;;;;38250:16:0;;38246:48;;38275:19;;-1:-1:-1;;;38275:19:0;;;;;;;;;;;38246:48;38309:8;38321:1;38309:13;38305:44;;38331:18;;-1:-1:-1;;;38331:18:0;;;;;;;;;;;38305:44;-1:-1:-1;;;;;38837:22:0;;;;;;:18;:22;;22281:2;38837:22;;:70;;38875:31;38863:44;;38837:70;;;32245:11;32221:22;32217:40;-1:-1:-1;33955:15:0;;33930:23;33926:45;32214:51;32204:62;39150:31;;;;:17;:31;;;;;:173;39168:12;39399:23;;;39437:101;39464:35;;39489:9;;;;;-1:-1:-1;;;;;39464:35:0;;;39481:1;;39464:35;;39481:1;;39464:35;39533:3;39523:7;:13;39437:101;;39554:13;:19;-1:-1:-1;57892:651:0;57823:720;;:::o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8391:20;8450:268;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:180::-;651:6;704:2;692:9;683:7;679:23;675:32;672:52;;;720:1;717;710:12;672:52;-1:-1:-1;743:23:1;;592:180;-1:-1:-1;592:180:1:o;959:258::-;1031:1;1041:113;1055:6;1052:1;1049:13;1041:113;;;1131:11;;;1125:18;1112:11;;;1105:39;1077:2;1070:10;1041:113;;;1172:6;1169:1;1166:13;1163:48;;;-1:-1:-1;;1207:1:1;1189:16;;1182:27;959:258::o;1222:::-;1264:3;1302:5;1296:12;1329:6;1324:3;1317:19;1345:63;1401:6;1394:4;1389:3;1385:14;1378:4;1371:5;1367:16;1345:63;:::i;:::-;1462:2;1441:15;-1:-1:-1;;1437:29:1;1428:39;;;;1469:4;1424:50;;1222:258;-1:-1:-1;;1222:258:1:o;1485:220::-;1634:2;1623:9;1616:21;1597:4;1654:45;1695:2;1684:9;1680:18;1672:6;1654:45;:::i;1918:173::-;1986:20;;-1:-1:-1;;;;;2035:31:1;;2025:42;;2015:70;;2081:1;2078;2071:12;2015:70;1918:173;;;:::o;2096:254::-;2164:6;2172;2225:2;2213:9;2204:7;2200:23;2196:32;2193:52;;;2241:1;2238;2231:12;2193:52;2264:29;2283:9;2264:29;:::i;:::-;2254:39;2340:2;2325:18;;;;2312:32;;-1:-1:-1;;;2096:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;2991:18;2976:34;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:712::-;3154:5;3207:3;3200:4;3192:6;3188:17;3184:27;3174:55;;3225:1;3222;3215:12;3174:55;3261:6;3248:20;3287:4;3310:18;3306:2;3303:26;3300:52;;;3332:18;;:::i;:::-;3378:2;3375:1;3371:10;3401:28;3425:2;3421;3417:11;3401:28;:::i;:::-;3463:15;;;3533;;;3529:24;;;3494:12;;;;3565:15;;;3562:35;;;3593:1;3590;3583:12;3562:35;3629:2;3621:6;3617:15;3606:26;;3641:142;3657:6;3652:3;3649:15;3641:142;;;3723:17;;3711:30;;3674:12;;;;3761;;;;3641:142;;;3801:5;3100:712;-1:-1:-1;;;;;;;3100:712:1:o;3817:416::-;3910:6;3918;3971:2;3959:9;3950:7;3946:23;3942:32;3939:52;;;3987:1;3984;3977:12;3939:52;4027:9;4014:23;4060:18;4052:6;4049:30;4046:50;;;4092:1;4089;4082:12;4046:50;4115:61;4168:7;4159:6;4148:9;4144:22;4115:61;:::i;:::-;4105:71;4223:2;4208:18;;;;4195:32;;-1:-1:-1;;;;3817:416:1:o;4238:592::-;4309:6;4317;4370:2;4358:9;4349:7;4345:23;4341:32;4338:52;;;4386:1;4383;4376:12;4338:52;4426:9;4413:23;4455:18;4496:2;4488:6;4485:14;4482:34;;;4512:1;4509;4502:12;4482:34;4550:6;4539:9;4535:22;4525:32;;4595:7;4588:4;4584:2;4580:13;4576:27;4566:55;;4617:1;4614;4607:12;4566:55;4657:2;4644:16;4683:2;4675:6;4672:14;4669:34;;;4699:1;4696;4689:12;4669:34;4744:7;4739:2;4730:6;4726:2;4722:15;4718:24;4715:37;4712:57;;;4765:1;4762;4755:12;4712:57;4796:2;4788:11;;;;;4818:6;;-1:-1:-1;4238:592:1;;-1:-1:-1;;;;4238:592:1:o;5017:186::-;5076:6;5129:2;5117:9;5108:7;5104:23;5100:32;5097:52;;;5145:1;5142;5135:12;5097:52;5168:29;5187:9;5168:29;:::i;5629:347::-;5694:6;5702;5755:2;5743:9;5734:7;5730:23;5726:32;5723:52;;;5771:1;5768;5761:12;5723:52;5794:29;5813:9;5794:29;:::i;:::-;5784:39;;5873:2;5862:9;5858:18;5845:32;5920:5;5913:13;5906:21;5899:5;5896:32;5886:60;;5942:1;5939;5932:12;5886:60;5965:5;5955:15;;;5629:347;;;;;:::o;5981:980::-;6076:6;6084;6092;6100;6153:3;6141:9;6132:7;6128:23;6124:33;6121:53;;;6170:1;6167;6160:12;6121:53;6193:29;6212:9;6193:29;:::i;:::-;6183:39;;6241:2;6262:38;6296:2;6285:9;6281:18;6262:38;:::i;:::-;6252:48;;6347:2;6336:9;6332:18;6319:32;6309:42;;6402:2;6391:9;6387:18;6374:32;6425:18;6466:2;6458:6;6455:14;6452:34;;;6482:1;6479;6472:12;6452:34;6520:6;6509:9;6505:22;6495:32;;6565:7;6558:4;6554:2;6550:13;6546:27;6536:55;;6587:1;6584;6577:12;6536:55;6623:2;6610:16;6645:2;6641;6638:10;6635:36;;;6651:18;;:::i;:::-;6693:53;6736:2;6717:13;;-1:-1:-1;;6713:27:1;6709:36;;6693:53;:::i;:::-;6680:66;;6769:2;6762:5;6755:17;6809:7;6804:2;6799;6795;6791:11;6787:20;6784:33;6781:53;;;6830:1;6827;6820:12;6781:53;6885:2;6880;6876;6872:11;6867:2;6860:5;6856:14;6843:45;6929:1;6924:2;6919;6912:5;6908:14;6904:23;6897:34;;6950:5;6940:15;;;;;5981:980;;;;;;;:::o;7151:260::-;7219:6;7227;7280:2;7268:9;7259:7;7255:23;7251:32;7248:52;;;7296:1;7293;7286:12;7248:52;7319:29;7338:9;7319:29;:::i;:::-;7309:39;;7367:38;7401:2;7390:9;7386:18;7367:38;:::i;:::-;7357:48;;7151:260;;;;;:::o;7416:380::-;7495:1;7491:12;;;;7538;;;7559:61;;7613:4;7605:6;7601:17;7591:27;;7559:61;7666:2;7658:6;7655:14;7635:18;7632:38;7629:161;;7712:10;7707:3;7703:20;7700:1;7693:31;7747:4;7744:1;7737:15;7775:4;7772:1;7765:15;7629:161;;7416:380;;;:::o;7801:348::-;8003:2;7985:21;;;8042:2;8022:18;;;8015:30;8081:26;8076:2;8061:18;;8054:54;8140:2;8125:18;;7801:348::o;8505:127::-;8566:10;8561:3;8557:20;8554:1;8547:31;8597:4;8594:1;8587:15;8621:4;8618:1;8611:15;8637:128;8677:3;8708:1;8704:6;8701:1;8698:13;8695:39;;;8714:18;;:::i;:::-;-1:-1:-1;8750:9:1;;8637:128::o;9124:168::-;9164:7;9230:1;9226;9222:6;9218:14;9215:1;9212:21;9207:1;9200:9;9193:17;9189:45;9186:71;;;9237:18;;:::i;:::-;-1:-1:-1;9277:9:1;;9124:168::o;10583:342::-;10785:2;10767:21;;;10824:2;10804:18;;;10797:30;-1:-1:-1;;;10858:2:1;10843:18;;10836:48;10916:2;10901:18;;10583:342::o;10930:236::-;10969:3;10997:18;11042:2;11039:1;11035:10;11072:2;11069:1;11065:10;11103:3;11099:2;11095:12;11090:3;11087:21;11084:47;;;11111:18;;:::i;:::-;11147:13;;10930:236;-1:-1:-1;;;;10930:236:1:o;12432:470::-;12611:3;12649:6;12643:13;12665:53;12711:6;12706:3;12699:4;12691:6;12687:17;12665:53;:::i;:::-;12781:13;;12740:16;;;;12803:57;12781:13;12740:16;12837:4;12825:17;;12803:57;:::i;13675:489::-;-1:-1:-1;;;;;13944:15:1;;;13926:34;;13996:15;;13991:2;13976:18;;13969:43;14043:2;14028:18;;14021:34;;;14091:3;14086:2;14071:18;;14064:31;;;13869:4;;14112:46;;14138:19;;14130:6;14112:46;:::i;:::-;14104:54;13675:489;-1:-1:-1;;;;;;13675:489:1:o;14169:249::-;14238:6;14291:2;14279:9;14270:7;14266:23;14262:32;14259:52;;;14307:1;14304;14297:12;14259:52;14339:9;14333:16;14358:30;14382:5;14358:30;:::i;14423:127::-;14484:10;14479:3;14475:20;14472:1;14465:31;14515:4;14512:1;14505:15;14539:4;14536:1;14529:15;14555:135;14594:3;14615:17;;;14612:43;;14635:18;;:::i;:::-;-1:-1:-1;14682:1:1;14671:13;;14555:135::o

Swarm Source

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