ETH Price: $3,400.84 (+1.99%)

Zuki Club (Zuki Club)
 

Overview

TokenID

1283

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
NFT

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.12.3 https://hardhat.org

// File operator-filter-registry/src/[email protected]

// : MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function unregister(address addr) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}


// File operator-filter-registry/src/[email protected]

// : MIT
pragma solidity ^0.8.13;

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}


// File operator-filter-registry/src/[email protected]

// : MIT
pragma solidity ^0.8.13;

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}


// File erc721a/contracts/[email protected]

// : MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

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

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

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

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

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

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

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

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

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

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

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

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


// File erc721a/contracts/[email protected]

// : MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

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

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]

// : MIT
// 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/[email protected]

// : MIT
// 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 @openzeppelin/contracts/utils/[email protected]

// : MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


// File contracts/NFT.sol

// : MIT
pragma solidity ^0.8.13;




contract NFT is ERC721A, DefaultOperatorFilterer, Ownable {
    using Address for address;

    string private _baseTokenURI;
    uint256 public maxNum;
    uint256 public maxMint;
    uint256 public price;
    bool public mintable;

    mapping(address => uint256) public minted;

    constructor(
        string memory url,
        string memory name,
        string memory symbol,
        address _owner,
        uint256 _price
    ) ERC721A(name, symbol) {
        _baseTokenURI = url;
        maxNum = 6969;
        maxMint = 6;
        price = _price;
        mintable = true;
        _transferOwnership(_owner);
    }

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

    function tokenURI(
        uint256 tokenId
    ) public view override returns (string memory) {
        require(
            _exists(tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        string memory baseURI = _baseURI();
        return string(abi.encodePacked(baseURI, _toString(tokenId), ".json"));
    }

    function changeBaseURI(string memory baseURI) public onlyOwner {
        _baseTokenURI = baseURI;
    }

    function changeMintable(bool _mintable) public onlyOwner {
        mintable = _mintable;
    }

    function changePrice(uint256 _price) public onlyOwner {
        price = _price;
    }

    function changeMaxMint(uint256 _maxMint) public onlyOwner {
        maxMint = _maxMint;
    }

    function mint(uint256 num) public payable {
        uint256 amount = num * price;
        if (minted[msg.sender] == 0) {
            amount -= price;
        }
        require(mintable, "status err");
        require(msg.value == amount, "eth err");
        require(minted[msg.sender] + num <= maxMint, "num err");
        minted[msg.sender] += num;
        require(totalSupply() + num <= maxNum, "num err");
        _safeMint(msg.sender, num);
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperatorApproval(operator) {
        super.setApprovalForAll(operator, approved);
    }

    function approve(
        address operator,
        uint256 tokenId
    ) public payable override onlyAllowedOperatorApproval(operator) {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function airdrop(
        address[] memory users,
        uint256[] memory nums
    ) public onlyOwner {
        require(users.length == nums.length);
        for (uint i = 0; i < users.length; i++) {
            uint256 num = nums[i];
            address user = users[i];
            require(totalSupply() + num <= maxNum, "num err");
            _safeMint(user, num);
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"url","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"nums","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"changeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"changeMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintable","type":"bool"}],"name":"changeMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","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":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001f3c38038062001f3c8339810160408190526200003491620003e3565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001858581600290805190602001906200006592919062000270565b5080516200007b90600390602084019062000270565b506000805550506daaeb6d7670e522a718067333cd4e3b15620001c75780156200011557604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b158015620000f657600080fd5b505af11580156200010b573d6000803e3d6000fd5b50505050620001c7565b6001600160a01b03821615620001665760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af290390604401620000db565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b158015620001ad57600080fd5b505af1158015620001c2573d6000803e3d6000fd5b505050505b50620001d59050336200021e565b8451620001ea90600990602088019062000270565b50611b39600a556006600b55600c819055600d805460ff1916600117905562000213826200021e565b5050505050620004de565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200027e90620004a2565b90600052602060002090601f016020900481019282620002a25760008555620002ed565b82601f10620002bd57805160ff1916838001178555620002ed565b82800160010185558215620002ed579182015b82811115620002ed578251825591602001919060010190620002d0565b50620002fb929150620002ff565b5090565b5b80821115620002fb576000815560010162000300565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200033e57600080fd5b81516001600160401b03808211156200035b576200035b62000316565b604051601f8301601f19908116603f0116810190828211818310171562000386576200038662000316565b81604052838152602092508683858801011115620003a357600080fd5b600091505b83821015620003c75785820183015181830184015290820190620003a8565b83821115620003d95760008385830101525b9695505050505050565b600080600080600060a08688031215620003fc57600080fd5b85516001600160401b03808211156200041457600080fd5b6200042289838a016200032c565b965060208801519150808211156200043957600080fd5b6200044789838a016200032c565b955060408801519150808211156200045e57600080fd5b506200046d888289016200032c565b606088015190945090506001600160a01b03811681146200048d57600080fd5b80925050608086015190509295509295909350565b600181811c90821680620004b757607f821691505b602082108103620004d857634e487b7160e01b600052602260045260246000fd5b50919050565b611a4e80620004ee6000396000f3fe6080604052600436106101cd5760003560e01c80636352211e116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104da578063c87b56dd146104ed578063e985e9c51461050d578063f2fde38b1461055657600080fd5b8063a035b1fe14610471578063a0712d6814610487578063a22cb4651461049a578063a2b40d19146104ba57600080fd5b8063715018a6116100d1578063715018a6146104135780637501f741146104285780638da5cb5b1461043e57806395d89b411461045c57600080fd5b80636352211e146103b357806367243482146103d357806370a08231146103f357600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103505780634779b82e146103635780634bf365df146103835780634dfdc21f1461039d57600080fd5b806323b872dd146102e657806339a0c6f9146102f95780633ccfd60b1461031957806341f434341461032e57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029957806320c63e3b146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046113ee565b610576565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c8565b6040516101fe9190611463565b34801561023557600080fd5b50610249610244366004611476565b61065a565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114ab565b61069e565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101fe565b3480156102a557600080fd5b5061028b6102b43660046114d5565b600e6020526000908152604090205481565b3480156102d257600080fd5b506102746102e1366004611476565b6106b7565b6102746102f43660046114f0565b6106c4565b34801561030557600080fd5b506102746103143660046115cb565b6106ef565b34801561032557600080fd5b5061027461070e565b34801561033a57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b61027461035e3660046114f0565b610745565b34801561036f57600080fd5b5061027461037e366004611622565b61076a565b34801561038f57600080fd5b50600d546101f29060ff1681565b3480156103a957600080fd5b5061028b600a5481565b3480156103bf57600080fd5b506102496103ce366004611476565b610785565b3480156103df57600080fd5b506102746103ee3660046116ce565b610790565b3480156103ff57600080fd5b5061028b61040e3660046114d5565b61084f565b34801561041f57600080fd5b5061027461089e565b34801561043457600080fd5b5061028b600b5481565b34801561044a57600080fd5b506008546001600160a01b0316610249565b34801561046857600080fd5b5061021c6108b2565b34801561047d57600080fd5b5061028b600c5481565b610274610495366004611476565b6108c1565b3480156104a657600080fd5b506102746104b536600461178e565b610a14565b3480156104c657600080fd5b506102746104d5366004611476565b610a28565b6102746104e83660046117c5565b610a35565b3480156104f957600080fd5b5061021c610508366004611476565b610a62565b34801561051957600080fd5b506101f2610528366004611841565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056257600080fd5b506102746105713660046114d5565b610b0f565b60006301ffc9a760e01b6001600160e01b0319831614806105a757506380ac58cd60e01b6001600160e01b03198316145b806105c25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105d790611874565b80601f016020809104026020016040519081016040528092919081815260200182805461060390611874565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b5050505050905090565b600061066582610b85565b610682576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106a881610bac565b6106b28383610c65565b505050565b6106bf610d05565b600b55565b826001600160a01b03811633146106de576106de33610bac565b6106e9848484610d5f565b50505050565b6106f7610d05565b805161070a90600990602084019061133f565b5050565b610716610d05565b60405133904780156108fc02916000818181858888f19350505050158015610742573d6000803e3d6000fd5b50565b826001600160a01b038116331461075f5761075f33610bac565b6106e9848484610ef7565b610772610d05565b600d805460ff1916911515919091179055565b60006105c282610f12565b610798610d05565b80518251146107a657600080fd5b60005b82518110156106b25760008282815181106107c6576107c66118ae565b6020026020010151905060008483815181106107e4576107e46118ae565b60200260200101519050600a54826107ff6001546000540390565b61080991906118da565b11156108305760405162461bcd60e51b8152600401610827906118f2565b60405180910390fd5b61083a8183610f80565b5050808061084790611913565b9150506107a9565b60006001600160a01b038216610878576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108a6610d05565b6108b06000610f9a565b565b6060600380546105d790611874565b6000600c54826108d1919061192c565b336000908152600e6020526040812054919250036108f957600c546108f6908261194b565b90505b600d5460ff166109385760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610827565b8034146109715760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610827565b600b54336000908152600e602052604090205461098f9084906118da565b11156109ad5760405162461bcd60e51b8152600401610827906118f2565b336000908152600e6020526040812080548492906109cc9084906118da565b9091555050600a54826109e26001546000540390565b6109ec91906118da565b1115610a0a5760405162461bcd60e51b8152600401610827906118f2565b61070a3383610f80565b81610a1e81610bac565b6106b28383610fec565b610a30610d05565b600c55565b836001600160a01b0381163314610a4f57610a4f33610bac565b610a5b85858585611058565b5050505050565b6060610a6d82610b85565b610ad15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610827565b6000610adb61109c565b905080610ae7846110ab565b604051602001610af8929190611962565b604051602081830303815290604052915050919050565b610b17610d05565b6001600160a01b038116610b7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610827565b61074281610f9a565b60008054821080156105c2575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906119a1565b61074257604051633b79c77360e21b81526001600160a01b0382166004820152602401610827565b6000610c7082610785565b9050336001600160a01b03821614610ca957610c8c8133610528565b610ca9576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610827565b6000610d6a82610f12565b9050836001600160a01b0316816001600160a01b031614610d9d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dea57610dcd8633610528565b610dea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e1157604051633a954ecd60e21b815260040160405180910390fd5b8015610e1c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610eae57600184016000818152600460205260408120549003610eac576000548114610eac5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b283838360405180602001604052806000815250610a35565b600081600054811015610f675760008181526004602052604081205490600160e01b82169003610f65575b80600003610f5e575060001901600081815260046020526040902054610f3d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070a8282604051806020016040528060008152506110ef565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110638484846106c4565b6001600160a01b0383163b156106e95761107f84848484611155565b6106e9576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105d790611874565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110c55750819003601f19909101908152919050565b6110f98383611241565b6001600160a01b0383163b156106b2576000548281035b6111236000868380600101945086611155565b611140576040516368d2bf6b60e11b815260040160405180910390fd5b818110611110578160005414610a5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061118a9033908990889088906004016119be565b6020604051808303816000875af19250505080156111c5575060408051601f3d908101601f191682019092526111c2918101906119fb565b60015b611223573d8080156111f3576040519150601f19603f3d011682016040523d82523d6000602084013e6111f8565b606091505b50805160000361121b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112665760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461131557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112dd565b508160000361133657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461134b90611874565b90600052602060002090601f01602090048101928261136d57600085556113b3565b82601f1061138657805160ff19168380011785556113b3565b828001600101855582156113b3579182015b828111156113b3578251825591602001919060010190611398565b506113bf9291506113c3565b5090565b5b808211156113bf57600081556001016113c4565b6001600160e01b03198116811461074257600080fd5b60006020828403121561140057600080fd5b8135610f5e816113d8565b60005b8381101561142657818101518382015260200161140e565b838111156106e95750506000910152565b6000815180845261144f81602086016020860161140b565b601f01601f19169290920160200192915050565b602081526000610f5e6020830184611437565b60006020828403121561148857600080fd5b5035919050565b80356001600160a01b03811681146114a657600080fd5b919050565b600080604083850312156114be57600080fd5b6114c78361148f565b946020939093013593505050565b6000602082840312156114e757600080fd5b610f5e8261148f565b60008060006060848603121561150557600080fd5b61150e8461148f565b925061151c6020850161148f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561156b5761156b61152c565b604052919050565b600067ffffffffffffffff83111561158d5761158d61152c565b6115a0601f8401601f1916602001611542565b90508281528383830111156115b457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115dd57600080fd5b813567ffffffffffffffff8111156115f457600080fd5b8201601f8101841361160557600080fd5b61123984823560208401611573565b801515811461074257600080fd5b60006020828403121561163457600080fd5b8135610f5e81611614565b600067ffffffffffffffff8211156116595761165961152c565b5060051b60200190565b600082601f83011261167457600080fd5b813560206116896116848361163f565b611542565b82815260059290921b840181019181810190868411156116a857600080fd5b8286015b848110156116c357803583529183019183016116ac565b509695505050505050565b600080604083850312156116e157600080fd5b823567ffffffffffffffff808211156116f957600080fd5b818501915085601f83011261170d57600080fd5b8135602061171d6116848361163f565b82815260059290921b8401810191818101908984111561173c57600080fd5b948201945b83861015611761576117528661148f565b82529482019490820190611741565b9650508601359250508082111561177757600080fd5b5061178485828601611663565b9150509250929050565b600080604083850312156117a157600080fd5b6117aa8361148f565b915060208301356117ba81611614565b809150509250929050565b600080600080608085870312156117db57600080fd5b6117e48561148f565b93506117f26020860161148f565b925060408501359150606085013567ffffffffffffffff81111561181557600080fd5b8501601f8101871361182657600080fd5b61183587823560208401611573565b91505092959194509250565b6000806040838503121561185457600080fd5b61185d8361148f565b915061186b6020840161148f565b90509250929050565b600181811c9082168061188857607f821691505b6020821081036118a857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156118ed576118ed6118c4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611925576119256118c4565b5060010190565b6000816000190483118215151615611946576119466118c4565b500290565b60008282101561195d5761195d6118c4565b500390565b6000835161197481846020880161140b565b83519083019061198881836020880161140b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119b357600080fd5b8151610f5e81611614565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119f190830184611437565b9695505050505050565b600060208284031215611a0d57600080fd5b8151610f5e816113d856fea2646970667358221220bfc0baad2b69529e5956d5d44c506ec6e4749e384074264711cabb1a2303376364736f6c634300080e003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000b117d7ef708d531f5e15a4356c8652a8fdaf728d00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656965706d376161676e7462666d34796f756f713732326f706773636775626c36787777366d63376d333662666273626d7575616a652f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095a756b6920436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095a756b6920436c75620000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c80636352211e116100f7578063a035b1fe11610095578063b88d4fde11610064578063b88d4fde146104da578063c87b56dd146104ed578063e985e9c51461050d578063f2fde38b1461055657600080fd5b8063a035b1fe14610471578063a0712d6814610487578063a22cb4651461049a578063a2b40d19146104ba57600080fd5b8063715018a6116100d1578063715018a6146104135780637501f741146104285780638da5cb5b1461043e57806395d89b411461045c57600080fd5b80636352211e146103b357806367243482146103d357806370a08231146103f357600080fd5b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103505780634779b82e146103635780634bf365df146103835780634dfdc21f1461039d57600080fd5b806323b872dd146102e657806339a0c6f9146102f95780633ccfd60b1461031957806341f434341461032e57600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd146102765780631e7269c51461029957806320c63e3b146102c657600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046113ee565b610576565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c8565b6040516101fe9190611463565b34801561023557600080fd5b50610249610244366004611476565b61065a565b6040516001600160a01b0390911681526020016101fe565b61027461026f3660046114ab565b61069e565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101fe565b3480156102a557600080fd5b5061028b6102b43660046114d5565b600e6020526000908152604090205481565b3480156102d257600080fd5b506102746102e1366004611476565b6106b7565b6102746102f43660046114f0565b6106c4565b34801561030557600080fd5b506102746103143660046115cb565b6106ef565b34801561032557600080fd5b5061027461070e565b34801561033a57600080fd5b506102496daaeb6d7670e522a718067333cd4e81565b61027461035e3660046114f0565b610745565b34801561036f57600080fd5b5061027461037e366004611622565b61076a565b34801561038f57600080fd5b50600d546101f29060ff1681565b3480156103a957600080fd5b5061028b600a5481565b3480156103bf57600080fd5b506102496103ce366004611476565b610785565b3480156103df57600080fd5b506102746103ee3660046116ce565b610790565b3480156103ff57600080fd5b5061028b61040e3660046114d5565b61084f565b34801561041f57600080fd5b5061027461089e565b34801561043457600080fd5b5061028b600b5481565b34801561044a57600080fd5b506008546001600160a01b0316610249565b34801561046857600080fd5b5061021c6108b2565b34801561047d57600080fd5b5061028b600c5481565b610274610495366004611476565b6108c1565b3480156104a657600080fd5b506102746104b536600461178e565b610a14565b3480156104c657600080fd5b506102746104d5366004611476565b610a28565b6102746104e83660046117c5565b610a35565b3480156104f957600080fd5b5061021c610508366004611476565b610a62565b34801561051957600080fd5b506101f2610528366004611841565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561056257600080fd5b506102746105713660046114d5565b610b0f565b60006301ffc9a760e01b6001600160e01b0319831614806105a757506380ac58cd60e01b6001600160e01b03198316145b806105c25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546105d790611874565b80601f016020809104026020016040519081016040528092919081815260200182805461060390611874565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b5050505050905090565b600061066582610b85565b610682576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b816106a881610bac565b6106b28383610c65565b505050565b6106bf610d05565b600b55565b826001600160a01b03811633146106de576106de33610bac565b6106e9848484610d5f565b50505050565b6106f7610d05565b805161070a90600990602084019061133f565b5050565b610716610d05565b60405133904780156108fc02916000818181858888f19350505050158015610742573d6000803e3d6000fd5b50565b826001600160a01b038116331461075f5761075f33610bac565b6106e9848484610ef7565b610772610d05565b600d805460ff1916911515919091179055565b60006105c282610f12565b610798610d05565b80518251146107a657600080fd5b60005b82518110156106b25760008282815181106107c6576107c66118ae565b6020026020010151905060008483815181106107e4576107e46118ae565b60200260200101519050600a54826107ff6001546000540390565b61080991906118da565b11156108305760405162461bcd60e51b8152600401610827906118f2565b60405180910390fd5b61083a8183610f80565b5050808061084790611913565b9150506107a9565b60006001600160a01b038216610878576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6108a6610d05565b6108b06000610f9a565b565b6060600380546105d790611874565b6000600c54826108d1919061192c565b336000908152600e6020526040812054919250036108f957600c546108f6908261194b565b90505b600d5460ff166109385760405162461bcd60e51b815260206004820152600a60248201526939ba30ba3ab99032b93960b11b6044820152606401610827565b8034146109715760405162461bcd60e51b815260206004820152600760248201526632ba341032b93960c91b6044820152606401610827565b600b54336000908152600e602052604090205461098f9084906118da565b11156109ad5760405162461bcd60e51b8152600401610827906118f2565b336000908152600e6020526040812080548492906109cc9084906118da565b9091555050600a54826109e26001546000540390565b6109ec91906118da565b1115610a0a5760405162461bcd60e51b8152600401610827906118f2565b61070a3383610f80565b81610a1e81610bac565b6106b28383610fec565b610a30610d05565b600c55565b836001600160a01b0381163314610a4f57610a4f33610bac565b610a5b85858585611058565b5050505050565b6060610a6d82610b85565b610ad15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610827565b6000610adb61109c565b905080610ae7846110ab565b604051602001610af8929190611962565b604051602081830303815290604052915050919050565b610b17610d05565b6001600160a01b038116610b7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610827565b61074281610f9a565b60008054821080156105c2575050600090815260046020526040902054600160e01b161590565b6daaeb6d7670e522a718067333cd4e3b1561074257604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610c19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3d91906119a1565b61074257604051633b79c77360e21b81526001600160a01b0382166004820152602401610827565b6000610c7082610785565b9050336001600160a01b03821614610ca957610c8c8133610528565b610ca9576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108b05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610827565b6000610d6a82610f12565b9050836001600160a01b0316816001600160a01b031614610d9d5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dea57610dcd8633610528565b610dea57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610e1157604051633a954ecd60e21b815260040160405180910390fd5b8015610e1c57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610eae57600184016000818152600460205260408120549003610eac576000548114610eac5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6106b283838360405180602001604052806000815250610a35565b600081600054811015610f675760008181526004602052604081205490600160e01b82169003610f65575b80600003610f5e575060001901600081815260046020526040902054610f3d565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61070a8282604051806020016040528060008152506110ef565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110638484846106c4565b6001600160a01b0383163b156106e95761107f84848484611155565b6106e9576040516368d2bf6b60e11b815260040160405180910390fd5b6060600980546105d790611874565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806110c55750819003601f19909101908152919050565b6110f98383611241565b6001600160a01b0383163b156106b2576000548281035b6111236000868380600101945086611155565b611140576040516368d2bf6b60e11b815260040160405180910390fd5b818110611110578160005414610a5b57600080fd5b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061118a9033908990889088906004016119be565b6020604051808303816000875af19250505080156111c5575060408051601f3d908101601f191682019092526111c2918101906119fb565b60015b611223573d8080156111f3576040519150601f19603f3d011682016040523d82523d6000602084013e6111f8565b606091505b50805160000361121b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60008054908290036112665760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461131557808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016112dd565b508160000361133657604051622e076360e81b815260040160405180910390fd5b60005550505050565b82805461134b90611874565b90600052602060002090601f01602090048101928261136d57600085556113b3565b82601f1061138657805160ff19168380011785556113b3565b828001600101855582156113b3579182015b828111156113b3578251825591602001919060010190611398565b506113bf9291506113c3565b5090565b5b808211156113bf57600081556001016113c4565b6001600160e01b03198116811461074257600080fd5b60006020828403121561140057600080fd5b8135610f5e816113d8565b60005b8381101561142657818101518382015260200161140e565b838111156106e95750506000910152565b6000815180845261144f81602086016020860161140b565b601f01601f19169290920160200192915050565b602081526000610f5e6020830184611437565b60006020828403121561148857600080fd5b5035919050565b80356001600160a01b03811681146114a657600080fd5b919050565b600080604083850312156114be57600080fd5b6114c78361148f565b946020939093013593505050565b6000602082840312156114e757600080fd5b610f5e8261148f565b60008060006060848603121561150557600080fd5b61150e8461148f565b925061151c6020850161148f565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561156b5761156b61152c565b604052919050565b600067ffffffffffffffff83111561158d5761158d61152c565b6115a0601f8401601f1916602001611542565b90508281528383830111156115b457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156115dd57600080fd5b813567ffffffffffffffff8111156115f457600080fd5b8201601f8101841361160557600080fd5b61123984823560208401611573565b801515811461074257600080fd5b60006020828403121561163457600080fd5b8135610f5e81611614565b600067ffffffffffffffff8211156116595761165961152c565b5060051b60200190565b600082601f83011261167457600080fd5b813560206116896116848361163f565b611542565b82815260059290921b840181019181810190868411156116a857600080fd5b8286015b848110156116c357803583529183019183016116ac565b509695505050505050565b600080604083850312156116e157600080fd5b823567ffffffffffffffff808211156116f957600080fd5b818501915085601f83011261170d57600080fd5b8135602061171d6116848361163f565b82815260059290921b8401810191818101908984111561173c57600080fd5b948201945b83861015611761576117528661148f565b82529482019490820190611741565b9650508601359250508082111561177757600080fd5b5061178485828601611663565b9150509250929050565b600080604083850312156117a157600080fd5b6117aa8361148f565b915060208301356117ba81611614565b809150509250929050565b600080600080608085870312156117db57600080fd5b6117e48561148f565b93506117f26020860161148f565b925060408501359150606085013567ffffffffffffffff81111561181557600080fd5b8501601f8101871361182657600080fd5b61183587823560208401611573565b91505092959194509250565b6000806040838503121561185457600080fd5b61185d8361148f565b915061186b6020840161148f565b90509250929050565b600181811c9082168061188857607f821691505b6020821081036118a857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156118ed576118ed6118c4565b500190565b602080825260079082015266373ab69032b93960c91b604082015260600190565b600060018201611925576119256118c4565b5060010190565b6000816000190483118215151615611946576119466118c4565b500290565b60008282101561195d5761195d6118c4565b500390565b6000835161197481846020880161140b565b83519083019061198881836020880161140b565b64173539b7b760d91b9101908152600501949350505050565b6000602082840312156119b357600080fd5b8151610f5e81611614565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906119f190830184611437565b9695505050505050565b600060208284031215611a0d57600080fd5b8151610f5e816113d856fea2646970667358221220bfc0baad2b69529e5956d5d44c506ec6e4749e384074264711cabb1a2303376364736f6c634300080e0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000160000000000000000000000000b117d7ef708d531f5e15a4356c8652a8fdaf728d00000000000000000000000000000000000000000000000000071afd498d00000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f6261667962656965706d376161676e7462666d34796f756f713732326f706773636775626c36787777366d63376d333662666273626d7575616a652f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095a756b6920436c7562000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000095a756b6920436c75620000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : url (string): ipfs://bafybeiepm7aagntbfm4youoq722opgscgubl6xww6mc7m36bfbsbmuuaje/
Arg [1] : name (string): Zuki Club
Arg [2] : symbol (string): Zuki Club
Arg [3] : _owner (address): 0xb117d7Ef708d531F5E15a4356C8652a8fdAf728D
Arg [4] : _price (uint256): 2000000000000000

-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [3] : 000000000000000000000000b117d7ef708d531f5e15a4356c8652a8fdaf728d
Arg [4] : 00000000000000000000000000000000000000000000000000071afd498d0000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 697066733a2f2f6261667962656965706d376161676e7462666d34796f756f71
Arg [7] : 3732326f706773636775626c36787777366d63376d333662666273626d757561
Arg [8] : 6a652f0000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [10] : 5a756b6920436c75620000000000000000000000000000000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [12] : 5a756b6920436c75620000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

70139:3627:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23966:639;;;;;;;;;;-1:-1:-1;23966:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23966:639:0;;;;;;;;24868:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31359:218::-;;;;;;;;;;-1:-1:-1;31359:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;31359:218:0;1528:203:1;72363:190:0;;;;;;:::i;:::-;;:::i;:::-;;20619:323;;;;;;;;;;-1:-1:-1;20893:12:0;;20680:7;20877:13;:28;20619:323;;;2319:25:1;;;2307:2;2292:18;20619:323:0;2173:177:1;70386:41:0;;;;;;;;;;-1:-1:-1;70386:41:0;;;;;:::i;:::-;;;;;;;;;;;;;;71582:95;;;;;;;;;;-1:-1:-1;71582:95:0;;;;;:::i;:::-;;:::i;72561:205::-;;;;;;:::i;:::-;;:::i;71270:105::-;;;;;;;;;;-1:-1:-1;71270:105:0;;;;;:::i;:::-;;:::i;73250:109::-;;;;;;;;;;;;;:::i;3020:143::-;;;;;;;;;;;;3120:42;3020:143;;72774:213;;;;;;:::i;:::-;;:::i;71383:96::-;;;;;;;;;;-1:-1:-1;71383:96:0;;;;;:::i;:::-;;:::i;70357:20::-;;;;;;;;;;-1:-1:-1;70357:20:0;;;;;;;;70273:21;;;;;;;;;;;;;;;;26261:152;;;;;;;;;;-1:-1:-1;26261:152:0;;;;;:::i;:::-;;:::i;73367:396::-;;;;;;;;;;-1:-1:-1;73367:396:0;;;;;:::i;:::-;;:::i;21803:233::-;;;;;;;;;;-1:-1:-1;21803:233:0;;;;;:::i;:::-;;:::i;59803:103::-;;;;;;;;;;;;;:::i;70301:22::-;;;;;;;;;;;;;;;;59155:87;;;;;;;;;;-1:-1:-1;59228:6:0;;-1:-1:-1;;;;;59228:6:0;59155:87;;25044:104;;;;;;;;;;;;;:::i;70330:20::-;;;;;;;;;;;;;;;;71685:461;;;;;;:::i;:::-;;:::i;72154:201::-;;;;;;;;;;-1:-1:-1;72154:201:0;;;;;:::i;:::-;;:::i;71487:87::-;;;;;;;;;;-1:-1:-1;71487:87:0;;;;;:::i;:::-;;:::i;72995:247::-;;;;;;:::i;:::-;;:::i;70909:353::-;;;;;;;;;;-1:-1:-1;70909:353:0;;;;;:::i;:::-;;:::i;32308:164::-;;;;;;;;;;-1:-1:-1;32308:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32429:25:0;;;32405:4;32429:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32308:164;60061:201;;;;;;;;;;-1:-1:-1;60061:201:0;;;;;:::i;:::-;;:::i;23966:639::-;24051:4;-1:-1:-1;;;;;;;;;24375:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24452:25:0;;;24375:102;:179;;;-1:-1:-1;;;;;;;;;;24529:25:0;;;24375:179;24355:199;23966:639;-1:-1:-1;;23966:639:0:o;24868:100::-;24922:13;24955:5;24948:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24868:100;:::o;31359:218::-;31435:7;31460:16;31468:7;31460;:16::i;:::-;31455:64;;31485:34;;-1:-1:-1;;;31485:34:0;;;;;;;;;;;31455:64;-1:-1:-1;31539:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;31539:30:0;;31359:218::o;72363:190::-;72492:8;4541:30;4562:8;4541:20;:30::i;:::-;72513:32:::1;72527:8;72537:7;72513:13;:32::i;:::-;72363:190:::0;;;:::o;71582:95::-;59041:13;:11;:13::i;:::-;71651:7:::1;:18:::0;71582:95::o;72561:205::-;72704:4;-1:-1:-1;;;;;4361:18:0;;4369:10;4361:18;4357:83;;4396:32;4417:10;4396:20;:32::i;:::-;72721:37:::1;72740:4;72746:2;72750:7;72721:18;:37::i;:::-;72561:205:::0;;;;:::o;71270:105::-;59041:13;:11;:13::i;:::-;71344:23;;::::1;::::0;:13:::1;::::0;:23:::1;::::0;::::1;::::0;::::1;:::i;:::-;;71270:105:::0;:::o;73250:109::-;59041:13;:11;:13::i;:::-;73300:51:::1;::::0;73308:10:::1;::::0;73329:21:::1;73300:51:::0;::::1;;;::::0;::::1;::::0;;;73329:21;73308:10;73300:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;73250:109::o:0;72774:213::-;72921:4;-1:-1:-1;;;;;4361:18:0;;4369:10;4361:18;4357:83;;4396:32;4417:10;4396:20;:32::i;:::-;72938:41:::1;72961:4;72967:2;72971:7;72938:22;:41::i;71383:96::-:0;59041:13;:11;:13::i;:::-;71451:8:::1;:20:::0;;-1:-1:-1;;71451:20:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71383:96::o;26261:152::-;26333:7;26376:27;26395:7;26376:18;:27::i;73367:396::-;59041:13;:11;:13::i;:::-;73508:4:::1;:11;73492:5;:12;:27;73484:36;;;::::0;::::1;;73536:6;73531:225;73552:5;:12;73548:1;:16;73531:225;;;73586:11;73600:4;73605:1;73600:7;;;;;;;;:::i;:::-;;;;;;;73586:21;;73622:12;73637:5;73643:1;73637:8;;;;;;;;:::i;:::-;;;;;;;73622:23;;73691:6;;73684:3;73668:13;20893:12:::0;;20680:7;20877:13;:28;;20619:323;73668:13:::1;:19;;;;:::i;:::-;:29;;73660:49;;;;-1:-1:-1::0;;;73660:49:0::1;;;;;;;:::i;:::-;;;;;;;;;73724:20;73734:4;73740:3;73724:9;:20::i;:::-;73571:185;;73566:3;;;;;:::i;:::-;;;;73531:225;;21803:233:::0;21875:7;-1:-1:-1;;;;;21899:19:0;;21895:60;;21927:28;;-1:-1:-1;;;21927:28:0;;;;;;;;;;;21895:60;-1:-1:-1;;;;;;21973:25:0;;;;;:18;:25;;;;;;15962:13;21973:55;;21803:233::o;59803:103::-;59041:13;:11;:13::i;:::-;59868:30:::1;59895:1;59868:18;:30::i;:::-;59803:103::o:0;25044:104::-;25100:13;25133:7;25126:14;;;;;:::i;71685:461::-;71738:14;71761:5;;71755:3;:11;;;;:::i;:::-;71788:10;71781:18;;;;:6;:18;;;;;;71738:28;;-1:-1:-1;71781:23:0;71777:71;;71831:5;;71821:15;;;;:::i;:::-;;;71777:71;71866:8;;;;71858:31;;;;-1:-1:-1;;;71858:31:0;;9792:2:1;71858:31:0;;;9774:21:1;9831:2;9811:18;;;9804:30;-1:-1:-1;;;9850:18:1;;;9843:40;9900:18;;71858:31:0;9590:334:1;71858:31:0;71921:6;71908:9;:19;71900:39;;;;-1:-1:-1;;;71900:39:0;;10131:2:1;71900:39:0;;;10113:21:1;10170:1;10150:18;;;10143:29;-1:-1:-1;;;10188:18:1;;;10181:37;10235:18;;71900:39:0;9929:330:1;71900:39:0;71986:7;;71965:10;71958:18;;;;:6;:18;;;;;;:24;;71979:3;;71958:24;:::i;:::-;:35;;71950:55;;;;-1:-1:-1;;;71950:55:0;;;;;;;:::i;:::-;72023:10;72016:18;;;;:6;:18;;;;;:25;;72038:3;;72016:18;:25;;72038:3;;72016:25;:::i;:::-;;;;-1:-1:-1;;72083:6:0;;72076:3;72060:13;20893:12;;20680:7;20877:13;:28;;20619:323;72060:13;:19;;;;:::i;:::-;:29;;72052:49;;;;-1:-1:-1;;;72052:49:0;;;;;;;:::i;:::-;72112:26;72122:10;72134:3;72112:9;:26::i;72154:201::-;72283:8;4541:30;4562:8;4541:20;:30::i;:::-;72304:43:::1;72328:8;72338;72304:23;:43::i;71487:87::-:0;59041:13;:11;:13::i;:::-;71552:5:::1;:14:::0;71487:87::o;72995:247::-;73170:4;-1:-1:-1;;;;;4361:18:0;;4369:10;4361:18;4357:83;;4396:32;4417:10;4396:20;:32::i;:::-;73187:47:::1;73210:4;73216:2;73220:7;73229:4;73187:22;:47::i;:::-;72995:247:::0;;;;;:::o;70909:353::-;70990:13;71038:16;71046:7;71038;:16::i;:::-;71016:113;;;;-1:-1:-1;;;71016:113:0;;10466:2:1;71016:113:0;;;10448:21:1;10505:2;10485:18;;;10478:30;10544:34;10524:18;;;10517:62;-1:-1:-1;;;10595:18:1;;;10588:45;10650:19;;71016:113:0;10264:411:1;71016:113:0;71140:21;71164:10;:8;:10::i;:::-;71140:34;;71216:7;71225:18;71235:7;71225:9;:18::i;:::-;71199:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71185:69;;;70909:353;;;:::o;60061:201::-;59041:13;:11;:13::i;:::-;-1:-1:-1;;;;;60150:22:0;::::1;60142:73;;;::::0;-1:-1:-1;;;60142:73:0;;11524:2:1;60142:73:0::1;::::0;::::1;11506:21:1::0;11563:2;11543:18;;;11536:30;11602:34;11582:18;;;11575:62;-1:-1:-1;;;11653:18:1;;;11646:36;11699:19;;60142:73:0::1;11322:402:1::0;60142:73:0::1;60226:28;60245:8;60226:18;:28::i;32730:282::-:0;32795:4;32885:13;;32875:7;:23;32832:153;;;;-1:-1:-1;;32936:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;32936:44:0;:49;;32730:282::o;4599:419::-;3120:42;4790:45;:49;4786:225;;4861:67;;-1:-1:-1;;;4861:67:0;;4912:4;4861:67;;;11941:34:1;-1:-1:-1;;;;;12011:15:1;;11991:18;;;11984:43;3120:42:0;;4861;;11876:18:1;;4861:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4856:144;;4956:28;;-1:-1:-1;;;4956:28:0;;-1:-1:-1;;;;;1692:32:1;;4956:28:0;;;1674:51:1;1647:18;;4956:28:0;1528:203:1;30792:408:0;30881:13;30897:16;30905:7;30897;:16::i;:::-;30881:32;-1:-1:-1;55125:10:0;-1:-1:-1;;;;;30930:28:0;;;30926:175;;30978:44;30995:5;55125:10;32308:164;:::i;30978:44::-;30973:128;;31050:35;;-1:-1:-1;;;31050:35:0;;;;;;;;;;;30973:128;31113:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;31113:35:0;-1:-1:-1;;;;;31113:35:0;;;;;;;;;31164:28;;31113:24;;31164:28;;;;;;;30870:330;30792:408;;:::o;59320:132::-;59228:6;;-1:-1:-1;;;;;59228:6:0;55125:10;59384:23;59376:68;;;;-1:-1:-1;;;59376:68:0;;12490:2:1;59376:68:0;;;12472:21:1;;;12509:18;;;12502:30;12568:34;12548:18;;;12541:62;12620:18;;59376:68:0;12288:356:1;34998:2825:0;35140:27;35170;35189:7;35170:18;:27::i;:::-;35140:57;;35255:4;-1:-1:-1;;;;;35214:45:0;35230:19;-1:-1:-1;;;;;35214:45:0;;35210:86;;35268:28;;-1:-1:-1;;;35268:28:0;;;;;;;;;;;35210:86;35310:27;34106:24;;;:15;:24;;;;;34334:26;;55125:10;33731:30;;;-1:-1:-1;;;;;33424:28:0;;33709:20;;;33706:56;35496:180;;35589:43;35606:4;55125:10;32308:164;:::i;35589:43::-;35584:92;;35641:35;;-1:-1:-1;;;35641:35:0;;;;;;;;;;;35584:92;-1:-1:-1;;;;;35693:16:0;;35689:52;;35718:23;;-1:-1:-1;;;35718:23:0;;;;;;;;;;;35689:52;35890:15;35887:160;;;36030:1;36009:19;36002:30;35887:160;-1:-1:-1;;;;;36427:24:0;;;;;;;:18;:24;;;;;;36425:26;;-1:-1:-1;;36425:26:0;;;36496:22;;;;;;;;;36494:24;;-1:-1:-1;36494:24:0;;;29650:11;29625:23;29621:41;29608:63;-1:-1:-1;;;29608:63:0;36789:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;37084:47:0;;:52;;37080:627;;37189:1;37179:11;;37157:19;37312:30;;;:17;:30;;;;;;:35;;37308:384;;37450:13;;37435:11;:28;37431:242;;37597:30;;;;:17;:30;;;;;:52;;;37431:242;37138:569;37080:627;37754:7;37750:2;-1:-1:-1;;;;;37735:27:0;37744:4;-1:-1:-1;;;;;37735:27:0;;;;;;;;;;;35129:2694;;;34998:2825;;;:::o;37919:193::-;38065:39;38082:4;38088:2;38092:7;38065:39;;;;;;;;;;;;:16;:39::i;27416:1275::-;27483:7;27518;27620:13;;27613:4;:20;27609:1015;;;27658:14;27675:23;;;:17;:23;;;;;;;-1:-1:-1;;;27764:24:0;;:29;;27760:845;;28429:113;28436:6;28446:1;28436:11;28429:113;;-1:-1:-1;;;28507:6:0;28489:25;;;;:17;:25;;;;;;28429:113;;;28575:6;27416:1275;-1:-1:-1;;;27416:1275:0:o;27760:845::-;27635:989;27609:1015;28652:31;;-1:-1:-1;;;28652:31:0;;;;;;;;;;;48870:112;48947:27;48957:2;48961:8;48947:27;;;;;;;;;;;;:9;:27::i;60422:191::-;60515:6;;;-1:-1:-1;;;;;60532:17:0;;;-1:-1:-1;;;;;;60532:17:0;;;;;;;60565:40;;60515:6;;;60532:17;60515:6;;60565:40;;60496:16;;60565:40;60485:128;60422:191;:::o;31917:234::-;55125:10;32012:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32012:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32012:60:0;;;;;;;;;;32088:55;;540:41:1;;;32012:49:0;;55125:10;32088:55;;513:18:1;32088:55:0;;;;;;;31917:234;;:::o;38710:407::-;38885:31;38898:4;38904:2;38908:7;38885:12;:31::i;:::-;-1:-1:-1;;;;;38931:14:0;;;:19;38927:183;;38970:56;39001:4;39007:2;39011:7;39020:5;38970:30;:56::i;:::-;38965:145;;39054:40;;-1:-1:-1;;;39054:40:0;;;;;;;;;;;70795:106;70847:13;70880;70873:20;;;;;:::i;55245:1745::-;55310:17;55744:4;55737;55731:11;55727:22;55836:1;55830:4;55823:15;55911:4;55908:1;55904:12;55897:19;;;55993:1;55988:3;55981:14;56097:3;56336:5;56318:428;56384:1;56379:3;56375:11;56368:18;;56555:2;56549:4;56545:13;56541:2;56537:22;56532:3;56524:36;56649:2;56639:13;;56706:25;56318:428;56706:25;-1:-1:-1;56776:13:0;;;-1:-1:-1;;56891:14:0;;;56953:19;;;56891:14;55245:1745;-1:-1:-1;55245:1745:0:o;48097:689::-;48228:19;48234:2;48238:8;48228:5;:19::i;:::-;-1:-1:-1;;;;;48289:14:0;;;:19;48285:483;;48329:11;48343:13;48391:14;;;48424:233;48455:62;48494:1;48498:2;48502:7;;;;;;48511:5;48455:30;:62::i;:::-;48450:167;;48553:40;;-1:-1:-1;;;48553:40:0;;;;;;;;;;;48450:167;48652:3;48644:5;:11;48424:233;;48739:3;48722:13;;:20;48718:34;;48744:8;;;41201:716;41385:88;;-1:-1:-1;;;41385:88:0;;41364:4;;-1:-1:-1;;;;;41385:45:0;;;;;:88;;55125:10;;41452:4;;41458:7;;41467:5;;41385:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41385:88:0;;;;;;;;-1:-1:-1;;41385:88:0;;;;;;;;;;;;:::i;:::-;;;41381:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41668:6;:13;41685:1;41668:18;41664:235;;41714:40;;-1:-1:-1;;;41714:40:0;;;;;;;;;;;41664:235;41857:6;41851:13;41842:6;41838:2;41834:15;41827:38;41381:529;-1:-1:-1;;;;;;41544:64:0;-1:-1:-1;;;41544:64:0;;-1:-1:-1;41381:529:0;41201:716;;;;;;:::o;42379:2966::-;42452:20;42475:13;;;42503;;;42499:44;;42525:18;;-1:-1:-1;;;42525:18:0;;;;;;;;;;;42499:44;-1:-1:-1;;;;;43031:22:0;;;;;;:18;:22;;;;16100:2;43031:22;;;:71;;43069:32;43057:45;;43031:71;;;43345:31;;;:17;:31;;;;;-1:-1:-1;30081:15:0;;30055:24;30051:46;29650:11;29625:23;29621:41;29618:52;29608:63;;43345:173;;43580:23;;;;43345:31;;43031:22;;44345:25;43031:22;;44198:335;44859:1;44845:12;44841:20;44799:346;44900:3;44891:7;44888:16;44799:346;;45118:7;45108:8;45105:1;45078:25;45075:1;45072;45067:59;44953:1;44940:15;44799:346;;;44803:77;45178:8;45190:1;45178:13;45174:45;;45200:19;;-1:-1:-1;;;45200:19:0;;;;;;;;;;;45174:45;45236:13;:19;-1:-1:-1;72363:190:0;;;:::o;-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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:186::-;2414:6;2467:2;2455:9;2446:7;2442:23;2438:32;2435:52;;;2483:1;2480;2473:12;2435:52;2506:29;2525:9;2506:29;:::i;2546:328::-;2623:6;2631;2639;2692:2;2680:9;2671:7;2667:23;2663:32;2660:52;;;2708:1;2705;2698:12;2660:52;2731:29;2750:9;2731:29;:::i;:::-;2721:39;;2779:38;2813:2;2802:9;2798:18;2779:38;:::i;:::-;2769:48;;2864:2;2853:9;2849:18;2836:32;2826:42;;2546:328;;;;;:::o;2879:127::-;2940:10;2935:3;2931:20;2928:1;2921:31;2971:4;2968:1;2961:15;2995:4;2992:1;2985:15;3011:275;3082:2;3076:9;3147:2;3128:13;;-1:-1:-1;;3124:27:1;3112:40;;3182:18;3167:34;;3203:22;;;3164:62;3161:88;;;3229:18;;:::i;:::-;3265:2;3258:22;3011:275;;-1:-1:-1;3011:275:1:o;3291:407::-;3356:5;3390:18;3382:6;3379:30;3376:56;;;3412:18;;:::i;:::-;3450:57;3495:2;3474:15;;-1:-1:-1;;3470:29:1;3501:4;3466:40;3450:57;:::i;:::-;3441:66;;3530:6;3523:5;3516:21;3570:3;3561:6;3556:3;3552:16;3549:25;3546:45;;;3587:1;3584;3577:12;3546:45;3636:6;3631:3;3624:4;3617:5;3613:16;3600:43;3690:1;3683:4;3674:6;3667:5;3663:18;3659:29;3652:40;3291:407;;;;;:::o;3703:451::-;3772:6;3825:2;3813:9;3804:7;3800:23;3796:32;3793:52;;;3841:1;3838;3831:12;3793:52;3881:9;3868:23;3914:18;3906:6;3903:30;3900:50;;;3946:1;3943;3936:12;3900:50;3969:22;;4022:4;4014:13;;4010:27;-1:-1:-1;4000:55:1;;4051:1;4048;4041:12;4000:55;4074:74;4140:7;4135:2;4122:16;4117:2;4113;4109:11;4074:74;:::i;4398:118::-;4484:5;4477:13;4470:21;4463:5;4460:32;4450:60;;4506:1;4503;4496:12;4521:241;4577:6;4630:2;4618:9;4609:7;4605:23;4601:32;4598:52;;;4646:1;4643;4636:12;4598:52;4685:9;4672:23;4704:28;4726:5;4704:28;:::i;4767:183::-;4827:4;4860:18;4852:6;4849:30;4846:56;;;4882:18;;:::i;:::-;-1:-1:-1;4927:1:1;4923:14;4939:4;4919:25;;4767:183::o;4955:662::-;5009:5;5062:3;5055:4;5047:6;5043:17;5039:27;5029:55;;5080:1;5077;5070:12;5029:55;5116:6;5103:20;5142:4;5166:60;5182:43;5222:2;5182:43;:::i;:::-;5166:60;:::i;:::-;5260:15;;;5346:1;5342:10;;;;5330:23;;5326:32;;;5291:12;;;;5370:15;;;5367:35;;;5398:1;5395;5388:12;5367:35;5434:2;5426:6;5422:15;5446:142;5462:6;5457:3;5454:15;5446:142;;;5528:17;;5516:30;;5566:12;;;;5479;;5446:142;;;-1:-1:-1;5606:5:1;4955:662;-1:-1:-1;;;;;;4955:662:1:o;5622:1146::-;5740:6;5748;5801:2;5789:9;5780:7;5776:23;5772:32;5769:52;;;5817:1;5814;5807:12;5769:52;5857:9;5844:23;5886:18;5927:2;5919:6;5916:14;5913:34;;;5943:1;5940;5933:12;5913:34;5981:6;5970:9;5966:22;5956:32;;6026:7;6019:4;6015:2;6011:13;6007:27;5997:55;;6048:1;6045;6038:12;5997:55;6084:2;6071:16;6106:4;6130:60;6146:43;6186:2;6146:43;:::i;6130:60::-;6224:15;;;6306:1;6302:10;;;;6294:19;;6290:28;;;6255:12;;;;6330:19;;;6327:39;;;6362:1;6359;6352:12;6327:39;6386:11;;;;6406:148;6422:6;6417:3;6414:15;6406:148;;;6488:23;6507:3;6488:23;:::i;:::-;6476:36;;6439:12;;;;6532;;;;6406:148;;;6573:5;-1:-1:-1;;6616:18:1;;6603:32;;-1:-1:-1;;6647:16:1;;;6644:36;;;6676:1;6673;6666:12;6644:36;;6699:63;6754:7;6743:8;6732:9;6728:24;6699:63;:::i;:::-;6689:73;;;5622:1146;;;;;:::o;6773:315::-;6838:6;6846;6899:2;6887:9;6878:7;6874:23;6870:32;6867:52;;;6915:1;6912;6905:12;6867:52;6938:29;6957:9;6938:29;:::i;:::-;6928:39;;7017:2;7006:9;7002:18;6989:32;7030:28;7052:5;7030:28;:::i;:::-;7077:5;7067:15;;;6773:315;;;;;:::o;7093:667::-;7188:6;7196;7204;7212;7265:3;7253:9;7244:7;7240:23;7236:33;7233:53;;;7282:1;7279;7272:12;7233:53;7305:29;7324:9;7305:29;:::i;:::-;7295:39;;7353:38;7387:2;7376:9;7372:18;7353:38;:::i;:::-;7343:48;;7438:2;7427:9;7423:18;7410:32;7400:42;;7493:2;7482:9;7478:18;7465:32;7520:18;7512:6;7509:30;7506:50;;;7552:1;7549;7542:12;7506:50;7575:22;;7628:4;7620:13;;7616:27;-1:-1:-1;7606:55:1;;7657:1;7654;7647:12;7606:55;7680:74;7746:7;7741:2;7728:16;7723:2;7719;7715:11;7680:74;:::i;:::-;7670:84;;;7093:667;;;;;;;:::o;7765:260::-;7833:6;7841;7894:2;7882:9;7873:7;7869:23;7865:32;7862:52;;;7910:1;7907;7900:12;7862:52;7933:29;7952:9;7933:29;:::i;:::-;7923:39;;7981:38;8015:2;8004:9;8000:18;7981:38;:::i;:::-;7971:48;;7765:260;;;;;:::o;8030:380::-;8109:1;8105:12;;;;8152;;;8173:61;;8227:4;8219:6;8215:17;8205:27;;8173:61;8280:2;8272:6;8269:14;8249:18;8246:38;8243:161;;8326:10;8321:3;8317:20;8314:1;8307:31;8361:4;8358:1;8351:15;8389:4;8386:1;8379:15;8243:161;;8030:380;;;:::o;8415:127::-;8476:10;8471:3;8467:20;8464:1;8457:31;8507:4;8504:1;8497:15;8531:4;8528:1;8521:15;8547:127;8608:10;8603:3;8599:20;8596:1;8589:31;8639:4;8636:1;8629:15;8663:4;8660:1;8653:15;8679:128;8719:3;8750:1;8746:6;8743:1;8740:13;8737:39;;;8756:18;;:::i;:::-;-1:-1:-1;8792:9:1;;8679:128::o;8812:330::-;9014:2;8996:21;;;9053:1;9033:18;;;9026:29;-1:-1:-1;;;9086:2:1;9071:18;;9064:37;9133:2;9118:18;;8812:330::o;9147:135::-;9186:3;9207:17;;;9204:43;;9227:18;;:::i;:::-;-1:-1:-1;9274:1:1;9263:13;;9147:135::o;9287:168::-;9327:7;9393:1;9389;9385:6;9381:14;9378:1;9375:21;9370:1;9363:9;9356:17;9352:45;9349:71;;;9400:18;;:::i;:::-;-1:-1:-1;9440:9:1;;9287:168::o;9460:125::-;9500:4;9528:1;9525;9522:8;9519:34;;;9533:18;;:::i;:::-;-1:-1:-1;9570:9:1;;9460:125::o;10680:637::-;10960:3;10998:6;10992:13;11014:53;11060:6;11055:3;11048:4;11040:6;11036:17;11014:53;:::i;:::-;11130:13;;11089:16;;;;11152:57;11130:13;11089:16;11186:4;11174:17;;11152:57;:::i;:::-;-1:-1:-1;;;11231:20:1;;11260:22;;;11309:1;11298:13;;10680:637;-1:-1:-1;;;;10680:637:1:o;12038:245::-;12105:6;12158:2;12146:9;12137:7;12133:23;12129:32;12126:52;;;12174:1;12171;12164:12;12126:52;12206:9;12200:16;12225:28;12247:5;12225:28;:::i;12649:489::-;-1:-1:-1;;;;;12918:15:1;;;12900:34;;12970:15;;12965:2;12950:18;;12943:43;13017:2;13002:18;;12995:34;;;13065:3;13060:2;13045:18;;13038:31;;;12843:4;;13086:46;;13112:19;;13104:6;13086:46;:::i;:::-;13078:54;12649:489;-1:-1:-1;;;;;;12649:489:1:o;13143:249::-;13212:6;13265:2;13253:9;13244:7;13240:23;13236:32;13233:52;;;13281:1;13278;13271:12;13233:52;13313:9;13307:16;13332:30;13356:5;13332:30;:::i

Swarm Source

ipfs://bfc0baad2b69529e5956d5d44c506ec6e4749e384074264711cabb1a23033763
Loading...
Loading
Loading...
Loading
[ 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.