ETH Price: $2,508.69 (+0.28%)

Token

Not Surreal Society (NOSS)
 

Overview

Max Total Supply

5,000 NOSS

Holders

930

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
10 NOSS
0x6623c5f91a93f656ee998f2a771192423455b66e
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:
NotSurrealSociety

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol
/**
 __   __     ______     ______     ______    
/\ "-.\ \   /\  __ \   /\  ___\   /\  ___\   
\ \ \-.  \  \ \ \/\ \  \ \___  \  \ \___  \  
 \ \_\\"\_\  \ \_____\  \/\_____\  \/\_____\ 
  \/_/ \/_/   \/_____/   \/_____/   \/_____/

  Not Surreal Society 
                                             
*/

// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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


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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    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: @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: erc721a/contracts/IERC721A.sol


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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 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.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

    // The 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 tokenId of the next token to be minted.
    uint256 private _currentIndex;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [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 => address) private _tokenApprovals;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Returns the 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 {
        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;
    }

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

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

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

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

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

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

    /**
     * @dev 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 See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` 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 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

            _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 {
        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 Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

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

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

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(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++;
        }
    }

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

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        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 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;
    }

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

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

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

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

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

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

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

// File: erc721a/contracts/extensions/IERC721AQueryable.sol


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

pragma solidity ^0.8.4;


/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

// File: erc721a/contracts/extensions/ERC721AQueryable.sol


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

pragma solidity ^0.8.4;



/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *   - `extraData` = `0`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *   - `extraData` = `<Extra data when token was burned>`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     *   - `extraData` = `<Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}




pragma solidity ^0.8.13;

//Not Surreal Society 

contract NotSurrealSociety is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

	string public tokenName = "Not Surreal Society";
	string public tokenSymbol = "NOSS";
    uint256 public immutable maxSupply = 5000;
	uint256 public maxTeamReserve = 1040;
	uint256 public maxMintAddress = 10;
    address public treasury;
    address public fal_vak;
    address public tio;
    address public addict;
    bool public paused = true;

	string private uriPrefix = '';
    string private uriSuffix = '.json';
	uint256 public cost = 0.01 ether;

  constructor(
      string memory baseURI, 
      address _treasury, 
      address _falc_vak, 
      address _tio, 
      address _addict
      ) ERC721A(tokenName, tokenSymbol){
      setUriPrefix(baseURI); 
      setTreasury(_treasury, _falc_vak, _tio, _addict);
      _safeMint(_msgSender(), maxTeamReserve);

  }

  function mint(uint256 _mintAmount) public payable nonReentrant{
      require(!paused, 'The contract is paused!');
      require(_mintAmount > 0 && _mintAmount <= maxMintAddress, 'Invalid mint amount!');
      require(totalSupply() + _mintAmount <= (maxSupply), 'Max supply exceeded!');
      require(msg.value == cost * _mintAmount, 'Insufficient funds!');
      _safeMint(_msgSender(), _mintAmount);
  }

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');
    string memory currentBaseURI = _baseURI();
    _tokenId++;
    return bytes(currentBaseURI).length > 0
        ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
        : '';
  }

  function setPaused() public onlyOwner {
    paused = !paused;
  }

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

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

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

  function withdraw() public onlyOwner{
    uint256 total = address(this).balance;
    uint256 share1 = total * 500 / 1000;
    uint256 share2 = total * 250 / 1000;
    uint256 share3 = total * 125 / 1000;
    uint256 share4 = total * 125 / 1000;
    payable(treasury).transfer(share1);
    payable(fal_vak).transfer(share2);
    payable(tio).transfer(share3);
    payable(addict).transfer(share4);
  }

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

  function setTreasury(address _setTreasury, address _setFal_vakk, address setTio, address setAddict) public onlyOwner{
      treasury = _setTreasury;
      fal_vak = _setFal_vakk;
      tio = setTio;
      addict = setAddict;
  }

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

}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_falc_vak","type":"address"},{"internalType":"address","name":"_tio","type":"address"},{"internalType":"address","name":"_addict","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","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":[],"name":"addict","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fal_vak","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTeamReserve","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":[],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_setTreasury","type":"address"},{"internalType":"address","name":"_setFal_vakk","type":"address"},{"internalType":"address","name":"setTio","type":"address"},{"internalType":"address","name":"setAddict","type":"address"}],"name":"setTreasury","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":[],"name":"tio","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSymbol","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052601360a09081527f4e6f74205375727265616c20536f63696574790000000000000000000000000060c052600a906200003e9082620006e0565b506040805180820190915260048152634e4f535360e01b6020820152600b90620000699082620006e0565b50611388608052610410600c55600a600d556011805460ff60a01b1916600160a01b179055604080516020810190915260008152601290620000ac9082620006e0565b50604080518082019091526005815264173539b7b760d91b6020820152601390620000d89082620006e0565b50662386f26fc10000601455348015620000f157600080fd5b5060405162002619380380620026198339810160408190526200011491620007ef565b600a8054620001239062000652565b80601f0160208091040260200160405190810160405280929190818152602001828054620001519062000652565b8015620001a25780601f106200017657610100808354040283529160200191620001a2565b820191906000526020600020905b8154815290600101906020018083116200018457829003601f168201915b5050505050600b8054620001b69062000652565b80601f0160208091040260200160405190810160405280929190818152602001828054620001e49062000652565b8015620002355780601f10620002095761010080835404028352916020019162000235565b820191906000526020600020905b8154815290600101906020018083116200021757829003601f168201915b505050505081600290816200024b9190620006e0565b5060036200025a8282620006e0565b505060008055506200026c33620002a3565b60016009556200027c85620002f5565b6200028a8484848462000311565b6200029833600c546200036b565b50505050506200097d565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002ff6200038d565b60126200030d8282620006e0565b5050565b6200031b6200038d565b600e80546001600160a01b039586166001600160a01b031991821617909155600f805494861694821694909417909355601080549285169284169290921790915560118054919093169116179055565b6200030d828260405180602001604052806000815250620003ee60201b60201c565b6008546001600160a01b03163314620003ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b620003fa838362000465565b6001600160a01b0383163b1562000460576000548281035b6001810190620004289060009087908662000548565b62000446576040516368d2bf6b60e11b815260040160405180910390fd5b818110620004125781600054146200045d57600080fd5b50505b505050565b6000546001600160a01b0383166200048f57604051622e076360e81b815260040160405180910390fd5b81600003620004b15760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210620004fb5760005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200057f903390899088908890600401620008f4565b6020604051808303816000875af1925050508015620005bd575060408051601f3d908101601f19168201909252620005ba918101906200094a565b60015b6200061f573d808015620005ee576040519150601f19603f3d011682016040523d82523d6000602084013e620005f3565b606091505b50805160000362000617576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200066757607f821691505b6020821081036200068857634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200046057600081815260208120601f850160051c81016020861015620006b75750805b601f850160051c820191505b81811015620006d857828155600101620006c3565b505050505050565b81516001600160401b03811115620006fc57620006fc6200063c565b62000714816200070d845462000652565b846200068e565b602080601f8311600181146200074c5760008415620007335750858301515b600019600386901b1c1916600185901b178555620006d8565b600085815260208120601f198616915b828110156200077d578886015182559484019460019091019084016200075c565b50858210156200079c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620007c9578181015183820152602001620007af565b50506000910152565b80516001600160a01b0381168114620007ea57600080fd5b919050565b600080600080600060a086880312156200080857600080fd5b85516001600160401b03808211156200082057600080fd5b818801915088601f8301126200083557600080fd5b8151818111156200084a576200084a6200063c565b604051601f8201601f19908116603f011681019083821181831017156200087557620008756200063c565b816040528281528b60208487010111156200088f57600080fd5b620008a2836020830160208801620007ac565b8099505050505050620008b860208701620007d2565b9350620008c860408701620007d2565b9250620008d860608701620007d2565b9150620008e860808701620007d2565b90509295509295909350565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620009338160a0850160208701620007ac565b601f01601f19169190910160a00195945050505050565b6000602082840312156200095d57600080fd5b81516001600160e01b0319811681146200097657600080fd5b9392505050565b608051611c79620009a0600039600081816105790152610db30152611c796000f3fe6080604052600436106102045760003560e01c8063715018a611610118578063c87b56dd116100a0578063eb42c4c01161006f578063eb42c4c0146105bb578063ec25a7e5146105d1578063f1381f12146105f1578063f2fde38b14610611578063f4010ea61461063157600080fd5b8063c87b56dd14610527578063d3900bd814610547578063d5abeb0114610567578063e985e9c51461059b57600080fd5b806395d89b41116100e757806395d89b411461049f578063a0712d68146104b4578063a22cb465146104c7578063b88d4fde146104e7578063b8cd35121461050757600080fd5b8063715018a6146104375780637b61c3201461044c5780637ec4a659146104615780638da5cb5b1461048157600080fd5b806337a66d851161019b5780635c975abb1161016a5780635c975abb146103a157806361d027b3146103c25780636352211e146103e25780636c02a9311461040257806370a082311461041757600080fd5b806337a66d85146103375780633ccfd60b1461034c57806342842e0e1461036157806344a0d68a1461038157600080fd5b806313faede6116101d757806313faede6146102ba57806316ba10e0146102de57806318160ddd146102fe57806323b872dd1461031757600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046115ff565b610647565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610699565b604051610235919061166c565b34801561026c57600080fd5b5061028061027b36600461167f565b61072b565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046116b4565b61076f565b005b3480156102c657600080fd5b506102d060145481565b604051908152602001610235565b3480156102ea57600080fd5b506102b86102f936600461176a565b61080f565b34801561030a57600080fd5b50600154600054036102d0565b34801561032357600080fd5b506102b86103323660046117b3565b610827565b34801561034357600080fd5b506102b86109c0565b34801561035857600080fd5b506102b86109e9565b34801561036d57600080fd5b506102b861037c3660046117b3565b610b4d565b34801561038d57600080fd5b506102b861039c36600461167f565b610b6d565b3480156103ad57600080fd5b5060115461022990600160a01b900460ff1681565b3480156103ce57600080fd5b50600e54610280906001600160a01b031681565b3480156103ee57600080fd5b506102806103fd36600461167f565b610b7a565b34801561040e57600080fd5b50610253610b85565b34801561042357600080fd5b506102d06104323660046117ef565b610c13565b34801561044357600080fd5b506102b8610c62565b34801561045857600080fd5b50610253610c76565b34801561046d57600080fd5b506102b861047c36600461176a565b610c83565b34801561048d57600080fd5b506008546001600160a01b0316610280565b3480156104ab57600080fd5b50610253610c97565b6102b86104c236600461167f565b610ca6565b3480156104d357600080fd5b506102b86104e236600461180a565b610e93565b3480156104f357600080fd5b506102b8610502366004611846565b610f28565b34801561051357600080fd5b50600f54610280906001600160a01b031681565b34801561053357600080fd5b5061025361054236600461167f565b610f72565b34801561055357600080fd5b50601154610280906001600160a01b031681565b34801561057357600080fd5b506102d07f000000000000000000000000000000000000000000000000000000000000000081565b3480156105a757600080fd5b506102296105b63660046118c2565b61104d565b3480156105c757600080fd5b506102d0600c5481565b3480156105dd57600080fd5b50601054610280906001600160a01b031681565b3480156105fd57600080fd5b506102b861060c3660046118f5565b61107b565b34801561061d57600080fd5b506102b861062c3660046117ef565b6110d3565b34801561063d57600080fd5b506102d0600d5481565b60006301ffc9a760e01b6001600160e01b03198316148061067857506380ac58cd60e01b6001600160e01b03198316145b806106935750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106a890611949565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490611949565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b5050505050905090565b60006107368261114c565b610753576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077a82610b7a565b9050336001600160a01b038216146107b357610796813361104d565b6107b3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610817611173565b601361082382826119c9565b5050565b6000610832826111cd565b9050836001600160a01b0316816001600160a01b0316146108655760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108b257610895863361104d565b6108b257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d957604051633a954ecd60e21b815260040160405180910390fd5b80156108e457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610976576001840160008181526004602052604081205490036109745760005481146109745760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109c8611173565b6011805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6109f1611173565b4760006103e8610a03836101f4611a9f565b610a0d9190611acc565b905060006103e8610a1f8460fa611a9f565b610a299190611acc565b905060006103e8610a3b85607d611a9f565b610a459190611acc565b905060006103e8610a5786607d611a9f565b610a619190611acc565b600e546040519192506001600160a01b03169085156108fc029086906000818181858888f19350505050158015610a9c573d6000803e3d6000fd5b50600f546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610ad7573d6000803e3d6000fd5b506010546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610b12573d6000803e3d6000fd5b506011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b610b6883838360405180602001604052806000815250610f28565b505050565b610b75611173565b601455565b6000610693826111cd565b600a8054610b9290611949565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe90611949565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b505050505081565b60006001600160a01b038216610c3c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c6a611173565b610c746000611234565b565b600b8054610b9290611949565b610c8b611173565b601261082382826119c9565b6060600380546106a890611949565b600260095403610cfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955601154600160a01b900460ff1615610d5c5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610cf4565b600081118015610d6e5750600d548111155b610db15760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610cf4565b7f000000000000000000000000000000000000000000000000000000000000000081610de06001546000540390565b610dea9190611ae0565b1115610e2f5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610cf4565b80601454610e3d9190611a9f565b3414610e815760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cf4565b610e8b3382611286565b506001600955565b336001600160a01b03831603610ebc5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f33848484610827565b6001600160a01b0383163b15610f6c57610f4f848484846112a0565b610f6c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f7d8261114c565b610fe15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cf4565b6000610feb61138c565b905082610ff781611af3565b93505060008151116110185760405180602001604052806000815250611046565b806110228461139b565b601360405160200161103693929190611b0c565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611083611173565b600e80546001600160a01b039586166001600160a01b031991821617909155600f805494861694821694909417909355601080549285169284169290921790915560118054919093169116179055565b6110db611173565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cf4565b61114981611234565b50565b6000805482108015610693575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cf4565b60008160005481101561121b5760008181526004602052604081205490600160e01b82169003611219575b806000036110465750600019016000818152600460205260409020546111f8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61082382826040518060200160405280600081525061149c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d5903390899088908890600401611bac565b6020604051808303816000875af1925050508015611310575060408051601f3d908101601f1916820190925261130d91810190611be9565b60015b61136e573d80801561133e576040519150601f19603f3d011682016040523d82523d6000602084013e611343565b606091505b508051600003611366576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546106a890611949565b6060816000036113c25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113ec57806113d681611af3565b91506113e59050600a83611acc565b91506113c6565b60008167ffffffffffffffff811115611407576114076116de565b6040519080825280601f01601f191660200182016040528015611431576020820181803683370190505b5090505b841561138457611446600183611c06565b9150611453600a86611c19565b61145e906030611ae0565b60f81b81838151811061147357611473611c2d565b60200101906001600160f81b031916908160001a905350611495600a86611acc565b9450611435565b6114a68383611509565b6001600160a01b0383163b15610b68576000548281035b6114d060008683806001019450866112a0565b6114ed576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114bd57816000541461150257600080fd5b5050505050565b6000546001600160a01b03831661153257604051622e076360e81b815260040160405180910390fd5b816000036115535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061159d5760005550505050565b6001600160e01b03198116811461114957600080fd5b60006020828403121561161157600080fd5b8135611046816115e9565b60005b8381101561163757818101518382015260200161161f565b50506000910152565b6000815180845261165881602086016020860161161c565b601f01601f19169290920160200192915050565b6020815260006110466020830184611640565b60006020828403121561169157600080fd5b5035919050565b80356001600160a01b03811681146116af57600080fd5b919050565b600080604083850312156116c757600080fd5b6116d083611698565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561170f5761170f6116de565b604051601f8501601f19908116603f01168101908282118183101715611737576117376116de565b8160405280935085815286868601111561175057600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561177c57600080fd5b813567ffffffffffffffff81111561179357600080fd5b8201601f810184136117a457600080fd5b611384848235602084016116f4565b6000806000606084860312156117c857600080fd5b6117d184611698565b92506117df60208501611698565b9150604084013590509250925092565b60006020828403121561180157600080fd5b61104682611698565b6000806040838503121561181d57600080fd5b61182683611698565b91506020830135801515811461183b57600080fd5b809150509250929050565b6000806000806080858703121561185c57600080fd5b61186585611698565b935061187360208601611698565b925060408501359150606085013567ffffffffffffffff81111561189657600080fd5b8501601f810187136118a757600080fd5b6118b6878235602084016116f4565b91505092959194509250565b600080604083850312156118d557600080fd5b6118de83611698565b91506118ec60208401611698565b90509250929050565b6000806000806080858703121561190b57600080fd5b61191485611698565b935061192260208601611698565b925061193060408601611698565b915061193e60608601611698565b905092959194509250565b600181811c9082168061195d57607f821691505b60208210810361197d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610b6857600081815260208120601f850160051c810160208610156119aa5750805b601f850160051c820191505b818110156109b8578281556001016119b6565b815167ffffffffffffffff8111156119e3576119e36116de565b6119f7816119f18454611949565b84611983565b602080601f831160018114611a2c5760008415611a145750858301515b600019600386901b1c1916600185901b1785556109b8565b600085815260208120601f198616915b82811015611a5b57888601518255948401946001909101908401611a3c565b5085821015611a795787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761069357610693611a89565b634e487b7160e01b600052601260045260246000fd5b600082611adb57611adb611ab6565b500490565b8082018082111561069357610693611a89565b600060018201611b0557611b05611a89565b5060010190565b600084516020611b1f8285838a0161161c565b855191840191611b328184848a0161161c565b8554920191600090611b4381611949565b60018281168015611b5b5760018114611b7057611b9c565b60ff1984168752821515830287019450611b9c565b896000528560002060005b84811015611b9457815489820152908301908701611b7b565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bdf90830184611640565b9695505050505050565b600060208284031215611bfb57600080fd5b8151611046816115e9565b8181038181111561069357610693611a89565b600082611c2857611c28611ab6565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212207412880e94be5727e7e2a097d6268be77e2e7c1b43b70e0f47c9e4b5533b87ee64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000021bdb7e9cc0ad72bd5ccf5eee4f0a17a6f5ed154000000000000000000000000db6b6395b8a748ea7e9df7aac3a79f184a37651d000000000000000000000000a6b854bcbc44d2b713b9f2238f7ce569c2a738e2000000000000000000000000c8510b905d69f0328af9e2730504e6ee650b2bb10000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696577787374696c617762763462657275336a36733270647478716e786a6f6978663475636877663532777134726a6c65786778652f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c8063715018a611610118578063c87b56dd116100a0578063eb42c4c01161006f578063eb42c4c0146105bb578063ec25a7e5146105d1578063f1381f12146105f1578063f2fde38b14610611578063f4010ea61461063157600080fd5b8063c87b56dd14610527578063d3900bd814610547578063d5abeb0114610567578063e985e9c51461059b57600080fd5b806395d89b41116100e757806395d89b411461049f578063a0712d68146104b4578063a22cb465146104c7578063b88d4fde146104e7578063b8cd35121461050757600080fd5b8063715018a6146104375780637b61c3201461044c5780637ec4a659146104615780638da5cb5b1461048157600080fd5b806337a66d851161019b5780635c975abb1161016a5780635c975abb146103a157806361d027b3146103c25780636352211e146103e25780636c02a9311461040257806370a082311461041757600080fd5b806337a66d85146103375780633ccfd60b1461034c57806342842e0e1461036157806344a0d68a1461038157600080fd5b806313faede6116101d757806313faede6146102ba57806316ba10e0146102de57806318160ddd146102fe57806323b872dd1461031757600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b506102296102243660046115ff565b610647565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b50610253610699565b604051610235919061166c565b34801561026c57600080fd5b5061028061027b36600461167f565b61072b565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046116b4565b61076f565b005b3480156102c657600080fd5b506102d060145481565b604051908152602001610235565b3480156102ea57600080fd5b506102b86102f936600461176a565b61080f565b34801561030a57600080fd5b50600154600054036102d0565b34801561032357600080fd5b506102b86103323660046117b3565b610827565b34801561034357600080fd5b506102b86109c0565b34801561035857600080fd5b506102b86109e9565b34801561036d57600080fd5b506102b861037c3660046117b3565b610b4d565b34801561038d57600080fd5b506102b861039c36600461167f565b610b6d565b3480156103ad57600080fd5b5060115461022990600160a01b900460ff1681565b3480156103ce57600080fd5b50600e54610280906001600160a01b031681565b3480156103ee57600080fd5b506102806103fd36600461167f565b610b7a565b34801561040e57600080fd5b50610253610b85565b34801561042357600080fd5b506102d06104323660046117ef565b610c13565b34801561044357600080fd5b506102b8610c62565b34801561045857600080fd5b50610253610c76565b34801561046d57600080fd5b506102b861047c36600461176a565b610c83565b34801561048d57600080fd5b506008546001600160a01b0316610280565b3480156104ab57600080fd5b50610253610c97565b6102b86104c236600461167f565b610ca6565b3480156104d357600080fd5b506102b86104e236600461180a565b610e93565b3480156104f357600080fd5b506102b8610502366004611846565b610f28565b34801561051357600080fd5b50600f54610280906001600160a01b031681565b34801561053357600080fd5b5061025361054236600461167f565b610f72565b34801561055357600080fd5b50601154610280906001600160a01b031681565b34801561057357600080fd5b506102d07f000000000000000000000000000000000000000000000000000000000000138881565b3480156105a757600080fd5b506102296105b63660046118c2565b61104d565b3480156105c757600080fd5b506102d0600c5481565b3480156105dd57600080fd5b50601054610280906001600160a01b031681565b3480156105fd57600080fd5b506102b861060c3660046118f5565b61107b565b34801561061d57600080fd5b506102b861062c3660046117ef565b6110d3565b34801561063d57600080fd5b506102d0600d5481565b60006301ffc9a760e01b6001600160e01b03198316148061067857506380ac58cd60e01b6001600160e01b03198316145b806106935750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106a890611949565b80601f01602080910402602001604051908101604052809291908181526020018280546106d490611949565b80156107215780601f106106f657610100808354040283529160200191610721565b820191906000526020600020905b81548152906001019060200180831161070457829003601f168201915b5050505050905090565b60006107368261114c565b610753576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061077a82610b7a565b9050336001600160a01b038216146107b357610796813361104d565b6107b3576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610817611173565b601361082382826119c9565b5050565b6000610832826111cd565b9050836001600160a01b0316816001600160a01b0316146108655760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108b257610895863361104d565b6108b257604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108d957604051633a954ecd60e21b815260040160405180910390fd5b80156108e457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610976576001840160008181526004602052604081205490036109745760005481146109745760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6109c8611173565b6011805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6109f1611173565b4760006103e8610a03836101f4611a9f565b610a0d9190611acc565b905060006103e8610a1f8460fa611a9f565b610a299190611acc565b905060006103e8610a3b85607d611a9f565b610a459190611acc565b905060006103e8610a5786607d611a9f565b610a619190611acc565b600e546040519192506001600160a01b03169085156108fc029086906000818181858888f19350505050158015610a9c573d6000803e3d6000fd5b50600f546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015610ad7573d6000803e3d6000fd5b506010546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610b12573d6000803e3d6000fd5b506011546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156109b8573d6000803e3d6000fd5b610b6883838360405180602001604052806000815250610f28565b505050565b610b75611173565b601455565b6000610693826111cd565b600a8054610b9290611949565b80601f0160208091040260200160405190810160405280929190818152602001828054610bbe90611949565b8015610c0b5780601f10610be057610100808354040283529160200191610c0b565b820191906000526020600020905b815481529060010190602001808311610bee57829003601f168201915b505050505081565b60006001600160a01b038216610c3c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610c6a611173565b610c746000611234565b565b600b8054610b9290611949565b610c8b611173565b601261082382826119c9565b6060600380546106a890611949565b600260095403610cfd5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955601154600160a01b900460ff1615610d5c5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610cf4565b600081118015610d6e5750600d548111155b610db15760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610cf4565b7f000000000000000000000000000000000000000000000000000000000000138881610de06001546000540390565b610dea9190611ae0565b1115610e2f5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610cf4565b80601454610e3d9190611a9f565b3414610e815760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610cf4565b610e8b3382611286565b506001600955565b336001600160a01b03831603610ebc5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f33848484610827565b6001600160a01b0383163b15610f6c57610f4f848484846112a0565b610f6c576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f7d8261114c565b610fe15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610cf4565b6000610feb61138c565b905082610ff781611af3565b93505060008151116110185760405180602001604052806000815250611046565b806110228461139b565b601360405160200161103693929190611b0c565b6040516020818303038152906040525b9392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b611083611173565b600e80546001600160a01b039586166001600160a01b031991821617909155600f805494861694821694909417909355601080549285169284169290921790915560118054919093169116179055565b6110db611173565b6001600160a01b0381166111405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cf4565b61114981611234565b50565b6000805482108015610693575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610c745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cf4565b60008160005481101561121b5760008181526004602052604081205490600160e01b82169003611219575b806000036110465750600019016000818152600460205260409020546111f8565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61082382826040518060200160405280600081525061149c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906112d5903390899088908890600401611bac565b6020604051808303816000875af1925050508015611310575060408051601f3d908101601f1916820190925261130d91810190611be9565b60015b61136e573d80801561133e576040519150601f19603f3d011682016040523d82523d6000602084013e611343565b606091505b508051600003611366576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546106a890611949565b6060816000036113c25750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113ec57806113d681611af3565b91506113e59050600a83611acc565b91506113c6565b60008167ffffffffffffffff811115611407576114076116de565b6040519080825280601f01601f191660200182016040528015611431576020820181803683370190505b5090505b841561138457611446600183611c06565b9150611453600a86611c19565b61145e906030611ae0565b60f81b81838151811061147357611473611c2d565b60200101906001600160f81b031916908160001a905350611495600a86611acc565b9450611435565b6114a68383611509565b6001600160a01b0383163b15610b68576000548281035b6114d060008683806001019450866112a0565b6114ed576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114bd57816000541461150257600080fd5b5050505050565b6000546001600160a01b03831661153257604051622e076360e81b815260040160405180910390fd5b816000036115535760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061159d5760005550505050565b6001600160e01b03198116811461114957600080fd5b60006020828403121561161157600080fd5b8135611046816115e9565b60005b8381101561163757818101518382015260200161161f565b50506000910152565b6000815180845261165881602086016020860161161c565b601f01601f19169290920160200192915050565b6020815260006110466020830184611640565b60006020828403121561169157600080fd5b5035919050565b80356001600160a01b03811681146116af57600080fd5b919050565b600080604083850312156116c757600080fd5b6116d083611698565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561170f5761170f6116de565b604051601f8501601f19908116603f01168101908282118183101715611737576117376116de565b8160405280935085815286868601111561175057600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561177c57600080fd5b813567ffffffffffffffff81111561179357600080fd5b8201601f810184136117a457600080fd5b611384848235602084016116f4565b6000806000606084860312156117c857600080fd5b6117d184611698565b92506117df60208501611698565b9150604084013590509250925092565b60006020828403121561180157600080fd5b61104682611698565b6000806040838503121561181d57600080fd5b61182683611698565b91506020830135801515811461183b57600080fd5b809150509250929050565b6000806000806080858703121561185c57600080fd5b61186585611698565b935061187360208601611698565b925060408501359150606085013567ffffffffffffffff81111561189657600080fd5b8501601f810187136118a757600080fd5b6118b6878235602084016116f4565b91505092959194509250565b600080604083850312156118d557600080fd5b6118de83611698565b91506118ec60208401611698565b90509250929050565b6000806000806080858703121561190b57600080fd5b61191485611698565b935061192260208601611698565b925061193060408601611698565b915061193e60608601611698565b905092959194509250565b600181811c9082168061195d57607f821691505b60208210810361197d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610b6857600081815260208120601f850160051c810160208610156119aa5750805b601f850160051c820191505b818110156109b8578281556001016119b6565b815167ffffffffffffffff8111156119e3576119e36116de565b6119f7816119f18454611949565b84611983565b602080601f831160018114611a2c5760008415611a145750858301515b600019600386901b1c1916600185901b1785556109b8565b600085815260208120601f198616915b82811015611a5b57888601518255948401946001909101908401611a3c565b5085821015611a795787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808202811582820484141761069357610693611a89565b634e487b7160e01b600052601260045260246000fd5b600082611adb57611adb611ab6565b500490565b8082018082111561069357610693611a89565b600060018201611b0557611b05611a89565b5060010190565b600084516020611b1f8285838a0161161c565b855191840191611b328184848a0161161c565b8554920191600090611b4381611949565b60018281168015611b5b5760018114611b7057611b9c565b60ff1984168752821515830287019450611b9c565b896000528560002060005b84811015611b9457815489820152908301908701611b7b565b505082870194505b50929a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611bdf90830184611640565b9695505050505050565b600060208284031215611bfb57600080fd5b8151611046816115e9565b8181038181111561069357610693611a89565b600082611c2857611c28611ab6565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212207412880e94be5727e7e2a097d6268be77e2e7c1b43b70e0f47c9e4b5533b87ee64736f6c63430008110033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000021bdb7e9cc0ad72bd5ccf5eee4f0a17a6f5ed154000000000000000000000000db6b6395b8a748ea7e9df7aac3a79f184a37651d000000000000000000000000a6b854bcbc44d2b713b9f2238f7ce569c2a738e2000000000000000000000000c8510b905d69f0328af9e2730504e6ee650b2bb10000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696577787374696c617762763462657275336a36733270647478716e786a6f6978663475636877663532777134726a6c65786778652f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://bafybeiewxstilawbv4beru3j6s2pdtxqnxjoixf4uchwf52wq4rjlexgxe/
Arg [1] : _treasury (address): 0x21bDb7E9cC0ad72BD5CCF5EEe4F0a17A6f5ed154
Arg [2] : _falc_vak (address): 0xdB6b6395B8a748Ea7e9df7AAC3a79F184A37651d
Arg [3] : _tio (address): 0xa6B854bCBC44D2B713B9F2238f7Ce569c2A738e2
Arg [4] : _addict (address): 0xC8510b905D69F0328af9E2730504E6EE650b2BB1

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000021bdb7e9cc0ad72bd5ccf5eee4f0a17a6f5ed154
Arg [2] : 000000000000000000000000db6b6395b8a748ea7e9df7aac3a79f184a37651d
Arg [3] : 000000000000000000000000a6b854bcbc44d2b713b9f2238f7ce569c2a738e2
Arg [4] : 000000000000000000000000c8510b905d69f0328af9e2730504e6ee650b2bb1
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [6] : 697066733a2f2f626166796265696577787374696c617762763462657275336a
Arg [7] : 36733270647478716e786a6f6978663475636877663532777134726a6c657867
Arg [8] : 78652f0000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

62785:2950:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23788:615;;;;;;;;;;-1:-1:-1;23788:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;23788:615:0;;;;;;;;29435:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31381:204::-;;;;;;;;;;-1:-1:-1;31381:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;31381:204:0;1533:203:1;30929:386:0;;;;;;;;;;-1:-1:-1;30929:386:0;;;;;:::i;:::-;;:::i;:::-;;63322:32;;;;;;;;;;;;;;;;;;;2324:25:1;;;2312:2;2297:18;63322:32:0;2178:177:1;64764:100:0;;;;;;;;;;-1:-1:-1;64764:100:0;;;;;:::i;:::-;;:::i;22842:315::-;;;;;;;;;;-1:-1:-1;23108:12:0;;22895:7;23092:13;:28;22842:315;;40646:2800;;;;;;;;;;-1:-1:-1;40646:2800:0;;;;;:::i;:::-;;:::i;64505:67::-;;;;;;;;;;;;;:::i;64870:410::-;;;;;;;;;;;;;:::i;32271:185::-;;;;;;;;;;-1:-1:-1;32271:185:0;;;;;:::i;:::-;;:::i;64578:74::-;;;;;;;;;;-1:-1:-1;64578:74:0;;;;;:::i;:::-;;:::i;63217:25::-;;;;;;;;;;-1:-1:-1;63217:25:0;;;;-1:-1:-1;;;63217:25:0;;;;;;63105:23;;;;;;;;;;-1:-1:-1;63105:23:0;;;;-1:-1:-1;;;;;63105:23:0;;;29224:144;;;;;;;;;;-1:-1:-1;29224:144:0;;;;;:::i;:::-;;:::i;62887:47::-;;;;;;;;;;;;;:::i;24467:224::-;;;;;;;;;;-1:-1:-1;24467:224:0;;;;;:::i;:::-;;:::i;8379:103::-;;;;;;;;;;;;;:::i;62938:34::-;;;;;;;;;;;;;:::i;64658:100::-;;;;;;;;;;-1:-1:-1;64658:100:0;;;;;:::i;:::-;;:::i;7731:87::-;;;;;;;;;;-1:-1:-1;7804:6:0;;-1:-1:-1;;;;;7804:6:0;7731:87;;29604:104;;;;;;;;;;;;;:::i;63694:411::-;;;;;;:::i;:::-;;:::i;31657:308::-;;;;;;;;;;-1:-1:-1;31657:308:0;;;;;:::i;:::-;;:::i;32527:399::-;;;;;;;;;;-1:-1:-1;32527:399:0;;;;;:::i;:::-;;:::i;63135:22::-;;;;;;;;;;-1:-1:-1;63135:22:0;;;;-1:-1:-1;;;;;63135:22:0;;;64111:388;;;;;;;;;;-1:-1:-1;64111:388:0;;;;;:::i;:::-;;:::i;63189:21::-;;;;;;;;;;-1:-1:-1;63189:21:0;;;;-1:-1:-1;;;;;63189:21:0;;;62979:41;;;;;;;;;;;;;;;32036:164;;;;;;;;;;-1:-1:-1;32036:164:0;;;;;:::i;:::-;;:::i;63024:36::-;;;;;;;;;;;;;;;;63164:18;;;;;;;;;;-1:-1:-1;63164:18:0;;;;-1:-1:-1;;;;;63164:18:0;;;65387:233;;;;;;;;;;-1:-1:-1;65387:233:0;;;;;:::i;:::-;;:::i;8637:201::-;;;;;;;;;;-1:-1:-1;8637:201:0;;;;;:::i;:::-;;:::i;63064:34::-;;;;;;;;;;;;;;;;23788:615;23873:4;-1:-1:-1;;;;;;;;;24173:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24250:25:0;;;24173:102;:179;;;-1:-1:-1;;;;;;;;;;24327:25:0;;;24173:179;24153:199;23788:615;-1:-1:-1;;23788:615:0:o;29435:100::-;29489:13;29522:5;29515:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29435:100;:::o;31381:204::-;31449:7;31474:16;31482:7;31474;:16::i;:::-;31469:64;;31499:34;;-1:-1:-1;;;31499:34:0;;;;;;;;;;;31469:64;-1:-1:-1;31553:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;31553:24:0;;31381:204::o;30929:386::-;31002:13;31018:16;31026:7;31018;:16::i;:::-;31002:32;-1:-1:-1;51829:10:0;-1:-1:-1;;;;;31051:28:0;;;31047:175;;31099:44;31116:5;51829:10;32036:164;:::i;31099:44::-;31094:128;;31171:35;;-1:-1:-1;;;31171:35:0;;;;;;;;;;;31094:128;31234:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31234:29:0;-1:-1:-1;;;;;31234:29:0;;;;;;;;;31279:28;;31234:24;;31279:28;;;;;;;30991:324;30929:386;;:::o;64764:100::-;7617:13;:11;:13::i;:::-;64836:9:::1;:22;64848:10:::0;64836:9;:22:::1;:::i;:::-;;64764:100:::0;:::o;40646:2800::-;40780:27;40810;40829:7;40810:18;:27::i;:::-;40780:57;;40895:4;-1:-1:-1;;;;;40854:45:0;40870:19;-1:-1:-1;;;;;40854:45:0;;40850:86;;40908:28;;-1:-1:-1;;;40908:28:0;;;;;;;;;;;40850:86;40950:27;39376:21;;;39203:15;39418:4;39411:36;39500:4;39484:21;;39590:26;;51829:10;40343:30;;;-1:-1:-1;;;;;40041:26:0;;40322:19;;;40319:55;41129:174;;41216:43;41233:4;51829:10;32036:164;:::i;41216:43::-;41211:92;;41268:35;;-1:-1:-1;;;41268:35:0;;;;;;;;;;;41211:92;-1:-1:-1;;;;;41320:16:0;;41316:52;;41345:23;;-1:-1:-1;;;41345:23:0;;;;;;;;;;;41316:52;41517:15;41514:160;;;41657:1;41636:19;41629:30;41514:160;-1:-1:-1;;;;;42052:24:0;;;;;;;:18;:24;;;;;;42050:26;;-1:-1:-1;;42050:26:0;;;42121:22;;;;;;;;;42119:24;;-1:-1:-1;42119:24:0;;;29123:11;29099:22;29095:40;29082:62;-1:-1:-1;;;29082:62:0;42414:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;42708:46:0;;:51;;42704:626;;42812:1;42802:11;;42780:19;42935:30;;;:17;:30;;;;;;:35;;42931:384;;43073:13;;43058:11;:28;43054:242;;43220:30;;;;:17;:30;;;;;:52;;;43054:242;42761:569;42704:626;43377:7;43373:2;-1:-1:-1;;;;;43358:27:0;43367:4;-1:-1:-1;;;;;43358:27:0;;;;;;;;;;;43396:42;40769:2677;;;40646:2800;;;:::o;64505:67::-;7617:13;:11;:13::i;:::-;64560:6:::1;::::0;;-1:-1:-1;;;;64550:16:0;::::1;-1:-1:-1::0;;;64560:6:0;;;::::1;;;64559:7;64550:16:::0;;::::1;;::::0;;64505:67::o;64870:410::-;7617:13;:11;:13::i;:::-;64929:21:::1;64913:13;64988:4;64974:11;64929:21:::0;64982:3:::1;64974:11;:::i;:::-;:18;;;;:::i;:::-;64957:35:::0;-1:-1:-1;64999:14:0::1;65030:4;65016:11;:5:::0;65024:3:::1;65016:11;:::i;:::-;:18;;;;:::i;:::-;64999:35:::0;-1:-1:-1;65041:14:0::1;65072:4;65058:11;:5:::0;65066:3:::1;65058:11;:::i;:::-;:18;;;;:::i;:::-;65041:35:::0;-1:-1:-1;65083:14:0::1;65114:4;65100:11;:5:::0;65108:3:::1;65100:11;:::i;:::-;:18;;;;:::i;:::-;65133:8;::::0;65125:34:::1;::::0;65083:35;;-1:-1:-1;;;;;;65133:8:0::1;::::0;65125:34;::::1;;;::::0;65152:6;;65133:8:::1;65125:34:::0;65133:8;65125:34;65152:6;65133:8;65125:34;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;65174:7:0::1;::::0;65166:33:::1;::::0;-1:-1:-1;;;;;65174:7:0;;::::1;::::0;65166:33;::::1;;;::::0;65192:6;;65174:7:::1;65166:33:::0;65174:7;65166:33;65192:6;65174:7;65166:33;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;65214:3:0::1;::::0;65206:29:::1;::::0;-1:-1:-1;;;;;65214:3:0;;::::1;::::0;65206:29;::::1;;;::::0;65228:6;;65214:3:::1;65206:29:::0;65214:3;65206:29;65228:6;65214:3;65206:29;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;65250:6:0::1;::::0;65242:32:::1;::::0;-1:-1:-1;;;;;65250:6:0;;::::1;::::0;65242:32;::::1;;;::::0;65267:6;;65250::::1;65242:32:::0;65250:6;65242:32;65267:6;65250;65242:32;::::1;;;;;;;;;;;;;::::0;::::1;;;;32271:185:::0;32409:39;32426:4;32432:2;32436:7;32409:39;;;;;;;;;;;;:16;:39::i;:::-;32271:185;;;:::o;64578:74::-;7617:13;:11;:13::i;:::-;64634:4:::1;:12:::0;64578:74::o;29224:144::-;29288:7;29331:27;29350:7;29331:18;:27::i;62887:47::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24467:224::-;24531:7;-1:-1:-1;;;;;24555:19:0;;24551:60;;24583:28;;-1:-1:-1;;;24583:28:0;;;;;;;;;;;24551:60;-1:-1:-1;;;;;;24629:25:0;;;;;:18;:25;;;;;;19022:13;24629:54;;24467:224::o;8379:103::-;7617:13;:11;:13::i;:::-;8444:30:::1;8471:1;8444:18;:30::i;:::-;8379:103::o:0;62938:34::-;;;;;;;:::i;64658:100::-;7617:13;:11;:13::i;:::-;64730:9:::1;:22;64742:10:::0;64730:9;:22:::1;:::i;29604:104::-:0;29660:13;29693:7;29686:14;;;;;:::i;63694:411::-;2159:1;2757:7;;:19;2749:63;;;;-1:-1:-1;;;2749:63:0;;9165:2:1;2749:63:0;;;9147:21:1;9204:2;9184:18;;;9177:30;9243:33;9223:18;;;9216:61;9294:18;;2749:63:0;;;;;;;;;2159:1;2890:7;:18;63774:6:::1;::::0;-1:-1:-1;;;63774:6:0;::::1;;;63773:7;63765:43;;;::::0;-1:-1:-1;;;63765:43:0;;9525:2:1;63765:43:0::1;::::0;::::1;9507:21:1::0;9564:2;9544:18;;;9537:30;9603:25;9583:18;;;9576:53;9646:18;;63765:43:0::1;9323:347:1::0;63765:43:0::1;63839:1;63825:11;:15;:48;;;;;63859:14;;63844:11;:29;;63825:48;63817:81;;;::::0;-1:-1:-1;;;63817:81:0;;9877:2:1;63817:81:0::1;::::0;::::1;9859:21:1::0;9916:2;9896:18;;;9889:30;-1:-1:-1;;;9935:18:1;;;9928:50;9995:18;;63817:81:0::1;9675:344:1::0;63817:81:0::1;63947:9;63931:11;63915:13;23108:12:::0;;22895:7;23092:13;:28;;22842:315;63915:13:::1;:27;;;;:::i;:::-;:42;;63907:75;;;::::0;-1:-1:-1;;;63907:75:0;;10356:2:1;63907:75:0::1;::::0;::::1;10338:21:1::0;10395:2;10375:18;;;10368:30;-1:-1:-1;;;10414:18:1;;;10407:50;10474:18;;63907:75:0::1;10154:344:1::0;63907:75:0::1;64019:11;64012:4;;:18;;;;:::i;:::-;63999:9;:31;63991:63;;;::::0;-1:-1:-1;;;63991:63:0;;10705:2:1;63991:63:0::1;::::0;::::1;10687:21:1::0;10744:2;10724:18;;;10717:30;-1:-1:-1;;;10763:18:1;;;10756:49;10822:18;;63991:63:0::1;10503:343:1::0;63991:63:0::1;64063:36;51829:10:::0;64087:11:::1;64063:9;:36::i;:::-;-1:-1:-1::0;2115:1:0;3069:7;:22;63694:411::o;31657:308::-;51829:10;-1:-1:-1;;;;;31756:31:0;;;31752:61;;31796:17;;-1:-1:-1;;;31796:17:0;;;;;;;;;;;31752:61;51829:10;31826:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;31826:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;31826:60:0;;;;;;;;;;31902:55;;540:41:1;;;31826:49:0;;51829:10;31902:55;;513:18:1;31902:55:0;;;;;;;31657:308;;:::o;32527:399::-;32694:31;32707:4;32713:2;32717:7;32694:12;:31::i;:::-;-1:-1:-1;;;;;32740:14:0;;;:19;32736:183;;32779:56;32810:4;32816:2;32820:7;32829:5;32779:30;:56::i;:::-;32774:145;;32863:40;;-1:-1:-1;;;32863:40:0;;;;;;;;;;;32774:145;32527:399;;;;:::o;64111:388::-;64185:13;64215:17;64223:8;64215:7;:17::i;:::-;64207:77;;;;-1:-1:-1;;;64207:77:0;;11053:2:1;64207:77:0;;;11035:21:1;11092:2;11072:18;;;11065:30;11131:34;11111:18;;;11104:62;-1:-1:-1;;;11182:18:1;;;11175:45;11237:19;;64207:77:0;10851:411:1;64207:77:0;64291:28;64322:10;:8;:10::i;:::-;64291:41;-1:-1:-1;64339:10:0;;;;:::i;:::-;;;;64394:1;64369:14;64363:28;:32;:130;;;;;;;;;;;;;;;;;64431:14;64447:19;:8;:17;:19::i;:::-;64468:9;64414:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;64363:130;64356:137;64111:388;-1:-1:-1;;;64111:388:0:o;32036:164::-;-1:-1:-1;;;;;32157:25:0;;;32133:4;32157:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32036:164::o;65387:233::-;7617:13;:11;:13::i;:::-;65512:8:::1;:23:::0;;-1:-1:-1;;;;;65512:23:0;;::::1;-1:-1:-1::0;;;;;;65512:23:0;;::::1;;::::0;;;65544:7:::1;:22:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;65575:3:::1;:12:::0;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;;65596:6:::1;:18:::0;;;;;::::1;::::0;::::1;;::::0;;65387:233::o;8637:201::-;7617:13;:11;:13::i;:::-;-1:-1:-1;;;;;8726:22:0;::::1;8718:73;;;::::0;-1:-1:-1;;;8718:73:0;;12870:2:1;8718:73:0::1;::::0;::::1;12852:21:1::0;12909:2;12889:18;;;12882:30;12948:34;12928:18;;;12921:62;-1:-1:-1;;;12999:18:1;;;12992:36;13045:19;;8718:73:0::1;12668:402:1::0;8718:73:0::1;8802:28;8821:8;8802:18;:28::i;:::-;8637:201:::0;:::o;33181:273::-;33238:4;33328:13;;33318:7;:23;33275:152;;;;-1:-1:-1;;33379:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33379:43:0;:48;;33181:273::o;7896:132::-;7804:6;;-1:-1:-1;;;;;7804:6:0;51829:10;7960:23;7952:68;;;;-1:-1:-1;;;7952:68:0;;13277:2:1;7952:68:0;;;13259:21:1;;;13296:18;;;13289:30;13355:34;13335:18;;;13328:62;13407:18;;7952:68:0;13075:356:1;26141:1129:0;26208:7;26243;26345:13;;26338:4;:20;26334:869;;;26383:14;26400:23;;;:17;:23;;;;;;;-1:-1:-1;;;26489:23:0;;:28;;26485:699;;27008:113;27015:6;27025:1;27015:11;27008:113;;-1:-1:-1;;;27086:6:0;27068:25;;;;:17;:25;;;;;;27008:113;;26485:699;26360:843;26334:869;27231:31;;-1:-1:-1;;;27231:31:0;;;;;;;;;;;8998:191;9091:6;;;-1:-1:-1;;;;;9108:17:0;;;-1:-1:-1;;;;;;9108:17:0;;;;;;;9141:40;;9091:6;;;9108:17;9091:6;;9141:40;;9072:16;;9141:40;9061:128;8998:191;:::o;33538:104::-;33607:27;33617:2;33621:8;33607:27;;;;;;;;;;;;:9;:27::i;47397:716::-;47581:88;;-1:-1:-1;;;47581:88:0;;47560:4;;-1:-1:-1;;;;;47581:45:0;;;;;:88;;51829:10;;47648:4;;47654:7;;47663:5;;47581:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47581:88:0;;;;;;;;-1:-1:-1;;47581:88:0;;;;;;;;;;;;:::i;:::-;;;47577:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47864:6;:13;47881:1;47864:18;47860:235;;47910:40;;-1:-1:-1;;;47910:40:0;;;;;;;;;;;47860:235;48053:6;48047:13;48038:6;48034:2;48030:15;48023:38;47577:529;-1:-1:-1;;;;;;47740:64:0;-1:-1:-1;;;47740:64:0;;-1:-1:-1;47577:529:0;47397:716;;;;;;:::o;65626:104::-;65686:13;65715:9;65708:16;;;;;:::i;3536:723::-;3592:13;3813:5;3822:1;3813:10;3809:53;;-1:-1:-1;;3840:10:0;;;;;;;;;;;;-1:-1:-1;;;3840:10:0;;;;;3536:723::o;3809:53::-;3887:5;3872:12;3928:78;3935:9;;3928:78;;3961:8;;;;:::i;:::-;;-1:-1:-1;3984:10:0;;-1:-1:-1;3992:2:0;3984:10;;:::i;:::-;;;3928:78;;;4016:19;4048:6;4038:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4038:17:0;;4016:39;;4066:154;4073:10;;4066:154;;4100:11;4110:1;4100:11;;:::i;:::-;;-1:-1:-1;4169:10:0;4177:2;4169:5;:10;:::i;:::-;4156:24;;:2;:24;:::i;:::-;4143:39;;4126:6;4133;4126:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;4126:56:0;;;;;;;;-1:-1:-1;4197:11:0;4206:2;4197:11;;:::i;:::-;;;4066:154;;34058:681;34181:19;34187:2;34191:8;34181:5;:19::i;:::-;-1:-1:-1;;;;;34242:14:0;;;:19;34238:483;;34282:11;34296:13;34344:14;;;34377:233;34408:62;34447:1;34451:2;34455:7;;;;;;34464:5;34408:30;:62::i;:::-;34403:167;;34506:40;;-1:-1:-1;;;34506:40:0;;;;;;;;;;;34403:167;34605:3;34597:5;:11;34377:233;;34692:3;34675:13;;:20;34671:34;;34697:8;;;34671:34;34263:458;;34058:681;;;:::o;35012:1529::-;35077:20;35100:13;-1:-1:-1;;;;;35128:16:0;;35124:48;;35153:19;;-1:-1:-1;;;35153:19:0;;;;;;;;;;;35124:48;35187:8;35199:1;35187:13;35183:44;;35209:18;;-1:-1:-1;;;35209:18:0;;;;;;;;;;;35183:44;-1:-1:-1;;;;;35715:22:0;;;;;;:18;:22;;19159:2;35715:22;;:70;;35753:31;35741:44;;35715:70;;;29123:11;29099:22;29095:40;-1:-1:-1;30833:15:0;;30808:23;30804:45;29092:51;29082:62;36028:31;;;;:17;:31;;;;;:173;36046:12;36277:23;;;36315:101;36342:35;;36367:9;;;;;-1:-1:-1;;;;;36342:35:0;;;36359:1;;36342:35;;36359:1;;36342:35;36411:3;36401:7;:13;36315:101;;36432:13;:19;-1:-1:-1;32271:185:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:127::-;2421:10;2416:3;2412:20;2409:1;2402:31;2452:4;2449:1;2442:15;2476:4;2473:1;2466:15;2492:632;2557:5;2587:18;2628:2;2620:6;2617:14;2614:40;;;2634:18;;:::i;:::-;2709:2;2703:9;2677:2;2763:15;;-1:-1:-1;;2759:24:1;;;2785:2;2755:33;2751:42;2739:55;;;2809:18;;;2829:22;;;2806:46;2803:72;;;2855:18;;:::i;:::-;2895:10;2891:2;2884:22;2924:6;2915:15;;2954:6;2946;2939:22;2994:3;2985:6;2980:3;2976:16;2973:25;2970:45;;;3011:1;3008;3001:12;2970:45;3061:6;3056:3;3049:4;3041:6;3037:17;3024:44;3116:1;3109:4;3100:6;3092;3088:19;3084:30;3077:41;;;;2492:632;;;;;:::o;3129:451::-;3198:6;3251:2;3239:9;3230:7;3226:23;3222:32;3219:52;;;3267:1;3264;3257:12;3219:52;3307:9;3294:23;3340:18;3332:6;3329:30;3326:50;;;3372:1;3369;3362:12;3326:50;3395:22;;3448:4;3440:13;;3436:27;-1:-1:-1;3426:55:1;;3477:1;3474;3467:12;3426:55;3500:74;3566:7;3561:2;3548:16;3543:2;3539;3535:11;3500:74;:::i;3585:328::-;3662:6;3670;3678;3731:2;3719:9;3710:7;3706:23;3702:32;3699:52;;;3747:1;3744;3737:12;3699:52;3770:29;3789:9;3770:29;:::i;:::-;3760:39;;3818:38;3852:2;3841:9;3837:18;3818:38;:::i;:::-;3808:48;;3903:2;3892:9;3888:18;3875:32;3865:42;;3585:328;;;;;:::o;3918:186::-;3977:6;4030:2;4018:9;4009:7;4005:23;4001:32;3998:52;;;4046:1;4043;4036:12;3998:52;4069:29;4088:9;4069:29;:::i;4109:347::-;4174:6;4182;4235:2;4223:9;4214:7;4210:23;4206:32;4203:52;;;4251:1;4248;4241:12;4203:52;4274:29;4293:9;4274:29;:::i;:::-;4264:39;;4353:2;4342:9;4338:18;4325:32;4400:5;4393:13;4386:21;4379:5;4376:32;4366:60;;4422:1;4419;4412:12;4366:60;4445:5;4435:15;;;4109:347;;;;;:::o;4461:667::-;4556:6;4564;4572;4580;4633:3;4621:9;4612:7;4608:23;4604:33;4601:53;;;4650:1;4647;4640:12;4601:53;4673:29;4692:9;4673:29;:::i;:::-;4663:39;;4721:38;4755:2;4744:9;4740:18;4721:38;:::i;:::-;4711:48;;4806:2;4795:9;4791:18;4778:32;4768:42;;4861:2;4850:9;4846:18;4833:32;4888:18;4880:6;4877:30;4874:50;;;4920:1;4917;4910:12;4874:50;4943:22;;4996:4;4988:13;;4984:27;-1:-1:-1;4974:55:1;;5025:1;5022;5015:12;4974:55;5048:74;5114:7;5109:2;5096:16;5091:2;5087;5083:11;5048:74;:::i;:::-;5038:84;;;4461:667;;;;;;;:::o;5133:260::-;5201:6;5209;5262:2;5250:9;5241:7;5237:23;5233:32;5230:52;;;5278:1;5275;5268:12;5230:52;5301:29;5320:9;5301:29;:::i;:::-;5291:39;;5349:38;5383:2;5372:9;5368:18;5349:38;:::i;:::-;5339:48;;5133:260;;;;;:::o;5398:409::-;5484:6;5492;5500;5508;5561:3;5549:9;5540:7;5536:23;5532:33;5529:53;;;5578:1;5575;5568:12;5529:53;5601:29;5620:9;5601:29;:::i;:::-;5591:39;;5649:38;5683:2;5672:9;5668:18;5649:38;:::i;:::-;5639:48;;5706:38;5740:2;5729:9;5725:18;5706:38;:::i;:::-;5696:48;;5763:38;5797:2;5786:9;5782:18;5763:38;:::i;:::-;5753:48;;5398:409;;;;;;;:::o;5812:380::-;5891:1;5887:12;;;;5934;;;5955:61;;6009:4;6001:6;5997:17;5987:27;;5955:61;6062:2;6054:6;6051:14;6031:18;6028:38;6025:161;;6108:10;6103:3;6099:20;6096:1;6089:31;6143:4;6140:1;6133:15;6171:4;6168:1;6161:15;6025:161;;5812:380;;;:::o;6323:545::-;6425:2;6420:3;6417:11;6414:448;;;6461:1;6486:5;6482:2;6475:17;6531:4;6527:2;6517:19;6601:2;6589:10;6585:19;6582:1;6578:27;6572:4;6568:38;6637:4;6625:10;6622:20;6619:47;;;-1:-1:-1;6660:4:1;6619:47;6715:2;6710:3;6706:12;6703:1;6699:20;6693:4;6689:31;6679:41;;6770:82;6788:2;6781:5;6778:13;6770:82;;;6833:17;;;6814:1;6803:13;6770:82;;7044:1352;7170:3;7164:10;7197:18;7189:6;7186:30;7183:56;;;7219:18;;:::i;:::-;7248:97;7338:6;7298:38;7330:4;7324:11;7298:38;:::i;:::-;7292:4;7248:97;:::i;:::-;7400:4;;7464:2;7453:14;;7481:1;7476:663;;;;8183:1;8200:6;8197:89;;;-1:-1:-1;8252:19:1;;;8246:26;8197:89;-1:-1:-1;;7001:1:1;6997:11;;;6993:24;6989:29;6979:40;7025:1;7021:11;;;6976:57;8299:81;;7446:944;;7476:663;6270:1;6263:14;;;6307:4;6294:18;;-1:-1:-1;;7512:20:1;;;7630:236;7644:7;7641:1;7638:14;7630:236;;;7733:19;;;7727:26;7712:42;;7825:27;;;;7793:1;7781:14;;;;7660:19;;7630:236;;;7634:3;7894:6;7885:7;7882:19;7879:201;;;7955:19;;;7949:26;-1:-1:-1;;8038:1:1;8034:14;;;8050:3;8030:24;8026:37;8022:42;8007:58;7992:74;;7879:201;-1:-1:-1;;;;;8126:1:1;8110:14;;;8106:22;8093:36;;-1:-1:-1;7044:1352:1:o;8401:127::-;8462:10;8457:3;8453:20;8450:1;8443:31;8493:4;8490:1;8483:15;8517:4;8514:1;8507:15;8533:168;8606:9;;;8637;;8654:15;;;8648:22;;8634:37;8624:71;;8675:18;;:::i;8706:127::-;8767:10;8762:3;8758:20;8755:1;8748:31;8798:4;8795:1;8788:15;8822:4;8819:1;8812:15;8838:120;8878:1;8904;8894:35;;8909:18;;:::i;:::-;-1:-1:-1;8943:9:1;;8838:120::o;10024:125::-;10089:9;;;10110:10;;;10107:36;;;10123:18;;:::i;11267:135::-;11306:3;11327:17;;;11324:43;;11347:18;;:::i;:::-;-1:-1:-1;11394:1:1;11383:13;;11267:135::o;11407:1256::-;11631:3;11669:6;11663:13;11695:4;11708:64;11765:6;11760:3;11755:2;11747:6;11743:15;11708:64;:::i;:::-;11835:13;;11794:16;;;;11857:68;11835:13;11794:16;11892:15;;;11857:68;:::i;:::-;12014:13;;11947:20;;;11987:1;;12052:36;12014:13;12052:36;:::i;:::-;12107:1;12124:18;;;12151:141;;;;12306:1;12301:337;;;;12117:521;;12151:141;-1:-1:-1;;12186:24:1;;12172:39;;12263:16;;12256:24;12242:39;;12231:51;;;-1:-1:-1;12151:141:1;;12301:337;12332:6;12329:1;12322:17;12380:2;12377:1;12367:16;12405:1;12419:169;12433:8;12430:1;12427:15;12419:169;;;12515:14;;12500:13;;;12493:37;12558:16;;;;12450:10;;12419:169;;;12423:3;;12619:8;12612:5;12608:20;12601:27;;12117:521;-1:-1:-1;12654:3:1;;11407:1256;-1:-1:-1;;;;;;;;;;11407:1256:1:o;13436:489::-;-1:-1:-1;;;;;13705:15:1;;;13687:34;;13757:15;;13752:2;13737:18;;13730:43;13804:2;13789:18;;13782:34;;;13852:3;13847:2;13832:18;;13825:31;;;13630:4;;13873:46;;13899:19;;13891:6;13873:46;:::i;:::-;13865:54;13436:489;-1:-1:-1;;;;;;13436:489:1:o;13930:249::-;13999:6;14052:2;14040:9;14031:7;14027:23;14023:32;14020:52;;;14068:1;14065;14058:12;14020:52;14100:9;14094:16;14119:30;14143:5;14119:30;:::i;14184:128::-;14251:9;;;14272:11;;;14269:37;;;14286:18;;:::i;14317:112::-;14349:1;14375;14365:35;;14380:18;;:::i;:::-;-1:-1:-1;14414:9:1;;14317:112::o;14434:127::-;14495:10;14490:3;14486:20;14483:1;14476:31;14526:4;14523:1;14516:15;14550:4;14547:1;14540:15

Swarm Source

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