ETH Price: $3,448.35 (+1.46%)

Token

Moonkeys NFT (Moonkey)
 

Overview

Max Total Supply

2,318 Moonkey

Holders

291

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
musk628.eth
Balance
1 Moonkey
0xe99368dce5e8c08ede690628766bdb6c77e36cbd
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:
Moonkeys

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-07-13
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

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

/**
 * @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();
    }
    
    function _setName(string memory name_) internal {
        _name = name_;
    }
    
    function _setSymbol(string memory symbol_) internal {
        _symbol = symbol_;
    }

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
/**
 * @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;
    }
}


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
/**
 * @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);
    }
}


// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @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);
    }
}


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

        return account.code.length > 0;
    }

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

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

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

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

contract Moonkeys is ERC721A, Ownable {
    using Address for address;
    using Strings for uint256;

    uint256 private maxTokens;
    uint256 private _maxFreeMints;

    uint256 private _currentFreeMints;

    bool private _saleEnabled = false;
    bool private _freeMintEnabled = false;
    
    string private _contractURI;
    string  private _baseTokenURI;

    uint256 price = 1 ether;

    mapping (address => uint256) freeMints;

    
    constructor(uint256 maxTokens_, bool saleEnabled_, bool freeMintEnabled_, string memory baseURI_, uint256 maxFreeMints_, uint256 price_) ERC721A("Moonkeys NFT","Moonkey") {
        maxTokens = maxTokens_;
        _saleEnabled = saleEnabled_;
        _freeMintEnabled = freeMintEnabled_;
        _baseTokenURI = baseURI_;
        _maxFreeMints = maxFreeMints_;
        price = price_;
    }
    

    function hasFreeMint(address target) public view returns(bool){
        return _freeMintEnabled && freeMints[target] < 1 && _currentFreeMints < _maxFreeMints;
    }
    
    function freeMintEnabled() external view returns(bool){
        return _freeMintEnabled;
    }

    function freeMintSet(bool v) external onlyOwner {
        _freeMintEnabled = v;
    }
    

    function saleEnabled() external view returns(bool){
        return _saleEnabled;
    }

    function saleSet(bool v) external onlyOwner {
        _saleEnabled = v;
    }


    function getMaxTokens()  external view returns(uint256) {
        return maxTokens;
    }


    function totalSupply() public view override returns(uint256) {
        return _totalMinted();
    }
    
    
    function setPrice(uint256 price_) external onlyOwner {
        price = price_;
    }

    function setMaxTokens(uint256 _maxTokens) external onlyOwner {
        maxTokens = _maxTokens;
    }

    function setMaxFreeMints(uint256 maxFreeMints_) external onlyOwner {
        _maxFreeMints = maxFreeMints_;
    }


    function mints(address _to, uint256 amount) external onlyOwner {
        require(tokensAvailable() >= amount, "Max tokens reached");
        _safeMint(_to, amount);
    }
    

    function claim(uint256 amount) external payable {
        require(_saleEnabled, "Mint off");
        require(msg.value >= amount*price, "Insufficient value to mint");
        require(tokensAvailable() >= amount, "Max tokens reached");
        _safeMint(msg.sender, amount);
    }


    function mint() external {
        require(_freeMintEnabled, "Mint is off");
        require(freeMints[msg.sender] < 1, "You have already received free token");
        require(tokensAvailable() > 0, "Mint is off");
        require(_currentFreeMints < _maxFreeMints, "You have already received free token");
        _safeMint(msg.sender, 1);
        freeMints[msg.sender] += 1;
        _currentFreeMints += 1;
    }
    

    function contractURI() public view returns (string memory) {
    	return _contractURI;
    }
    
    function withdraw() external onlyOwner
    {
        Address.sendValue(payable(msg.sender), address(this).balance);
    }

    function tokensAvailable() public view returns (uint256) {
        return maxTokens - _totalMinted();
    }

    function currentFreeMints() public view returns (uint256) {
        return _maxFreeMints - _currentFreeMints;
    }

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

    function setBaseURI(string memory uri) external onlyOwner {
        _baseTokenURI = uri;
    }
    
    function setContractURI(string memory uri) external onlyOwner {
        _contractURI = uri;
    }
    
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : "";
    }

    function URI(uint256 tokenId) external view virtual returns (string memory) {
        return tokenURI(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"maxTokens_","type":"uint256"},{"internalType":"bool","name":"saleEnabled_","type":"bool"},{"internalType":"bool","name":"freeMintEnabled_","type":"bool"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"uint256","name":"maxFreeMints_","type":"uint256"},{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"nonpayable","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":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"URI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"v","type":"bool"}],"name":"freeMintSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"hasFreeMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mints","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":"saleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"v","type":"bool"}],"name":"saleSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxFreeMints_","type":"uint256"}],"name":"setMaxFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokens","type":"uint256"}],"name":"setMaxTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]

6080604052600c805461ffff19169055670de0b6b3a7640000600f553480156200002857600080fd5b5060405162002152380380620021528339810160408190526200004b916200021f565b604080518082018252600c81526b135bdbdb9ad95e5cc813919560a21b6020808301918252835180850190945260078452664d6f6f6e6b657960c81b9084015281519192916200009e9160029162000163565b508051620000b490600390602084019062000163565b50506000805550620000c63362000111565b6009869055600c805461ffff191686151561ff00191617610100861515021790558251620000fc90600e90602086019062000163565b50600a91909155600f55506200039292505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000171906200033f565b90600052602060002090601f016020900481019282620001955760008555620001e0565b82601f10620001b057805160ff1916838001178555620001e0565b82800160010185558215620001e0579182015b82811115620001e0578251825591602001919060010190620001c3565b50620001ee929150620001f2565b5090565b5b80821115620001ee5760008155600101620001f3565b805180151581146200021a57600080fd5b919050565b60008060008060008060c087890312156200023957600080fd5b8651955060206200024c81890162000209565b95506200025c6040890162000209565b60608901519095506001600160401b03808211156200027a57600080fd5b818a0191508a601f8301126200028f57600080fd5b815181811115620002a457620002a46200037c565b604051601f8201601f19908116603f01168101908382118183101715620002cf57620002cf6200037c565b816040528281528d86848701011115620002e857600080fd5b600093505b828410156200030c5784840186015181850187015292850192620002ed565b828411156200031e5760008684830101525b8098505050505050506080870151915060a087015190509295509295509295565b600181811c908216806200035457607f821691505b602082108114156200037657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611db080620003a26000396000f3fe60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063d5cde1f21161006f578063d5cde1f2146105c8578063e8a3d485146105e8578063e985e9c5146105fd578063f2fde38b14610646578063fb374db61461066657600080fd5b806395d89b4114610553578063a22cb46514610568578063b88d4fde14610588578063c87b56dd146105a857600080fd5b806371b9b646116100e757806371b9b646146104bd5780638da5cb5b146104d5578063901e1c01146104f357806391b7f5ed14610513578063938e3d7b1461053357600080fd5b80636352211e146104535780636abcded11461047357806370a0823114610488578063715018a6146104a857600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103c1578063522680e0146103e157806355f804b31461040157806360659a921461042157806362ad68aa1461043657600080fd5b806323b872dd14610359578063379607f5146103795780633ccfd60b1461038c578063407043fc146103a157600080fd5b80630bedd3a7116101e25780630bedd3a7146102c557806311e776fe146102e55780631249c58b1461030557806318160ddd1461031a5780631dcee4251461033957600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611a44565b61067b565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106cd565b6040516102409190611b88565b34801561027757600080fd5b5061028b610286366004611ac7565b61075f565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046119ff565b6107a3565b005b3480156102d157600080fd5b506102c36102e03660046119ff565b610876565b3480156102f157600080fd5b506102c3610300366004611ac7565b610903565b34801561031157600080fd5b506102c3610932565b34801561032657600080fd5b506000545b604051908152602001610240565b34801561034557600080fd5b506102c3610354366004611a29565b610a5f565b34801561036557600080fd5b506102c361037436600461191d565b610a9c565b6102c3610387366004611ac7565b610aac565b34801561039857600080fd5b506102c3610b9e565b3480156103ad57600080fd5b506102c36103bc366004611ac7565b610bd4565b3480156103cd57600080fd5b506102c36103dc36600461191d565b610c03565b3480156103ed57600080fd5b506102c36103fc366004611a29565b610c1e565b34801561040d57600080fd5b506102c361041c366004611a7e565b610c62565b34801561042d57600080fd5b5061032b610c9f565b34801561044257600080fd5b50600c54610100900460ff16610234565b34801561045f57600080fd5b5061028b61046e366004611ac7565b610cb0565b34801561047f57600080fd5b5060095461032b565b34801561049457600080fd5b5061032b6104a33660046118cf565b610cbb565b3480156104b457600080fd5b506102c3610d0a565b3480156104c957600080fd5b50600c5460ff16610234565b3480156104e157600080fd5b506008546001600160a01b031661028b565b3480156104ff57600080fd5b5061025e61050e366004611ac7565b610d3e565b34801561051f57600080fd5b506102c361052e366004611ac7565b610d49565b34801561053f57600080fd5b506102c361054e366004611a7e565b610d78565b34801561055f57600080fd5b5061025e610db5565b34801561057457600080fd5b506102c36105833660046119d5565b610dc4565b34801561059457600080fd5b506102c36105a3366004611959565b610e5a565b3480156105b457600080fd5b5061025e6105c3366004611ac7565b610ea4565b3480156105d457600080fd5b506102346105e33660046118cf565b610f6f565b3480156105f457600080fd5b5061025e610fb5565b34801561060957600080fd5b506102346106183660046118ea565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065257600080fd5b506102c36106613660046118cf565b610fc4565b34801561067257600080fd5b5061032b61105c565b60006301ffc9a760e01b6001600160e01b0319831614806106ac57506380ac58cd60e01b6001600160e01b03198316145b806106c75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106dc90611ca2565b80601f016020809104026020016040519081016040528092919081815260200182805461070890611ca2565b80156107555780601f1061072a57610100808354040283529160200191610755565b820191906000526020600020905b81548152906001019060200180831161073857829003601f168201915b5050505050905090565b600061076a8261106e565b610787576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107ae82611095565b9050806001600160a01b0316836001600160a01b031614156107e35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461081a576107fd8133610618565b61081a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108a95760405162461bcd60e51b81526004016108a090611bdf565b60405180910390fd5b806108b2610c9f565b10156108f55760405162461bcd60e51b815260206004820152601260248201527113585e081d1bdad95b9cc81c995858da195960721b60448201526064016108a0565b6108ff82826110f6565b5050565b6008546001600160a01b0316331461092d5760405162461bcd60e51b81526004016108a090611bdf565b600955565b600c54610100900460ff166109775760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b60448201526064016108a0565b336000908152601060205260409020546001116109a65760405162461bcd60e51b81526004016108a090611b9b565b60006109b0610c9f565b116109eb5760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b60448201526064016108a0565b600a54600b5410610a0e5760405162461bcd60e51b81526004016108a090611b9b565b610a193360016110f6565b336000908152601060205260408120805460019290610a39908490611c14565b925050819055506001600b6000828254610a539190611c14565b9091555050565b905090565b6008546001600160a01b03163314610a895760405162461bcd60e51b81526004016108a090611bdf565b600c805460ff1916911515919091179055565b610aa7838383611110565b505050565b600c5460ff16610ae95760405162461bcd60e51b815260206004820152600860248201526726b4b73a1037b33360c11b60448201526064016108a0565b600f54610af69082611c40565b341015610b455760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742076616c756520746f206d696e7400000000000060448201526064016108a0565b80610b4e610c9f565b1015610b915760405162461bcd60e51b815260206004820152601260248201527113585e081d1bdad95b9cc81c995858da195960721b60448201526064016108a0565b610b9b33826110f6565b50565b6008546001600160a01b03163314610bc85760405162461bcd60e51b81526004016108a090611bdf565b610bd233476112b3565b565b6008546001600160a01b03163314610bfe5760405162461bcd60e51b81526004016108a090611bdf565b600a55565b610aa783838360405180602001604052806000815250610e5a565b6008546001600160a01b03163314610c485760405162461bcd60e51b81526004016108a090611bdf565b600c80549115156101000261ff0019909216919091179055565b6008546001600160a01b03163314610c8c5760405162461bcd60e51b81526004016108a090611bdf565b80516108ff90600e906020840190611794565b60008054600954610a5a9190611c5f565b60006106c782611095565b60006001600160a01b038216610ce4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d345760405162461bcd60e51b81526004016108a090611bdf565b610bd260006113cc565b60606106c782610ea4565b6008546001600160a01b03163314610d735760405162461bcd60e51b81526004016108a090611bdf565b600f55565b6008546001600160a01b03163314610da25760405162461bcd60e51b81526004016108a090611bdf565b80516108ff90600d906020840190611794565b6060600380546106dc90611ca2565b6001600160a01b038216331415610dee5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e65848484611110565b6001600160a01b0383163b15610e9e57610e818484848461141e565b610e9e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610eaf8261106e565b610f135760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a0565b6000610f1d611516565b90506000815111610f3d5760405180602001604052806000815250610f68565b80610f4784611525565b604051602001610f58929190611b0c565b6040516020818303038152906040525b9392505050565b600c54600090610100900460ff168015610fa157506001600160a01b0382166000908152601060205260409020546001115b80156106c75750600a54600b541092915050565b6060600d80546106dc90611ca2565b6008546001600160a01b03163314610fee5760405162461bcd60e51b81526004016108a090611bdf565b6001600160a01b0381166110535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a0565b610b9b816113cc565b6000600b54600a54610a5a9190611c5f565b60008054821080156106c7575050600090815260046020526040902054600160e01b161590565b6000816000548110156110dd57600081815260046020526040902054600160e01b81166110db575b80610f685750600019016000818152600460205260409020546110bd565b505b604051636f96cda160e11b815260040160405180910390fd5b6108ff828260405180602001604052806000815250611623565b600061111b82611095565b9050836001600160a01b0316816001600160a01b03161461114e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061116c575061116c8533610618565b8061118757503361117c8461075f565b6001600160a01b0316145b9050806111a757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166111ce57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661126b57600183016000818152600460205260409020546112695760005481146112695760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b804710156113035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b5050905080610aa75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611453903390899088908890600401611b4b565b602060405180830381600087803b15801561146d57600080fd5b505af192505050801561149d575060408051601f3d908101601f1916820190925261149a91810190611a61565b60015b6114f8573d8080156114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b5080516114f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e80546106dc90611ca2565b6060816115495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611573578061155d81611cdd565b915061156c9050600a83611c2c565b915061154d565b60008167ffffffffffffffff81111561158e5761158e611d4e565b6040519080825280601f01601f1916602001820160405280156115b8576020820181803683370190505b5090505b841561150e576115cd600183611c5f565b91506115da600a86611cf8565b6115e5906030611c14565b60f81b8183815181106115fa576115fa611d38565b60200101906001600160f81b031916908160001a90535061161c600a86611c2c565b94506115bc565b6000546001600160a01b03841661164c57604051622e076360e81b815260040160405180910390fd5b8261166a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561173f575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611708600087848060010195508761141e565b611725576040516368d2bf6b60e11b815260040160405180910390fd5b8082106116bd57826000541461173a57600080fd5b611784565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611740575b506000908155610e9e9085838684565b8280546117a090611ca2565b90600052602060002090601f0160209004810192826117c25760008555611808565b82601f106117db57805160ff1916838001178555611808565b82800160010185558215611808579182015b828111156118085782518255916020019190600101906117ed565b50611814929150611818565b5090565b5b808211156118145760008155600101611819565b600067ffffffffffffffff8084111561184857611848611d4e565b604051601f8501601f19908116603f0116810190828211818310171561187057611870611d4e565b8160405280935085815286868601111561188957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146118ba57600080fd5b919050565b803580151581146118ba57600080fd5b6000602082840312156118e157600080fd5b610f68826118a3565b600080604083850312156118fd57600080fd5b611906836118a3565b9150611914602084016118a3565b90509250929050565b60008060006060848603121561193257600080fd5b61193b846118a3565b9250611949602085016118a3565b9150604084013590509250925092565b6000806000806080858703121561196f57600080fd5b611978856118a3565b9350611986602086016118a3565b925060408501359150606085013567ffffffffffffffff8111156119a957600080fd5b8501601f810187136119ba57600080fd5b6119c98782356020840161182d565b91505092959194509250565b600080604083850312156119e857600080fd5b6119f1836118a3565b9150611914602084016118bf565b60008060408385031215611a1257600080fd5b611a1b836118a3565b946020939093013593505050565b600060208284031215611a3b57600080fd5b610f68826118bf565b600060208284031215611a5657600080fd5b8135610f6881611d64565b600060208284031215611a7357600080fd5b8151610f6881611d64565b600060208284031215611a9057600080fd5b813567ffffffffffffffff811115611aa757600080fd5b8201601f81018413611ab857600080fd5b61150e8482356020840161182d565b600060208284031215611ad957600080fd5b5035919050565b60008151808452611af8816020860160208601611c76565b601f01601f19169290920160200192915050565b60008351611b1e818460208801611c76565b835190830190611b32818360208801611c76565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b7e90830184611ae0565b9695505050505050565b602081526000610f686020830184611ae0565b60208082526024908201527f596f75206861766520616c72656164792072656365697665642066726565207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c2757611c27611d0c565b500190565b600082611c3b57611c3b611d22565b500490565b6000816000190483118215151615611c5a57611c5a611d0c565b500290565b600082821015611c7157611c71611d0c565b500390565b60005b83811015611c91578181015183820152602001611c79565b83811115610e9e5750506000910152565b600181811c90821680611cb657607f821691505b60208210811415611cd757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cf157611cf1611d0c565b5060010190565b600082611d0757611d07611d22565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9b57600080fdfea264697066735822122049348c6c41e8e7d2bc60f713b5ed140fa5610f477858e3bbef50a63af08ffde764736f6c634300080700330000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696778696664737133773461347068767475366c343561616269616e3374766c72337864356163797a716f3567746c7a33646a37342f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063d5cde1f21161006f578063d5cde1f2146105c8578063e8a3d485146105e8578063e985e9c5146105fd578063f2fde38b14610646578063fb374db61461066657600080fd5b806395d89b4114610553578063a22cb46514610568578063b88d4fde14610588578063c87b56dd146105a857600080fd5b806371b9b646116100e757806371b9b646146104bd5780638da5cb5b146104d5578063901e1c01146104f357806391b7f5ed14610513578063938e3d7b1461053357600080fd5b80636352211e146104535780636abcded11461047357806370a0823114610488578063715018a6146104a857600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103c1578063522680e0146103e157806355f804b31461040157806360659a921461042157806362ad68aa1461043657600080fd5b806323b872dd14610359578063379607f5146103795780633ccfd60b1461038c578063407043fc146103a157600080fd5b80630bedd3a7116101e25780630bedd3a7146102c557806311e776fe146102e55780631249c58b1461030557806318160ddd1461031a5780631dcee4251461033957600080fd5b806301ffc9a71461021457806306fdde0314610249578063081812fc1461026b578063095ea7b3146102a3575b600080fd5b34801561022057600080fd5b5061023461022f366004611a44565b61067b565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025e6106cd565b6040516102409190611b88565b34801561027757600080fd5b5061028b610286366004611ac7565b61075f565b6040516001600160a01b039091168152602001610240565b3480156102af57600080fd5b506102c36102be3660046119ff565b6107a3565b005b3480156102d157600080fd5b506102c36102e03660046119ff565b610876565b3480156102f157600080fd5b506102c3610300366004611ac7565b610903565b34801561031157600080fd5b506102c3610932565b34801561032657600080fd5b506000545b604051908152602001610240565b34801561034557600080fd5b506102c3610354366004611a29565b610a5f565b34801561036557600080fd5b506102c361037436600461191d565b610a9c565b6102c3610387366004611ac7565b610aac565b34801561039857600080fd5b506102c3610b9e565b3480156103ad57600080fd5b506102c36103bc366004611ac7565b610bd4565b3480156103cd57600080fd5b506102c36103dc36600461191d565b610c03565b3480156103ed57600080fd5b506102c36103fc366004611a29565b610c1e565b34801561040d57600080fd5b506102c361041c366004611a7e565b610c62565b34801561042d57600080fd5b5061032b610c9f565b34801561044257600080fd5b50600c54610100900460ff16610234565b34801561045f57600080fd5b5061028b61046e366004611ac7565b610cb0565b34801561047f57600080fd5b5060095461032b565b34801561049457600080fd5b5061032b6104a33660046118cf565b610cbb565b3480156104b457600080fd5b506102c3610d0a565b3480156104c957600080fd5b50600c5460ff16610234565b3480156104e157600080fd5b506008546001600160a01b031661028b565b3480156104ff57600080fd5b5061025e61050e366004611ac7565b610d3e565b34801561051f57600080fd5b506102c361052e366004611ac7565b610d49565b34801561053f57600080fd5b506102c361054e366004611a7e565b610d78565b34801561055f57600080fd5b5061025e610db5565b34801561057457600080fd5b506102c36105833660046119d5565b610dc4565b34801561059457600080fd5b506102c36105a3366004611959565b610e5a565b3480156105b457600080fd5b5061025e6105c3366004611ac7565b610ea4565b3480156105d457600080fd5b506102346105e33660046118cf565b610f6f565b3480156105f457600080fd5b5061025e610fb5565b34801561060957600080fd5b506102346106183660046118ea565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561065257600080fd5b506102c36106613660046118cf565b610fc4565b34801561067257600080fd5b5061032b61105c565b60006301ffc9a760e01b6001600160e01b0319831614806106ac57506380ac58cd60e01b6001600160e01b03198316145b806106c75750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106dc90611ca2565b80601f016020809104026020016040519081016040528092919081815260200182805461070890611ca2565b80156107555780601f1061072a57610100808354040283529160200191610755565b820191906000526020600020905b81548152906001019060200180831161073857829003601f168201915b5050505050905090565b600061076a8261106e565b610787576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006107ae82611095565b9050806001600160a01b0316836001600160a01b031614156107e35760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461081a576107fd8133610618565b61081a576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6008546001600160a01b031633146108a95760405162461bcd60e51b81526004016108a090611bdf565b60405180910390fd5b806108b2610c9f565b10156108f55760405162461bcd60e51b815260206004820152601260248201527113585e081d1bdad95b9cc81c995858da195960721b60448201526064016108a0565b6108ff82826110f6565b5050565b6008546001600160a01b0316331461092d5760405162461bcd60e51b81526004016108a090611bdf565b600955565b600c54610100900460ff166109775760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b60448201526064016108a0565b336000908152601060205260409020546001116109a65760405162461bcd60e51b81526004016108a090611b9b565b60006109b0610c9f565b116109eb5760405162461bcd60e51b815260206004820152600b60248201526a26b4b73a1034b99037b33360a91b60448201526064016108a0565b600a54600b5410610a0e5760405162461bcd60e51b81526004016108a090611b9b565b610a193360016110f6565b336000908152601060205260408120805460019290610a39908490611c14565b925050819055506001600b6000828254610a539190611c14565b9091555050565b905090565b6008546001600160a01b03163314610a895760405162461bcd60e51b81526004016108a090611bdf565b600c805460ff1916911515919091179055565b610aa7838383611110565b505050565b600c5460ff16610ae95760405162461bcd60e51b815260206004820152600860248201526726b4b73a1037b33360c11b60448201526064016108a0565b600f54610af69082611c40565b341015610b455760405162461bcd60e51b815260206004820152601a60248201527f496e73756666696369656e742076616c756520746f206d696e7400000000000060448201526064016108a0565b80610b4e610c9f565b1015610b915760405162461bcd60e51b815260206004820152601260248201527113585e081d1bdad95b9cc81c995858da195960721b60448201526064016108a0565b610b9b33826110f6565b50565b6008546001600160a01b03163314610bc85760405162461bcd60e51b81526004016108a090611bdf565b610bd233476112b3565b565b6008546001600160a01b03163314610bfe5760405162461bcd60e51b81526004016108a090611bdf565b600a55565b610aa783838360405180602001604052806000815250610e5a565b6008546001600160a01b03163314610c485760405162461bcd60e51b81526004016108a090611bdf565b600c80549115156101000261ff0019909216919091179055565b6008546001600160a01b03163314610c8c5760405162461bcd60e51b81526004016108a090611bdf565b80516108ff90600e906020840190611794565b60008054600954610a5a9190611c5f565b60006106c782611095565b60006001600160a01b038216610ce4576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d345760405162461bcd60e51b81526004016108a090611bdf565b610bd260006113cc565b60606106c782610ea4565b6008546001600160a01b03163314610d735760405162461bcd60e51b81526004016108a090611bdf565b600f55565b6008546001600160a01b03163314610da25760405162461bcd60e51b81526004016108a090611bdf565b80516108ff90600d906020840190611794565b6060600380546106dc90611ca2565b6001600160a01b038216331415610dee5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e65848484611110565b6001600160a01b0383163b15610e9e57610e818484848461141e565b610e9e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610eaf8261106e565b610f135760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108a0565b6000610f1d611516565b90506000815111610f3d5760405180602001604052806000815250610f68565b80610f4784611525565b604051602001610f58929190611b0c565b6040516020818303038152906040525b9392505050565b600c54600090610100900460ff168015610fa157506001600160a01b0382166000908152601060205260409020546001115b80156106c75750600a54600b541092915050565b6060600d80546106dc90611ca2565b6008546001600160a01b03163314610fee5760405162461bcd60e51b81526004016108a090611bdf565b6001600160a01b0381166110535760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a0565b610b9b816113cc565b6000600b54600a54610a5a9190611c5f565b60008054821080156106c7575050600090815260046020526040902054600160e01b161590565b6000816000548110156110dd57600081815260046020526040902054600160e01b81166110db575b80610f685750600019016000818152600460205260409020546110bd565b505b604051636f96cda160e11b815260040160405180910390fd5b6108ff828260405180602001604052806000815250611623565b600061111b82611095565b9050836001600160a01b0316816001600160a01b03161461114e5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061116c575061116c8533610618565b8061118757503361117c8461075f565b6001600160a01b0316145b9050806111a757604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166111ce57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b86178117909155821661126b57600183016000818152600460205260409020546112695760005481146112695760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b804710156113035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a0565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611350576040519150601f19603f3d011682016040523d82523d6000602084013e611355565b606091505b5050905080610aa75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611453903390899088908890600401611b4b565b602060405180830381600087803b15801561146d57600080fd5b505af192505050801561149d575060408051601f3d908101601f1916820190925261149a91810190611a61565b60015b6114f8573d8080156114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b5080516114f0576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e80546106dc90611ca2565b6060816115495750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611573578061155d81611cdd565b915061156c9050600a83611c2c565b915061154d565b60008167ffffffffffffffff81111561158e5761158e611d4e565b6040519080825280601f01601f1916602001820160405280156115b8576020820181803683370190505b5090505b841561150e576115cd600183611c5f565b91506115da600a86611cf8565b6115e5906030611c14565b60f81b8183815181106115fa576115fa611d38565b60200101906001600160f81b031916908160001a90535061161c600a86611c2c565b94506115bc565b6000546001600160a01b03841661164c57604051622e076360e81b815260040160405180910390fd5b8261166a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561173f575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611708600087848060010195508761141e565b611725576040516368d2bf6b60e11b815260040160405180910390fd5b8082106116bd57826000541461173a57600080fd5b611784565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611740575b506000908155610e9e9085838684565b8280546117a090611ca2565b90600052602060002090601f0160209004810192826117c25760008555611808565b82601f106117db57805160ff1916838001178555611808565b82800160010185558215611808579182015b828111156118085782518255916020019190600101906117ed565b50611814929150611818565b5090565b5b808211156118145760008155600101611819565b600067ffffffffffffffff8084111561184857611848611d4e565b604051601f8501601f19908116603f0116810190828211818310171561187057611870611d4e565b8160405280935085815286868601111561188957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146118ba57600080fd5b919050565b803580151581146118ba57600080fd5b6000602082840312156118e157600080fd5b610f68826118a3565b600080604083850312156118fd57600080fd5b611906836118a3565b9150611914602084016118a3565b90509250929050565b60008060006060848603121561193257600080fd5b61193b846118a3565b9250611949602085016118a3565b9150604084013590509250925092565b6000806000806080858703121561196f57600080fd5b611978856118a3565b9350611986602086016118a3565b925060408501359150606085013567ffffffffffffffff8111156119a957600080fd5b8501601f810187136119ba57600080fd5b6119c98782356020840161182d565b91505092959194509250565b600080604083850312156119e857600080fd5b6119f1836118a3565b9150611914602084016118bf565b60008060408385031215611a1257600080fd5b611a1b836118a3565b946020939093013593505050565b600060208284031215611a3b57600080fd5b610f68826118bf565b600060208284031215611a5657600080fd5b8135610f6881611d64565b600060208284031215611a7357600080fd5b8151610f6881611d64565b600060208284031215611a9057600080fd5b813567ffffffffffffffff811115611aa757600080fd5b8201601f81018413611ab857600080fd5b61150e8482356020840161182d565b600060208284031215611ad957600080fd5b5035919050565b60008151808452611af8816020860160208601611c76565b601f01601f19169290920160200192915050565b60008351611b1e818460208801611c76565b835190830190611b32818360208801611c76565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b7e90830184611ae0565b9695505050505050565b602081526000610f686020830184611ae0565b60208082526024908201527f596f75206861766520616c72656164792072656365697665642066726565207460408201526337b5b2b760e11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611c2757611c27611d0c565b500190565b600082611c3b57611c3b611d22565b500490565b6000816000190483118215151615611c5a57611c5a611d0c565b500290565b600082821015611c7157611c71611d0c565b500390565b60005b83811015611c91578181015183820152602001611c79565b83811115610e9e5750506000910152565b600181811c90821680611cb657607f821691505b60208210811415611cd757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611cf157611cf1611d0c565b5060010190565b600082611d0757611d07611d22565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b9b57600080fdfea264697066735822122049348c6c41e8e7d2bc60f713b5ed140fa5610f477858e3bbef50a63af08ffde764736f6c63430008070033

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

0000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696778696664737133773461347068767475366c343561616269616e3374766c72337864356163797a716f3567746c7a33646a37342f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : maxTokens_ (uint256): 3333
Arg [1] : saleEnabled_ (bool): True
Arg [2] : freeMintEnabled_ (bool): True
Arg [3] : baseURI_ (string): ipfs://bafybeigxifdsq3w4a4phvtu6l45aabian3tvlr3xd5acyzqo5gtlz3dj74/
Arg [4] : maxFreeMints_ (uint256): 1000
Arg [5] : price_ (uint256): 5000000000000000

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 0000000000000000000000000000000000000000000000000011c37937e08000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [7] : 697066733a2f2f62616679626569677869666473713377346134706876747536
Arg [8] : 6c343561616269616e3374766c72337864356163797a716f3567746c7a33646a
Arg [9] : 37342f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

52045:4200:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13071:615;;;;;;;;;;-1:-1:-1;13071:615:0;;;;;:::i;:::-;;:::i;:::-;;;6280:14:1;;6273:22;6255:41;;6243:2;6228:18;13071:615:0;;;;;;;;18084:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20152:204::-;;;;;;;;;;-1:-1:-1;20152:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5578:32:1;;;5560:51;;5548:2;5533:18;20152:204:0;5414:203:1;19612:474:0;;;;;;;;;;-1:-1:-1;19612:474:0;;;;;:::i;:::-;;:::i;:::-;;54042:173;;;;;;;;;;-1:-1:-1;54042:173:0;;;;;:::i;:::-;;:::i;53807:102::-;;;;;;;;;;-1:-1:-1;53807:102:0;;;;;:::i;:::-;;:::i;54523:423::-;;;;;;;;;;;;;:::i;53594:101::-;;;;;;;;;;-1:-1:-1;53646:7:0;12773:13;53594:101;;;10429:25:1;;;10417:2;10402:18;53594:101:0;10283:177:1;53404:79:0;;;;;;;;;;-1:-1:-1;53404:79:0;;;;;:::i;:::-;;:::i;21038:170::-;;;;;;;;;;-1:-1:-1;21038:170:0;;;;;:::i;:::-;;:::i;54229:284::-;;;;;;:::i;:::-;;:::i;55066:124::-;;;;;;;;;;;;;:::i;53917:115::-;;;;;;;;;;-1:-1:-1;53917:115:0;;;;;:::i;:::-;;:::i;21279:185::-;;;;;;;;;;-1:-1:-1;21279:185:0;;;;;:::i;:::-;;:::i;53207:87::-;;;;;;;;;;-1:-1:-1;53207:87:0;;;;;:::i;:::-;;:::i;55555:96::-;;;;;;;;;;-1:-1:-1;55555:96:0;;;;;:::i;:::-;;:::i;55198:109::-;;;;;;;;;;;;;:::i;53103:96::-;;;;;;;;;;-1:-1:-1;53175:16:0;;;;;;;53103:96;;17873:144;;;;;;;;;;-1:-1:-1;17873:144:0;;;;;:::i;:::-;;:::i;53493:91::-;;;;;;;;;;-1:-1:-1;53567:9:0;;53493:91;;13750:224;;;;;;;;;;-1:-1:-1;13750:224:0;;;;;:::i;:::-;;:::i;40782:103::-;;;;;;;;;;;;;:::i;53308:88::-;;;;;;;;;;-1:-1:-1;53376:12:0;;;;53308:88;;40131:87;;;;;;;;;;-1:-1:-1;40204:6:0;;-1:-1:-1;;;;;40204:6:0;40131:87;;56123:119;;;;;;;;;;-1:-1:-1;56123:119:0;;;;;:::i;:::-;;:::i;53713:86::-;;;;;;;;;;-1:-1:-1;53713:86:0;;;;;:::i;:::-;;:::i;55663:99::-;;;;;;;;;;-1:-1:-1;55663:99:0;;;;;:::i;:::-;;:::i;18253:104::-;;;;;;;;;;;;;:::i;20428:308::-;;;;;;;;;;-1:-1:-1;20428:308:0;;;;;:::i;:::-;;:::i;21535:396::-;;;;;;;;;;-1:-1:-1;21535:396:0;;;;;:::i;:::-;;:::i;55774:341::-;;;;;;;;;;-1:-1:-1;55774:341:0;;;;;:::i;:::-;;:::i;52925:166::-;;;;;;;;;;-1:-1:-1;52925:166:0;;;;;:::i;:::-;;:::i;54960:94::-;;;;;;;;;;;;;:::i;20807:164::-;;;;;;;;;;-1:-1:-1;20807:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;20928:25:0;;;20904:4;20928:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20807:164;41040:201;;;;;;;;;;-1:-1:-1;41040:201:0;;;;;:::i;:::-;;:::i;55315:117::-;;;;;;;;;;;;;:::i;13071:615::-;13156:4;-1:-1:-1;;;;;;;;;13456:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13533:25:0;;;13456:102;:179;;;-1:-1:-1;;;;;;;;;;13610:25:0;;;13456:179;13436:199;13071:615;-1:-1:-1;;13071:615:0:o;18084:100::-;18138:13;18171:5;18164:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18084:100;:::o;20152:204::-;20220:7;20245:16;20253:7;20245;:16::i;:::-;20240:64;;20270:34;;-1:-1:-1;;;20270:34:0;;;;;;;;;;;20240:64;-1:-1:-1;20324:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20324:24:0;;20152:204::o;19612:474::-;19685:13;19717:27;19736:7;19717:18;:27::i;:::-;19685:61;;19767:5;-1:-1:-1;;;;;19761:11:0;:2;-1:-1:-1;;;;;19761:11:0;;19757:48;;;19781:24;;-1:-1:-1;;;19781:24:0;;;;;;;;;;;19757:48;36255:10;-1:-1:-1;;;;;19822:28:0;;;19818:175;;19870:44;19887:5;36255:10;20807:164;:::i;19870:44::-;19865:128;;19942:35;;-1:-1:-1;;;19942:35:0;;;;;;;;;;;19865:128;20005:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20005:29:0;-1:-1:-1;;;;;20005:29:0;;;;;;;;;20050:28;;20005:24;;20050:28;;;;;;;19674:412;19612:474;;:::o;54042:173::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;;;;;;;;;54145:6:::1;54124:17;:15;:17::i;:::-;:27;;54116:58;;;::::0;-1:-1:-1;;;54116:58:0;;6733:2:1;54116:58:0::1;::::0;::::1;6715:21:1::0;6772:2;6752:18;;;6745:30;-1:-1:-1;;;6791:18:1;;;6784:48;6849:18;;54116:58:0::1;6531:342:1::0;54116:58:0::1;54185:22;54195:3;54200:6;54185:9;:22::i;:::-;54042:173:::0;;:::o;53807:102::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;53879:9:::1;:22:::0;53807:102::o;54523:423::-;54567:16;;;;;;;54559:40;;;;-1:-1:-1;;;54559:40:0;;10145:2:1;54559:40:0;;;10127:21:1;10184:2;10164:18;;;10157:30;-1:-1:-1;;;10203:18:1;;;10196:41;10254:18;;54559:40:0;9943:335:1;54559:40:0;54628:10;54618:21;;;;:9;:21;;;;;;54642:1;-1:-1:-1;54610:74:0;;;;-1:-1:-1;;;54610:74:0;;;;;;;:::i;:::-;54723:1;54703:17;:15;:17::i;:::-;:21;54695:45;;;;-1:-1:-1;;;54695:45:0;;10145:2:1;54695:45:0;;;10127:21:1;10184:2;10164:18;;;10157:30;-1:-1:-1;;;10203:18:1;;;10196:41;10254:18;;54695:45:0;9943:335:1;54695:45:0;54779:13;;54759:17;;:33;54751:82;;;;-1:-1:-1;;;54751:82:0;;;;;;;:::i;:::-;54844:24;54854:10;54866:1;54844:9;:24::i;:::-;54889:10;54879:21;;;;:9;:21;;;;;:26;;54904:1;;54879:21;:26;;54904:1;;54879:26;:::i;:::-;;;;;;;;54937:1;54916:17;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;54523:423:0:o;53673:14::-;53666:21;;53594:101;:::o;53404:79::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;53459:12:::1;:16:::0;;-1:-1:-1;;53459:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;53404:79::o;21038:170::-;21172:28;21182:4;21188:2;21192:7;21172:9;:28::i;:::-;21038:170;;;:::o;54229:284::-;54296:12;;;;54288:33;;;;-1:-1:-1;;;54288:33:0;;9809:2:1;54288:33:0;;;9791:21:1;9848:1;9828:18;;;9821:29;-1:-1:-1;;;9866:18:1;;;9859:38;9914:18;;54288:33:0;9607:331:1;54288:33:0;54360:5;;54353:12;;:6;:12;:::i;:::-;54340:9;:25;;54332:64;;;;-1:-1:-1;;;54332:64:0;;7892:2:1;54332:64:0;;;7874:21:1;7931:2;7911:18;;;7904:30;7970:28;7950:18;;;7943:56;8016:18;;54332:64:0;7690:350:1;54332:64:0;54436:6;54415:17;:15;:17::i;:::-;:27;;54407:58;;;;-1:-1:-1;;;54407:58:0;;6733:2:1;54407:58:0;;;6715:21:1;6772:2;6752:18;;;6745:30;-1:-1:-1;;;6791:18:1;;;6784:48;6849:18;;54407:58:0;6531:342:1;54407:58:0;54476:29;54486:10;54498:6;54476:9;:29::i;:::-;54229:284;:::o;55066:124::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;55121:61:::1;55147:10;55160:21;55121:17;:61::i;:::-;55066:124::o:0;53917:115::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;53995:13:::1;:29:::0;53917:115::o;21279:185::-;21417:39;21434:4;21440:2;21444:7;21417:39;;;;;;;;;;;;:16;:39::i;53207:87::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;53266:16:::1;:20:::0;;;::::1;;;;-1:-1:-1::0;;53266:20:0;;::::1;::::0;;;::::1;::::0;;53207:87::o;55555:96::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;55624:19;;::::1;::::0;:13:::1;::::0;:19:::1;::::0;::::1;::::0;::::1;:::i;55198:109::-:0;55246:7;12773:13;;55273:9;;:26;;;;:::i;17873:144::-;17937:7;17980:27;17999:7;17980:18;:27::i;13750:224::-;13814:7;-1:-1:-1;;;;;13838:19:0;;13834:60;;13866:28;;-1:-1:-1;;;13866:28:0;;;;;;;;;;;13834:60;-1:-1:-1;;;;;;13912:25:0;;;;;:18;:25;;;;;;8898:13;13912:54;;13750:224::o;40782:103::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;40847:30:::1;40874:1;40847:18;:30::i;56123:119::-:0;56184:13;56217:17;56226:7;56217:8;:17::i;53713:86::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;53777:5:::1;:14:::0;53713:86::o;55663:99::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;55736:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;18253:104::-:0;18309:13;18342:7;18335:14;;;;;:::i;20428:308::-;-1:-1:-1;;;;;20527:31:0;;36255:10;20527:31;20523:61;;;20567:17;;-1:-1:-1;;;20567:17:0;;;;;;;;;;;20523:61;36255:10;20597:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20597:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20597:60:0;;;;;;;;;;20673:55;;6255:41:1;;;20597:49:0;;36255:10;20673:55;;6228:18:1;20673:55:0;;;;;;;20428:308;;:::o;21535:396::-;21702:28;21712:4;21718:2;21722:7;21702:9;:28::i;:::-;-1:-1:-1;;;;;21745:14:0;;;:19;21741:183;;21784:56;21815:4;21821:2;21825:7;21834:5;21784:30;:56::i;:::-;21779:145;;21868:40;;-1:-1:-1;;;21868:40:0;;;;;;;;;;;21779:145;21535:396;;;;:::o;55774:341::-;55847:13;55881:16;55889:7;55881;:16::i;:::-;55873:76;;;;-1:-1:-1;;;55873:76:0;;9393:2:1;55873:76:0;;;9375:21:1;9432:2;9412:18;;;9405:30;9471:34;9451:18;;;9444:62;-1:-1:-1;;;9522:18:1;;;9515:45;9577:19;;55873:76:0;9191:411:1;55873:76:0;55960:21;55984:10;:8;:10::i;:::-;55960:34;;56036:1;56018:7;56012:21;:25;:95;;;;;;;;;;;;;;;;;56064:7;56073:18;:7;:16;:18::i;:::-;56047:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56012:95;56005:102;55774:341;-1:-1:-1;;;55774:341:0:o;52925:166::-;53005:16;;52982:4;;53005:16;;;;;:41;;;;-1:-1:-1;;;;;;53025:17:0;;;;;;:9;:17;;;;;;53045:1;-1:-1:-1;53005:41:0;:78;;;;;53070:13;;53050:17;;:33;52998:85;52925:166;-1:-1:-1;;52925:166:0:o;54960:94::-;55004:13;55034:12;55027:19;;;;;:::i;41040:201::-;40204:6;;-1:-1:-1;;;;;40204:6:0;36255:10;40351:23;40343:68;;;;-1:-1:-1;;;40343:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41129:22:0;::::1;41121:73;;;::::0;-1:-1:-1;;;41121:73:0;;7080:2:1;41121:73:0::1;::::0;::::1;7062:21:1::0;7119:2;7099:18;;;7092:30;7158:34;7138:18;;;7131:62;-1:-1:-1;;;7209:18:1;;;7202:36;7255:19;;41121:73:0::1;6878:402:1::0;41121:73:0::1;41205:28;41224:8;41205:18;:28::i;55315:117::-:0;55364:7;55407:17;;55391:13;;:33;;;;:::i;22186:273::-;22243:4;22333:13;;22323:7;:23;22280:152;;;;-1:-1:-1;;22384:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22384:43:0;:48;;22186:273::o;15388:1129::-;15455:7;15490;15592:13;;15585:4;:20;15581:869;;;15630:14;15647:23;;;:17;:23;;;;;;-1:-1:-1;;;15736:23:0;;15732:699;;16255:113;16262:11;16255:113;;-1:-1:-1;;;16333:6:0;16315:25;;;;:17;:25;;;;;;16255:113;;15732:699;15607:843;15581:869;16478:31;;-1:-1:-1;;;16478:31:0;;;;;;;;;;;22543:104;22612:27;22622:2;22626:8;22612:27;;;;;;;;;;;;:9;:27::i;27425:2515::-;27540:27;27570;27589:7;27570:18;:27::i;:::-;27540:57;;27655:4;-1:-1:-1;;;;;27614:45:0;27630:19;-1:-1:-1;;;;;27614:45:0;;27610:86;;27668:28;;-1:-1:-1;;;27668:28:0;;;;;;;;;;;27610:86;27709:22;36255:10;-1:-1:-1;;;;;27735:27:0;;;;:87;;-1:-1:-1;27779:43:0;27796:4;36255:10;20807:164;:::i;27779:43::-;27735:147;;;-1:-1:-1;36255:10:0;27839:20;27851:7;27839:11;:20::i;:::-;-1:-1:-1;;;;;27839:43:0;;27735:147;27709:174;;27901:17;27896:66;;27927:35;;-1:-1:-1;;;27927:35:0;;;;;;;;;;;27896:66;-1:-1:-1;;;;;27977:16:0;;27973:52;;28002:23;;-1:-1:-1;;;28002:23:0;;;;;;;;;;;27973:52;28154:24;;;;:15;:24;;;;;;;;28147:31;;-1:-1:-1;;;;;;28147:31:0;;;-1:-1:-1;;;;;28546:24:0;;;;;:18;:24;;;;;28544:26;;-1:-1:-1;;28544:26:0;;;28615:22;;;;;;;28613:24;;-1:-1:-1;28613:24:0;;;28908:26;;;:17;:26;;;;;-1:-1:-1;;;28996:15:0;9552:3;28996:41;28954:84;;:128;;28908:174;;;29202:46;;29198:626;;29306:1;29296:11;;29274:19;29429:30;;;:17;:30;;;;;;29425:384;;29567:13;;29552:11;:28;29548:242;;29714:30;;;;:17;:30;;;;;:52;;;29548:242;29255:569;29198:626;29871:7;29867:2;-1:-1:-1;;;;;29852:27:0;29861:4;-1:-1:-1;;;;;29852:27:0;;;;;;;;;;;27529:2411;;27425:2515;;;:::o;46036:317::-;46151:6;46126:21;:31;;46118:73;;;;-1:-1:-1;;;46118:73:0;;8674:2:1;46118:73:0;;;8656:21:1;8713:2;8693:18;;;8686:30;8752:31;8732:18;;;8725:59;8801:18;;46118:73:0;8472:353:1;46118:73:0;46205:12;46223:9;-1:-1:-1;;;;;46223:14:0;46245:6;46223:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46204:52;;;46275:7;46267:78;;;;-1:-1:-1;;;46267:78:0;;8247:2:1;46267:78:0;;;8229:21:1;8286:2;8266:18;;;8259:30;8325:34;8305:18;;;8298:62;8396:28;8376:18;;;8369:56;8442:19;;46267:78:0;8045:422:1;41401:191:0;41494:6;;;-1:-1:-1;;;;;41511:17:0;;;-1:-1:-1;;;;;;41511:17:0;;;;;;;41544:40;;41494:6;;;41511:17;41494:6;;41544:40;;41475:16;;41544:40;41464:128;41401:191;:::o;33637:716::-;33821:88;;-1:-1:-1;;;33821:88:0;;33800:4;;-1:-1:-1;;;;;33821:45:0;;;;;:88;;36255:10;;33888:4;;33894:7;;33903:5;;33821:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33821:88:0;;;;;;;;-1:-1:-1;;33821:88:0;;;;;;;;;;;;:::i;:::-;;;33817:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34104:13:0;;34100:235;;34150:40;;-1:-1:-1;;;34150:40:0;;;;;;;;;;;34100:235;34293:6;34287:13;34278:6;34274:2;34270:15;34263:38;33817:529;-1:-1:-1;;;;;;33980:64:0;-1:-1:-1;;;33980:64:0;;-1:-1:-1;33817:529:0;33637:716;;;;;;:::o;55440:107::-;55493:13;55526;55519:20;;;;;:::i;41881:723::-;41937:13;42158:10;42154:53;;-1:-1:-1;;42185:10:0;;;;;;;;;;;;-1:-1:-1;;;42185:10:0;;;;;41881:723::o;42154:53::-;42232:5;42217:12;42273:78;42280:9;;42273:78;;42306:8;;;;:::i;:::-;;-1:-1:-1;42329:10:0;;-1:-1:-1;42337:2:0;42329:10;;:::i;:::-;;;42273:78;;;42361:19;42393:6;42383:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42383:17:0;;42361:39;;42411:154;42418:10;;42411:154;;42445:11;42455:1;42445:11;;:::i;:::-;;-1:-1:-1;42514:10:0;42522:2;42514:5;:10;:::i;:::-;42501:24;;:2;:24;:::i;:::-;42488:39;;42471:6;42478;42471:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;42471:56:0;;;;;;;;-1:-1:-1;42542:11:0;42551:2;42542:11;;:::i;:::-;;;42411:154;;23020:2236;23143:20;23166:13;-1:-1:-1;;;;;23194:16:0;;23190:48;;23219:19;;-1:-1:-1;;;23219:19:0;;;;;;;;;;;23190:48;23253:13;23249:44;;23275:18;;-1:-1:-1;;;23275:18:0;;;;;;;;;;;23249:44;-1:-1:-1;;;;;23842:22:0;;;;;;:18;:22;;;;9035:2;23842:22;;;:70;;23880:31;23868:44;;23842:70;;;24155:31;;;:17;:31;;;;;24248:15;9552:3;24248:41;24206:84;;-1:-1:-1;24326:13:0;;9815:3;24311:56;24206:162;24155:213;;:31;;24449:23;;;;24493:14;:19;24489:635;;24533:313;24564:38;;24589:12;;-1:-1:-1;;;;;24564:38:0;;;24581:1;;24564:38;;24581:1;;24564:38;24630:69;24669:1;24673:2;24677:14;;;;;;24693:5;24630:30;:69::i;:::-;24625:174;;24735:40;;-1:-1:-1;;;24735:40:0;;;;;;;;;;;24625:174;24841:3;24826:12;:18;24533:313;;24927:12;24910:13;;:29;24906:43;;24941:8;;;24906:43;24489:635;;;24990:119;25021:40;;25046:14;;;;;-1:-1:-1;;;;;25021:40:0;;;25038:1;;25021:40;;25038:1;;25021:40;25104:3;25089:12;:18;24990:119;;24489:635;-1:-1:-1;25138:13:0;:28;;;25188:60;;25221:2;25225:12;25239:8;25188:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:637::-;4842:3;4880:6;4874:13;4896:53;4942:6;4937:3;4930:4;4922:6;4918:17;4896:53;:::i;:::-;5012:13;;4971:16;;;;5034:57;5012:13;4971:16;5068:4;5056:17;;5034:57;:::i;:::-;-1:-1:-1;;;5113:20:1;;5142:22;;;5191:1;5180:13;;4562:637;-1:-1:-1;;;;4562:637:1:o;5622:488::-;-1:-1:-1;;;;;5891:15:1;;;5873:34;;5943:15;;5938:2;5923:18;;5916:43;5990:2;5975:18;;5968:34;;;6038:3;6033:2;6018:18;;6011:31;;;5816:4;;6059:45;;6084:19;;6076:6;6059:45;:::i;:::-;6051:53;5622:488;-1:-1:-1;;;;;;5622:488:1:o;6307:219::-;6456:2;6445:9;6438:21;6419:4;6476:44;6516:2;6505:9;6501:18;6493:6;6476:44;:::i;7285:400::-;7487:2;7469:21;;;7526:2;7506:18;;;7499:30;7565:34;7560:2;7545:18;;7538:62;-1:-1:-1;;;7631:2:1;7616:18;;7609:34;7675:3;7660:19;;7285:400::o;8830:356::-;9032:2;9014:21;;;9051:18;;;9044:30;9110:34;9105:2;9090:18;;9083:62;9177:2;9162:18;;8830:356::o;10465:128::-;10505:3;10536:1;10532:6;10529:1;10526:13;10523:39;;;10542:18;;:::i;:::-;-1:-1:-1;10578:9:1;;10465:128::o;10598:120::-;10638:1;10664;10654:35;;10669:18;;:::i;:::-;-1:-1:-1;10703:9:1;;10598:120::o;10723:168::-;10763:7;10829:1;10825;10821:6;10817:14;10814:1;10811:21;10806:1;10799:9;10792:17;10788:45;10785:71;;;10836:18;;:::i;:::-;-1:-1:-1;10876:9:1;;10723:168::o;10896:125::-;10936:4;10964:1;10961;10958:8;10955:34;;;10969:18;;:::i;:::-;-1:-1:-1;11006:9:1;;10896:125::o;11026:258::-;11098:1;11108:113;11122:6;11119:1;11116:13;11108:113;;;11198:11;;;11192:18;11179:11;;;11172:39;11144:2;11137:10;11108:113;;;11239:6;11236:1;11233:13;11230:48;;;-1:-1:-1;;11274:1:1;11256:16;;11249:27;11026:258::o;11289:380::-;11368:1;11364:12;;;;11411;;;11432:61;;11486:4;11478:6;11474:17;11464:27;;11432:61;11539:2;11531:6;11528:14;11508:18;11505:38;11502:161;;;11585:10;11580:3;11576:20;11573:1;11566:31;11620:4;11617:1;11610:15;11648:4;11645:1;11638:15;11502:161;;11289:380;;;:::o;11674:135::-;11713:3;-1:-1:-1;;11734:17:1;;11731:43;;;11754:18;;:::i;:::-;-1:-1:-1;11801:1:1;11790:13;;11674:135::o;11814:112::-;11846:1;11872;11862:35;;11877:18;;:::i;:::-;-1:-1:-1;11911:9:1;;11814:112::o;11931:127::-;11992:10;11987:3;11983:20;11980:1;11973:31;12023:4;12020:1;12013:15;12047:4;12044:1;12037:15;12063:127;12124:10;12119:3;12115:20;12112:1;12105:31;12155:4;12152:1;12145:15;12179:4;12176:1;12169:15;12195:127;12256:10;12251:3;12247:20;12244:1;12237:31;12287:4;12284:1;12277:15;12311:4;12308:1;12301:15;12327:127;12388:10;12383:3;12379:20;12376:1;12369:31;12419:4;12416:1;12409:15;12443:4;12440:1;12433:15;12459:131;-1:-1:-1;;;;;;12533:32:1;;12523:43;;12513:71;;12580:1;12577;12570:12

Swarm Source

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