ETH Price: $3,965.21 (+3.13%)

Token

Fetch Outdoors Gen 2 (Fetch)
 

Overview

Max Total Supply

104 Fetch

Holders

43

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
zaybles.eth
Balance
1 Fetch
0x947c8b3deb1014774850Aa8864f8Fc568CcdB3af
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:
Fetch

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-09-28
*/

// SPDX-License-Identifier: MIT

// File: Fetch_flat.sol



// File: @openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: erc721a/contracts/ERC721A.sol


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId].value;
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: contracts/Fetch.sol



// Amended by Achraf

pragma solidity >=0.7.0 <0.9.0;




contract Fetch is Ownable, ERC721A {
  using StringsUpgradeable for uint256;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public cost = 0.045 ether;
  uint256 public maxSupply = 4999;
  uint256 public maxMintAmountPerTx = 20;
  uint256 public nftPerAddressLimit = 1000;

  bool public paused = false;
  bool public revealed = true;

  mapping(address => uint256) public addressMintedBalance;

  constructor() ERC721A("Fetch Outdoors Gen 2", "Fetch")  {
    setHiddenMetadataUri("ipfs://__CID__/hidden.json");
  }

  modifier mintCompliance(uint256 _mintAmount) {
    uint256 ownerMintedCount = addressMintedBalance[msg.sender];
    require(ownerMintedCount + _mintAmount <= nftPerAddressLimit, "max NFT per address exceeded");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    require(!paused, "The contract is paused!");
    _;
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");

    addressMintedBalance[msg.sender] = addressMintedBalance[msg.sender] + _mintAmount;
    _safeMint(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    addressMintedBalance[_receiver] = addressMintedBalance[_receiver] + _mintAmount;
    _safeMint(_receiver, _mintAmount);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if (revealed == false) {
      return hiddenMetadataUri;
    }

    string memory currentBaseURI = _baseURI();
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : "";
  }

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }

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

  function setNftPerAddressLimit(uint256 _nftPerAddressLimit) public onlyOwner {
    nftPerAddressLimit = _nftPerAddressLimit;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

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

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {

    (bool hs, ) = payable(0xFc81F7b32B0E05f299d88AE2503f29B0D3E5f33f).call{value: address(this).balance * 80 / 100}("");
    require(hs);
  
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftPerAddressLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftPerAddressLimit","type":"uint256"}],"name":"setNftPerAddressLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b9160099162000242565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600a9162000242565b50669fdf42f6e48000600c55611387600d556014600e556103e8600f556010805461ffff19166101001790553480156200008357600080fd5b506040518060400160405280601481526020017f4665746368204f7574646f6f72732047656e20320000000000000000000000008152506040518060400160405280600581526020016408ccae8c6d60db1b815250620000f2620000ec6200016a60201b60201c565b6200016e565b81516200010790600390602085019062000242565b5080516200011d90600490602084019062000242565b506000600155505060408051808201909152601a81527f697066733a2f2f5f5f4349445f5f2f68696464656e2e6a736f6e00000000000060208201526200016490620001be565b62000325565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620001c8620001e1565b8051620001dd90600b90602084019062000242565b5050565b6000546001600160a01b03163314620002405760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b8280546200025090620002e8565b90600052602060002090601f016020900481019282620002745760008555620002bf565b82601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b600181811c90821680620002fd57607f821691505b602082108114156200031f57634e487b7160e01b600052602260045260246000fd5b50919050565b611fd380620003356000396000f3fe60806040526004361061023b5760003560e01c80636f8b44b01161012e578063b071401b116100ab578063d5abeb011161006f578063d5abeb0114610648578063e0a808531461065e578063e985e9c51461067e578063efbd73f4146106c7578063f2fde38b146106e757600080fd5b8063b071401b146105bf578063b88d4fde146105df578063ba7d2c76146105f2578063c87b56dd14610608578063d0eb26b01461062857600080fd5b806394354fd0116100f257806394354fd01461054c57806395d89b4114610562578063a0712d6814610577578063a22cb4651461058a578063a45ba8e7146105aa57600080fd5b80636f8b44b0146104b957806370a08231146104d9578063715018a6146104f95780637ec4a6591461050e5780638da5cb5b1461052e57600080fd5b80633ccfd60b116101bc578063518302271161018057806351830227146104365780635503a0e8146104555780635c975abb1461046a57806362b99ad4146104845780636352211e1461049957600080fd5b80633ccfd60b146103a157806342842e0e146103b6578063438b6300146103c957806344a0d68a146103f65780634fdd43cb1461041657600080fd5b806316ba10e01161020357806316ba10e01461030857806316c38b3c1461032857806318160ddd1461034857806318cae2691461036157806323b872dd1461038e57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806313faede6146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b366004611bf4565b610707565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610759565b60405161026c9190611e24565b3480156102a357600080fd5b506102b76102b2366004611c77565b6107eb565b6040516001600160a01b03909116815260200161026c565b6102e26102dd366004611baf565b61082f565b005b3480156102f057600080fd5b506102fa600c5481565b60405190815260200161026c565b34801561031457600080fd5b506102e2610323366004611c2e565b6108cf565b34801561033457600080fd5b506102e2610343366004611bd9565b6108ee565b34801561035457600080fd5b50600254600154036102fa565b34801561036d57600080fd5b506102fa61037c366004611a7f565b60116020526000908152604090205481565b6102e261039c366004611acd565b610909565b3480156103ad57600080fd5b506102e2610a9a565b6102e26103c4366004611acd565b610b7f565b3480156103d557600080fd5b506103e96103e4366004611a7f565b610b9f565b60405161026c9190611de0565b34801561040257600080fd5b506102e2610411366004611c77565b610c80565b34801561042257600080fd5b506102e2610431366004611c2e565b610c8d565b34801561044257600080fd5b5060105461026090610100900460ff1681565b34801561046157600080fd5b5061028a610ca8565b34801561047657600080fd5b506010546102609060ff1681565b34801561049057600080fd5b5061028a610d36565b3480156104a557600080fd5b506102b76104b4366004611c77565b610d43565b3480156104c557600080fd5b506102e26104d4366004611c77565b610d4e565b3480156104e557600080fd5b506102fa6104f4366004611a7f565b610d5b565b34801561050557600080fd5b506102e2610daa565b34801561051a57600080fd5b506102e2610529366004611c2e565b610dbe565b34801561053a57600080fd5b506000546001600160a01b03166102b7565b34801561055857600080fd5b506102fa600e5481565b34801561056e57600080fd5b5061028a610dd9565b6102e2610585366004611c77565b610de8565b34801561059657600080fd5b506102e26105a5366004611b85565b610fe8565b3480156105b657600080fd5b5061028a611054565b3480156105cb57600080fd5b506102e26105da366004611c77565b611061565b6102e26105ed366004611b09565b61106e565b3480156105fe57600080fd5b506102fa600f5481565b34801561061457600080fd5b5061028a610623366004611c77565b6110b8565b34801561063457600080fd5b506102e2610643366004611c77565b611227565b34801561065457600080fd5b506102fa600d5481565b34801561066a57600080fd5b506102e2610679366004611bd9565b611234565b34801561068a57600080fd5b50610260610699366004611a9a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106d357600080fd5b506102e26106e2366004611c90565b611256565b3480156106f357600080fd5b506102e2610702366004611a7f565b611415565b60006301ffc9a760e01b6001600160e01b03198316148061073857506380ac58cd60e01b6001600160e01b03198316145b806107535750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461076890611ec5565b80601f016020809104026020016040519081016040528092919081815260200182805461079490611ec5565b80156107e15780601f106107b6576101008083540402835291602001916107e1565b820191906000526020600020905b8154815290600101906020018083116107c457829003601f168201915b5050505050905090565b60006107f68261148e565b610813576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061083a82610d43565b9050336001600160a01b03821614610873576108568133610699565b610873576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108d76114b6565b80516108ea90600a906020840190611944565b5050565b6108f66114b6565b6010805460ff1916911515919091179055565b600061091482611510565b9050836001600160a01b0316816001600160a01b0316146109475760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610994576109778633610699565b61099457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109bb57604051633a954ecd60e21b815260040160405180910390fd5b80156109c657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a515760018401600081815260056020526040902054610a4f576001548114610a4f5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610aa26114b6565b600073fc81f7b32b0e05f299d88ae2503f29b0d3e5f33f6064610ac6476050611e63565b610ad09190611e4f565b604051600081818185875af1925050503d8060008114610b0c576040519150601f19603f3d011682016040523d82523d6000602084013e610b11565b606091505b5050905080610b1f57600080fd5b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610b6c576040519150601f19603f3d011682016040523d82523d6000602084013e610b71565b606091505b50509050806108ea57600080fd5b610b9a8383836040518060200160405280600081525061106e565b505050565b60606000610bac83610d5b565b905060008167ffffffffffffffff811115610bc957610bc9611f71565b604051908082528060200260200182016040528015610bf2578160200160208202803683370190505b509050600160005b8381108015610c0b5750600d548211155b15610c76576000610c1b83610d43565b9050866001600160a01b0316816001600160a01b03161415610c635782848381518110610c4a57610c4a611f5b565b602090810291909101015281610c5f81611f00565b9250505b82610c6d81611f00565b93505050610bfa565b5090949350505050565b610c886114b6565b600c55565b610c956114b6565b80516108ea90600b906020840190611944565b600a8054610cb590611ec5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190611ec5565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b505050505081565b60098054610cb590611ec5565b600061075382611510565b610d566114b6565b600d55565b60006001600160a01b038216610d84576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610db26114b6565b610dbc6000611571565b565b610dc66114b6565b80516108ea906009906020840190611944565b60606004805461076890611ec5565b33600090815260116020526040902054600f54829190610e088383611e37565b1115610e5b5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e46542070657220616464726573732065786365656465640000000060448201526064015b60405180910390fd5b600082118015610e6d5750600e548211155b610eb05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e52565b600d5482610ec16002546001540390565b610ecb9190611e37565b1115610f105760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610e52565b60105460ff1615610f5d5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610e52565b82600c54610f6b9190611e63565b341015610fb05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e52565b33600090815260116020526040902054610fcb908490611e37565b33600081815260116020526040902091909155610b9a90846115c1565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610cb590611ec5565b6110696114b6565b600e55565b611079848484610909565b6001600160a01b0383163b156110b257611095848484846115db565b6110b2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110c38261148e565b6111275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e52565b601054610100900460ff166111c857600b805461114390611ec5565b80601f016020809104026020016040519081016040528092919081815260200182805461116f90611ec5565b80156111bc5780601f10611191576101008083540402835291602001916111bc565b820191906000526020600020905b81548152906001019060200180831161119f57829003601f168201915b50505050509050919050565b60006111d26116d3565b905060008151116111f25760405180602001604052806000815250611220565b806111fc846116e2565b600a60405160200161121093929190611cdf565b6040516020818303038152906040525b9392505050565b61122f6114b6565b600f55565b61123c6114b6565b601080549115156101000261ff0019909216919091179055565b33600090815260116020526040902054600f548391906112768383611e37565b11156112c45760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610e52565b6000821180156112d65750600e548211155b6113195760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e52565b600d548261132a6002546001540390565b6113349190611e37565b11156113795760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610e52565b60105460ff16156113c65760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610e52565b6113ce6114b6565b6001600160a01b0383166000908152601160205260409020546113f2908590611e37565b6001600160a01b0384166000908152601160205260409020556110b283856115c1565b61141d6114b6565b6001600160a01b0381166114825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e52565b61148b81611571565b50565b600060015482108015610753575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e52565b60008160015481101561155857600081815260056020526040902054600160e01b8116611556575b80611220575060001901600081815260056020526040902054611538565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6108ea8282604051806020016040528060008152506117e0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611610903390899088908890600401611da3565b602060405180830381600087803b15801561162a57600080fd5b505af192505050801561165a575060408051601f3d908101601f1916820190925261165791810190611c11565b60015b6116b5573d808015611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b5080516116ad576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461076890611ec5565b6060816117065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611730578061171a81611f00565b91506117299050600a83611e4f565b915061170a565b60008167ffffffffffffffff81111561174b5761174b611f71565b6040519080825280601f01601f191660200182016040528015611775576020820181803683370190505b5090505b84156116cb5761178a600183611e82565b9150611797600a86611f1b565b6117a2906030611e37565b60f81b8183815181106117b7576117b7611f5b565b60200101906001600160f81b031916908160001a9053506117d9600a86611e4f565b9450611779565b6117ea838361184d565b6001600160a01b0383163b15610b9a576001548281035b61181460008683806001019450866115db565b611831576040516368d2bf6b60e11b815260040160405180910390fd5b81811061180157816001541461184657600080fd5b5050505050565b6001548161186e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461191d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016118e5565b508161193b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461195090611ec5565b90600052602060002090601f01602090048101928261197257600085556119b8565b82601f1061198b57805160ff19168380011785556119b8565b828001600101855582156119b8579182015b828111156119b857825182559160200191906001019061199d565b506119c49291506119c8565b5090565b5b808211156119c457600081556001016119c9565b600067ffffffffffffffff808411156119f8576119f8611f71565b604051601f8501601f19908116603f01168101908282118183101715611a2057611a20611f71565b81604052809350858152868686011115611a3957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a6a57600080fd5b919050565b80358015158114611a6a57600080fd5b600060208284031215611a9157600080fd5b61122082611a53565b60008060408385031215611aad57600080fd5b611ab683611a53565b9150611ac460208401611a53565b90509250929050565b600080600060608486031215611ae257600080fd5b611aeb84611a53565b9250611af960208501611a53565b9150604084013590509250925092565b60008060008060808587031215611b1f57600080fd5b611b2885611a53565b9350611b3660208601611a53565b925060408501359150606085013567ffffffffffffffff811115611b5957600080fd5b8501601f81018713611b6a57600080fd5b611b79878235602084016119dd565b91505092959194509250565b60008060408385031215611b9857600080fd5b611ba183611a53565b9150611ac460208401611a6f565b60008060408385031215611bc257600080fd5b611bcb83611a53565b946020939093013593505050565b600060208284031215611beb57600080fd5b61122082611a6f565b600060208284031215611c0657600080fd5b813561122081611f87565b600060208284031215611c2357600080fd5b815161122081611f87565b600060208284031215611c4057600080fd5b813567ffffffffffffffff811115611c5757600080fd5b8201601f81018413611c6857600080fd5b6116cb848235602084016119dd565b600060208284031215611c8957600080fd5b5035919050565b60008060408385031215611ca357600080fd5b82359150611ac460208401611a53565b60008151808452611ccb816020860160208601611e99565b601f01601f19169290920160200192915050565b600084516020611cf28285838a01611e99565b855191840191611d058184848a01611e99565b8554920191600090600181811c9080831680611d2257607f831692505b858310811415611d4057634e487b7160e01b85526022600452602485fd5b808015611d545760018114611d6557611d92565b60ff19851688528388019550611d92565b60008b81526020902060005b85811015611d8a5781548a820152908401908801611d71565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dd690830184611cb3565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e1857835183529284019291840191600101611dfc565b50909695505050505050565b6020815260006112206020830184611cb3565b60008219821115611e4a57611e4a611f2f565b500190565b600082611e5e57611e5e611f45565b500490565b6000816000190483118215151615611e7d57611e7d611f2f565b500290565b600082821015611e9457611e94611f2f565b500390565b60005b83811015611eb4578181015183820152602001611e9c565b838111156110b25750506000910152565b600181811c90821680611ed957607f821691505b60208210811415611efa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f1457611f14611f2f565b5060010190565b600082611f2a57611f2a611f45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461148b57600080fdfea26469706673582212200958c4913fe8e0b14f524f115689f270c627607c3a57ab06617ab9260059de9f64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061023b5760003560e01c80636f8b44b01161012e578063b071401b116100ab578063d5abeb011161006f578063d5abeb0114610648578063e0a808531461065e578063e985e9c51461067e578063efbd73f4146106c7578063f2fde38b146106e757600080fd5b8063b071401b146105bf578063b88d4fde146105df578063ba7d2c76146105f2578063c87b56dd14610608578063d0eb26b01461062857600080fd5b806394354fd0116100f257806394354fd01461054c57806395d89b4114610562578063a0712d6814610577578063a22cb4651461058a578063a45ba8e7146105aa57600080fd5b80636f8b44b0146104b957806370a08231146104d9578063715018a6146104f95780637ec4a6591461050e5780638da5cb5b1461052e57600080fd5b80633ccfd60b116101bc578063518302271161018057806351830227146104365780635503a0e8146104555780635c975abb1461046a57806362b99ad4146104845780636352211e1461049957600080fd5b80633ccfd60b146103a157806342842e0e146103b6578063438b6300146103c957806344a0d68a146103f65780634fdd43cb1461041657600080fd5b806316ba10e01161020357806316ba10e01461030857806316c38b3c1461032857806318160ddd1461034857806318cae2691461036157806323b872dd1461038e57600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf57806313faede6146102e4575b600080fd5b34801561024c57600080fd5b5061026061025b366004611bf4565b610707565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a610759565b60405161026c9190611e24565b3480156102a357600080fd5b506102b76102b2366004611c77565b6107eb565b6040516001600160a01b03909116815260200161026c565b6102e26102dd366004611baf565b61082f565b005b3480156102f057600080fd5b506102fa600c5481565b60405190815260200161026c565b34801561031457600080fd5b506102e2610323366004611c2e565b6108cf565b34801561033457600080fd5b506102e2610343366004611bd9565b6108ee565b34801561035457600080fd5b50600254600154036102fa565b34801561036d57600080fd5b506102fa61037c366004611a7f565b60116020526000908152604090205481565b6102e261039c366004611acd565b610909565b3480156103ad57600080fd5b506102e2610a9a565b6102e26103c4366004611acd565b610b7f565b3480156103d557600080fd5b506103e96103e4366004611a7f565b610b9f565b60405161026c9190611de0565b34801561040257600080fd5b506102e2610411366004611c77565b610c80565b34801561042257600080fd5b506102e2610431366004611c2e565b610c8d565b34801561044257600080fd5b5060105461026090610100900460ff1681565b34801561046157600080fd5b5061028a610ca8565b34801561047657600080fd5b506010546102609060ff1681565b34801561049057600080fd5b5061028a610d36565b3480156104a557600080fd5b506102b76104b4366004611c77565b610d43565b3480156104c557600080fd5b506102e26104d4366004611c77565b610d4e565b3480156104e557600080fd5b506102fa6104f4366004611a7f565b610d5b565b34801561050557600080fd5b506102e2610daa565b34801561051a57600080fd5b506102e2610529366004611c2e565b610dbe565b34801561053a57600080fd5b506000546001600160a01b03166102b7565b34801561055857600080fd5b506102fa600e5481565b34801561056e57600080fd5b5061028a610dd9565b6102e2610585366004611c77565b610de8565b34801561059657600080fd5b506102e26105a5366004611b85565b610fe8565b3480156105b657600080fd5b5061028a611054565b3480156105cb57600080fd5b506102e26105da366004611c77565b611061565b6102e26105ed366004611b09565b61106e565b3480156105fe57600080fd5b506102fa600f5481565b34801561061457600080fd5b5061028a610623366004611c77565b6110b8565b34801561063457600080fd5b506102e2610643366004611c77565b611227565b34801561065457600080fd5b506102fa600d5481565b34801561066a57600080fd5b506102e2610679366004611bd9565b611234565b34801561068a57600080fd5b50610260610699366004611a9a565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106d357600080fd5b506102e26106e2366004611c90565b611256565b3480156106f357600080fd5b506102e2610702366004611a7f565b611415565b60006301ffc9a760e01b6001600160e01b03198316148061073857506380ac58cd60e01b6001600160e01b03198316145b806107535750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461076890611ec5565b80601f016020809104026020016040519081016040528092919081815260200182805461079490611ec5565b80156107e15780601f106107b6576101008083540402835291602001916107e1565b820191906000526020600020905b8154815290600101906020018083116107c457829003601f168201915b5050505050905090565b60006107f68261148e565b610813576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061083a82610d43565b9050336001600160a01b03821614610873576108568133610699565b610873576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108d76114b6565b80516108ea90600a906020840190611944565b5050565b6108f66114b6565b6010805460ff1916911515919091179055565b600061091482611510565b9050836001600160a01b0316816001600160a01b0316146109475760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610994576109778633610699565b61099457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109bb57604051633a954ecd60e21b815260040160405180910390fd5b80156109c657600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a515760018401600081815260056020526040902054610a4f576001548114610a4f5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610aa26114b6565b600073fc81f7b32b0e05f299d88ae2503f29b0d3e5f33f6064610ac6476050611e63565b610ad09190611e4f565b604051600081818185875af1925050503d8060008114610b0c576040519150601f19603f3d011682016040523d82523d6000602084013e610b11565b606091505b5050905080610b1f57600080fd5b600080546040516001600160a01b039091169047908381818185875af1925050503d8060008114610b6c576040519150601f19603f3d011682016040523d82523d6000602084013e610b71565b606091505b50509050806108ea57600080fd5b610b9a8383836040518060200160405280600081525061106e565b505050565b60606000610bac83610d5b565b905060008167ffffffffffffffff811115610bc957610bc9611f71565b604051908082528060200260200182016040528015610bf2578160200160208202803683370190505b509050600160005b8381108015610c0b5750600d548211155b15610c76576000610c1b83610d43565b9050866001600160a01b0316816001600160a01b03161415610c635782848381518110610c4a57610c4a611f5b565b602090810291909101015281610c5f81611f00565b9250505b82610c6d81611f00565b93505050610bfa565b5090949350505050565b610c886114b6565b600c55565b610c956114b6565b80516108ea90600b906020840190611944565b600a8054610cb590611ec5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ce190611ec5565b8015610d2e5780601f10610d0357610100808354040283529160200191610d2e565b820191906000526020600020905b815481529060010190602001808311610d1157829003601f168201915b505050505081565b60098054610cb590611ec5565b600061075382611510565b610d566114b6565b600d55565b60006001600160a01b038216610d84576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610db26114b6565b610dbc6000611571565b565b610dc66114b6565b80516108ea906009906020840190611944565b60606004805461076890611ec5565b33600090815260116020526040902054600f54829190610e088383611e37565b1115610e5b5760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e46542070657220616464726573732065786365656465640000000060448201526064015b60405180910390fd5b600082118015610e6d5750600e548211155b610eb05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e52565b600d5482610ec16002546001540390565b610ecb9190611e37565b1115610f105760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610e52565b60105460ff1615610f5d5760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610e52565b82600c54610f6b9190611e63565b341015610fb05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610e52565b33600090815260116020526040902054610fcb908490611e37565b33600081815260116020526040902091909155610b9a90846115c1565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610cb590611ec5565b6110696114b6565b600e55565b611079848484610909565b6001600160a01b0383163b156110b257611095848484846115db565b6110b2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606110c38261148e565b6111275760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610e52565b601054610100900460ff166111c857600b805461114390611ec5565b80601f016020809104026020016040519081016040528092919081815260200182805461116f90611ec5565b80156111bc5780601f10611191576101008083540402835291602001916111bc565b820191906000526020600020905b81548152906001019060200180831161119f57829003601f168201915b50505050509050919050565b60006111d26116d3565b905060008151116111f25760405180602001604052806000815250611220565b806111fc846116e2565b600a60405160200161121093929190611cdf565b6040516020818303038152906040525b9392505050565b61122f6114b6565b600f55565b61123c6114b6565b601080549115156101000261ff0019909216919091179055565b33600090815260116020526040902054600f548391906112768383611e37565b11156112c45760405162461bcd60e51b815260206004820152601c60248201527f6d6178204e4654207065722061646472657373206578636565646564000000006044820152606401610e52565b6000821180156112d65750600e548211155b6113195760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610e52565b600d548261132a6002546001540390565b6113349190611e37565b11156113795760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610e52565b60105460ff16156113c65760405162461bcd60e51b815260206004820152601760248201527654686520636f6e7472616374206973207061757365642160481b6044820152606401610e52565b6113ce6114b6565b6001600160a01b0383166000908152601160205260409020546113f2908590611e37565b6001600160a01b0384166000908152601160205260409020556110b283856115c1565b61141d6114b6565b6001600160a01b0381166114825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e52565b61148b81611571565b50565b600060015482108015610753575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610dbc5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610e52565b60008160015481101561155857600081815260056020526040902054600160e01b8116611556575b80611220575060001901600081815260056020526040902054611538565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6108ea8282604051806020016040528060008152506117e0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611610903390899088908890600401611da3565b602060405180830381600087803b15801561162a57600080fd5b505af192505050801561165a575060408051601f3d908101601f1916820190925261165791810190611c11565b60015b6116b5573d808015611688576040519150601f19603f3d011682016040523d82523d6000602084013e61168d565b606091505b5080516116ad576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60606009805461076890611ec5565b6060816117065750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611730578061171a81611f00565b91506117299050600a83611e4f565b915061170a565b60008167ffffffffffffffff81111561174b5761174b611f71565b6040519080825280601f01601f191660200182016040528015611775576020820181803683370190505b5090505b84156116cb5761178a600183611e82565b9150611797600a86611f1b565b6117a2906030611e37565b60f81b8183815181106117b7576117b7611f5b565b60200101906001600160f81b031916908160001a9053506117d9600a86611e4f565b9450611779565b6117ea838361184d565b6001600160a01b0383163b15610b9a576001548281035b61181460008683806001019450866115db565b611831576040516368d2bf6b60e11b815260040160405180910390fd5b81811061180157816001541461184657600080fd5b5050505050565b6001548161186e5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461191d57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016118e5565b508161193b57604051622e076360e81b815260040160405180910390fd5b60015550505050565b82805461195090611ec5565b90600052602060002090601f01602090048101928261197257600085556119b8565b82601f1061198b57805160ff19168380011785556119b8565b828001600101855582156119b8579182015b828111156119b857825182559160200191906001019061199d565b506119c49291506119c8565b5090565b5b808211156119c457600081556001016119c9565b600067ffffffffffffffff808411156119f8576119f8611f71565b604051601f8501601f19908116603f01168101908282118183101715611a2057611a20611f71565b81604052809350858152868686011115611a3957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a6a57600080fd5b919050565b80358015158114611a6a57600080fd5b600060208284031215611a9157600080fd5b61122082611a53565b60008060408385031215611aad57600080fd5b611ab683611a53565b9150611ac460208401611a53565b90509250929050565b600080600060608486031215611ae257600080fd5b611aeb84611a53565b9250611af960208501611a53565b9150604084013590509250925092565b60008060008060808587031215611b1f57600080fd5b611b2885611a53565b9350611b3660208601611a53565b925060408501359150606085013567ffffffffffffffff811115611b5957600080fd5b8501601f81018713611b6a57600080fd5b611b79878235602084016119dd565b91505092959194509250565b60008060408385031215611b9857600080fd5b611ba183611a53565b9150611ac460208401611a6f565b60008060408385031215611bc257600080fd5b611bcb83611a53565b946020939093013593505050565b600060208284031215611beb57600080fd5b61122082611a6f565b600060208284031215611c0657600080fd5b813561122081611f87565b600060208284031215611c2357600080fd5b815161122081611f87565b600060208284031215611c4057600080fd5b813567ffffffffffffffff811115611c5757600080fd5b8201601f81018413611c6857600080fd5b6116cb848235602084016119dd565b600060208284031215611c8957600080fd5b5035919050565b60008060408385031215611ca357600080fd5b82359150611ac460208401611a53565b60008151808452611ccb816020860160208601611e99565b601f01601f19169290920160200192915050565b600084516020611cf28285838a01611e99565b855191840191611d058184848a01611e99565b8554920191600090600181811c9080831680611d2257607f831692505b858310811415611d4057634e487b7160e01b85526022600452602485fd5b808015611d545760018114611d6557611d92565b60ff19851688528388019550611d92565b60008b81526020902060005b85811015611d8a5781548a820152908401908801611d71565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611dd690830184611cb3565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611e1857835183529284019291840191600101611dfc565b50909695505050505050565b6020815260006112206020830184611cb3565b60008219821115611e4a57611e4a611f2f565b500190565b600082611e5e57611e5e611f45565b500490565b6000816000190483118215151615611e7d57611e7d611f2f565b500290565b600082821015611e9457611e94611f2f565b500390565b60005b83811015611eb4578181015183820152602001611e9c565b838111156110b25750506000910152565b600181811c90821680611ed957607f821691505b60208210811415611efa57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f1457611f14611f2f565b5060010190565b600082611f2a57611f2a611f45565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461148b57600080fdfea26469706673582212200958c4913fe8e0b14f524f115689f270c627607c3a57ab06617ab9260059de9f64736f6c63430008070033

Deployed Bytecode Sourcemap

57726:4112:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21001:639;;;;;;;;;;-1:-1:-1;21001:639:0;;;;;:::i;:::-;;:::i;:::-;;;8066:14:1;;8059:22;8041:41;;8029:2;8014:18;21001:639:0;;;;;;;;21903:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;28394:218::-;;;;;;;;;;-1:-1:-1;28394:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6727:32:1;;;6709:51;;6697:2;6682:18;28394:218:0;6563:203:1;27827:408:0;;;;;;:::i;:::-;;:::i;:::-;;57920:33;;;;;;;;;;;;;;;;;;;11402:25:1;;;11390:2;11375:18;57920:33:0;11256:177:1;61153:100:0;;;;;;;;;;-1:-1:-1;61153:100:0;;;;;:::i;:::-;;:::i;61359:77::-;;;;;;;;;;-1:-1:-1;61359:77:0;;;;;:::i;:::-;;:::i;17654:323::-;;;;;;;;;;-1:-1:-1;17928:12:0;;17912:13;;:28;17654:323;;58149:55;;;;;;;;;;-1:-1:-1;58149:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;32033:2825;;;;;;:::i;:::-;;:::i;61442:283::-;;;;;;;;;;;;;:::i;34954:193::-;;;;;;:::i;:::-;;:::i;59329:635::-;;;;;;;;;;-1:-1:-1;59329:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;60557:74::-;;;;;;;;;;-1:-1:-1;60557:74:0;;;;;:::i;:::-;;:::i;60909:132::-;;;;;;;;;;-1:-1:-1;60909:132:0;;;;;:::i;:::-;;:::i;58115:27::-;;;;;;;;;;-1:-1:-1;58115:27:0;;;;;;;;;;;57842:33;;;;;;;;;;;;;:::i;58084:26::-;;;;;;;;;;-1:-1:-1;58084:26:0;;;;;;;;57809:28;;;;;;;;;;;;;:::i;23296:152::-;;;;;;;;;;-1:-1:-1;23296:152:0;;;;;:::i;:::-;;:::i;61259:94::-;;;;;;;;;;-1:-1:-1;61259:94:0;;;;;:::i;:::-;;:::i;18838:233::-;;;;;;;;;;-1:-1:-1;18838:233:0;;;;;:::i;:::-;;:::i;56808:103::-;;;;;;;;;;;;;:::i;61047:100::-;;;;;;;;;;-1:-1:-1;61047:100:0;;;;;:::i;:::-;;:::i;56160:87::-;;;;;;;;;;-1:-1:-1;56206:7:0;56233:6;-1:-1:-1;;;;;56233:6:0;56160:87;;57994:38;;;;;;;;;;;;;;;;22079:104;;;;;;;;;;;;;:::i;58789:285::-;;;;;;:::i;:::-;;:::i;28952:234::-;;;;;;;;;;-1:-1:-1;28952:234:0;;;;;:::i;:::-;;:::i;57880:31::-;;;;;;;;;;;;;:::i;60637:130::-;;;;;;;;;;-1:-1:-1;60637:130:0;;;;;:::i;:::-;;:::i;35745:407::-;;;;;;:::i;:::-;;:::i;58037:40::-;;;;;;;;;;;;;;;;59970:494;;;;;;;;;;-1:-1:-1;59970:494:0;;;;;:::i;:::-;;:::i;60773:130::-;;;;;;;;;;-1:-1:-1;60773:130:0;;;;;:::i;:::-;;:::i;57958:31::-;;;;;;;;;;;;;;;;60470:81;;;;;;;;;;-1:-1:-1;60470:81:0;;;;;:::i;:::-;;:::i;29343:164::-;;;;;;;;;;-1:-1:-1;29343:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29464:25:0;;;29440:4;29464:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29343:164;59082:241;;;;;;;;;;-1:-1:-1;59082:241:0;;;;;:::i;:::-;;:::i;57066:201::-;;;;;;;;;;-1:-1:-1;57066:201:0;;;;;:::i;:::-;;:::i;21001:639::-;21086:4;-1:-1:-1;;;;;;;;;21410:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21487:25:0;;;21410:102;:179;;;-1:-1:-1;;;;;;;;;;21564:25:0;;;21410:179;21390:199;21001:639;-1:-1:-1;;21001:639:0:o;21903:100::-;21957:13;21990:5;21983:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21903:100;:::o;28394:218::-;28470:7;28495:16;28503:7;28495;:16::i;:::-;28490:64;;28520:34;;-1:-1:-1;;;28520:34:0;;;;;;;;;;;28490:64;-1:-1:-1;28574:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;28574:30:0;;28394:218::o;27827:408::-;27916:13;27932:16;27940:7;27932;:16::i;:::-;27916:32;-1:-1:-1;52160:10:0;-1:-1:-1;;;;;27965:28:0;;;27961:175;;28013:44;28030:5;52160:10;29343:164;:::i;28013:44::-;28008:128;;28085:35;;-1:-1:-1;;;28085:35:0;;;;;;;;;;;28008:128;28148:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;28148:35:0;-1:-1:-1;;;;;28148:35:0;;;;;;;;;28199:28;;28148:24;;28199:28;;;;;;;27905:330;27827:408;;:::o;61153:100::-;56046:13;:11;:13::i;:::-;61225:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;61153:100:::0;:::o;61359:77::-;56046:13;:11;:13::i;:::-;61415:6:::1;:15:::0;;-1:-1:-1;;61415:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;61359:77::o;32033:2825::-;32175:27;32205;32224:7;32205:18;:27::i;:::-;32175:57;;32290:4;-1:-1:-1;;;;;32249:45:0;32265:19;-1:-1:-1;;;;;32249:45:0;;32245:86;;32303:28;;-1:-1:-1;;;32303:28:0;;;;;;;;;;;32245:86;32345:27;31141:24;;;:15;:24;;;;;31369:26;;52160:10;30766:30;;;-1:-1:-1;;;;;30459:28:0;;30744:20;;;30741:56;32531:180;;32624:43;32641:4;52160:10;29343:164;:::i;32624:43::-;32619:92;;32676:35;;-1:-1:-1;;;32676:35:0;;;;;;;;;;;32619:92;-1:-1:-1;;;;;32728:16:0;;32724:52;;32753:23;;-1:-1:-1;;;32753:23:0;;;;;;;;;;;32724:52;32925:15;32922:160;;;33065:1;33044:19;33037:30;32922:160;-1:-1:-1;;;;;33462:24:0;;;;;;;:18;:24;;;;;;33460:26;;-1:-1:-1;;33460:26:0;;;33531:22;;;;;;;;;33529:24;;-1:-1:-1;33529:24:0;;;26685:11;26660:23;26656:41;26643:63;-1:-1:-1;;;26643:63:0;33824:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;34119:47:0;;34115:627;;34224:1;34214:11;;34192:19;34347:30;;;:17;:30;;;;;;34343:384;;34485:13;;34470:11;:28;34466:242;;34632:30;;;;:17;:30;;;;;:52;;;34466:242;34173:569;34115:627;34789:7;34785:2;-1:-1:-1;;;;;34770:27:0;34779:4;-1:-1:-1;;;;;34770:27:0;;;;;;;;;;;32164:2694;;;32033:2825;;;:::o;61442:283::-;56046:13;:11;:13::i;:::-;61489:7:::1;61510:42;61595:3;61566:26;:21;61590:2;61566:26;:::i;:::-;:32;;;;:::i;:::-;61502:101;::::0;::::1;::::0;;;;;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61488:115;;;61618:2;61610:11;;;::::0;::::1;;61633:7;56233:6:::0;;61646:55:::1;::::0;-1:-1:-1;;;;;56233:6:0;;;;61675:21:::1;::::0;61633:7;61646:55;61633:7;61646:55;61675:21;56233:6;61646:55:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61632:69;;;61716:2;61708:11;;;::::0;::::1;34954:193:::0;35100:39;35117:4;35123:2;35127:7;35100:39;;;;;;;;;;;;:16;:39::i;:::-;34954:193;;;:::o;59329:635::-;59404:16;59432:23;59458:17;59468:6;59458:9;:17::i;:::-;59432:43;;59482:30;59529:15;59515:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59515:30:0;-1:-1:-1;59482:63:0;-1:-1:-1;59577:1:0;59552:22;59621:309;59646:15;59628;:33;:64;;;;;59683:9;;59665:14;:27;;59628:64;59621:309;;;59703:25;59731:23;59739:14;59731:7;:23::i;:::-;59703:51;;59790:6;-1:-1:-1;;;;;59769:27:0;:17;-1:-1:-1;;;;;59769:27:0;;59765:131;;;59842:14;59809:13;59823:15;59809:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;59869:17;;;;:::i;:::-;;;;59765:131;59906:16;;;;:::i;:::-;;;;59694:236;59621:309;;;-1:-1:-1;59945:13:0;;59329:635;-1:-1:-1;;;;59329:635:0:o;60557:74::-;56046:13;:11;:13::i;:::-;60613:4:::1;:12:::0;60557:74::o;60909:132::-;56046:13;:11;:13::i;:::-;60997:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;57842:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57809:28::-;;;;;;;:::i;23296:152::-;23368:7;23411:27;23430:7;23411:18;:27::i;61259:94::-;56046:13;:11;:13::i;:::-;61325:9:::1;:22:::0;61259:94::o;18838:233::-;18910:7;-1:-1:-1;;;;;18934:19:0;;18930:60;;18962:28;;-1:-1:-1;;;18962:28:0;;;;;;;;;;;18930:60;-1:-1:-1;;;;;;19008:25:0;;;;;:18;:25;;;;;;12997:13;19008:55;;18838:233::o;56808:103::-;56046:13;:11;:13::i;:::-;56873:30:::1;56900:1;56873:18;:30::i;:::-;56808:103::o:0;61047:100::-;56046:13;:11;:13::i;:::-;61119:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;22079:104::-:0;22135:13;22168:7;22161:14;;;;;:::i;58789:285::-;58436:10;58388:24;58415:32;;;:20;:32;;;;;;58496:18;;58854:11;;58415:32;58462:30;58854:11;58415:32;58462:30;:::i;:::-;:52;;58454:93;;;;-1:-1:-1;;;58454:93:0;;9275:2:1;58454:93:0;;;9257:21:1;9314:2;9294:18;;;9287:30;9353;9333:18;;;9326:58;9401:18;;58454:93:0;;;;;;;;;58576:1;58562:11;:15;:52;;;;;58596:18;;58581:11;:33;;58562:52;58554:85;;;;-1:-1:-1;;;58554:85:0;;8926:2:1;58554:85:0;;;8908:21:1;8965:2;8945:18;;;8938:30;-1:-1:-1;;;8984:18:1;;;8977:50;9044:18;;58554:85:0;8724:344:1;58554:85:0;58685:9;;58670:11;58654:13;17928:12;;17912:13;;:28;;17654:323;58654:13;:27;;;;:::i;:::-;:40;;58646:73;;;;-1:-1:-1;;;58646:73:0;;10761:2:1;58646:73:0;;;10743:21:1;10800:2;10780:18;;;10773:30;-1:-1:-1;;;10819:18:1;;;10812:50;10879:18;;58646:73:0;10559:344:1;58646:73:0;58735:6;;;;58734:7;58726:43;;;;-1:-1:-1;;;58726:43:0;;9993:2:1;58726:43:0;;;9975:21:1;10032:2;10012:18;;;10005:30;-1:-1:-1;;;10051:18:1;;;10044:53;10114:18;;58726:43:0;9791:347:1;58726:43:0;58902:11:::1;58895:4;;:18;;;;:::i;:::-;58882:9;:31;;58874:63;;;::::0;-1:-1:-1;;;58874:63:0;;11110:2:1;58874:63:0::1;::::0;::::1;11092:21:1::0;11149:2;11129:18;;;11122:30;-1:-1:-1;;;11168:18:1;;;11161:49;11227:18;;58874:63:0::1;10908:343:1::0;58874:63:0::1;59002:10;58981:32;::::0;;;:20:::1;:32;::::0;;;;;:46:::1;::::0;59016:11;;58981:46:::1;:::i;:::-;58967:10;58946:32;::::0;;;:20:::1;:32;::::0;;;;:81;;;;59034:34:::1;::::0;59056:11;59034:9:::1;:34::i;28952:234::-:0;52160:10;29047:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29047:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29047:60:0;;;;;;;;;;29123:55;;8041:41:1;;;29047:49:0;;52160:10;29123:55;;8014:18:1;29123:55:0;;;;;;;28952:234;;:::o;57880:31::-;;;;;;;:::i;60637:130::-;56046:13;:11;:13::i;:::-;60721:18:::1;:40:::0;60637:130::o;35745:407::-;35920:31;35933:4;35939:2;35943:7;35920:12;:31::i;:::-;-1:-1:-1;;;;;35966:14:0;;;:19;35962:183;;36005:56;36036:4;36042:2;36046:7;36055:5;36005:30;:56::i;:::-;36000:145;;36089:40;;-1:-1:-1;;;36089:40:0;;;;;;;;;;;36000:145;35745:407;;;;:::o;59970:494::-;60069:13;60110:17;60118:8;60110:7;:17::i;:::-;60094:98;;;;-1:-1:-1;;;60094:98:0;;10345:2:1;60094:98:0;;;10327:21:1;10384:2;10364:18;;;10357:30;10423:34;10403:18;;;10396:62;-1:-1:-1;;;10474:18:1;;;10467:45;10529:19;;60094:98:0;10143:411:1;60094:98:0;60205:8;;;;;;;60201:64;;60240:17;60233:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59970:494;;;:::o;60201:64::-;60273:28;60304:10;:8;:10::i;:::-;60273:41;;60359:1;60334:14;60328:28;:32;:130;;;;;;;;;;;;;;;;;60396:14;60412:19;:8;:17;:19::i;:::-;60433:9;60379:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60328:130;60321:137;59970:494;-1:-1:-1;;;59970:494:0:o;60773:130::-;56046:13;:11;:13::i;:::-;60857:18:::1;:40:::0;60773:130::o;60470:81::-;56046:13;:11;:13::i;:::-;60528:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;60528:17:0;;::::1;::::0;;;::::1;::::0;;60470:81::o;59082:241::-;58436:10;58388:24;58415:32;;;:20;:32;;;;;;58496:18;;59168:11;;58415:32;58462:30;59168:11;58415:32;58462:30;:::i;:::-;:52;;58454:93;;;;-1:-1:-1;;;58454:93:0;;9275:2:1;58454:93:0;;;9257:21:1;9314:2;9294:18;;;9287:30;9353;9333:18;;;9326:58;9401:18;;58454:93:0;9073:352:1;58454:93:0;58576:1;58562:11;:15;:52;;;;;58596:18;;58581:11;:33;;58562:52;58554:85;;;;-1:-1:-1;;;58554:85:0;;8926:2:1;58554:85:0;;;8908:21:1;8965:2;8945:18;;;8938:30;-1:-1:-1;;;8984:18:1;;;8977:50;9044:18;;58554:85:0;8724:344:1;58554:85:0;58685:9;;58670:11;58654:13;17928:12;;17912:13;;:28;;17654:323;58654:13;:27;;;;:::i;:::-;:40;;58646:73;;;;-1:-1:-1;;;58646:73:0;;10761:2:1;58646:73:0;;;10743:21:1;10800:2;10780:18;;;10773:30;-1:-1:-1;;;10819:18:1;;;10812:50;10879:18;;58646:73:0;10559:344:1;58646:73:0;58735:6;;;;58734:7;58726:43;;;;-1:-1:-1;;;58726:43:0;;9993:2:1;58726:43:0;;;9975:21:1;10032:2;10012:18;;;10005:30;-1:-1:-1;;;10051:18:1;;;10044:53;10114:18;;58726:43:0;9791:347:1;58726:43:0;56046:13:::1;:11;:13::i;:::-;-1:-1:-1::0;;;;;59232:31:0;::::2;;::::0;;;:20:::2;:31;::::0;;;;;:45:::2;::::0;59266:11;;59232:45:::2;:::i;:::-;-1:-1:-1::0;;;;;59198:31:0;::::2;;::::0;;;:20:::2;:31;::::0;;;;:79;59284:33:::2;59219:9:::0;59305:11;59284:9:::2;:33::i;57066:201::-:0;56046:13;:11;:13::i;:::-;-1:-1:-1;;;;;57155:22:0;::::1;57147:73;;;::::0;-1:-1:-1;;;57147:73:0;;8519:2:1;57147:73:0::1;::::0;::::1;8501:21:1::0;8558:2;8538:18;;;8531:30;8597:34;8577:18;;;8570:62;-1:-1:-1;;;8648:18:1;;;8641:36;8694:19;;57147:73:0::1;8317:402:1::0;57147:73:0::1;57231:28;57250:8;57231:18;:28::i;:::-;57066:201:::0;:::o;29765:282::-;29830:4;29920:13;;29910:7;:23;29867:153;;;;-1:-1:-1;;29971:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;29971:44:0;:49;;29765:282::o;56325:132::-;56206:7;56233:6;-1:-1:-1;;;;;56233:6:0;52160:10;56389:23;56381:68;;;;-1:-1:-1;;;56381:68:0;;9632:2:1;56381:68:0;;;9614:21:1;;;9651:18;;;9644:30;9710:34;9690:18;;;9683:62;9762:18;;56381:68:0;9430:356:1;24451:1275:0;24518:7;24553;24655:13;;24648:4;:20;24644:1015;;;24693:14;24710:23;;;:17;:23;;;;;;-1:-1:-1;;;24799:24:0;;24795:845;;25464:113;25471:11;25464:113;;-1:-1:-1;;;25542:6:0;25524:25;;;;:17;:25;;;;;;25464:113;;24795:845;24670:989;24644:1015;25687:31;;-1:-1:-1;;;25687:31:0;;;;;;;;;;;57427:191;57501:16;57520:6;;-1:-1:-1;;;;;57537:17:0;;;-1:-1:-1;;;;;;57537:17:0;;;;;;57570:40;;57520:6;;;;;;;57570:40;;57501:16;57570:40;57490:128;57427:191;:::o;45905:112::-;45982:27;45992:2;45996:8;45982:27;;;;;;;;;;;;:9;:27::i;38236:716::-;38420:88;;-1:-1:-1;;;38420:88:0;;38399:4;;-1:-1:-1;;;;;38420:45:0;;;;;:88;;52160:10;;38487:4;;38493:7;;38502:5;;38420:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38420:88:0;;;;;;;;-1:-1:-1;;38420:88:0;;;;;;;;;;;;:::i;:::-;;;38416:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38703:13:0;;38699:235;;38749:40;;-1:-1:-1;;;38749:40:0;;;;;;;;;;;38699:235;38892:6;38886:13;38877:6;38873:2;38869:15;38862:38;38416:529;-1:-1:-1;;;;;;38579:64:0;-1:-1:-1;;;38579:64:0;;-1:-1:-1;38416:529:0;38236:716;;;;;;:::o;61731:104::-;61791:13;61820:9;61813:16;;;;;:::i;530:723::-;586:13;807:10;803:53;;-1:-1:-1;;834:10:0;;;;;;;;;;;;-1:-1:-1;;;834:10:0;;;;;530:723::o;803:53::-;881:5;866:12;922:78;929:9;;922:78;;955:8;;;;:::i;:::-;;-1:-1:-1;978:10:0;;-1:-1:-1;986:2:0;978:10;;:::i;:::-;;;922:78;;;1010:19;1042:6;1032:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1032:17:0;;1010:39;;1060:154;1067:10;;1060:154;;1094:11;1104:1;1094:11;;:::i;:::-;;-1:-1:-1;1163:10:0;1171:2;1163:5;:10;:::i;:::-;1150:24;;:2;:24;:::i;:::-;1137:39;;1120:6;1127;1120:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1120:56:0;;;;;;;;-1:-1:-1;1191:11:0;1200:2;1191:11;;:::i;:::-;;;1060:154;;45132:689;45263:19;45269:2;45273:8;45263:5;:19::i;:::-;-1:-1:-1;;;;;45324:14:0;;;:19;45320:483;;45378:13;;45426:14;;;45459:233;45490:62;45529:1;45533:2;45537:7;;;;;;45546:5;45490:30;:62::i;:::-;45485:167;;45588:40;;-1:-1:-1;;;45588:40:0;;;;;;;;;;;45485:167;45687:3;45679:5;:11;45459:233;;45774:3;45757:13;;:20;45753:34;;45779:8;;;45753:34;45345:458;;45132:689;;;:::o;39414:2966::-;39510:13;;39538;39534:44;;39560:18;;-1:-1:-1;;;39560:18:0;;;;;;;;;;;39534:44;-1:-1:-1;;;;;40066:22:0;;;;;;:18;:22;;;;13135:2;40066:22;;;:71;;40104:32;40092:45;;40066:71;;;40380:31;;;:17;:31;;;;;-1:-1:-1;27116:15:0;;27090:24;27086:46;26685:11;26660:23;26656:41;26653:52;26643:63;;40380:173;;40615:23;;;;40380:31;;40066:22;;41380:25;40066:22;;41233:335;41894:1;41880:12;41876:20;41834:346;41935:3;41926:7;41923:16;41834:346;;42153:7;42143:8;42140:1;42113:25;42110:1;42107;42102:59;41988:1;41975:15;41834:346;;;-1:-1:-1;42213:13:0;42209:45;;42235:19;;-1:-1:-1;;;42235:19:0;;;;;;;;;;;42209:45;42271:13;:19;-1:-1:-1;34954:193:0;;;:::o;-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:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:1527::-;5045:3;5083:6;5077:13;5109:4;5122:51;5166:6;5161:3;5156:2;5148:6;5144:15;5122:51;:::i;:::-;5236:13;;5195:16;;;;5258:55;5236:13;5195:16;5280:15;;;5258:55;:::i;:::-;5402:13;;5335:20;;;5375:1;;5462;5484:18;;;;5537;;;;5564:93;;5642:4;5632:8;5628:19;5616:31;;5564:93;5705:2;5695:8;5692:16;5672:18;5669:40;5666:167;;;-1:-1:-1;;;5732:33:1;;5788:4;5785:1;5778:15;5818:4;5739:3;5806:17;5666:167;5849:18;5876:110;;;;6000:1;5995:328;;;;5842:481;;5876:110;-1:-1:-1;;5911:24:1;;5897:39;;5956:20;;;;-1:-1:-1;5876:110:1;;5995:328;11511:1;11504:14;;;11548:4;11535:18;;6090:1;6104:169;6118:8;6115:1;6112:15;6104:169;;;6200:14;;6185:13;;;6178:37;6243:16;;;;6135:10;;6104:169;;;6108:3;;6304:8;6297:5;6293:20;6286:27;;5842:481;-1:-1:-1;6339:3:1;;4821:1527;-1:-1:-1;;;;;;;;;;;4821:1527:1:o;6771:488::-;-1:-1:-1;;;;;7040:15:1;;;7022:34;;7092:15;;7087:2;7072:18;;7065:43;7139:2;7124:18;;7117:34;;;7187:3;7182:2;7167:18;;7160:31;;;6965:4;;7208:45;;7233:19;;7225:6;7208:45;:::i;:::-;7200:53;6771:488;-1:-1:-1;;;;;;6771:488:1:o;7264:632::-;7435:2;7487:21;;;7557:13;;7460:18;;;7579:22;;;7406:4;;7435:2;7658:15;;;;7632:2;7617:18;;;7406:4;7701:169;7715:6;7712:1;7709:13;7701:169;;;7776:13;;7764:26;;7845:15;;;;7810:12;;;;7737:1;7730:9;7701:169;;;-1:-1:-1;7887:3:1;;7264:632;-1:-1:-1;;;;;;7264:632:1:o;8093:219::-;8242:2;8231:9;8224:21;8205:4;8262:44;8302:2;8291:9;8287:18;8279:6;8262:44;:::i;11564:128::-;11604:3;11635:1;11631:6;11628:1;11625:13;11622:39;;;11641:18;;:::i;:::-;-1:-1:-1;11677:9:1;;11564:128::o;11697:120::-;11737:1;11763;11753:35;;11768:18;;:::i;:::-;-1:-1:-1;11802:9:1;;11697:120::o;11822:168::-;11862:7;11928:1;11924;11920:6;11916:14;11913:1;11910:21;11905:1;11898:9;11891:17;11887:45;11884:71;;;11935:18;;:::i;:::-;-1:-1:-1;11975:9:1;;11822:168::o;11995:125::-;12035:4;12063:1;12060;12057:8;12054:34;;;12068:18;;:::i;:::-;-1:-1:-1;12105:9:1;;11995:125::o;12125:258::-;12197:1;12207:113;12221:6;12218:1;12215:13;12207:113;;;12297:11;;;12291:18;12278:11;;;12271:39;12243:2;12236:10;12207:113;;;12338:6;12335:1;12332:13;12329:48;;;-1:-1:-1;;12373:1:1;12355:16;;12348:27;12125:258::o;12388:380::-;12467:1;12463:12;;;;12510;;;12531:61;;12585:4;12577:6;12573:17;12563:27;;12531:61;12638:2;12630:6;12627:14;12607:18;12604:38;12601:161;;;12684:10;12679:3;12675:20;12672:1;12665:31;12719:4;12716:1;12709:15;12747:4;12744:1;12737:15;12601:161;;12388:380;;;:::o;12773:135::-;12812:3;-1:-1:-1;;12833:17:1;;12830:43;;;12853:18;;:::i;:::-;-1:-1:-1;12900:1:1;12889:13;;12773:135::o;12913:112::-;12945:1;12971;12961:35;;12976:18;;:::i;:::-;-1:-1:-1;13010:9:1;;12913:112::o;13030:127::-;13091:10;13086:3;13082:20;13079:1;13072:31;13122:4;13119:1;13112:15;13146:4;13143:1;13136:15;13162:127;13223:10;13218:3;13214:20;13211:1;13204:31;13254:4;13251:1;13244:15;13278:4;13275:1;13268:15;13294:127;13355:10;13350:3;13346:20;13343:1;13336:31;13386:4;13383:1;13376:15;13410:4;13407:1;13400:15;13426:127;13487:10;13482:3;13478:20;13475:1;13468:31;13518:4;13515:1;13508:15;13542:4;13539:1;13532:15;13558:131;-1:-1:-1;;;;;;13632:32:1;;13622:43;;13612:71;;13679:1;13676;13669:12

Swarm Source

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