ETH Price: $2,435.60 (-2.13%)

Token

Old Torch (OLDTORCH)
 

Overview

Max Total Supply

299 OLDTORCH

Holders

231

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 OLDTORCH
0x027425D941EE947B66adEC81763ABF99Da9A6A9F
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:
OldTorch

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: 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);
}


/**
 * @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() {
        _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 1;
    }

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


    function symbol() public view virtual override returns (string memory) {
        return '';
    }

    

    /**
     * @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('ipfs://', baseURI, '/', _toString(tokenId), '.json')) : '';
    }

    /**
     * @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
    // =============================================================


    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    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)
        }
    }
}

contract OldTorch is ERC721A{
    address private immutable _owner;
    
    modifier onlyOwner() { 
        require(_owner==msg.sender, "not owner");
        _; 
    }

    uint256 public constant MAX_SUPPLY = 301;
    uint256 public constant MAX_FREE_PER_WALLET = 1;
    uint256 public constant COST = 0.001 ether;

    constructor() ERC721A(){
        _owner = msg.sender;
    }

    function mint(uint256 amount) external payable{
        require(totalSupply() + amount <= MAX_SUPPLY, "Sold Out");
        require(amount*COST <= msg.value, "Value to Low");
        
        _safeMint(msg.sender, amount);
    }

    function freeMint(uint256 amount) external{
        require(totalSupply() + amount <= MAX_SUPPLY-166, "Sold Out");
        require(amount + _numberMinted(msg.sender) <= MAX_FREE_PER_WALLET, "Max per Wallet");
        
        _safeMint(msg.sender, amount);
    }

    function name() public view virtual override returns (string memory) {
        return "Old Torch";
    }

    function symbol() public view virtual override returns (string memory) {
        return "OLDTORCH";
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return "QmbHbV7esiHxDh7prDcT1WsK1q4vRwu35MfwagTQDsFidm";
    }
    
    function contractURI() public view returns (string memory) {
        return string(abi.encodePacked("ipfs://", "QmStVd34FcJhFx2kvnFt4dvP5wrx4MHibbtn4ChUupqXRq"));
    } 
    
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"COST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freeMint","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5060016000553360805260805161127a61003560003960006106f0015261127a6000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb4651461031d578063b88d4fde1461033d578063bf8fbbd214610350578063c87b56dd1461036b578063e8a3d4851461038b578063e985e9c51461040057600080fd5b806370a08231146102845780637c928fe9146102a457806395d89b41146102c457806398710d1e146102f5578063a0712d681461030a57600080fd5b806323b872dd116100f257806323b872dd1461021357806332cb6b0c146102265780633ccfd60b1461023c57806342842e0e146102515780636352211e1461026457600080fd5b806301ffc9a71461012f57806306fdde0314610164578063081812fc1461019f578063095ea7b3146101d757806318160ddd146101ec575b600080fd5b34801561013b57600080fd5b5061014f61014a366004610e71565b610420565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5060408051808201909152600981526809ed8c840a8dee4c6d60bb1b60208201525b60405161015b9190610ede565b3480156101ab57600080fd5b506101bf6101ba366004610ef1565b610472565b6040516001600160a01b03909116815260200161015b565b6101ea6101e5366004610f26565b6104b6565b005b3480156101f857600080fd5b5060015460005403600019015b60405190815260200161015b565b6101ea610221366004610f50565b610556565b34801561023257600080fd5b5061020561012d81565b34801561024857600080fd5b506101ea6106ee565b6101ea61025f366004610f50565b61078a565b34801561027057600080fd5b506101bf61027f366004610ef1565b6107aa565b34801561029057600080fd5b5061020561029f366004610f8c565b6107b5565b3480156102b057600080fd5b506101ea6102bf366004610ef1565b610804565b3480156102d057600080fd5b5060408051808201909152600881526709e9888a89ea486960c31b6020820152610192565b34801561030157600080fd5b50610205600181565b6101ea610318366004610ef1565b6108d8565b34801561032957600080fd5b506101ea610338366004610fa7565b61097b565b6101ea61034b366004610ff9565b6109e7565b34801561035c57600080fd5b5061020566038d7ea4c6800081565b34801561037757600080fd5b50610192610386366004610ef1565b610a31565b34801561039757600080fd5b506040805166697066733a2f2f60c81b60208201527f516d53745664333446634a684678326b766e46743464765035777278344d486960278201526d6262746e3443685575707158527160901b6047820152815180820360350181526055909101909152610192565b34801561040c57600080fd5b5061014f61041b3660046110d5565b610ab5565b60006301ffc9a760e01b6001600160e01b03198316148061045157506380ac58cd60e01b6001600160e01b03198316145b8061046c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061047d82610ae3565b61049a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104c1826107aa565b9050336001600160a01b038216146104fa576104dd8133610ab5565b6104fa576040516367d9dca160e11b815260040160405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061056182610b18565b9050836001600160a01b0316816001600160a01b0316146105945760405162a1148160e81b815260040160405180910390fd5b60008281526004602052604090208054338082146001600160a01b038816909114176105e1576105c48633610ab5565b6105e157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661060857604051633a954ecd60e21b815260040160405180910390fd5b801561061357600082555b6001600160a01b038681166000908152600360205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260026020526040812091909155600160e11b841690036106a5576001840160008181526002602052604081205490036106a35760005481146106a35760008181526002602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146107575760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610786573d6000803e3d6000fd5b5050565b6107a5838383604051806020016040528060008152506109e7565b505050565b600061046c82610b18565b60006001600160a01b0382166107de576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526003602052604090205467ffffffffffffffff1690565b61081160a661012d61111e565b60015460005483919003600019016108299190611131565b11156108625760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161074e565b3360009081526003602052604090819020546001911c67ffffffffffffffff1661088c9083611131565b11156108cb5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b604482015260640161074e565b6108d53382610b87565b50565b60015460005461012d91839103600019016108f39190611131565b111561092c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161074e565b3461093e66038d7ea4c6800083611144565b11156108cb5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b604482015260640161074e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109f2848484610556565b6001600160a01b0383163b15610a2b57610a0e84848484610ba1565b610a2b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a3c82610ae3565b610a5957604051630a14c4b560e41b815260040160405180910390fd5b6000610a63610c8c565b90508051600003610a835760405180602001604052806000815250610aae565b80610a8d84610cac565b604051602001610a9e92919061115b565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081600111158015610af7575060005482105b801561046c575050600090815260026020526040902054600160e01b161590565b60008180600111610b6e57600054811015610b6e5760008181526002602052604081205490600160e01b82169003610b6c575b80600003610aae575060001901600081815260026020526040902054610b4b565b505b604051636f96cda160e11b815260040160405180910390fd5b610786828260405180602001604052806000815250610cf0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610bd69033908990889088906004016111bc565b6020604051808303816000875af1925050508015610c11575060408051601f3d908101601f19168201909252610c0e918101906111f9565b60015b610c6f573d808015610c3f576040519150601f19603f3d011682016040523d82523d6000602084013e610c44565b606091505b508051600003610c67576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606040518060600160405280602e8152602001611217602e9139905090565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610cc65750819003601f19909101908152919050565b610cfa8383610d5d565b6001600160a01b0383163b156107a5576000548281035b610d246000868380600101945086610ba1565b610d41576040516368d2bf6b60e11b815260040160405180910390fd5b818110610d11578160005414610d5657600080fd5b5050505050565b6000805490829003610d825760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526003602090815260408083208054680100000000000000018802019055848352600290915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e3157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610df9565b5081600003610e5257604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146108d557600080fd5b600060208284031215610e8357600080fd5b8135610aae81610e5b565b60005b83811015610ea9578181015183820152602001610e91565b50506000910152565b60008151808452610eca816020860160208601610e8e565b601f01601f19169290920160200192915050565b602081526000610aae6020830184610eb2565b600060208284031215610f0357600080fd5b5035919050565b80356001600160a01b0381168114610f2157600080fd5b919050565b60008060408385031215610f3957600080fd5b610f4283610f0a565b946020939093013593505050565b600080600060608486031215610f6557600080fd5b610f6e84610f0a565b9250610f7c60208501610f0a565b9150604084013590509250925092565b600060208284031215610f9e57600080fd5b610aae82610f0a565b60008060408385031215610fba57600080fd5b610fc383610f0a565b915060208301358015158114610fd857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561100f57600080fd5b61101885610f0a565b935061102660208601610f0a565b925060408501359150606085013567ffffffffffffffff8082111561104a57600080fd5b818701915087601f83011261105e57600080fd5b81358181111561107057611070610fe3565b604051601f8201601f19908116603f0116810190838211818310171561109857611098610fe3565b816040528281528a60208487010111156110b157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156110e857600080fd5b6110f183610f0a565b91506110ff60208401610f0a565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561046c5761046c611108565b8082018082111561046c5761046c611108565b808202811582820484141761046c5761046c611108565b66697066733a2f2f60c81b81526000835161117d816007850160208801610e8e565b602f60f81b600791840191820152835161119e816008840160208801610e8e565b64173539b7b760d91b60089290910191820152600d01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111ef90830184610eb2565b9695505050505050565b60006020828403121561120b57600080fd5b8151610aae81610e5b56fe516d6248625637657369487844683770724463543157734b3171347652777533354d66776167545144734669646da2646970667358221220a8ab2e9859c80ff51c35f7228413bcbf78bb41d987c7bbba330761d92809b57e64736f6c63430008110033

Deployed Bytecode

0x60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb4651461031d578063b88d4fde1461033d578063bf8fbbd214610350578063c87b56dd1461036b578063e8a3d4851461038b578063e985e9c51461040057600080fd5b806370a08231146102845780637c928fe9146102a457806395d89b41146102c457806398710d1e146102f5578063a0712d681461030a57600080fd5b806323b872dd116100f257806323b872dd1461021357806332cb6b0c146102265780633ccfd60b1461023c57806342842e0e146102515780636352211e1461026457600080fd5b806301ffc9a71461012f57806306fdde0314610164578063081812fc1461019f578063095ea7b3146101d757806318160ddd146101ec575b600080fd5b34801561013b57600080fd5b5061014f61014a366004610e71565b610420565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5060408051808201909152600981526809ed8c840a8dee4c6d60bb1b60208201525b60405161015b9190610ede565b3480156101ab57600080fd5b506101bf6101ba366004610ef1565b610472565b6040516001600160a01b03909116815260200161015b565b6101ea6101e5366004610f26565b6104b6565b005b3480156101f857600080fd5b5060015460005403600019015b60405190815260200161015b565b6101ea610221366004610f50565b610556565b34801561023257600080fd5b5061020561012d81565b34801561024857600080fd5b506101ea6106ee565b6101ea61025f366004610f50565b61078a565b34801561027057600080fd5b506101bf61027f366004610ef1565b6107aa565b34801561029057600080fd5b5061020561029f366004610f8c565b6107b5565b3480156102b057600080fd5b506101ea6102bf366004610ef1565b610804565b3480156102d057600080fd5b5060408051808201909152600881526709e9888a89ea486960c31b6020820152610192565b34801561030157600080fd5b50610205600181565b6101ea610318366004610ef1565b6108d8565b34801561032957600080fd5b506101ea610338366004610fa7565b61097b565b6101ea61034b366004610ff9565b6109e7565b34801561035c57600080fd5b5061020566038d7ea4c6800081565b34801561037757600080fd5b50610192610386366004610ef1565b610a31565b34801561039757600080fd5b506040805166697066733a2f2f60c81b60208201527f516d53745664333446634a684678326b766e46743464765035777278344d486960278201526d6262746e3443685575707158527160901b6047820152815180820360350181526055909101909152610192565b34801561040c57600080fd5b5061014f61041b3660046110d5565b610ab5565b60006301ffc9a760e01b6001600160e01b03198316148061045157506380ac58cd60e01b6001600160e01b03198316145b8061046c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600061047d82610ae3565b61049a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104c1826107aa565b9050336001600160a01b038216146104fa576104dd8133610ab5565b6104fa576040516367d9dca160e11b815260040160405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061056182610b18565b9050836001600160a01b0316816001600160a01b0316146105945760405162a1148160e81b815260040160405180910390fd5b60008281526004602052604090208054338082146001600160a01b038816909114176105e1576105c48633610ab5565b6105e157604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661060857604051633a954ecd60e21b815260040160405180910390fd5b801561061357600082555b6001600160a01b038681166000908152600360205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260026020526040812091909155600160e11b841690036106a5576001840160008181526002602052604081205490036106a35760005481146106a35760008181526002602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b7f000000000000000000000000c6ae3cdabbd2dadee29033d1aa3eb195ebd763ba6001600160a01b031633146107575760405162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b6040514790339082156108fc029083906000818181858888f19350505050158015610786573d6000803e3d6000fd5b5050565b6107a5838383604051806020016040528060008152506109e7565b505050565b600061046c82610b18565b60006001600160a01b0382166107de576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526003602052604090205467ffffffffffffffff1690565b61081160a661012d61111e565b60015460005483919003600019016108299190611131565b11156108625760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161074e565b3360009081526003602052604090819020546001911c67ffffffffffffffff1661088c9083611131565b11156108cb5760405162461bcd60e51b815260206004820152600e60248201526d13585e081c195c8815d85b1b195d60921b604482015260640161074e565b6108d53382610b87565b50565b60015460005461012d91839103600019016108f39190611131565b111561092c5760405162461bcd60e51b815260206004820152600860248201526714dbdb190813dd5d60c21b604482015260640161074e565b3461093e66038d7ea4c6800083611144565b11156108cb5760405162461bcd60e51b815260206004820152600c60248201526b56616c756520746f204c6f7760a01b604482015260640161074e565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6109f2848484610556565b6001600160a01b0383163b15610a2b57610a0e84848484610ba1565b610a2b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610a3c82610ae3565b610a5957604051630a14c4b560e41b815260040160405180910390fd5b6000610a63610c8c565b90508051600003610a835760405180602001604052806000815250610aae565b80610a8d84610cac565b604051602001610a9e92919061115b565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600081600111158015610af7575060005482105b801561046c575050600090815260026020526040902054600160e01b161590565b60008180600111610b6e57600054811015610b6e5760008181526002602052604081205490600160e01b82169003610b6c575b80600003610aae575060001901600081815260026020526040902054610b4b565b505b604051636f96cda160e11b815260040160405180910390fd5b610786828260405180602001604052806000815250610cf0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610bd69033908990889088906004016111bc565b6020604051808303816000875af1925050508015610c11575060408051601f3d908101601f19168201909252610c0e918101906111f9565b60015b610c6f573d808015610c3f576040519150601f19603f3d011682016040523d82523d6000602084013e610c44565b606091505b508051600003610c67576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606040518060600160405280602e8152602001611217602e9139905090565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a900480610cc65750819003601f19909101908152919050565b610cfa8383610d5d565b6001600160a01b0383163b156107a5576000548281035b610d246000868380600101945086610ba1565b610d41576040516368d2bf6b60e11b815260040160405180910390fd5b818110610d11578160005414610d5657600080fd5b5050505050565b6000805490829003610d825760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526003602090815260408083208054680100000000000000018802019055848352600290915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114610e3157808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101610df9565b5081600003610e5257604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b0319811681146108d557600080fd5b600060208284031215610e8357600080fd5b8135610aae81610e5b565b60005b83811015610ea9578181015183820152602001610e91565b50506000910152565b60008151808452610eca816020860160208601610e8e565b601f01601f19169290920160200192915050565b602081526000610aae6020830184610eb2565b600060208284031215610f0357600080fd5b5035919050565b80356001600160a01b0381168114610f2157600080fd5b919050565b60008060408385031215610f3957600080fd5b610f4283610f0a565b946020939093013593505050565b600080600060608486031215610f6557600080fd5b610f6e84610f0a565b9250610f7c60208501610f0a565b9150604084013590509250925092565b600060208284031215610f9e57600080fd5b610aae82610f0a565b60008060408385031215610fba57600080fd5b610fc383610f0a565b915060208301358015158114610fd857600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561100f57600080fd5b61101885610f0a565b935061102660208601610f0a565b925060408501359150606085013567ffffffffffffffff8082111561104a57600080fd5b818701915087601f83011261105e57600080fd5b81358181111561107057611070610fe3565b604051601f8201601f19908116603f0116810190838211818310171561109857611098610fe3565b816040528281528a60208487010111156110b157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156110e857600080fd5b6110f183610f0a565b91506110ff60208401610f0a565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561046c5761046c611108565b8082018082111561046c5761046c611108565b808202811582820484141761046c5761046c611108565b66697066733a2f2f60c81b81526000835161117d816007850160208801610e8e565b602f60f81b600791840191820152835161119e816008840160208801610e8e565b64173539b7b760d91b60089290910191820152600d01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906111ef90830184610eb2565b9695505050505050565b60006020828403121561120b57600080fd5b8151610aae81610e5b56fe516d6248625637657369487844683770724463543157734b3171347652777533354d66776167545144734669646da2646970667358221220a8ab2e9859c80ff51c35f7228413bcbf78bb41d987c7bbba330761d92809b57e64736f6c63430008110033

Deployed Bytecode Sourcemap

50890:1639:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18180:639;;;;;;;;;;-1:-1:-1;18180:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;18180:639:0;;;;;;;;51808:106;;;;;;;;;;-1:-1:-1;51888:18:0;;;;;;;;;;;;-1:-1:-1;;;51888:18:0;;;;51808:106;;;;;;;:::i;25539:218::-;;;;;;;;;;-1:-1:-1;25539:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;25539:218:0;1533:203:1;24972:408:0;;;;;;:::i;:::-;;:::i;:::-;;14833:323;;;;;;;;;;-1:-1:-1;14432:1:0;15107:12;14894:7;15091:13;:28;-1:-1:-1;;15091:46:0;14833:323;;;2324:25:1;;;2312:2;2297:18;14833:323:0;2178:177:1;29178:2825:0;;;;;;:::i;:::-;;:::i;51072:40::-;;;;;;;;;;;;51109:3;51072:40;;52381:145;;;;;;;;;;;;;:::i;32099:193::-;;;;;;:::i;:::-;;:::i;20441:152::-;;;;;;;;;;-1:-1:-1;20441:152:0;;;;;:::i;:::-;;:::i;16017:233::-;;;;;;;;;;-1:-1:-1;16017:233:0;;;;;:::i;:::-;;:::i;51533:267::-;;;;;;;;;;-1:-1:-1;51533:267:0;;;;;:::i;:::-;;:::i;51922:107::-;;;;;;;;;;-1:-1:-1;52004:17:0;;;;;;;;;;;;-1:-1:-1;;;52004:17:0;;;;51922:107;;51119:47;;;;;;;;;;;;51165:1;51119:47;;51293:232;;;;;;:::i;:::-;;:::i;26097:234::-;;;;;;;;;;-1:-1:-1;26097:234:0;;;;;:::i;:::-;;:::i;32890:407::-;;;;;;:::i;:::-;;:::i;51173:42::-;;;;;;;;;;;;51204:11;51173:42;;19409:343;;;;;;;;;;-1:-1:-1;19409:343:0;;;;;:::i;:::-;;:::i;52198:170::-;;;;;;;;;;-1:-1:-1;52282:77:0;;;-1:-1:-1;;;52282:77:0;;;7944:22:1;7995:34;7982:11;;;7975:55;-1:-1:-1;;;8046:12:1;;;8039:38;52282:77:0;;;;;;;;;8093:12:1;;;;52282:77:0;;;52198:170;;26488:164;;;;;;;;;;-1:-1:-1;26488:164:0;;;;;:::i;:::-;;:::i;18180:639::-;18265:4;-1:-1:-1;;;;;;;;;18589:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18666:25:0;;;18589:102;:179;;;-1:-1:-1;;;;;;;;;;18743:25:0;;;18589:179;18569:199;18180:639;-1:-1:-1;;18180:639:0:o;25539:218::-;25615:7;25640:16;25648:7;25640;:16::i;:::-;25635:64;;25665:34;;-1:-1:-1;;;25665:34:0;;;;;;;;;;;25635:64;-1:-1:-1;25719:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;25719:30:0;;25539:218::o;24972:408::-;25061:13;25077:16;25085:7;25077;:16::i;:::-;25061:32;-1:-1:-1;49018:10:0;-1:-1:-1;;;;;25110:28:0;;;25106:175;;25158:44;25175:5;49018:10;26488:164;:::i;25158:44::-;25153:128;;25230:35;;-1:-1:-1;;;25230:35:0;;;;;;;;;;;25153:128;25293:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;25293:35:0;-1:-1:-1;;;;;25293:35:0;;;;;;;;;25344:28;;25293:24;;25344:28;;;;;;;25050:330;24972:408;;:::o;29178:2825::-;29320:27;29350;29369:7;29350:18;:27::i;:::-;29320:57;;29435:4;-1:-1:-1;;;;;29394:45:0;29410:19;-1:-1:-1;;;;;29394:45:0;;29390:86;;29448:28;;-1:-1:-1;;;29448:28:0;;;;;;;;;;;29390:86;29490:27;28286:24;;;:15;:24;;;;;28514:26;;49018:10;27911:30;;;-1:-1:-1;;;;;27604:28:0;;27889:20;;;27886:56;29676:180;;29769:43;29786:4;49018:10;26488:164;:::i;29769:43::-;29764:92;;29821:35;;-1:-1:-1;;;29821:35:0;;;;;;;;;;;29764:92;-1:-1:-1;;;;;29873:16:0;;29869:52;;29898:23;;-1:-1:-1;;;29898:23:0;;;;;;;;;;;29869:52;30070:15;30067:160;;;30210:1;30189:19;30182:30;30067:160;-1:-1:-1;;;;;30607:24:0;;;;;;;:18;:24;;;;;;30605:26;;-1:-1:-1;;30605:26:0;;;30676:22;;;;;;;;;30674:24;;-1:-1:-1;30674:24:0;;;23830:11;23805:23;23801:41;23788:63;-1:-1:-1;;;23788:63:0;30969:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;31264:47:0;;:52;;31260:627;;31369:1;31359:11;;31337:19;31492:30;;;:17;:30;;;;;;:35;;31488:384;;31630:13;;31615:11;:28;31611:242;;31777:30;;;;:17;:30;;;;;:52;;;31611:242;31318:569;31260:627;31934:7;31930:2;-1:-1:-1;;;;;31915:27:0;31924:4;-1:-1:-1;;;;;31915:27:0;;;;;;;;;;;29309:2694;;;29178:2825;;;:::o;52381:145::-;51011:6;-1:-1:-1;;;;;51011:18:0;51019:10;51011:18;51003:40;;;;-1:-1:-1;;;51003:40:0;;4978:2:1;51003:40:0;;;4960:21:1;5017:1;4997:18;;;4990:29;-1:-1:-1;;;5035:18:1;;;5028:39;5084:18;;51003:40:0;;;;;;;;;52481:37:::1;::::0;52449:21:::1;::::0;52489:10:::1;::::0;52481:37;::::1;;;::::0;52449:21;;52431:15:::1;52481:37:::0;52431:15;52481:37;52449:21;52489:10;52481:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;52420:106;52381:145::o:0;32099:193::-;32245:39;32262:4;32268:2;32272:7;32245:39;;;;;;;;;;;;:16;:39::i;:::-;32099:193;;;:::o;20441:152::-;20513:7;20556:27;20575:7;20556:18;:27::i;16017:233::-;16089:7;-1:-1:-1;;;;;16113:19:0;;16109:60;;16141:28;;-1:-1:-1;;;16141:28:0;;;;;;;;;;;16109:60;-1:-1:-1;;;;;;16187:25:0;;;;;:18;:25;;;;;;10264:13;16187:55;;16017:233::o;51533:267::-;51620:14;51631:3;51109;51620:14;:::i;:::-;14432:1;15107:12;14894:7;15091:13;51610:6;;15091:28;;-1:-1:-1;;15091:46:0;51594:22;;;;:::i;:::-;:40;;51586:61;;;;-1:-1:-1;;;51586:61:0;;5710:2:1;51586:61:0;;;5692:21:1;5749:1;5729:18;;;5722:29;-1:-1:-1;;;5767:18:1;;;5760:38;5815:18;;51586:61:0;5508:331:1;51586:61:0;51689:10;16393:7;16421:25;;;:18;:25;;10402:2;16421:25;;;;;51165:1;;16421:50;10264:13;16420:82;51666:34;;:6;:34;:::i;:::-;:57;;51658:84;;;;-1:-1:-1;;;51658:84:0;;6046:2:1;51658:84:0;;;6028:21:1;6085:2;6065:18;;;6058:30;-1:-1:-1;;;6104:18:1;;;6097:44;6158:18;;51658:84:0;5844:338:1;51658:84:0;51763:29;51773:10;51785:6;51763:9;:29::i;:::-;51533:267;:::o;51293:232::-;14432:1;15107:12;14894:7;15091:13;51109:3;;51374:6;;15091:28;-1:-1:-1;;15091:46:0;51358:22;;;;:::i;:::-;:36;;51350:57;;;;-1:-1:-1;;;51350:57:0;;5710:2:1;51350:57:0;;;5692:21:1;5749:1;5729:18;;;5722:29;-1:-1:-1;;;5767:18:1;;;5760:38;5815:18;;51350:57:0;5508:331:1;51350:57:0;51441:9;51426:11;51204;51426:6;:11;:::i;:::-;:24;;51418:49;;;;-1:-1:-1;;;51418:49:0;;6562:2:1;51418:49:0;;;6544:21:1;6601:2;6581:18;;;6574:30;-1:-1:-1;;;6620:18:1;;;6613:42;6672:18;;51418:49:0;6360:336:1;26097:234:0;49018:10;26192:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;26192:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;26192:60:0;;;;;;;;;;26268:55;;540:41:1;;;26192:49:0;;49018:10;26268:55;;513:18:1;26268:55:0;;;;;;;26097:234;;:::o;32890:407::-;33065:31;33078:4;33084:2;33088:7;33065:12;:31::i;:::-;-1:-1:-1;;;;;33111:14:0;;;:19;33107:183;;33150:56;33181:4;33187:2;33191:7;33200:5;33150:30;:56::i;:::-;33145:145;;33234:40;;-1:-1:-1;;;33234:40:0;;;;;;;;;;;33145:145;32890:407;;;;:::o;19409:343::-;19482:13;19513:16;19521:7;19513;:16::i;:::-;19508:59;;19538:29;;-1:-1:-1;;;19538:29:0;;;;;;;;;;;19508:59;19580:21;19604:10;:8;:10::i;:::-;19580:34;;19638:7;19632:21;19657:1;19632:26;:112;;;;;;;;;;;;;;;;;19696:7;19710:18;19720:7;19710:9;:18::i;:::-;19668:70;;;;;;;;;:::i;:::-;;;;;;;;;;;;;19632:112;19625:119;19409:343;-1:-1:-1;;;19409:343:0:o;26488:164::-;-1:-1:-1;;;;;26609:25:0;;;26585:4;26609:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26488:164::o;26910:282::-;26975:4;27031:7;14432:1;27012:26;;:66;;;;;27065:13;;27055:7;:23;27012:66;:153;;;;-1:-1:-1;;27116:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27116:44:0;:49;;26910:282::o;21596:1275::-;21663:7;21698;;14432:1;21747:23;21743:1061;;21800:13;;21793:4;:20;21789:1015;;;21838:14;21855:23;;;:17;:23;;;;;;;-1:-1:-1;;;21944:24:0;;:29;;21940:845;;22609:113;22616:6;22626:1;22616:11;22609:113;;-1:-1:-1;;;22687:6:0;22669:25;;;;:17;:25;;;;;;22609:113;;21940:845;21815:989;21789:1015;22832:31;;-1:-1:-1;;;22832:31:0;;;;;;;;;;;43050:112;43127:27;43137:2;43141:8;43127:27;;;;;;;;;;;;:9;:27::i;35381:716::-;35565:88;;-1:-1:-1;;;35565:88:0;;35544:4;;-1:-1:-1;;;;;35565:45:0;;;;;:88;;49018:10;;35632:4;;35638:7;;35647:5;;35565:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35565:88:0;;;;;;;;-1:-1:-1;;35565:88:0;;;;;;;;;;;;:::i;:::-;;;35561:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35848:6;:13;35865:1;35848:18;35844:235;;35894:40;;-1:-1:-1;;;35894:40:0;;;;;;;;;;;35844:235;36037:6;36031:13;36022:6;36018:2;36014:15;36007:38;35561:529;-1:-1:-1;;;;;;35724:64:0;-1:-1:-1;;;35724:64:0;;-1:-1:-1;35381:716:0;;;;;;:::o;52037:149::-;52097:13;52123:55;;;;;;;;;;;;;;;;;;;52037:149;:::o;49138:1745::-;49203:17;49637:4;49630;49624:11;49620:22;49729:1;49723:4;49716:15;49804:4;49801:1;49797:12;49790:19;;;49886:1;49881:3;49874:14;49990:3;50229:5;50211:428;50277:1;50272:3;50268:11;50261:18;;50448:2;50442:4;50438:13;50434:2;50430:22;50425:3;50417:36;50542:2;50532:13;;50599:25;50211:428;50599:25;-1:-1:-1;50669:13:0;;;-1:-1:-1;;50784:14:0;;;50846:19;;;50784:14;49138:1745;-1:-1:-1;49138:1745:0:o;42277:689::-;42408:19;42414:2;42418:8;42408:5;:19::i;:::-;-1:-1:-1;;;;;42469:14:0;;;:19;42465:483;;42509:11;42523:13;42571:14;;;42604:233;42635:62;42674:1;42678:2;42682:7;;;;;;42691:5;42635:30;:62::i;:::-;42630:167;;42733:40;;-1:-1:-1;;;42733:40:0;;;;;;;;;;;42630:167;42832:3;42824:5;:11;42604:233;;42919:3;42902:13;;:20;42898:34;;42924:8;;;42898:34;42490:458;;42277:689;;;:::o;36559:2966::-;36632:20;36655:13;;;36683;;;36679:44;;36705:18;;-1:-1:-1;;;36705:18:0;;;;;;;;;;;36679:44;-1:-1:-1;;;;;37211:22:0;;;;;;:18;:22;;;;10402:2;37211:22;;;:71;;37249:32;37237:45;;37211:71;;;37525:31;;;:17;:31;;;;;-1:-1:-1;24261:15:0;;24235:24;24231:46;23830:11;23805:23;23801:41;23798:52;23788:63;;37525:173;;37760:23;;;;37525:31;;37211:22;;38525:25;37211:22;;38378:335;39039:1;39025:12;39021:20;38979:346;39080:3;39071:7;39068:16;38979:346;;39298:7;39288:8;39285:1;39258:25;39255:1;39252;39247:59;39133:1;39120:15;38979:346;;;38983:77;39358:8;39370:1;39358:13;39354:45;;39380:19;;-1:-1:-1;;;39380:19:0;;;;;;;;;;;39354:45;39416:13;:19;-1:-1:-1;32099:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:347::-;2949:6;2957;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3049:29;3068:9;3049:29;:::i;:::-;3039:39;;3128:2;3117:9;3113:18;3100:32;3175:5;3168:13;3161:21;3154:5;3151:32;3141:60;;3197:1;3194;3187:12;3141:60;3220:5;3210:15;;;2884:347;;;;;:::o;3236:127::-;3297:10;3292:3;3288:20;3285:1;3278:31;3328:4;3325:1;3318:15;3352:4;3349:1;3342:15;3368:1138;3463:6;3471;3479;3487;3540:3;3528:9;3519:7;3515:23;3511:33;3508:53;;;3557:1;3554;3547:12;3508:53;3580:29;3599:9;3580:29;:::i;:::-;3570:39;;3628:38;3662:2;3651:9;3647:18;3628:38;:::i;:::-;3618:48;;3713:2;3702:9;3698:18;3685:32;3675:42;;3768:2;3757:9;3753:18;3740:32;3791:18;3832:2;3824:6;3821:14;3818:34;;;3848:1;3845;3838:12;3818:34;3886:6;3875:9;3871:22;3861:32;;3931:7;3924:4;3920:2;3916:13;3912:27;3902:55;;3953:1;3950;3943:12;3902:55;3989:2;3976:16;4011:2;4007;4004:10;4001:36;;;4017:18;;:::i;:::-;4092:2;4086:9;4060:2;4146:13;;-1:-1:-1;;4142:22:1;;;4166:2;4138:31;4134:40;4122:53;;;4190:18;;;4210:22;;;4187:46;4184:72;;;4236:18;;:::i;:::-;4276:10;4272:2;4265:22;4311:2;4303:6;4296:18;4351:7;4346:2;4341;4337;4333:11;4329:20;4326:33;4323:53;;;4372:1;4369;4362:12;4323:53;4428:2;4423;4419;4415:11;4410:2;4402:6;4398:15;4385:46;4473:1;4468:2;4463;4455:6;4451:15;4447:24;4440:35;4494:6;4484:16;;;;;;;3368:1138;;;;;;;:::o;4511:260::-;4579:6;4587;4640:2;4628:9;4619:7;4615:23;4611:32;4608:52;;;4656:1;4653;4646:12;4608:52;4679:29;4698:9;4679:29;:::i;:::-;4669:39;;4727:38;4761:2;4750:9;4746:18;4727:38;:::i;:::-;4717:48;;4511:260;;;;;:::o;5113:127::-;5174:10;5169:3;5165:20;5162:1;5155:31;5205:4;5202:1;5195:15;5229:4;5226:1;5219:15;5245:128;5312:9;;;5333:11;;;5330:37;;;5347:18;;:::i;5378:125::-;5443:9;;;5464:10;;;5461:36;;;5477:18;;:::i;6187:168::-;6260:9;;;6291;;6308:15;;;6302:22;;6288:37;6278:71;;6329:18;;:::i;6701:935::-;-1:-1:-1;;;7208:3:1;7201:22;7183:3;7252:6;7246:13;7268:74;7335:6;7331:1;7326:3;7322:11;7315:4;7307:6;7303:17;7268:74;:::i;:::-;-1:-1:-1;;;7401:1:1;7361:16;;;7393:10;;;7386:23;7434:13;;7456:75;7434:13;7518:1;7510:10;;7503:4;7491:17;;7456:75;:::i;:::-;-1:-1:-1;;;7591:1:1;7550:17;;;;7583:10;;;7576:27;7627:2;7619:11;;6701:935;-1:-1:-1;;;;6701:935:1:o;8116:489::-;-1:-1:-1;;;;;8385:15:1;;;8367:34;;8437:15;;8432:2;8417:18;;8410:43;8484:2;8469:18;;8462:34;;;8532:3;8527:2;8512:18;;8505:31;;;8310:4;;8553:46;;8579:19;;8571:6;8553:46;:::i;:::-;8545:54;8116:489;-1:-1:-1;;;;;;8116:489:1:o;8610:249::-;8679:6;8732:2;8720:9;8711:7;8707:23;8703:32;8700:52;;;8748:1;8745;8738:12;8700:52;8780:9;8774:16;8799:30;8823:5;8799:30;:::i

Swarm Source

ipfs://a8ab2e9859c80ff51c35f7228413bcbf78bb41d987c7bbba330761d92809b57e
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.