ETH Price: $3,406.07 (-0.55%)

Token

Goblin Vs Elfs (GVE)
 

Overview

Max Total Supply

2,831 GVE

Holders

895

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 GVE
0x7eA3d4a5BaF4feE5Cae685475346B7A7989Fc91B
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:
GoblinVsElfs

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// File: erc721a/contracts/IERC721A.sol


// ERC721A Contracts v4.0.0

pragma solidity ^0.8.4;

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

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

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

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

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

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

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

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

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Returns the auxillary 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 auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

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

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @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.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

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

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

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // 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] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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: contracts/GoblinVsElf.sol

//SPDX-License-Identifier: MIT

pragma solidity >=0.7.0 <0.9.0;





contract GoblinVsElfs is ERC721A, Ownable {

  /** ERRORS */
  error ExceedsMaxSupply();
  error InvalidAmount();
  error FreeMintOver();
  error ExceedsWalletLimit();
  error InsufficientValue();
  error TokenNotFound();
  error ContractMint();
  error SaleInactive();

  using Strings for uint256;

  uint256 public cost = 0.004 ether;
  uint256 public maxSupply = 10000;
  uint256 public maxMintAmountPerTx = 30;
  uint256 public freeMaxMintPerWallet = 3;

  uint256 public FREE_MINT_MAX = 5000;
  
  bool public saleActive = true;
  
  mapping(address => uint256) public freeWallets;

  string _baseTokenURI;

  constructor(string memory baseTokenURI) ERC721A("Goblin Vs Elfs", "GVE") payable {
    _baseTokenURI = baseTokenURI;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    if (!saleActive) revert SaleInactive();
    if (msg.sender != tx.origin) revert ContractMint();
    if (totalSupply() + _mintAmount > maxSupply) revert ExceedsMaxSupply();
    if (_mintAmount < 1 || _mintAmount > maxMintAmountPerTx) revert InvalidAmount();
    _;
  }

    function batchMintForAddress(address[] calldata addresses, uint256[] calldata quantities) external onlyOwner {
        uint32 i;
        for (i=0; i < addresses.length; ++i) {
            _safeMint(addresses[i], quantities[i]);
        }
    }

  function freeMint(uint256 _mintAmount) public mintCompliance(_mintAmount) {
    if (!isFreeMint()) revert FreeMintOver();
    if (freeWallets[msg.sender] + _mintAmount > freeMaxMintPerWallet) revert ExceedsWalletLimit();
    unchecked { freeWallets[msg.sender] += _mintAmount; }

    _safeMint(msg.sender, _mintAmount);
  }

  function mint(uint256 _mintAmount)
    external
    payable
    mintCompliance(_mintAmount)
  {
    if (msg.value < (cost * _mintAmount)) revert InsufficientValue();
    _safeMint(msg.sender, _mintAmount);
  }

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

  function isFreeMint() public view returns (bool) {
    return totalSupply() < FREE_MINT_MAX;
  }

  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }
 
  function setMaxSupply(uint256 _maxSupply) external onlyOwner {
    maxSupply = _maxSupply;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }
  
  function toggleSaleState() public onlyOwner {
    saleActive = !saleActive;
  }

  function setMaxFreeMint(uint256 _max) public onlyOwner {
    FREE_MINT_MAX = _max;
  }

  function withdraw() public onlyOwner {
    payable(owner()).transfer(address(this).balance);
  }

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

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

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    if (!_exists(_tokenId)) revert TokenNotFound();

    return string(abi.encodePacked(_baseURI(), _tokenId.toString(), ".json"));
  }

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractMint","type":"error"},{"inputs":[],"name":"ExceedsMaxSupply","type":"error"},{"inputs":[],"name":"ExceedsWalletLimit","type":"error"},{"inputs":[],"name":"FreeMintOver","type":"error"},{"inputs":[],"name":"InsufficientValue","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"SaleInactive","type":"error"},{"inputs":[],"name":"TokenNotFound","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":"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":"FREE_MINT_MAX","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"batchMintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMaxMintPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max","type":"uint256"}],"name":"setMaxFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","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":[],"name":"toggleSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040819052660e35fa931a0000600955612710600a55601e600b556003600c55611388600d55600e805460ff1916600117905562001ff4388190039081908339810160408190526200005391620001e2565b604080518082018252600e81526d476f626c696e20567320456c667360901b60208083019182528351808501909452600384526247564560e81b908401528151919291620000a4916002916200013c565b508051620000ba9060039060208401906200013c565b5050600160005550620000cd33620000ea565b8051620000e29060109060208401906200013c565b505062000311565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014a90620002be565b90600052602060002090601f0160209004810192826200016e5760008555620001b9565b82601f106200018957805160ff1916838001178555620001b9565b82800160010185558215620001b9579182015b82811115620001b95782518255916020019190600101906200019c565b50620001c7929150620001cb565b5090565b5b80821115620001c75760008155600101620001cc565b60006020808385031215620001f657600080fd5b82516001600160401b03808211156200020e57600080fd5b818501915085601f8301126200022357600080fd5b815181811115620002385762000238620002fb565b604051601f8201601f19908116603f01168101908382118183101715620002635762000263620002fb565b8160405282815288868487010111156200027c57600080fd5b600093505b82841015620002a0578484018601518185018701529285019262000281565b82841115620002b25760008684830101525b98975050505050505050565b600181811c90821680620002d357607f821691505b60208210811415620002f557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611cd380620003216000396000f3fe60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063daaeec861161006f578063daaeec86146105cb578063de30dd34146105e0578063e985e9c514610600578063efbd73f414610649578063f2fde38b1461066957600080fd5b8063b88d4fde14610560578063c2d05a6e14610580578063c87b56dd14610595578063d5abeb01146105b557600080fd5b806394354fd0116100e757806394354fd0146104e257806395d89b41146104f8578063a0712d681461050d578063a22cb46514610520578063b071401b1461054057600080fd5b8063715018a61461046f578063742a4c9b146104845780637c928fe9146104a45780638da5cb5b146104c457600080fd5b80633ccfd60b1161019b5780636352211e1161016a5780636352211e146103df57806366112b6b146103ff57806368428a1b146104155780636f8b44b01461042f57806370a082311461044f57600080fd5b80633ccfd60b1461036a57806342842e0e1461037f57806344a0d68a1461039f57806355f804b3146103bf57600080fd5b8063095ea7b3116101e2578063095ea7b3146102de57806313faede61461030057806318160ddd1461031657806323b872dd146103345780633bc4b0251461035457600080fd5b806301ffc9a71461021457806306bb99e21461024957806306fdde0314610284578063081812fc146102a6575b600080fd5b34801561022057600080fd5b5061023461022f36600461193b565b610689565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b50610276610264366004611703565b600f6020526000908152604090205481565b604051908152602001610240565b34801561029057600080fd5b506102996106db565b6040516102409190611acb565b3480156102b257600080fd5b506102c66102c13660046119e7565b61076d565b6040516001600160a01b039091168152602001610240565b3480156102ea57600080fd5b506102fe6102f93660046118a5565b6107b1565b005b34801561030c57600080fd5b5061027660095481565b34801561032257600080fd5b50610276600154600054036000190190565b34801561034057600080fd5b506102fe61034f366004611751565b610884565b34801561036057600080fd5b50610276600d5481565b34801561037657600080fd5b506102fe610894565b34801561038b57600080fd5b506102fe61039a366004611751565b610903565b3480156103ab57600080fd5b506102fe6103ba3660046119e7565b61091e565b3480156103cb57600080fd5b506102fe6103da366004611975565b61094d565b3480156103eb57600080fd5b506102c66103fa3660046119e7565b610983565b34801561040b57600080fd5b50610276600c5481565b34801561042157600080fd5b50600e546102349060ff1681565b34801561043b57600080fd5b506102fe61044a3660046119e7565b61098e565b34801561045b57600080fd5b5061027661046a366004611703565b6109bd565b34801561047b57600080fd5b506102fe610a0c565b34801561049057600080fd5b506102fe61049f3660046119e7565b610a42565b3480156104b057600080fd5b506102fe6104bf3660046119e7565b610a71565b3480156104d057600080fd5b506008546001600160a01b03166102c6565b3480156104ee57600080fd5b50610276600b5481565b34801561050457600080fd5b50610299610ba7565b6102fe61051b3660046119e7565b610bb6565b34801561052c57600080fd5b506102fe61053b366004611869565b610c9f565b34801561054c57600080fd5b506102fe61055b3660046119e7565b610d35565b34801561056c57600080fd5b506102fe61057b36600461178d565b610d64565b34801561058c57600080fd5b50610234610dae565b3480156105a157600080fd5b506102996105b03660046119e7565b610dca565b3480156105c157600080fd5b50610276600a5481565b3480156105d757600080fd5b506102fe610e2a565b3480156105ec57600080fd5b506102fe6105fb3660046118cf565b610e68565b34801561060c57600080fd5b5061023461061b36600461171e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065557600080fd5b506102fe610664366004611a00565b610f0e565b34801561067557600080fd5b506102fe610684366004611703565b610f42565b60006301ffc9a760e01b6001600160e01b0319831614806106ba57506380ac58cd60e01b6001600160e01b03198316145b806106d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ea90611ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461071690611ba1565b80156107635780601f1061073857610100808354040283529160200191610763565b820191906000526020600020905b81548152906001019060200180831161074657829003601f168201915b5050505050905090565b600061077882610fda565b610795576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107bc8261100f565b9050806001600160a01b0316836001600160a01b031614156107f15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108285761080b813361061b565b610828576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088f83838361107f565b505050565b6008546001600160a01b031633146108c75760405162461bcd60e51b81526004016108be90611ade565b60405180910390fd5b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610900573d6000803e3d6000fd5b50565b61088f83838360405180602001604052806000815250610d64565b6008546001600160a01b031633146109485760405162461bcd60e51b81526004016108be90611ade565b600955565b6008546001600160a01b031633146109775760405162461bcd60e51b81526004016108be90611ade565b61088f60108383611602565b60006106d58261100f565b6008546001600160a01b031633146109b85760405162461bcd60e51b81526004016108be90611ade565b600a55565b60006001600160a01b0382166109e6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a365760405162461bcd60e51b81526004016108be90611ade565b610a406000611220565b565b6008546001600160a01b03163314610a6c5760405162461bcd60e51b81526004016108be90611ade565b600d55565b600e54819060ff16610a9657604051630fe219dd60e21b815260040160405180910390fd5b333214610ab6576040516372f67c2360e01b815260040160405180910390fd5b600a5481610acb600154600054036000190190565b610ad59190611b13565b1115610af45760405163c30436e960e01b815260040160405180910390fd5b6001811080610b045750600b5481115b15610b225760405163162908e360e11b815260040160405180910390fd5b610b2a610dae565b610b4757604051633c79ec1b60e21b815260040160405180910390fd5b600c54336000908152600f6020526040902054610b65908490611b13565b1115610b8457604051635107dbe760e01b815260040160405180910390fd5b336000818152600f60205260409020805484019055610ba39083611272565b5050565b6060600380546106ea90611ba1565b600e54819060ff16610bdb57604051630fe219dd60e21b815260040160405180910390fd5b333214610bfb576040516372f67c2360e01b815260040160405180910390fd5b600a5481610c10600154600054036000190190565b610c1a9190611b13565b1115610c395760405163c30436e960e01b815260040160405180910390fd5b6001811080610c495750600b5481115b15610c675760405163162908e360e11b815260040160405180910390fd5b81600954610c759190611b3f565b341015610c955760405163044044a560e21b815260040160405180910390fd5b610ba33383611272565b6001600160a01b038216331415610cc95760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610d5f5760405162461bcd60e51b81526004016108be90611ade565b600b55565b610d6f84848461107f565b6001600160a01b0383163b15610da857610d8b8484848461128c565b610da8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000600d54610dc4600154600054036000190190565b10905090565b6060610dd582610fda565b610df257604051630cbdb7b360e41b815260040160405180910390fd5b610dfa611384565b610e0383611393565b604051602001610e14929190611a4f565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610e545760405162461bcd60e51b81526004016108be90611ade565b600e805460ff19811660ff90911615179055565b6008546001600160a01b03163314610e925760405162461bcd60e51b81526004016108be90611ade565b60005b63ffffffff8116841115610f0757610ef785858363ffffffff16818110610ebe57610ebe611c5b565b9050602002016020810190610ed39190611703565b84848463ffffffff16818110610eeb57610eeb611c5b565b90506020020135611272565b610f0081611bf7565b9050610e95565b5050505050565b6008546001600160a01b03163314610f385760405162461bcd60e51b81526004016108be90611ade565b610ba38183611272565b6008546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108be90611ade565b6001600160a01b038116610fd15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108be565b61090081611220565b600081600111158015610fee575060005482105b80156106d5575050600090815260046020526040902054600160e01b161590565b600081806001116110665760005481101561106657600081815260046020526040902054600160e01b8116611064575b8061105d57506000190160008181526004602052604090205461103f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061108a8261100f565b9050836001600160a01b0316816001600160a01b0316146110bd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806110db57506110db853361061b565b806110f65750336110eb8461076d565b6001600160a01b0316145b90508061111657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661113d57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b8617811790915582166111da57600183016000818152600460205260409020546111d85760005481146111d85760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f07565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba3828260405180602001604052806000815250611491565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112c1903390899088908890600401611a8e565b602060405180830381600087803b1580156112db57600080fd5b505af192505050801561130b575060408051601f3d908101601f1916820190925261130891810190611958565b60015b611366573d808015611339576040519150601f19603f3d011682016040523d82523d6000602084013e61133e565b606091505b50805161135e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ea90611ba1565b6060816113b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113e157806113cb81611bdc565b91506113da9050600a83611b2b565b91506113bb565b60008167ffffffffffffffff8111156113fc576113fc611c71565b6040519080825280601f01601f191660200182016040528015611426576020820181803683370190505b5090505b841561137c5761143b600183611b5e565b9150611448600a86611c1b565b611453906030611b13565b60f81b81838151811061146857611468611c5b565b60200101906001600160f81b031916908160001a90535061148a600a86611b2b565b945061142a565b6000546001600160a01b0384166114ba57604051622e076360e81b815260040160405180910390fd5b826114d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156115ad575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611576600087848060010195508761128c565b611593576040516368d2bf6b60e11b815260040160405180910390fd5b80821061152b5782600054146115a857600080fd5b6115f2565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106115ae575b506000908155610da89085838684565b82805461160e90611ba1565b90600052602060002090601f0160209004810192826116305760008555611676565b82601f106116495782800160ff19823516178555611676565b82800160010185558215611676579182015b8281111561167657823582559160200191906001019061165b565b50611682929150611686565b5090565b5b808211156116825760008155600101611687565b80356001600160a01b03811681146116b257600080fd5b919050565b60008083601f8401126116c957600080fd5b50813567ffffffffffffffff8111156116e157600080fd5b6020830191508360208260051b85010111156116fc57600080fd5b9250929050565b60006020828403121561171557600080fd5b61105d8261169b565b6000806040838503121561173157600080fd5b61173a8361169b565b91506117486020840161169b565b90509250929050565b60008060006060848603121561176657600080fd5b61176f8461169b565b925061177d6020850161169b565b9150604084013590509250925092565b600080600080608085870312156117a357600080fd5b6117ac8561169b565b93506117ba6020860161169b565b925060408501359150606085013567ffffffffffffffff808211156117de57600080fd5b818701915087601f8301126117f257600080fd5b81358181111561180457611804611c71565b604051601f8201601f19908116603f0116810190838211818310171561182c5761182c611c71565b816040528281528a602084870101111561184557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561187c57600080fd5b6118858361169b565b91506020830135801515811461189a57600080fd5b809150509250929050565b600080604083850312156118b857600080fd5b6118c18361169b565b946020939093013593505050565b600080600080604085870312156118e557600080fd5b843567ffffffffffffffff808211156118fd57600080fd5b611909888389016116b7565b9096509450602087013591508082111561192257600080fd5b5061192f878288016116b7565b95989497509550505050565b60006020828403121561194d57600080fd5b813561105d81611c87565b60006020828403121561196a57600080fd5b815161105d81611c87565b6000806020838503121561198857600080fd5b823567ffffffffffffffff808211156119a057600080fd5b818501915085601f8301126119b457600080fd5b8135818111156119c357600080fd5b8660208285010111156119d557600080fd5b60209290920196919550909350505050565b6000602082840312156119f957600080fd5b5035919050565b60008060408385031215611a1357600080fd5b823591506117486020840161169b565b60008151808452611a3b816020860160208601611b75565b601f01601f19169290920160200192915050565b60008351611a61818460208801611b75565b835190830190611a75818360208801611b75565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ac190830184611a23565b9695505050505050565b60208152600061105d6020830184611a23565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611b2657611b26611c2f565b500190565b600082611b3a57611b3a611c45565b500490565b6000816000190483118215151615611b5957611b59611c2f565b500290565b600082821015611b7057611b70611c2f565b500390565b60005b83811015611b90578181015183820152602001611b78565b83811115610da85750506000910152565b600181811c90821680611bb557607f821691505b60208210811415611bd657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611bf057611bf0611c2f565b5060010190565b600063ffffffff80831681811415611c1157611c11611c2f565b6001019392505050565b600082611c2a57611c2a611c45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461090057600080fdfea2646970667358221220c828a95522a6b6a6789a593d8a5847272cf90aa8b1d1c0ad6471f4daa638f12b64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d586f694866343933336838654173764d504d5a6b6a3756374b716b75476174716b50505754514d57487459412f00000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c8063715018a611610118578063b88d4fde116100a0578063daaeec861161006f578063daaeec86146105cb578063de30dd34146105e0578063e985e9c514610600578063efbd73f414610649578063f2fde38b1461066957600080fd5b8063b88d4fde14610560578063c2d05a6e14610580578063c87b56dd14610595578063d5abeb01146105b557600080fd5b806394354fd0116100e757806394354fd0146104e257806395d89b41146104f8578063a0712d681461050d578063a22cb46514610520578063b071401b1461054057600080fd5b8063715018a61461046f578063742a4c9b146104845780637c928fe9146104a45780638da5cb5b146104c457600080fd5b80633ccfd60b1161019b5780636352211e1161016a5780636352211e146103df57806366112b6b146103ff57806368428a1b146104155780636f8b44b01461042f57806370a082311461044f57600080fd5b80633ccfd60b1461036a57806342842e0e1461037f57806344a0d68a1461039f57806355f804b3146103bf57600080fd5b8063095ea7b3116101e2578063095ea7b3146102de57806313faede61461030057806318160ddd1461031657806323b872dd146103345780633bc4b0251461035457600080fd5b806301ffc9a71461021457806306bb99e21461024957806306fdde0314610284578063081812fc146102a6575b600080fd5b34801561022057600080fd5b5061023461022f36600461193b565b610689565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b50610276610264366004611703565b600f6020526000908152604090205481565b604051908152602001610240565b34801561029057600080fd5b506102996106db565b6040516102409190611acb565b3480156102b257600080fd5b506102c66102c13660046119e7565b61076d565b6040516001600160a01b039091168152602001610240565b3480156102ea57600080fd5b506102fe6102f93660046118a5565b6107b1565b005b34801561030c57600080fd5b5061027660095481565b34801561032257600080fd5b50610276600154600054036000190190565b34801561034057600080fd5b506102fe61034f366004611751565b610884565b34801561036057600080fd5b50610276600d5481565b34801561037657600080fd5b506102fe610894565b34801561038b57600080fd5b506102fe61039a366004611751565b610903565b3480156103ab57600080fd5b506102fe6103ba3660046119e7565b61091e565b3480156103cb57600080fd5b506102fe6103da366004611975565b61094d565b3480156103eb57600080fd5b506102c66103fa3660046119e7565b610983565b34801561040b57600080fd5b50610276600c5481565b34801561042157600080fd5b50600e546102349060ff1681565b34801561043b57600080fd5b506102fe61044a3660046119e7565b61098e565b34801561045b57600080fd5b5061027661046a366004611703565b6109bd565b34801561047b57600080fd5b506102fe610a0c565b34801561049057600080fd5b506102fe61049f3660046119e7565b610a42565b3480156104b057600080fd5b506102fe6104bf3660046119e7565b610a71565b3480156104d057600080fd5b506008546001600160a01b03166102c6565b3480156104ee57600080fd5b50610276600b5481565b34801561050457600080fd5b50610299610ba7565b6102fe61051b3660046119e7565b610bb6565b34801561052c57600080fd5b506102fe61053b366004611869565b610c9f565b34801561054c57600080fd5b506102fe61055b3660046119e7565b610d35565b34801561056c57600080fd5b506102fe61057b36600461178d565b610d64565b34801561058c57600080fd5b50610234610dae565b3480156105a157600080fd5b506102996105b03660046119e7565b610dca565b3480156105c157600080fd5b50610276600a5481565b3480156105d757600080fd5b506102fe610e2a565b3480156105ec57600080fd5b506102fe6105fb3660046118cf565b610e68565b34801561060c57600080fd5b5061023461061b36600461171e565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065557600080fd5b506102fe610664366004611a00565b610f0e565b34801561067557600080fd5b506102fe610684366004611703565b610f42565b60006301ffc9a760e01b6001600160e01b0319831614806106ba57506380ac58cd60e01b6001600160e01b03198316145b806106d55750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106ea90611ba1565b80601f016020809104026020016040519081016040528092919081815260200182805461071690611ba1565b80156107635780601f1061073857610100808354040283529160200191610763565b820191906000526020600020905b81548152906001019060200180831161074657829003601f168201915b5050505050905090565b600061077882610fda565b610795576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107bc8261100f565b9050806001600160a01b0316836001600160a01b031614156107f15760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146108285761080b813361061b565b610828576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61088f83838361107f565b505050565b6008546001600160a01b031633146108c75760405162461bcd60e51b81526004016108be90611ade565b60405180910390fd5b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610900573d6000803e3d6000fd5b50565b61088f83838360405180602001604052806000815250610d64565b6008546001600160a01b031633146109485760405162461bcd60e51b81526004016108be90611ade565b600955565b6008546001600160a01b031633146109775760405162461bcd60e51b81526004016108be90611ade565b61088f60108383611602565b60006106d58261100f565b6008546001600160a01b031633146109b85760405162461bcd60e51b81526004016108be90611ade565b600a55565b60006001600160a01b0382166109e6576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610a365760405162461bcd60e51b81526004016108be90611ade565b610a406000611220565b565b6008546001600160a01b03163314610a6c5760405162461bcd60e51b81526004016108be90611ade565b600d55565b600e54819060ff16610a9657604051630fe219dd60e21b815260040160405180910390fd5b333214610ab6576040516372f67c2360e01b815260040160405180910390fd5b600a5481610acb600154600054036000190190565b610ad59190611b13565b1115610af45760405163c30436e960e01b815260040160405180910390fd5b6001811080610b045750600b5481115b15610b225760405163162908e360e11b815260040160405180910390fd5b610b2a610dae565b610b4757604051633c79ec1b60e21b815260040160405180910390fd5b600c54336000908152600f6020526040902054610b65908490611b13565b1115610b8457604051635107dbe760e01b815260040160405180910390fd5b336000818152600f60205260409020805484019055610ba39083611272565b5050565b6060600380546106ea90611ba1565b600e54819060ff16610bdb57604051630fe219dd60e21b815260040160405180910390fd5b333214610bfb576040516372f67c2360e01b815260040160405180910390fd5b600a5481610c10600154600054036000190190565b610c1a9190611b13565b1115610c395760405163c30436e960e01b815260040160405180910390fd5b6001811080610c495750600b5481115b15610c675760405163162908e360e11b815260040160405180910390fd5b81600954610c759190611b3f565b341015610c955760405163044044a560e21b815260040160405180910390fd5b610ba33383611272565b6001600160a01b038216331415610cc95760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b03163314610d5f5760405162461bcd60e51b81526004016108be90611ade565b600b55565b610d6f84848461107f565b6001600160a01b0383163b15610da857610d8b8484848461128c565b610da8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000600d54610dc4600154600054036000190190565b10905090565b6060610dd582610fda565b610df257604051630cbdb7b360e41b815260040160405180910390fd5b610dfa611384565b610e0383611393565b604051602001610e14929190611a4f565b6040516020818303038152906040529050919050565b6008546001600160a01b03163314610e545760405162461bcd60e51b81526004016108be90611ade565b600e805460ff19811660ff90911615179055565b6008546001600160a01b03163314610e925760405162461bcd60e51b81526004016108be90611ade565b60005b63ffffffff8116841115610f0757610ef785858363ffffffff16818110610ebe57610ebe611c5b565b9050602002016020810190610ed39190611703565b84848463ffffffff16818110610eeb57610eeb611c5b565b90506020020135611272565b610f0081611bf7565b9050610e95565b5050505050565b6008546001600160a01b03163314610f385760405162461bcd60e51b81526004016108be90611ade565b610ba38183611272565b6008546001600160a01b03163314610f6c5760405162461bcd60e51b81526004016108be90611ade565b6001600160a01b038116610fd15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108be565b61090081611220565b600081600111158015610fee575060005482105b80156106d5575050600090815260046020526040902054600160e01b161590565b600081806001116110665760005481101561106657600081815260046020526040902054600160e01b8116611064575b8061105d57506000190160008181526004602052604090205461103f565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b600061108a8261100f565b9050836001600160a01b0316816001600160a01b0316146110bd5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806110db57506110db853361061b565b806110f65750336110eb8461076d565b6001600160a01b0316145b90508061111657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03841661113d57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b8617811790915582166111da57600183016000818152600460205260409020546111d85760005481146111d85760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f07565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610ba3828260405180602001604052806000815250611491565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112c1903390899088908890600401611a8e565b602060405180830381600087803b1580156112db57600080fd5b505af192505050801561130b575060408051601f3d908101601f1916820190925261130891810190611958565b60015b611366573d808015611339576040519150601f19603f3d011682016040523d82523d6000602084013e61133e565b606091505b50805161135e576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601080546106ea90611ba1565b6060816113b75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113e157806113cb81611bdc565b91506113da9050600a83611b2b565b91506113bb565b60008167ffffffffffffffff8111156113fc576113fc611c71565b6040519080825280601f01601f191660200182016040528015611426576020820181803683370190505b5090505b841561137c5761143b600183611b5e565b9150611448600a86611c1b565b611453906030611b13565b60f81b81838151811061146857611468611c5b565b60200101906001600160f81b031916908160001a90535061148a600a86611b2b565b945061142a565b6000546001600160a01b0384166114ba57604051622e076360e81b815260040160405180910390fd5b826114d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b156115ad575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611576600087848060010195508761128c565b611593576040516368d2bf6b60e11b815260040160405180910390fd5b80821061152b5782600054146115a857600080fd5b6115f2565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106115ae575b506000908155610da89085838684565b82805461160e90611ba1565b90600052602060002090601f0160209004810192826116305760008555611676565b82601f106116495782800160ff19823516178555611676565b82800160010185558215611676579182015b8281111561167657823582559160200191906001019061165b565b50611682929150611686565b5090565b5b808211156116825760008155600101611687565b80356001600160a01b03811681146116b257600080fd5b919050565b60008083601f8401126116c957600080fd5b50813567ffffffffffffffff8111156116e157600080fd5b6020830191508360208260051b85010111156116fc57600080fd5b9250929050565b60006020828403121561171557600080fd5b61105d8261169b565b6000806040838503121561173157600080fd5b61173a8361169b565b91506117486020840161169b565b90509250929050565b60008060006060848603121561176657600080fd5b61176f8461169b565b925061177d6020850161169b565b9150604084013590509250925092565b600080600080608085870312156117a357600080fd5b6117ac8561169b565b93506117ba6020860161169b565b925060408501359150606085013567ffffffffffffffff808211156117de57600080fd5b818701915087601f8301126117f257600080fd5b81358181111561180457611804611c71565b604051601f8201601f19908116603f0116810190838211818310171561182c5761182c611c71565b816040528281528a602084870101111561184557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561187c57600080fd5b6118858361169b565b91506020830135801515811461189a57600080fd5b809150509250929050565b600080604083850312156118b857600080fd5b6118c18361169b565b946020939093013593505050565b600080600080604085870312156118e557600080fd5b843567ffffffffffffffff808211156118fd57600080fd5b611909888389016116b7565b9096509450602087013591508082111561192257600080fd5b5061192f878288016116b7565b95989497509550505050565b60006020828403121561194d57600080fd5b813561105d81611c87565b60006020828403121561196a57600080fd5b815161105d81611c87565b6000806020838503121561198857600080fd5b823567ffffffffffffffff808211156119a057600080fd5b818501915085601f8301126119b457600080fd5b8135818111156119c357600080fd5b8660208285010111156119d557600080fd5b60209290920196919550909350505050565b6000602082840312156119f957600080fd5b5035919050565b60008060408385031215611a1357600080fd5b823591506117486020840161169b565b60008151808452611a3b816020860160208601611b75565b601f01601f19169290920160200192915050565b60008351611a61818460208801611b75565b835190830190611a75818360208801611b75565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ac190830184611a23565b9695505050505050565b60208152600061105d6020830184611a23565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611b2657611b26611c2f565b500190565b600082611b3a57611b3a611c45565b500490565b6000816000190483118215151615611b5957611b59611c2f565b500290565b600082821015611b7057611b70611c2f565b500390565b60005b83811015611b90578181015183820152602001611b78565b83811115610da85750506000910152565b600181811c90821680611bb557607f821691505b60208210811415611bd657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611bf057611bf0611c2f565b5060010190565b600063ffffffff80831681811415611c1157611c11611c2f565b6001019392505050565b600082611c2a57611c2a611c45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461090057600080fdfea2646970667358221220c828a95522a6b6a6789a593d8a5847272cf90aa8b1d1c0ad6471f4daa638f12b64736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d586f694866343933336838654173764d504d5a6b6a3756374b716b75476174716b50505754514d57487459412f00000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI (string): ipfs://QmXoiHf4933h8eAsvMPMZkj7V7KqkuGatqkPPWTQMWHtYA/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d586f694866343933336838654173764d504d5a6b6a3756
Arg [3] : 374b716b75476174716b50505754514d57487459412f00000000000000000000


Deployed Bytecode Sourcemap

43985:3394:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13049:615;;;;;;;;;;-1:-1:-1;13049:615:0;;;;;:::i;:::-;;:::i;:::-;;;7200:14:1;;7193:22;7175:41;;7163:2;7148:18;13049:615:0;;;;;;;;44548:46;;;;;;;;;;-1:-1:-1;44548:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;8365:25:1;;;8353:2;8338:18;44548:46:0;8219:177:1;18062:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20130:204::-;;;;;;;;;;-1:-1:-1;20130:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6498:32:1;;;6480:51;;6468:2;6453:18;20130:204:0;6334:203:1;19590:474:0;;;;;;;;;;-1:-1:-1;19590:474:0;;;;;:::i;:::-;;:::i;:::-;;44302:33;;;;;;;;;;;;;;;;12103:315;;;;;;;;;;;;46021:1;12369:12;12156:7;12353:13;:28;-1:-1:-1;;12353:46:0;;12103:315;21016:170;;;;;;;;;;-1:-1:-1;21016:170:0;;;;;:::i;:::-;;:::i;44466:35::-;;;;;;;;;;;;;;;;46773:98;;;;;;;;;;;;;:::i;21257:185::-;;;;;;;;;;-1:-1:-1;21257:185:0;;;;;:::i;:::-;;:::i;46271:74::-;;;;;;;;;;-1:-1:-1;46271:74:0;;;;;:::i;:::-;;:::i;47010:100::-;;;;;;;;;;-1:-1:-1;47010:100:0;;;;;:::i;:::-;;:::i;17851:144::-;;;;;;;;;;-1:-1:-1;17851:144:0;;;;;:::i;:::-;;:::i;44420:39::-;;;;;;;;;;;;;;;;44510:29;;;;;;;;;;-1:-1:-1;44510:29:0;;;;;;;;46352:96;;;;;;;;;;-1:-1:-1;46352:96:0;;;;;:::i;:::-;;:::i;13728:224::-;;;;;;;;;;-1:-1:-1;13728:224:0;;;;;:::i;:::-;;:::i;43053:103::-;;;;;;;;;;;;;:::i;46679:88::-;;;;;;;;;;-1:-1:-1;46679:88:0;;;;;:::i;:::-;;:::i;45342:329::-;;;;;;;;;;-1:-1:-1;45342:329:0;;;;;:::i;:::-;;:::i;42402:87::-;;;;;;;;;;-1:-1:-1;42475:6:0;;-1:-1:-1;;;;;42475:6:0;42402:87;;44377:38;;;;;;;;;;;;;;;;18231:104;;;;;;;;;;;;;:::i;45677:216::-;;;;;;:::i;:::-;;:::i;20406:308::-;;;;;;;;;;-1:-1:-1;20406:308:0;;;;;:::i;:::-;;:::i;46454:130::-;;;;;;;;;;-1:-1:-1;46454:130:0;;;;;:::i;:::-;;:::i;21513:396::-;;;;;;;;;;-1:-1:-1;21513:396:0;;;;;:::i;:::-;;:::i;46034:98::-;;;;;;;;;;;;;:::i;47116:258::-;;;;;;;;;;-1:-1:-1;47116:258:0;;;;;:::i;:::-;;:::i;44340:32::-;;;;;;;;;;;;;;;;46592:81;;;;;;;;;;;;;:::i;45088:248::-;;;;;;;;;;-1:-1:-1;45088:248:0;;;;;:::i;:::-;;:::i;20785:164::-;;;;;;;;;;-1:-1:-1;20785:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;20906:25:0;;;20882:4;20906:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20785:164;46138:127;;;;;;;;;;-1:-1:-1;46138:127:0;;;;;:::i;:::-;;:::i;43311:201::-;;;;;;;;;;-1:-1:-1;43311:201:0;;;;;:::i;:::-;;:::i;13049:615::-;13134:4;-1:-1:-1;;;;;;;;;13434:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13511:25:0;;;13434:102;:179;;;-1:-1:-1;;;;;;;;;;13588:25:0;;;13434:179;13414:199;13049:615;-1:-1:-1;;13049:615:0:o;18062:100::-;18116:13;18149:5;18142:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18062:100;:::o;20130:204::-;20198:7;20223:16;20231:7;20223;:16::i;:::-;20218:64;;20248:34;;-1:-1:-1;;;20248:34:0;;;;;;;;;;;20218:64;-1:-1:-1;20302:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20302:24:0;;20130:204::o;19590:474::-;19663:13;19695:27;19714:7;19695:18;:27::i;:::-;19663:61;;19745:5;-1:-1:-1;;;;;19739:11:0;:2;-1:-1:-1;;;;;19739:11:0;;19735:48;;;19759:24;;-1:-1:-1;;;19759:24:0;;;;;;;;;;;19735:48;36233:10;-1:-1:-1;;;;;19800:28:0;;;19796:175;;19848:44;19865:5;36233:10;20785:164;:::i;19848:44::-;19843:128;;19920:35;;-1:-1:-1;;;19920:35:0;;;;;;;;;;;19843:128;19983:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;19983:29:0;-1:-1:-1;;;;;19983:29:0;;;;;;;;;20028:28;;19983:24;;20028:28;;;;;;;19652:412;19590:474;;:::o;21016:170::-;21150:28;21160:4;21166:2;21170:7;21150:9;:28::i;:::-;21016:170;;;:::o;46773:98::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;;;;;;;;;42475:6;;46817:48:::1;::::0;-1:-1:-1;;;;;42475:6:0;;;;46843:21:::1;46817:48:::0;::::1;;;::::0;::::1;::::0;;;46843:21;42475:6;46817:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;46773:98::o:0;21257:185::-;21395:39;21412:4;21418:2;21422:7;21395:39;;;;;;;;;;;;:16;:39::i;46271:74::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46327:4:::1;:12:::0;46271:74::o;47010:100::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;47081:23:::1;:13;47097:7:::0;;47081:23:::1;:::i;17851:144::-:0;17915:7;17958:27;17977:7;17958:18;:27::i;46352:96::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46420:9:::1;:22:::0;46352:96::o;13728:224::-;13792:7;-1:-1:-1;;;;;13816:19:0;;13812:60;;13844:28;;-1:-1:-1;;;13844:28:0;;;;;;;;;;;13812:60;-1:-1:-1;;;;;;13890:25:0;;;;;:18;:25;;;;;;9067:13;13890:54;;13728:224::o;43053:103::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;43118:30:::1;43145:1;43118:18;:30::i;:::-;43053:103::o:0;46679:88::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46741:13:::1;:20:::0;46679:88::o;45342:329::-;44813:10;;45403:11;;44813:10;;44808:38;;44832:14;;-1:-1:-1;;;44832:14:0;;;;;;;;;;;44808:38;44857:10;44871:9;44857:23;44853:50;;44889:14;;-1:-1:-1;;;44889:14:0;;;;;;;;;;;44853:50;44944:9;;44930:11;44914:13;46021:1;12369:12;12156:7;12353:13;:28;-1:-1:-1;;12353:46:0;;12103:315;44914:13;:27;;;;:::i;:::-;:39;44910:70;;;44962:18;;-1:-1:-1;;;44962:18:0;;;;;;;;;;;44910:70;45005:1;44991:11;:15;:51;;;;45024:18;;45010:11;:32;44991:51;44987:79;;;45051:15;;-1:-1:-1;;;45051:15:0;;;;;;;;;;;44987:79;45428:12:::1;:10;:12::i;:::-;45423:40;;45449:14;;-1:-1:-1::0;;;45449:14:0::1;;;;;;;;;;;45423:40;45514:20;::::0;45486:10:::1;45474:23;::::0;;;:11:::1;:23;::::0;;;;;:37:::1;::::0;45500:11;;45474:37:::1;:::i;:::-;:60;45470:93;;;45543:20;;-1:-1:-1::0;;;45543:20:0::1;;;;;;;;;;;45470:93;45594:10;45582:23;::::0;;;:11:::1;:23;::::0;;;;:38;;;::::1;::::0;;45631:34:::1;::::0;45609:11;45631:9:::1;:34::i;:::-;45342:329:::0;;:::o;18231:104::-;18287:13;18320:7;18313:14;;;;;:::i;45677:216::-;44813:10;;45759:11;;44813:10;;44808:38;;44832:14;;-1:-1:-1;;;44832:14:0;;;;;;;;;;;44808:38;44857:10;44871:9;44857:23;44853:50;;44889:14;;-1:-1:-1;;;44889:14:0;;;;;;;;;;;44853:50;44944:9;;44930:11;44914:13;46021:1;12369:12;12156:7;12353:13;:28;-1:-1:-1;;12353:46:0;;12103:315;44914:13;:27;;;;:::i;:::-;:39;44910:70;;;44962:18;;-1:-1:-1;;;44962:18:0;;;;;;;;;;;44910:70;45005:1;44991:11;:15;:51;;;;45024:18;;45010:11;:32;44991:51;44987:79;;;45051:15;;-1:-1:-1;;;45051:15:0;;;;;;;;;;;44987:79;45806:11:::1;45799:4;;:18;;;;:::i;:::-;45786:9;:32;45782:64;;;45827:19;;-1:-1:-1::0;;;45827:19:0::1;;;;;;;;;;;45782:64;45853:34;45863:10;45875:11;45853:9;:34::i;20406:308::-:0;-1:-1:-1;;;;;20505:31:0;;36233:10;20505:31;20501:61;;;20545:17;;-1:-1:-1;;;20545:17:0;;;;;;;;;;;20501:61;36233:10;20575:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20575:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20575:60:0;;;;;;;;;;20651:55;;7175:41:1;;;20575:49:0;;36233:10;20651:55;;7148:18:1;20651:55:0;;;;;;;20406:308;;:::o;46454:130::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46538:18:::1;:40:::0;46454:130::o;21513:396::-;21680:28;21690:4;21696:2;21700:7;21680:9;:28::i;:::-;-1:-1:-1;;;;;21723:14:0;;;:19;21719:183;;21762:56;21793:4;21799:2;21803:7;21812:5;21762:30;:56::i;:::-;21757:145;;21846:40;;-1:-1:-1;;;21846:40:0;;;;;;;;;;;21757:145;21513:396;;;;:::o;46034:98::-;46077:4;46113:13;;46097;46021:1;12369:12;12156:7;12353:13;:28;-1:-1:-1;;12353:46:0;;12103:315;46097:13;:29;46090:36;;46034:98;:::o;47116:258::-;47215:13;47245:17;47253:8;47245:7;:17::i;:::-;47240:46;;47271:15;;-1:-1:-1;;;47271:15:0;;;;;;;;;;;47240:46;47326:10;:8;:10::i;:::-;47338:19;:8;:17;:19::i;:::-;47309:58;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47295:73;;47116:258;;;:::o;46592:81::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46657:10:::1;::::0;;-1:-1:-1;;46643:24:0;::::1;46657:10;::::0;;::::1;46656:11;46643:24;::::0;;46592:81::o;45088:248::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;45208:8:::1;45227:102;45237:20;::::0;::::1;::::0;-1:-1:-1;45227:102:0::1;;;45279:38;45289:9;;45299:1;45289:12;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;45303:10;;45314:1;45303:13;;;;;;;;;:::i;:::-;;;;;;;45279:9;:38::i;:::-;45259:3;::::0;::::1;:::i;:::-;;;45227:102;;;45197:139;45088:248:::0;;;;:::o;46138:127::-;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;46226:33:::1;46236:9;46247:11;46226:9;:33::i;43311:201::-:0;42475:6;;-1:-1:-1;;;;;42475:6:0;36233:10;42622:23;42614:68;;;;-1:-1:-1;;;42614:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43400:22:0;::::1;43392:73;;;::::0;-1:-1:-1;;;43392:73:0;;7653:2:1;43392:73:0::1;::::0;::::1;7635:21:1::0;7692:2;7672:18;;;7665:30;7731:34;7711:18;;;7704:62;-1:-1:-1;;;7782:18:1;;;7775:36;7828:19;;43392:73:0::1;7451:402:1::0;43392:73:0::1;43476:28;43495:8;43476:18;:28::i;22164:273::-:0;22221:4;22277:7;46021:1;22258:26;;:66;;;;;22311:13;;22301:7;:23;22258:66;:152;;;;-1:-1:-1;;22362:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22362:43:0;:48;;22164:273::o;15366:1129::-;15433:7;15468;;46021:1;15517:23;15513:915;;15570:13;;15563:4;:20;15559:869;;;15608:14;15625:23;;;:17;:23;;;;;;-1:-1:-1;;;15714:23:0;;15710:699;;16233:113;16240:11;16233:113;;-1:-1:-1;;;16311:6:0;16293:25;;;;:17;:25;;;;;;16233:113;;;16379:6;15366:1129;-1:-1:-1;;;15366:1129:0:o;15710:699::-;15585:843;15559:869;16456:31;;-1:-1:-1;;;16456:31:0;;;;;;;;;;;27403:2515;27518:27;27548;27567:7;27548:18;:27::i;:::-;27518:57;;27633:4;-1:-1:-1;;;;;27592:45:0;27608:19;-1:-1:-1;;;;;27592:45:0;;27588:86;;27646:28;;-1:-1:-1;;;27646:28:0;;;;;;;;;;;27588:86;27687:22;36233:10;-1:-1:-1;;;;;27713:27:0;;;;:87;;-1:-1:-1;27757:43:0;27774:4;36233:10;20785:164;:::i;27757:43::-;27713:147;;;-1:-1:-1;36233:10:0;27817:20;27829:7;27817:11;:20::i;:::-;-1:-1:-1;;;;;27817:43:0;;27713:147;27687:174;;27879:17;27874:66;;27905:35;;-1:-1:-1;;;27905:35:0;;;;;;;;;;;27874:66;-1:-1:-1;;;;;27955:16:0;;27951:52;;27980:23;;-1:-1:-1;;;27980:23:0;;;;;;;;;;;27951:52;28132:24;;;;:15;:24;;;;;;;;28125:31;;-1:-1:-1;;;;;;28125:31:0;;;-1:-1:-1;;;;;28524:24:0;;;;;:18;:24;;;;;28522:26;;-1:-1:-1;;28522:26:0;;;28593:22;;;;;;;28591:24;;-1:-1:-1;28591:24:0;;;28886:26;;;:17;:26;;;;;-1:-1:-1;;;28974:15:0;9721:3;28974:41;28932:84;;:128;;28886:174;;;29180:46;;29176:626;;29284:1;29274:11;;29252:19;29407:30;;;:17;:30;;;;;;29403:384;;29545:13;;29530:11;:28;29526:242;;29692:30;;;;:17;:30;;;;;:52;;;29526:242;29233:569;29176:626;29849:7;29845:2;-1:-1:-1;;;;;29830:27:0;29839:4;-1:-1:-1;;;;;29830:27:0;;;;;;;;;;;29868:42;21513:396;43672:191;43765:6;;;-1:-1:-1;;;;;43782:17:0;;;-1:-1:-1;;;;;;43782:17:0;;;;;;;43815:40;;43765:6;;;43782:17;43765:6;;43815:40;;43746:16;;43815:40;43735:128;43672:191;:::o;22521:104::-;22590:27;22600:2;22604:8;22590:27;;;;;;;;;;;;:9;:27::i;33615:716::-;33799:88;;-1:-1:-1;;;33799:88:0;;33778:4;;-1:-1:-1;;;;;33799:45:0;;;;;:88;;36233:10;;33866:4;;33872:7;;33881:5;;33799:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33799:88:0;;;;;;;;-1:-1:-1;;33799:88:0;;;;;;;;;;;;:::i;:::-;;;33795:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34082:13:0;;34078:235;;34128:40;;-1:-1:-1;;;34128:40:0;;;;;;;;;;;34078:235;34271:6;34265:13;34256:6;34252:2;34248:15;34241:38;33795:529;-1:-1:-1;;;;;;33958:64:0;-1:-1:-1;;;33958:64:0;;-1:-1:-1;33795:529:0;33615:716;;;;;;:::o;46896:108::-;46956:13;46985;46978:20;;;;;:::i;38688:723::-;38744:13;38965:10;38961:53;;-1:-1:-1;;38992:10:0;;;;;;;;;;;;-1:-1:-1;;;38992:10:0;;;;;38688:723::o;38961:53::-;39039:5;39024:12;39080:78;39087:9;;39080:78;;39113:8;;;;:::i;:::-;;-1:-1:-1;39136:10:0;;-1:-1:-1;39144:2:0;39136:10;;:::i;:::-;;;39080:78;;;39168:19;39200:6;39190:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39190:17:0;;39168:39;;39218:154;39225:10;;39218:154;;39252:11;39262:1;39252:11;;:::i;:::-;;-1:-1:-1;39321:10:0;39329:2;39321:5;:10;:::i;:::-;39308:24;;:2;:24;:::i;:::-;39295:39;;39278:6;39285;39278:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;39278:56:0;;;;;;;;-1:-1:-1;39349:11:0;39358:2;39349:11;;:::i;:::-;;;39218:154;;22998:2236;23121:20;23144:13;-1:-1:-1;;;;;23172:16:0;;23168:48;;23197:19;;-1:-1:-1;;;23197:19:0;;;;;;;;;;;23168:48;23231:13;23227:44;;23253:18;;-1:-1:-1;;;23253:18:0;;;;;;;;;;;23227:44;-1:-1:-1;;;;;23820:22:0;;;;;;:18;:22;;;;9204:2;23820:22;;;:70;;23858:31;23846:44;;23820:70;;;24133:31;;;:17;:31;;;;;24226:15;9721:3;24226:41;24184:84;;-1:-1:-1;24304:13:0;;9984:3;24289:56;24184:162;24133:213;;:31;;24427:23;;;;24471:14;:19;24467:635;;24511:313;24542:38;;24567:12;;-1:-1:-1;;;;;24542:38:0;;;24559:1;;24542:38;;24559:1;;24542:38;24608:69;24647:1;24651:2;24655:14;;;;;;24671:5;24608:30;:69::i;:::-;24603:174;;24713:40;;-1:-1:-1;;;24713:40:0;;;;;;;;;;;24603:174;24819:3;24804:12;:18;24511:313;;24905:12;24888:13;;:29;24884:43;;24919:8;;;24884:43;24467:635;;;24968:119;24999:40;;25024:14;;;;;-1:-1:-1;;;;;24999:40:0;;;25016:1;;24999:40;;25016:1;;24999:40;25082:3;25067:12;:18;24968:119;;24467:635;-1:-1:-1;25116:13:0;:28;;;25166:60;;25199:2;25203:12;25217:8;25166:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;403:18;392:30;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:186::-;623:6;676:2;664:9;655:7;651:23;647:32;644:52;;;692:1;689;682:12;644:52;715:29;734:9;715:29;:::i;755:260::-;823:6;831;884:2;872:9;863:7;859:23;855:32;852:52;;;900:1;897;890:12;852:52;923:29;942:9;923:29;:::i;:::-;913:39;;971:38;1005:2;994:9;990:18;971:38;:::i;:::-;961:48;;755:260;;;;;:::o;1020:328::-;1097:6;1105;1113;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;:::-;1195:39;;1253:38;1287:2;1276:9;1272:18;1253:38;:::i;:::-;1243:48;;1338:2;1327:9;1323:18;1310:32;1300:42;;1020:328;;;;;:::o;1353:1138::-;1448:6;1456;1464;1472;1525:3;1513:9;1504:7;1500:23;1496:33;1493:53;;;1542:1;1539;1532:12;1493:53;1565:29;1584:9;1565:29;:::i;:::-;1555:39;;1613:38;1647:2;1636:9;1632:18;1613:38;:::i;:::-;1603:48;;1698:2;1687:9;1683:18;1670:32;1660:42;;1753:2;1742:9;1738:18;1725:32;1776:18;1817:2;1809:6;1806:14;1803:34;;;1833:1;1830;1823:12;1803:34;1871:6;1860:9;1856:22;1846:32;;1916:7;1909:4;1905:2;1901:13;1897:27;1887:55;;1938:1;1935;1928:12;1887:55;1974:2;1961:16;1996:2;1992;1989:10;1986:36;;;2002:18;;:::i;:::-;2077:2;2071:9;2045:2;2131:13;;-1:-1:-1;;2127:22:1;;;2151:2;2123:31;2119:40;2107:53;;;2175:18;;;2195:22;;;2172:46;2169:72;;;2221:18;;:::i;:::-;2261:10;2257:2;2250:22;2296:2;2288:6;2281:18;2336:7;2331:2;2326;2322;2318:11;2314:20;2311:33;2308:53;;;2357:1;2354;2347:12;2308:53;2413:2;2408;2404;2400:11;2395:2;2387:6;2383:15;2370:46;2458:1;2453:2;2448;2440:6;2436:15;2432:24;2425:35;2479:6;2469:16;;;;;;;1353:1138;;;;;;;:::o;2496:347::-;2561:6;2569;2622:2;2610:9;2601:7;2597:23;2593:32;2590:52;;;2638:1;2635;2628:12;2590:52;2661:29;2680:9;2661:29;:::i;:::-;2651:39;;2740:2;2729:9;2725:18;2712:32;2787:5;2780:13;2773:21;2766:5;2763:32;2753:60;;2809:1;2806;2799:12;2753:60;2832:5;2822:15;;;2496:347;;;;;:::o;2848:254::-;2916:6;2924;2977:2;2965:9;2956:7;2952:23;2948:32;2945:52;;;2993:1;2990;2983:12;2945:52;3016:29;3035:9;3016:29;:::i;:::-;3006:39;3092:2;3077:18;;;;3064:32;;-1:-1:-1;;;2848:254:1:o;3107:773::-;3229:6;3237;3245;3253;3306:2;3294:9;3285:7;3281:23;3277:32;3274:52;;;3322:1;3319;3312:12;3274:52;3362:9;3349:23;3391:18;3432:2;3424:6;3421:14;3418:34;;;3448:1;3445;3438:12;3418:34;3487:70;3549:7;3540:6;3529:9;3525:22;3487:70;:::i;:::-;3576:8;;-1:-1:-1;3461:96:1;-1:-1:-1;3664:2:1;3649:18;;3636:32;;-1:-1:-1;3680:16:1;;;3677:36;;;3709:1;3706;3699:12;3677:36;;3748:72;3812:7;3801:8;3790:9;3786:24;3748:72;:::i;:::-;3107:773;;;;-1:-1:-1;3839:8:1;-1:-1:-1;;;;3107:773:1:o;3885:245::-;3943:6;3996:2;3984:9;3975:7;3971:23;3967:32;3964:52;;;4012:1;4009;4002:12;3964:52;4051:9;4038:23;4070:30;4094:5;4070:30;:::i;4135:249::-;4204:6;4257:2;4245:9;4236:7;4232:23;4228:32;4225:52;;;4273:1;4270;4263:12;4225:52;4305:9;4299:16;4324:30;4348:5;4324:30;:::i;4389:592::-;4460:6;4468;4521:2;4509:9;4500:7;4496:23;4492:32;4489:52;;;4537:1;4534;4527:12;4489:52;4577:9;4564:23;4606:18;4647:2;4639:6;4636:14;4633:34;;;4663:1;4660;4653:12;4633:34;4701:6;4690:9;4686:22;4676:32;;4746:7;4739:4;4735:2;4731:13;4727:27;4717:55;;4768:1;4765;4758:12;4717:55;4808:2;4795:16;4834:2;4826:6;4823:14;4820:34;;;4850:1;4847;4840:12;4820:34;4895:7;4890:2;4881:6;4877:2;4873:15;4869:24;4866:37;4863:57;;;4916:1;4913;4906:12;4863:57;4947:2;4939:11;;;;;4969:6;;-1:-1:-1;4389:592:1;;-1:-1:-1;;;;4389:592:1:o;4986:180::-;5045:6;5098:2;5086:9;5077:7;5073:23;5069:32;5066:52;;;5114:1;5111;5104:12;5066:52;-1:-1:-1;5137:23:1;;4986:180;-1:-1:-1;4986:180:1:o;5171:254::-;5239:6;5247;5300:2;5288:9;5279:7;5275:23;5271:32;5268:52;;;5316:1;5313;5306:12;5268:52;5352:9;5339:23;5329:33;;5381:38;5415:2;5404:9;5400:18;5381:38;:::i;5430:257::-;5471:3;5509:5;5503:12;5536:6;5531:3;5524:19;5552:63;5608:6;5601:4;5596:3;5592:14;5585:4;5578:5;5574:16;5552:63;:::i;:::-;5669:2;5648:15;-1:-1:-1;;5644:29:1;5635:39;;;;5676:4;5631:50;;5430:257;-1:-1:-1;;5430:257:1:o;5692:637::-;5972:3;6010:6;6004:13;6026:53;6072:6;6067:3;6060:4;6052:6;6048:17;6026:53;:::i;:::-;6142:13;;6101:16;;;;6164:57;6142:13;6101:16;6198:4;6186:17;;6164:57;:::i;:::-;-1:-1:-1;;;6243:20:1;;6272:22;;;6321:1;6310:13;;5692:637;-1:-1:-1;;;;5692:637:1:o;6542:488::-;-1:-1:-1;;;;;6811:15:1;;;6793:34;;6863:15;;6858:2;6843:18;;6836:43;6910:2;6895:18;;6888:34;;;6958:3;6953:2;6938:18;;6931:31;;;6736:4;;6979:45;;7004:19;;6996:6;6979:45;:::i;:::-;6971:53;6542:488;-1:-1:-1;;;;;;6542:488:1:o;7227:219::-;7376:2;7365:9;7358:21;7339:4;7396:44;7436:2;7425:9;7421:18;7413:6;7396:44;:::i;7858:356::-;8060:2;8042:21;;;8079:18;;;8072:30;8138:34;8133:2;8118:18;;8111:62;8205:2;8190:18;;7858:356::o;8401:128::-;8441:3;8472:1;8468:6;8465:1;8462:13;8459:39;;;8478:18;;:::i;:::-;-1:-1:-1;8514:9:1;;8401:128::o;8534:120::-;8574:1;8600;8590:35;;8605:18;;:::i;:::-;-1:-1:-1;8639:9:1;;8534:120::o;8659:168::-;8699:7;8765:1;8761;8757:6;8753:14;8750:1;8747:21;8742:1;8735:9;8728:17;8724:45;8721:71;;;8772:18;;:::i;:::-;-1:-1:-1;8812:9:1;;8659:168::o;8832:125::-;8872:4;8900:1;8897;8894:8;8891:34;;;8905:18;;:::i;:::-;-1:-1:-1;8942:9:1;;8832:125::o;8962:258::-;9034:1;9044:113;9058:6;9055:1;9052:13;9044:113;;;9134:11;;;9128:18;9115:11;;;9108:39;9080:2;9073:10;9044:113;;;9175:6;9172:1;9169:13;9166:48;;;-1:-1:-1;;9210:1:1;9192:16;;9185:27;8962:258::o;9225:380::-;9304:1;9300:12;;;;9347;;;9368:61;;9422:4;9414:6;9410:17;9400:27;;9368:61;9475:2;9467:6;9464:14;9444:18;9441:38;9438:161;;;9521:10;9516:3;9512:20;9509:1;9502:31;9556:4;9553:1;9546:15;9584:4;9581:1;9574:15;9438:161;;9225:380;;;:::o;9610:135::-;9649:3;-1:-1:-1;;9670:17:1;;9667:43;;;9690:18;;:::i;:::-;-1:-1:-1;9737:1:1;9726:13;;9610:135::o;9750:201::-;9788:3;9816:10;9861:2;9854:5;9850:14;9888:2;9879:7;9876:15;9873:41;;;9894:18;;:::i;:::-;9943:1;9930:15;;9750:201;-1:-1:-1;;;9750:201:1:o;9956:112::-;9988:1;10014;10004:35;;10019:18;;:::i;:::-;-1:-1:-1;10053:9:1;;9956:112::o;10073:127::-;10134:10;10129:3;10125:20;10122:1;10115:31;10165:4;10162:1;10155:15;10189:4;10186:1;10179:15;10205:127;10266:10;10261:3;10257:20;10254:1;10247:31;10297:4;10294:1;10287:15;10321:4;10318:1;10311:15;10337:127;10398:10;10393:3;10389:20;10386:1;10379:31;10429:4;10426:1;10419:15;10453:4;10450:1;10443:15;10469:127;10530:10;10525:3;10521:20;10518:1;10511:31;10561:4;10558:1;10551:15;10585:4;10582:1;10575:15;10601:131;-1:-1:-1;;;;;;10675:32:1;;10665:43;;10655:71;;10722:1;10719;10712:12

Swarm Source

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