ETH Price: $3,431.97 (-1.88%)
Gas: 5 Gwei

Token

Utopia (UTPIA)
 

Overview

Max Total Supply

777 UTPIA

Holders

386

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 UTPIA
0x082d57902773e786247b93a4027f7c5fe0404a9b
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:
Utopia

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-07-03
*/

//  ██╗   ██╗████████╗ ██████╗ ██████╗ ██╗ █████╗ 
//  ██║   ██║╚══██╔══╝██╔═══██╗██╔══██╗██║██╔══██╗
//  ██║   ██║   ██║   ██║   ██║██████╔╝██║███████║
//  ██║   ██║   ██║   ██║   ██║██╔═══╝ ██║██╔══██║
//  ╚██████╔╝   ██║   ╚██████╔╝██║     ██║██║  ██║
//   ╚═════╝    ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝  ╚═╝
//                                                


// 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: contracts/utopia.sol


//  ██╗   ██╗████████╗ ██████╗ ██████╗ ██╗ █████╗ 
//  ██║   ██║╚══██╔══╝██╔═══██╗██╔══██╗██║██╔══██╗
//  ██║   ██║   ██║   ██║   ██║██████╔╝██║███████║
//  ██║   ██║   ██║   ██║   ██║██╔═══╝ ██║██╔══██║
//  ╚██████╔╝   ██║   ╚██████╔╝██║     ██║██║  ██║
//   ╚═════╝    ╚═╝    ╚═════╝ ╚═╝     ╚═╝╚═╝  ╚═╝
//                                                


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






contract Utopia is Ownable, ERC721A {
    uint256 constant public MAX_SUPPLY = 777;
    

    uint256 public publicPrice = 0.005 ether;

    uint256 constant public PUBLIC_MINT_LIMIT_TXN = 2;
    uint256 constant public PUBLIC_MINT_LIMIT = 4;

    string private revealedURI = "ipfs://QmfHMAYe9a6zJDeb2zy38Zhj4UREzQah5y9nNJNBmPBVDi/";

    

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

    bool public freeSale = false;
    bool public publicSale = false;

    
    address constant internal DEV_ADDRESS = 0x0A8A88B4543dE7EF494c99A501e9b6E62415ab57;
    
    

    mapping(address => bool) public userMintedFree;
    mapping(address => uint256) public numUserMints;

    constructor(string memory _name, string memory _symbol, string memory _baseUri) ERC721A("Utopia", "UTPIA") { }

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

    function refundOverpay(uint256 price) private {
        if (msg.value > price) {
            (bool succ, ) = payable(msg.sender).call{
                value: (msg.value - price)
            }("");
            require(succ, "Transfer failed");
        }
        else if (msg.value < price) {
            revert("Not enough ETH sent");
        }
    }

    
    
    function freeMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(freeSale, "Free sale inactive");
        require(msg.value == 0, "This phase is free");
        require(quantity == 1, "Only #1 free");

        uint256 newSupply = totalSupply() + quantity;
        
        require(newSupply <= 100, "Not enough free supply");

        require(!userMintedFree[msg.sender], "User max free limit");
        
        userMintedFree[msg.sender] = true;

        if(newSupply == 100) {
            freeSale = false;
            publicSale = true;
        }

        _safeMint(msg.sender, quantity);
    }

    function publicMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(publicSale, "Public sale inactive");
        require(quantity <= PUBLIC_MINT_LIMIT_TXN, "Quantity too high");

        uint256 price = publicPrice;
        uint256 currMints = numUserMints[msg.sender];
                
        require(currMints + quantity <= PUBLIC_MINT_LIMIT, "User max mint limit");
        
        refundOverpay(price * quantity);

        numUserMints[msg.sender] = (currMints + quantity);

        _safeMint(msg.sender, quantity);
    }

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

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

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

                ownedTokenIndex++;
            }

        currentTokenId++;
        }

        return ownedTokenIds;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        
        if (revealed) {
            return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json"));
        }
        else {
            return revealedURI;
        }
    }

    function setPublicPrice(uint256 _publicPrice) public onlyOwner {
        publicPrice = _publicPrice;
    }

    function setBaseURI(string memory _baseUri) public onlyOwner {
        revealedURI = _baseUri;
    }


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

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

    function setPublicEnabled(bool _state) public onlyOwner {
        publicSale = _state;
        freeSale = !_state;
    }
    function setFreeEnabled(bool _state) public onlyOwner {
        freeSale = _state;
        publicSale = !_state;
    }


    function withdraw() external payable onlyOwner {
        
        uint256 currBalance = address(this).balance;

        (bool succ, ) = payable(DEV_ADDRESS).call{
            value: (currBalance * 10000) / 10000
        }("0x0A8A88B4543dE7EF494c99A501e9b6E62415ab57");
        require(succ, "Dev transfer failed");

    }

    
    function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) {
        _safeMint(receiver, quantity);
    }

   

    modifier mintCompliance(uint256 quantity) {
        require(!paused, "Contract is paused");
        require(totalSupply() + quantity <= MAX_SUPPLY, "Not enough mints left");
        require(tx.origin == msg.sender, "No contract minting");
        _;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_baseUri","type":"string"}],"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"freeSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setFreeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6611c37937e0800060095560e060405260366080818152906200252360a03980516200003491600a9160209091019062000159565b50600b805463ffffffff191690553480156200004f57600080fd5b5060405162002559380380620025598339810160408190526200007291620002b6565b6040518060400160405280600681526020016555746f70696160d01b81525060405180604001604052806005815260200164555450494160d81b815250620000c9620000c36200010560201b60201c565b62000109565b8151620000de90600390602085019062000159565b508051620000f490600490602084019062000159565b5060018055506200039a9350505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001679062000347565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600082601f8301126200021157600080fd5b81516001600160401b03808211156200022e576200022e62000384565b604051601f8301601f19908116603f0116810190828211818310171562000259576200025962000384565b816040528381526020925086838588010111156200027657600080fd5b600091505b838210156200029a57858201830151818301840152908201906200027b565b83821115620002ac5760008385830101525b9695505050505050565b600080600060608486031215620002cc57600080fd5b83516001600160401b0380821115620002e457600080fd5b620002f287838801620001ff565b945060208601519150808211156200030957600080fd5b6200031787838801620001ff565b935060408601519150808211156200032e57600080fd5b506200033d86828701620001ff565b9150509250925092565b600181811c908216806200035c57607f821691505b602082108114156200037e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61217980620003aa6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063c62752551161006f578063c62752551461062e578063c87b56dd1461064e578063e0a808531461066e578063e985e9c51461068e578063f2fde38b146106d757600080fd5b8063a22cb465146105a3578063a4b41a15146105c3578063a945bf80146105e3578063b88d4fde146105f9578063bceae77b1461061957600080fd5b80637c928fe9116100f25780637c928fe91461051d57806388dedc14146105305780638da5cb5b146105505780639007bd721461056e57806395d89b411461058e57600080fd5b806370a082311461049b578063715018a6146104bb5780637aeb7242146104d05780637af3a1af146104fd57600080fd5b806332cb6b0c116101b1578063518302271161017557806351830227146103f257806355f804b3146104115780635c975abb146104315780636352211e1461044b57806364f640761461046b57600080fd5b806332cb6b0c1461036657806333bc1c5c1461037c5780633ccfd60b1461039d57806342842e0e146103a5578063438b6300146103c557600080fd5b806316c38b3c116101f857806316c38b3c146102db57806318160ddd146102fb57806323b872dd1461031e5780632db115441461033e5780632fecf20b1461035157600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611cff565b6106f7565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610749565b6040516102569190611f42565b34801561028d57600080fd5b506102a161029c366004611d82565b6107db565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611cba565b61081f565b005b3480156102e757600080fd5b506102d96102f6366004611ce4565b6108bf565b34801561030757600080fd5b506103106108da565b604051908152602001610256565b34801561032a57600080fd5b506102d9610339366004611bd8565b6108e8565b6102d961034c366004611d82565b610a79565b34801561035d57600080fd5b50610310600281565b34801561037257600080fd5b5061031061030981565b34801561038857600080fd5b50600b5461024a906301000000900460ff1681565b6102d9610c31565b3480156103b157600080fd5b506102d96103c0366004611bd8565b610d31565b3480156103d157600080fd5b506103e56103e0366004611b8a565b610d51565b6040516102569190611efe565b3480156103fe57600080fd5b50600b5461024a90610100900460ff1681565b34801561041d57600080fd5b506102d961042c366004611d39565b610e32565b34801561043d57600080fd5b50600b5461024a9060ff1681565b34801561045757600080fd5b506102a1610466366004611d82565b610e4d565b34801561047757600080fd5b5061024a610486366004611b8a565b600c6020526000908152604090205460ff1681565b3480156104a757600080fd5b506103106104b6366004611b8a565b610e58565b3480156104c757600080fd5b506102d9610ea7565b3480156104dc57600080fd5b506103106104eb366004611b8a565b600d6020526000908152604090205481565b34801561050957600080fd5b506102d9610518366004611ce4565b610ebb565b6102d961052b366004611d82565b610ef2565b34801561053c57600080fd5b506102d961054b366004611ce4565b611131565b34801561055c57600080fd5b506000546001600160a01b03166102a1565b34801561057a57600080fd5b506102d9610589366004611d9b565b611169565b34801561059a57600080fd5b506102746111f3565b3480156105af57600080fd5b506102d96105be366004611c90565b611202565b3480156105cf57600080fd5b50600b5461024a9062010000900460ff1681565b3480156105ef57600080fd5b5061031060095481565b34801561060557600080fd5b506102d9610614366004611c14565b611298565b34801561062557600080fd5b50610310600481565b34801561063a57600080fd5b506102d9610649366004611d82565b6112dc565b34801561065a57600080fd5b50610274610669366004611d82565b6112e9565b34801561067a57600080fd5b506102d9610689366004611ce4565b611431565b34801561069a57600080fd5b5061024a6106a9366004611ba5565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106e357600080fd5b506102d96106f2366004611b8a565b611453565b60006301ffc9a760e01b6001600160e01b03198316148061072857506380ac58cd60e01b6001600160e01b03198316145b806107435750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546107589061206b565b80601f01602080910402602001604051908101604052809291908181526020018280546107849061206b565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b5050505050905090565b60006107e6826114cc565b610803576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061082a82610e4d565b9050336001600160a01b038216146108635761084681336106a9565b610863576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108c7611501565b600b805460ff1916911515919091179055565b600254600154036000190190565b60006108f38261155b565b9050836001600160a01b0316816001600160a01b0316146109265760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109735761095686336106a9565b61097357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099a57604051633a954ecd60e21b815260040160405180910390fd5b80156109a557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a305760018401600081815260056020526040902054610a2e576001548114610a2e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff1615610aa75760405162461bcd60e51b8152600401610a9e90611f82565b60405180910390fd5b61030981610ab36108da565b610abd9190611fdd565b1115610adb5760405162461bcd60e51b8152600401610a9e90611fae565b323314610afa5760405162461bcd60e51b8152600401610a9e90611f55565b600b546301000000900460ff16610b4a5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a9e565b6002821115610b8f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a9e565b600954336000908152600d60205260409020546004610bae8583611fdd565b1115610bf25760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a9e565b610c04610bff8584612009565b6115cb565b610c0e8482611fdd565b336000818152600d6020526040902091909155610c2b90856116aa565b50505050565b610c39611501565b476000730a8a88b4543de7ef494c99a501e9b6e62415ab57612710610c5e8482612009565b610c689190611ff5565b6040517f30783041384138384234353433644537454634393463393941353031653962368152694536323431356162353760b01b6020820152602a0160006040518083038185875af1925050503d8060008114610ce1576040519150601f19603f3d011682016040523d82523d6000602084013e610ce6565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610a9e565b5050565b610d4c83838360405180602001604052806000815250611298565b505050565b60606000610d5e83610e58565b905060008167ffffffffffffffff811115610d7b57610d7b612117565b604051908082528060200260200182016040528015610da4578160200160208202803683370190505b509050600160005b8381108015610dbd57506103098211155b15610e28576000610dcd83610e4d565b9050866001600160a01b0316816001600160a01b03161415610e155782848381518110610dfc57610dfc612101565b602090810291909101015281610e11816120a6565b9250505b82610e1f816120a6565b93505050610dac565b5090949350505050565b610e3a611501565b8051610d2d90600a906020840190611a54565b60006107438261155b565b60006001600160a01b038216610e81576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610eaf611501565b610eb960006116c4565b565b610ec3611501565b600b805463ffff000019166301000000921580159390930262ff00001916176201000092909202919091179055565b600b54819060ff1615610f175760405162461bcd60e51b8152600401610a9e90611f82565b61030981610f236108da565b610f2d9190611fdd565b1115610f4b5760405162461bcd60e51b8152600401610a9e90611fae565b323314610f6a5760405162461bcd60e51b8152600401610a9e90611f55565b600b5462010000900460ff16610fb75760405162461bcd60e51b8152602060048201526012602482015271467265652073616c6520696e61637469766560701b6044820152606401610a9e565b3415610ffa5760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a9e565b816001146110395760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79202331206672656560a01b6044820152606401610a9e565b6000826110446108da565b61104e9190611fdd565b9050606481111561109a5760405162461bcd60e51b81526020600482015260166024820152754e6f7420656e6f756768206672656520737570706c7960501b6044820152606401610a9e565b336000908152600c602052604090205460ff16156110f05760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e08199c9959481b1a5b5a5d606a1b6044820152606401610a9e565b336000908152600c60205260409020805460ff19166001179055606481141561112757600b805463ffff0000191663010000001790555b610d4c33846116aa565b611139611501565b600b805463ffff0000191662010000921580159390930263ff000000191617630100000092909202919091179055565b611171611501565b600b54829060ff16156111965760405162461bcd60e51b8152600401610a9e90611f82565b610309816111a26108da565b6111ac9190611fdd565b11156111ca5760405162461bcd60e51b8152600401610a9e90611fae565b3233146111e95760405162461bcd60e51b8152600401610a9e90611f55565b610d4c82846116aa565b6060600480546107589061206b565b6001600160a01b03821633141561122c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a38484846108e8565b6001600160a01b0383163b15610c2b576112bf84848484611714565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6112e4611501565b600955565b60606112f4826114cc565b6113585760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a9e565b600b54610100900460ff161561139a57600a6113738361180c565b604051602001611384929190611e06565b6040516020818303038152906040529050919050565b600a80546113a79061206b565b80601f01602080910402602001604051908101604052809291908181526020018280546113d39061206b565b80156114205780601f106113f557610100808354040283529160200191611420565b820191906000526020600020905b81548152906001019060200180831161140357829003601f168201915b50505050509050919050565b919050565b611439611501565b600b80549115156101000261ff0019909216919091179055565b61145b611501565b6001600160a01b0381166114c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9e565b6114c9816116c4565b50565b6000816001111580156114e0575060015482105b8015610743575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9e565b600081806001116115b2576001548110156115b257600081815260056020526040902054600160e01b81166115b0575b806115a957506000190160008181526005602052604090205461158b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611664576000336115e08334612028565b604051600081818185875af1925050503d806000811461161c576040519150601f19603f3d011682016040523d82523d6000602084013e611621565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a9e565b803410156114c95760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610a9e565b610d2d82826040518060200160405280600081525061190a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611749903390899088908890600401611ec1565b602060405180830381600087803b15801561176357600080fd5b505af1925050508015611793575060408051601f3d908101601f1916820190925261179091810190611d1c565b60015b6117ee573d8080156117c1576040519150601f19603f3d011682016040523d82523d6000602084013e6117c6565b606091505b5080516117e6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816118305750506040805180820190915260018152600360fc1b602082015290565b8160005b811561185a5780611844816120a6565b91506118539050600a83611ff5565b9150611834565b60008167ffffffffffffffff81111561187557611875612117565b6040519080825280601f01601f19166020018201604052801561189f576020820181803683370190505b5090505b8415611804576118b4600183612028565b91506118c1600a866120c1565b6118cc906030611fdd565b60f81b8183815181106118e1576118e1612101565b60200101906001600160f81b031916908160001a905350611903600a86611ff5565b94506118a3565b6119148383611977565b6001600160a01b0383163b15610d4c576001548281035b61193e6000868380600101945086611714565b61195b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192b57816001541461197057600080fd5b5050505050565b6001546001600160a01b0383166119a057604051622e076360e81b815260040160405180910390fd5b816119be5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a085760015550505050565b828054611a609061206b565b90600052602060002090601f016020900481019282611a825760008555611ac8565b82601f10611a9b57805160ff1916838001178555611ac8565b82800160010185558215611ac8579182015b82811115611ac8578251825591602001919060010190611aad565b50611ad4929150611ad8565b5090565b5b80821115611ad45760008155600101611ad9565b600067ffffffffffffffff80841115611b0857611b08612117565b604051601f8501601f19908116603f01168101908282118183101715611b3057611b30612117565b81604052809350858152868686011115611b4957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461142c57600080fd5b8035801515811461142c57600080fd5b600060208284031215611b9c57600080fd5b6115a982611b63565b60008060408385031215611bb857600080fd5b611bc183611b63565b9150611bcf60208401611b63565b90509250929050565b600080600060608486031215611bed57600080fd5b611bf684611b63565b9250611c0460208501611b63565b9150604084013590509250925092565b60008060008060808587031215611c2a57600080fd5b611c3385611b63565b9350611c4160208601611b63565b925060408501359150606085013567ffffffffffffffff811115611c6457600080fd5b8501601f81018713611c7557600080fd5b611c8487823560208401611aed565b91505092959194509250565b60008060408385031215611ca357600080fd5b611cac83611b63565b9150611bcf60208401611b7a565b60008060408385031215611ccd57600080fd5b611cd683611b63565b946020939093013593505050565b600060208284031215611cf657600080fd5b6115a982611b7a565b600060208284031215611d1157600080fd5b81356115a98161212d565b600060208284031215611d2e57600080fd5b81516115a98161212d565b600060208284031215611d4b57600080fd5b813567ffffffffffffffff811115611d6257600080fd5b8201601f81018413611d7357600080fd5b61180484823560208401611aed565b600060208284031215611d9457600080fd5b5035919050565b60008060408385031215611dae57600080fd5b82359150611bcf60208401611b63565b60008151808452611dd681602086016020860161203f565b601f01601f19169290920160200192915050565b60008151611dfc81856020860161203f565b9290920192915050565b600080845481600182811c915080831680611e2257607f831692505b6020808410821415611e4257634e487b7160e01b86526022600452602486fd5b818015611e565760018114611e6757611e94565b60ff19861689528489019650611e94565b60008b81526020902060005b86811015611e8c5781548b820152908501908301611e73565b505084890196505b505050505050611eb8611ea78286611dea565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef490830184611dbe565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f3657835183529284019291840191600101611f1a565b50909695505050505050565b6020815260006115a96020830184611dbe565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b604082015260600190565b60008219821115611ff057611ff06120d5565b500190565b600082612004576120046120eb565b500490565b6000816000190483118215151615612023576120236120d5565b500290565b60008282101561203a5761203a6120d5565b500390565b60005b8381101561205a578181015183820152602001612042565b83811115610c2b5750506000910152565b600181811c9082168061207f57607f821691505b602082108114156120a057634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120ba576120ba6120d5565b5060010190565b6000826120d0576120d06120eb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114c957600080fdfea2646970667358221220201ff5b5d7f14598798387bc4a28e26c80339e2b912dc16e33cd694a21ae2c2764736f6c63430008070033697066733a2f2f516d66484d4159653961367a4a446562327a7933385a686a345552457a5161683579396e4e4a4e426d50425644692f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000655746f7069610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555545049410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d66484d4159653961367a4a446562327a7933385a686a345552457a5161683579396e4e4a4e426d50425644692f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063c62752551161006f578063c62752551461062e578063c87b56dd1461064e578063e0a808531461066e578063e985e9c51461068e578063f2fde38b146106d757600080fd5b8063a22cb465146105a3578063a4b41a15146105c3578063a945bf80146105e3578063b88d4fde146105f9578063bceae77b1461061957600080fd5b80637c928fe9116100f25780637c928fe91461051d57806388dedc14146105305780638da5cb5b146105505780639007bd721461056e57806395d89b411461058e57600080fd5b806370a082311461049b578063715018a6146104bb5780637aeb7242146104d05780637af3a1af146104fd57600080fd5b806332cb6b0c116101b1578063518302271161017557806351830227146103f257806355f804b3146104115780635c975abb146104315780636352211e1461044b57806364f640761461046b57600080fd5b806332cb6b0c1461036657806333bc1c5c1461037c5780633ccfd60b1461039d57806342842e0e146103a5578063438b6300146103c557600080fd5b806316c38b3c116101f857806316c38b3c146102db57806318160ddd146102fb57806323b872dd1461031e5780632db115441461033e5780632fecf20b1461035157600080fd5b806301ffc9a71461022a57806306fdde031461025f578063081812fc14610281578063095ea7b3146102b9575b600080fd5b34801561023657600080fd5b5061024a610245366004611cff565b6106f7565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b50610274610749565b6040516102569190611f42565b34801561028d57600080fd5b506102a161029c366004611d82565b6107db565b6040516001600160a01b039091168152602001610256565b3480156102c557600080fd5b506102d96102d4366004611cba565b61081f565b005b3480156102e757600080fd5b506102d96102f6366004611ce4565b6108bf565b34801561030757600080fd5b506103106108da565b604051908152602001610256565b34801561032a57600080fd5b506102d9610339366004611bd8565b6108e8565b6102d961034c366004611d82565b610a79565b34801561035d57600080fd5b50610310600281565b34801561037257600080fd5b5061031061030981565b34801561038857600080fd5b50600b5461024a906301000000900460ff1681565b6102d9610c31565b3480156103b157600080fd5b506102d96103c0366004611bd8565b610d31565b3480156103d157600080fd5b506103e56103e0366004611b8a565b610d51565b6040516102569190611efe565b3480156103fe57600080fd5b50600b5461024a90610100900460ff1681565b34801561041d57600080fd5b506102d961042c366004611d39565b610e32565b34801561043d57600080fd5b50600b5461024a9060ff1681565b34801561045757600080fd5b506102a1610466366004611d82565b610e4d565b34801561047757600080fd5b5061024a610486366004611b8a565b600c6020526000908152604090205460ff1681565b3480156104a757600080fd5b506103106104b6366004611b8a565b610e58565b3480156104c757600080fd5b506102d9610ea7565b3480156104dc57600080fd5b506103106104eb366004611b8a565b600d6020526000908152604090205481565b34801561050957600080fd5b506102d9610518366004611ce4565b610ebb565b6102d961052b366004611d82565b610ef2565b34801561053c57600080fd5b506102d961054b366004611ce4565b611131565b34801561055c57600080fd5b506000546001600160a01b03166102a1565b34801561057a57600080fd5b506102d9610589366004611d9b565b611169565b34801561059a57600080fd5b506102746111f3565b3480156105af57600080fd5b506102d96105be366004611c90565b611202565b3480156105cf57600080fd5b50600b5461024a9062010000900460ff1681565b3480156105ef57600080fd5b5061031060095481565b34801561060557600080fd5b506102d9610614366004611c14565b611298565b34801561062557600080fd5b50610310600481565b34801561063a57600080fd5b506102d9610649366004611d82565b6112dc565b34801561065a57600080fd5b50610274610669366004611d82565b6112e9565b34801561067a57600080fd5b506102d9610689366004611ce4565b611431565b34801561069a57600080fd5b5061024a6106a9366004611ba5565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106e357600080fd5b506102d96106f2366004611b8a565b611453565b60006301ffc9a760e01b6001600160e01b03198316148061072857506380ac58cd60e01b6001600160e01b03198316145b806107435750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600380546107589061206b565b80601f01602080910402602001604051908101604052809291908181526020018280546107849061206b565b80156107d15780601f106107a6576101008083540402835291602001916107d1565b820191906000526020600020905b8154815290600101906020018083116107b457829003601f168201915b5050505050905090565b60006107e6826114cc565b610803576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061082a82610e4d565b9050336001600160a01b038216146108635761084681336106a9565b610863576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108c7611501565b600b805460ff1916911515919091179055565b600254600154036000190190565b60006108f38261155b565b9050836001600160a01b0316816001600160a01b0316146109265760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109735761095686336106a9565b61097357604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661099a57604051633a954ecd60e21b815260040160405180910390fd5b80156109a557600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a305760018401600081815260056020526040902054610a2e576001548114610a2e5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b600b54819060ff1615610aa75760405162461bcd60e51b8152600401610a9e90611f82565b60405180910390fd5b61030981610ab36108da565b610abd9190611fdd565b1115610adb5760405162461bcd60e51b8152600401610a9e90611fae565b323314610afa5760405162461bcd60e51b8152600401610a9e90611f55565b600b546301000000900460ff16610b4a5760405162461bcd60e51b81526020600482015260146024820152735075626c69632073616c6520696e61637469766560601b6044820152606401610a9e565b6002821115610b8f5760405162461bcd60e51b81526020600482015260116024820152700a2eac2dce8d2e8f240e8dede40d0d2ced607b1b6044820152606401610a9e565b600954336000908152600d60205260409020546004610bae8583611fdd565b1115610bf25760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e081b5a5b9d081b1a5b5a5d606a1b6044820152606401610a9e565b610c04610bff8584612009565b6115cb565b610c0e8482611fdd565b336000818152600d6020526040902091909155610c2b90856116aa565b50505050565b610c39611501565b476000730a8a88b4543de7ef494c99a501e9b6e62415ab57612710610c5e8482612009565b610c689190611ff5565b6040517f30783041384138384234353433644537454634393463393941353031653962368152694536323431356162353760b01b6020820152602a0160006040518083038185875af1925050503d8060008114610ce1576040519150601f19603f3d011682016040523d82523d6000602084013e610ce6565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152601360248201527211195d881d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610a9e565b5050565b610d4c83838360405180602001604052806000815250611298565b505050565b60606000610d5e83610e58565b905060008167ffffffffffffffff811115610d7b57610d7b612117565b604051908082528060200260200182016040528015610da4578160200160208202803683370190505b509050600160005b8381108015610dbd57506103098211155b15610e28576000610dcd83610e4d565b9050866001600160a01b0316816001600160a01b03161415610e155782848381518110610dfc57610dfc612101565b602090810291909101015281610e11816120a6565b9250505b82610e1f816120a6565b93505050610dac565b5090949350505050565b610e3a611501565b8051610d2d90600a906020840190611a54565b60006107438261155b565b60006001600160a01b038216610e81576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610eaf611501565b610eb960006116c4565b565b610ec3611501565b600b805463ffff000019166301000000921580159390930262ff00001916176201000092909202919091179055565b600b54819060ff1615610f175760405162461bcd60e51b8152600401610a9e90611f82565b61030981610f236108da565b610f2d9190611fdd565b1115610f4b5760405162461bcd60e51b8152600401610a9e90611fae565b323314610f6a5760405162461bcd60e51b8152600401610a9e90611f55565b600b5462010000900460ff16610fb75760405162461bcd60e51b8152602060048201526012602482015271467265652073616c6520696e61637469766560701b6044820152606401610a9e565b3415610ffa5760405162461bcd60e51b815260206004820152601260248201527154686973207068617365206973206672656560701b6044820152606401610a9e565b816001146110395760405162461bcd60e51b815260206004820152600c60248201526b4f6e6c79202331206672656560a01b6044820152606401610a9e565b6000826110446108da565b61104e9190611fdd565b9050606481111561109a5760405162461bcd60e51b81526020600482015260166024820152754e6f7420656e6f756768206672656520737570706c7960501b6044820152606401610a9e565b336000908152600c602052604090205460ff16156110f05760405162461bcd60e51b8152602060048201526013602482015272155cd95c881b585e08199c9959481b1a5b5a5d606a1b6044820152606401610a9e565b336000908152600c60205260409020805460ff19166001179055606481141561112757600b805463ffff0000191663010000001790555b610d4c33846116aa565b611139611501565b600b805463ffff0000191662010000921580159390930263ff000000191617630100000092909202919091179055565b611171611501565b600b54829060ff16156111965760405162461bcd60e51b8152600401610a9e90611f82565b610309816111a26108da565b6111ac9190611fdd565b11156111ca5760405162461bcd60e51b8152600401610a9e90611fae565b3233146111e95760405162461bcd60e51b8152600401610a9e90611f55565b610d4c82846116aa565b6060600480546107589061206b565b6001600160a01b03821633141561122c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112a38484846108e8565b6001600160a01b0383163b15610c2b576112bf84848484611714565b610c2b576040516368d2bf6b60e11b815260040160405180910390fd5b6112e4611501565b600955565b60606112f4826114cc565b6113585760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a9e565b600b54610100900460ff161561139a57600a6113738361180c565b604051602001611384929190611e06565b6040516020818303038152906040529050919050565b600a80546113a79061206b565b80601f01602080910402602001604051908101604052809291908181526020018280546113d39061206b565b80156114205780601f106113f557610100808354040283529160200191611420565b820191906000526020600020905b81548152906001019060200180831161140357829003601f168201915b50505050509050919050565b919050565b611439611501565b600b80549115156101000261ff0019909216919091179055565b61145b611501565b6001600160a01b0381166114c05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a9e565b6114c9816116c4565b50565b6000816001111580156114e0575060015482105b8015610743575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610eb95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a9e565b600081806001116115b2576001548110156115b257600081815260056020526040902054600160e01b81166115b0575b806115a957506000190160008181526005602052604090205461158b565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b80341115611664576000336115e08334612028565b604051600081818185875af1925050503d806000811461161c576040519150601f19603f3d011682016040523d82523d6000602084013e611621565b606091505b5050905080610d2d5760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a9e565b803410156114c95760405162461bcd60e51b8152602060048201526013602482015272139bdd08195b9bdd59da08115512081cd95b9d606a1b6044820152606401610a9e565b610d2d82826040518060200160405280600081525061190a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611749903390899088908890600401611ec1565b602060405180830381600087803b15801561176357600080fd5b505af1925050508015611793575060408051601f3d908101601f1916820190925261179091810190611d1c565b60015b6117ee573d8080156117c1576040519150601f19603f3d011682016040523d82523d6000602084013e6117c6565b606091505b5080516117e6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816118305750506040805180820190915260018152600360fc1b602082015290565b8160005b811561185a5780611844816120a6565b91506118539050600a83611ff5565b9150611834565b60008167ffffffffffffffff81111561187557611875612117565b6040519080825280601f01601f19166020018201604052801561189f576020820181803683370190505b5090505b8415611804576118b4600183612028565b91506118c1600a866120c1565b6118cc906030611fdd565b60f81b8183815181106118e1576118e1612101565b60200101906001600160f81b031916908160001a905350611903600a86611ff5565b94506118a3565b6119148383611977565b6001600160a01b0383163b15610d4c576001548281035b61193e6000868380600101945086611714565b61195b576040516368d2bf6b60e11b815260040160405180910390fd5b81811061192b57816001541461197057600080fd5b5050505050565b6001546001600160a01b0383166119a057604051622e076360e81b815260040160405180910390fd5b816119be5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a085760015550505050565b828054611a609061206b565b90600052602060002090601f016020900481019282611a825760008555611ac8565b82601f10611a9b57805160ff1916838001178555611ac8565b82800160010185558215611ac8579182015b82811115611ac8578251825591602001919060010190611aad565b50611ad4929150611ad8565b5090565b5b80821115611ad45760008155600101611ad9565b600067ffffffffffffffff80841115611b0857611b08612117565b604051601f8501601f19908116603f01168101908282118183101715611b3057611b30612117565b81604052809350858152868686011115611b4957600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461142c57600080fd5b8035801515811461142c57600080fd5b600060208284031215611b9c57600080fd5b6115a982611b63565b60008060408385031215611bb857600080fd5b611bc183611b63565b9150611bcf60208401611b63565b90509250929050565b600080600060608486031215611bed57600080fd5b611bf684611b63565b9250611c0460208501611b63565b9150604084013590509250925092565b60008060008060808587031215611c2a57600080fd5b611c3385611b63565b9350611c4160208601611b63565b925060408501359150606085013567ffffffffffffffff811115611c6457600080fd5b8501601f81018713611c7557600080fd5b611c8487823560208401611aed565b91505092959194509250565b60008060408385031215611ca357600080fd5b611cac83611b63565b9150611bcf60208401611b7a565b60008060408385031215611ccd57600080fd5b611cd683611b63565b946020939093013593505050565b600060208284031215611cf657600080fd5b6115a982611b7a565b600060208284031215611d1157600080fd5b81356115a98161212d565b600060208284031215611d2e57600080fd5b81516115a98161212d565b600060208284031215611d4b57600080fd5b813567ffffffffffffffff811115611d6257600080fd5b8201601f81018413611d7357600080fd5b61180484823560208401611aed565b600060208284031215611d9457600080fd5b5035919050565b60008060408385031215611dae57600080fd5b82359150611bcf60208401611b63565b60008151808452611dd681602086016020860161203f565b601f01601f19169290920160200192915050565b60008151611dfc81856020860161203f565b9290920192915050565b600080845481600182811c915080831680611e2257607f831692505b6020808410821415611e4257634e487b7160e01b86526022600452602486fd5b818015611e565760018114611e6757611e94565b60ff19861689528489019650611e94565b60008b81526020902060005b86811015611e8c5781548b820152908501908301611e73565b505084890196505b505050505050611eb8611ea78286611dea565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ef490830184611dbe565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611f3657835183529284019291840191600101611f1a565b50909695505050505050565b6020815260006115a96020830184611dbe565b6020808252601390820152724e6f20636f6e7472616374206d696e74696e6760681b604082015260600190565b60208082526012908201527110dbdb9d1c9858dd081a5cc81c185d5cd95960721b604082015260600190565b602080825260159082015274139bdd08195b9bdd59da081b5a5b9d1cc81b19599d605a1b604082015260600190565b60008219821115611ff057611ff06120d5565b500190565b600082612004576120046120eb565b500490565b6000816000190483118215151615612023576120236120d5565b500290565b60008282101561203a5761203a6120d5565b500390565b60005b8381101561205a578181015183820152602001612042565b83811115610c2b5750506000910152565b600181811c9082168061207f57607f821691505b602082108114156120a057634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156120ba576120ba6120d5565b5060010190565b6000826120d0576120d06120eb565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114c957600080fdfea2646970667358221220201ff5b5d7f14598798387bc4a28e26c80339e2b912dc16e33cd694a21ae2c2764736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000655746f7069610000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000555545049410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d66484d4159653961367a4a446562327a7933385a686a345552457a5161683579396e4e4a4e426d50425644692f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Utopia
Arg [1] : _symbol (string): UTPIA
Arg [2] : _baseUri (string): ipfs://QmfHMAYe9a6zJDeb2zy38Zhj4UREzQah5y9nNJNBmPBVDi/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [4] : 55746f7069610000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 5554504941000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d66484d4159653961367a4a446562327a7933385a686a34
Arg [9] : 5552457a5161683579396e4e4a4e426d50425644692f00000000000000000000


Deployed Bytecode Sourcemap

52494:5110:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21470:615;;;;;;;;;;-1:-1:-1;21470:615:0;;;;;:::i;:::-;;:::i;:::-;;;8478:14:1;;8471:22;8453:41;;8441:2;8426:18;21470:615:0;;;;;;;;27117:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;29063:204::-;;;;;;;;;;-1:-1:-1;29063:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7139:32:1;;;7121:51;;7109:2;7094:18;29063:204:0;6975:203:1;28611:386:0;;;;;;;;;;-1:-1:-1;28611:386:0;;;;;:::i;:::-;;:::i;:::-;;56390:83;;;;;;;;;;-1:-1:-1;56390:83:0;;;;;:::i;:::-;;:::i;20524:315::-;;;;;;;;;;;;;:::i;:::-;;;14921:25:1;;;14909:2;14894:18;20524:315:0;14775:177:1;38328:2800:0;;;;;;;;;;-1:-1:-1;38328:2800:0;;;;;:::i;:::-;;:::i;54483:571::-;;;;;;:::i;:::-;;:::i;52641:49::-;;;;;;;;;;;;52689:1;52641:49;;52537:40;;;;;;;;;;;;52574:3;52537:40;;52958:30;;;;;;;;;;-1:-1:-1;52958:30:0;;;;;;;;;;;56836:330;;;:::i;29953:185::-;;;;;;;;;;-1:-1:-1;29953:185:0;;;;;:::i;:::-;;:::i;55068:689::-;;;;;;;;;;-1:-1:-1;55068:689:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;52886:28::-;;;;;;;;;;-1:-1:-1;52886:28:0;;;;;;;;;;;56278:102;;;;;;;;;;-1:-1:-1;56278:102:0;;;;;:::i;:::-;;:::i;52853:26::-;;;;;;;;;;-1:-1:-1;52853:26:0;;;;;;;;26906:144;;;;;;;;;;-1:-1:-1;26906:144:0;;;;;:::i;:::-;;:::i;53106:46::-;;;;;;;;;;-1:-1:-1;53106:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;22149:224;;;;;;;;;;-1:-1:-1;22149:224:0;;;;;:::i;:::-;;:::i;6061:103::-;;;;;;;;;;;;;:::i;53159:47::-;;;;;;;;;;-1:-1:-1;53159:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;56576:123;;;;;;;;;;-1:-1:-1;56576:123:0;;;;;:::i;:::-;;:::i;53827:648::-;;;;;;:::i;:::-;;:::i;56705:121::-;;;;;;;;;;-1:-1:-1;56705:121:0;;;;;:::i;:::-;;:::i;5413:87::-;;;;;;;;;;-1:-1:-1;5459:7:0;5486:6;-1:-1:-1;;;;;5486:6:0;5413:87;;57180:146;;;;;;;;;;-1:-1:-1;57180:146:0;;;;;:::i;:::-;;:::i;27286:104::-;;;;;;;;;;;;;:::i;29339:308::-;;;;;;;;;;-1:-1:-1;29339:308:0;;;;;:::i;:::-;;:::i;52923:28::-;;;;;;;;;;-1:-1:-1;52923:28:0;;;;;;;;;;;52592:40;;;;;;;;;;;;;;;;30209:399;;;;;;;;;;-1:-1:-1;30209:399:0;;;;;:::i;:::-;;:::i;52697:45::-;;;;;;;;;;;;52741:1;52697:45;;56162:108;;;;;;;;;;-1:-1:-1;56162:108:0;;;;;:::i;:::-;;:::i;55765:389::-;;;;;;;;;;-1:-1:-1;55765:389:0;;;;;:::i;:::-;;:::i;56481:87::-;;;;;;;;;;-1:-1:-1;56481:87:0;;;;;:::i;:::-;;:::i;29718:164::-;;;;;;;;;;-1:-1:-1;29718:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;29839:25:0;;;29815:4;29839:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;29718:164;6319:201;;;;;;;;;;-1:-1:-1;6319:201:0;;;;;:::i;:::-;;:::i;21470:615::-;21555:4;-1:-1:-1;;;;;;;;;21855:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;21932:25:0;;;21855:102;:179;;;-1:-1:-1;;;;;;;;;;22009:25:0;;;21855:179;21835:199;21470:615;-1:-1:-1;;21470:615:0:o;27117:100::-;27171:13;27204:5;27197:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27117:100;:::o;29063:204::-;29131:7;29156:16;29164:7;29156;:16::i;:::-;29151:64;;29181:34;;-1:-1:-1;;;29181:34:0;;;;;;;;;;;29151:64;-1:-1:-1;29235:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;29235:24:0;;29063:204::o;28611:386::-;28684:13;28700:16;28708:7;28700;:16::i;:::-;28684:32;-1:-1:-1;49511:10:0;-1:-1:-1;;;;;28733:28:0;;;28729:175;;28781:44;28798:5;49511:10;29718:164;:::i;28781:44::-;28776:128;;28853:35;;-1:-1:-1;;;28853:35:0;;;;;;;;;;;28776:128;28916:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;28916:29:0;-1:-1:-1;;;;;28916:29:0;;;;;;;;;28961:28;;28916:24;;28961:28;;;;;;;28673:324;28611:386;;:::o;56390:83::-;5299:13;:11;:13::i;:::-;56450:6:::1;:15:::0;;-1:-1:-1;;56450:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;56390:83::o;20524:315::-;20790:12;;53431:1;20774:13;:28;-1:-1:-1;;20774:46:0;;20524:315::o;38328:2800::-;38462:27;38492;38511:7;38492:18;:27::i;:::-;38462:57;;38577:4;-1:-1:-1;;;;;38536:45:0;38552:19;-1:-1:-1;;;;;38536:45:0;;38532:86;;38590:28;;-1:-1:-1;;;38590:28:0;;;;;;;;;;;38532:86;38632:27;37058:21;;;36885:15;37100:4;37093:36;37182:4;37166:21;;37272:26;;49511:10;38025:30;;;-1:-1:-1;;;;;37723:26:0;;38004:19;;;38001:55;38811:174;;38898:43;38915:4;49511:10;29718:164;:::i;38898:43::-;38893:92;;38950:35;;-1:-1:-1;;;38950:35:0;;;;;;;;;;;38893:92;-1:-1:-1;;;;;39002:16:0;;38998:52;;39027:23;;-1:-1:-1;;;39027:23:0;;;;;;;;;;;38998:52;39199:15;39196:160;;;39339:1;39318:19;39311:30;39196:160;-1:-1:-1;;;;;39734:24:0;;;;;;;:18;:24;;;;;;39732:26;;-1:-1:-1;;39732:26:0;;;39803:22;;;;;;;;;39801:24;;-1:-1:-1;39801:24:0;;;26805:11;26781:22;26777:40;26764:62;-1:-1:-1;;;26764:62:0;40096:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;40390:46:0;;40386:626;;40494:1;40484:11;;40462:19;40617:30;;;:17;:30;;;;;;40613:384;;40755:13;;40740:11;:28;40736:242;;40902:30;;;;:17;:30;;;;;:52;;;40736:242;40443:569;40386:626;41059:7;41055:2;-1:-1:-1;;;;;41040:27:0;41049:4;-1:-1:-1;;;;;41040:27:0;;;;;;;;;;;38451:2677;;;38328:2800;;;:::o;54483:571::-;57403:6;;54553:8;;57403:6;;57402:7;57394:38;;;;-1:-1:-1;;;57394:38:0;;;;;;;:::i;:::-;;;;;;;;;52574:3;57467:8;57451:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;57443:72;;;;-1:-1:-1;;;57443:72:0;;;;;;;:::i;:::-;57534:9;57547:10;57534:23;57526:55;;;;-1:-1:-1;;;57526:55:0;;;;;;;:::i;:::-;54582:10:::1;::::0;;;::::1;;;54574:43;;;::::0;-1:-1:-1;;;54574:43:0;;12886:2:1;54574:43:0::1;::::0;::::1;12868:21:1::0;12925:2;12905:18;;;12898:30;-1:-1:-1;;;12944:18:1;;;12937:50;13004:18;;54574:43:0::1;12684:344:1::0;54574:43:0::1;52689:1;54636:8;:33;;54628:63;;;::::0;-1:-1:-1;;;54628:63:0;;13235:2:1;54628:63:0::1;::::0;::::1;13217:21:1::0;13274:2;13254:18;;;13247:30;-1:-1:-1;;;13293:18:1;;;13286:47;13350:18;;54628:63:0::1;13033:341:1::0;54628:63:0::1;54720:11;::::0;54775:10:::1;54704:13;54762:24:::0;;;:12:::1;:24;::::0;;;;;52741:1:::1;54823:20;54835:8:::0;54762:24;54823:20:::1;:::i;:::-;:41;;54815:73;;;::::0;-1:-1:-1;;;54815:73:0;;10030:2:1;54815:73:0::1;::::0;::::1;10012:21:1::0;10069:2;10049:18;;;10042:30;-1:-1:-1;;;10088:18:1;;;10081:49;10147:18;;54815:73:0::1;9828:343:1::0;54815:73:0::1;54909:31;54923:16;54931:8:::0;54923:5;:16:::1;:::i;:::-;54909:13;:31::i;:::-;54981:20;54993:8:::0;54981:9;:20:::1;:::i;:::-;54966:10;54953:24;::::0;;;:12:::1;:24;::::0;;;;:49;;;;55015:31:::1;::::0;55037:8;55015:9:::1;:31::i;:::-;54563:491;;54483:571:::0;;:::o;56836:330::-;5299:13;:11;:13::i;:::-;56926:21:::1;56904:19;53043:42;57047:5;57024:19;56926:21:::0;57047:5;57024:19:::1;:::i;:::-;57023:29;;;;:::i;:::-;56976:133;::::0;6648:34:1;6636:47;;-1:-1:-1;;;6708:2:1;6699:12;;6692:34;6751:2;6742:12;56976:133:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56960:149;;;57128:4;57120:36;;;::::0;-1:-1:-1;;;57120:36:0;;13581:2:1;57120:36:0::1;::::0;::::1;13563:21:1::0;13620:2;13600:18;;;13593:30;-1:-1:-1;;;13639:18:1;;;13632:49;13698:18;;57120:36:0::1;13379:343:1::0;57120:36:0::1;56883:283;;56836:330::o:0;29953:185::-;30091:39;30108:4;30114:2;30118:7;30091:39;;;;;;;;;;;;:16;:39::i;:::-;29953:185;;;:::o;55068:689::-;55128:16;55162:23;55188:17;55198:6;55188:9;:17::i;:::-;55162:43;;55216:30;55263:15;55249:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55249:30:0;-1:-1:-1;55216:63:0;-1:-1:-1;55315:1:0;55290:22;55367:350;55392:15;55374;:33;:65;;;;;52574:3;55411:14;:28;;55374:65;55367:350;;;55456:25;55484:23;55492:14;55484:7;:23::i;:::-;55456:51;;55549:6;-1:-1:-1;;;;;55528:27:0;:17;-1:-1:-1;;;;;55528:27:0;;55524:153;;;55609:14;55576:13;55590:15;55576:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;55644:17;;;;:::i;:::-;;;;55524:153;55689:16;;;;:::i;:::-;;;;55441:276;55367:350;;;-1:-1:-1;55736:13:0;;55068:689;-1:-1:-1;;;;55068:689:0:o;56278:102::-;5299:13;:11;:13::i;:::-;56350:22;;::::1;::::0;:11:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;26906:144::-:0;26970:7;27013:27;27032:7;27013:18;:27::i;22149:224::-;22213:7;-1:-1:-1;;;;;22237:19:0;;22233:60;;22265:28;;-1:-1:-1;;;22265:28:0;;;;;;;;;;;22233:60;-1:-1:-1;;;;;;22311:25:0;;;;;:18;:25;;;;;;16704:13;22311:54;;22149:224::o;6061:103::-;5299:13;:11;:13::i;:::-;6126:30:::1;6153:1;6126:18;:30::i;:::-;6061:103::o:0;56576:123::-;5299:13;:11;:13::i;:::-;56643:10:::1;:19:::0;;-1:-1:-1;;56673:18:0;56643:19;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;56673:18:0;;;;;;::::1;::::0;;;::::1;::::0;;56576:123::o;53827:648::-;57403:6;;53895:8;;57403:6;;57402:7;57394:38;;;;-1:-1:-1;;;57394:38:0;;;;;;;:::i;:::-;52574:3;57467:8;57451:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;57443:72;;;;-1:-1:-1;;;57443:72:0;;;;;;;:::i;:::-;57534:9;57547:10;57534:23;57526:55;;;;-1:-1:-1;;;57526:55:0;;;;;;;:::i;:::-;53924:8:::1;::::0;;;::::1;;;53916:39;;;::::0;-1:-1:-1;;;53916:39:0;;10719:2:1;53916:39:0::1;::::0;::::1;10701:21:1::0;10758:2;10738:18;;;10731:30;-1:-1:-1;;;10777:18:1;;;10770:48;10835:18;;53916:39:0::1;10517:342:1::0;53916:39:0::1;53974:9;:14:::0;53966:45:::1;;;::::0;-1:-1:-1;;;53966:45:0;;12191:2:1;53966:45:0::1;::::0;::::1;12173:21:1::0;12230:2;12210:18;;;12203:30;-1:-1:-1;;;12249:18:1;;;12242:48;12307:18;;53966:45:0::1;11989:342:1::0;53966:45:0::1;54030:8;54042:1;54030:13;54022:38;;;::::0;-1:-1:-1;;;54022:38:0;;10378:2:1;54022:38:0::1;::::0;::::1;10360:21:1::0;10417:2;10397:18;;;10390:30;-1:-1:-1;;;10436:18:1;;;10429:42;10488:18;;54022:38:0::1;10176:336:1::0;54022:38:0::1;54073:17;54109:8;54093:13;:11;:13::i;:::-;:24;;;;:::i;:::-;54073:44;;54159:3;54146:9;:16;;54138:51;;;::::0;-1:-1:-1;;;54138:51:0;;14276:2:1;54138:51:0::1;::::0;::::1;14258:21:1::0;14315:2;14295:18;;;14288:30;-1:-1:-1;;;14334:18:1;;;14327:52;14396:18;;54138:51:0::1;14074:346:1::0;54138:51:0::1;54226:10;54211:26;::::0;;;:14:::1;:26;::::0;;;;;::::1;;54210:27;54202:59;;;::::0;-1:-1:-1;;;54202:59:0;;11427:2:1;54202:59:0::1;::::0;::::1;11409:21:1::0;11466:2;11446:18;;;11439:30;-1:-1:-1;;;11485:18:1;;;11478:49;11544:18;;54202:59:0::1;11225:343:1::0;54202:59:0::1;54297:10;54282:26;::::0;;;:14:::1;:26;::::0;;;;:33;;-1:-1:-1;;54282:33:0::1;54311:4;54282:33;::::0;;54344:3:::1;54331:16:::0;::::1;54328:96;;;54364:8;:16:::0;;-1:-1:-1;;54395:17:0;;::::1;::::0;;54328:96:::1;54436:31;54446:10;54458:8;54436:9;:31::i;56705:121::-:0;5299:13;:11;:13::i;:::-;56770:8:::1;:17:::0;;-1:-1:-1;;56798:20:0;56770:17;;::::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;56798:20:0;;;;;;::::1;::::0;;;::::1;::::0;;56705:121::o;57180:146::-;5299:13;:11;:13::i;:::-;57403:6:::1;::::0;57268:8;;57403:6:::1;;57402:7;57394:38;;;;-1:-1:-1::0;;;57394:38:0::1;;;;;;;:::i;:::-;52574:3;57467:8;57451:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:38;;57443:72;;;;-1:-1:-1::0;;;57443:72:0::1;;;;;;;:::i;:::-;57534:9;57547:10;57534:23;57526:55;;;;-1:-1:-1::0;;;57526:55:0::1;;;;;;;:::i;:::-;57289:29:::2;57299:8;57309;57289:9;:29::i;27286:104::-:0;27342:13;27375:7;27368:14;;;;;:::i;29339:308::-;-1:-1:-1;;;;;29438:31:0;;49511:10;29438:31;29434:61;;;29478:17;;-1:-1:-1;;;29478:17:0;;;;;;;;;;;29434:61;49511:10;29508:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;29508:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;29508:60:0;;;;;;;;;;29584:55;;8453:41:1;;;29508:49:0;;49511:10;29584:55;;8426:18:1;29584:55:0;;;;;;;29339:308;;:::o;30209:399::-;30376:31;30389:4;30395:2;30399:7;30376:12;:31::i;:::-;-1:-1:-1;;;;;30422:14:0;;;:19;30418:183;;30461:56;30492:4;30498:2;30502:7;30511:5;30461:30;:56::i;:::-;30456:145;;30545:40;;-1:-1:-1;;;30545:40:0;;;;;;;;;;;56162:108;5299:13;:11;:13::i;:::-;56236:11:::1;:26:::0;56162:108::o;55765:389::-;55831:13;55875:17;55883:8;55875:7;:17::i;:::-;55867:77;;;;-1:-1:-1;;;55867:77:0;;11775:2:1;55867:77:0;;;11757:21:1;11814:2;11794:18;;;11787:30;11853:34;11833:18;;;11826:62;-1:-1:-1;;;11904:18:1;;;11897:45;11959:19;;55867:77:0;11573:411:1;55867:77:0;55969:8;;;;;;;55965:182;;;56025:11;56038:26;56055:8;56038:16;:26::i;:::-;56008:66;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55994:81;;55765:389;;;:::o;55965:182::-;56124:11;56117:18;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55765:389;;;:::o;55965:182::-;55765:389;;;:::o;56481:87::-;5299:13;:11;:13::i;:::-;56543:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;56543:17:0;;::::1;::::0;;;::::1;::::0;;56481:87::o;6319:201::-;5299:13;:11;:13::i;:::-;-1:-1:-1;;;;;6408:22:0;::::1;6400:73;;;::::0;-1:-1:-1;;;6400:73:0;;8931:2:1;6400:73:0::1;::::0;::::1;8913:21:1::0;8970:2;8950:18;;;8943:30;9009:34;8989:18;;;8982:62;-1:-1:-1;;;9060:18:1;;;9053:36;9106:19;;6400:73:0::1;8729:402:1::0;6400:73:0::1;6484:28;6503:8;6484:18;:28::i;:::-;6319:201:::0;:::o;30863:273::-;30920:4;30976:7;53431:1;30957:26;;:66;;;;;31010:13;;31000:7;:23;30957:66;:152;;;;-1:-1:-1;;31061:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;31061:43:0;:48;;30863:273::o;5578:132::-;5459:7;5486:6;-1:-1:-1;;;;;5486:6:0;49511:10;5642:23;5634:68;;;;-1:-1:-1;;;5634:68:0;;11066:2:1;5634:68:0;;;11048:21:1;;;11085:18;;;11078:30;11144:34;11124:18;;;11117:62;11196:18;;5634:68:0;10864:356:1;23823:1129:0;23890:7;23925;;53431:1;23974:23;23970:915;;24027:13;;24020:4;:20;24016:869;;;24065:14;24082:23;;;:17;:23;;;;;;-1:-1:-1;;;24171:23:0;;24167:699;;24690:113;24697:11;24690:113;;-1:-1:-1;;;24768:6:0;24750:25;;;;:17;:25;;;;;;24690:113;;;24836:6;23823:1129;-1:-1:-1;;;23823:1129:0:o;24167:699::-;24042:843;24016:869;24913:31;;-1:-1:-1;;;24913:31:0;;;;;;;;;;;53448:359;53521:5;53509:9;:17;53505:295;;;53544:9;53567:10;53610:17;53622:5;53610:9;:17;:::i;:::-;53559:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53543:104;;;53670:4;53662:32;;;;-1:-1:-1;;;53662:32:0;;9338:2:1;53662:32:0;;;9320:21:1;9377:2;9357:18;;;9350:30;-1:-1:-1;;;9396:18:1;;;9389:45;9451:18;;53662:32:0;9136:339:1;53505:295:0;53737:5;53725:9;:17;53721:79;;;53759:29;;-1:-1:-1;;;53759:29:0;;12538:2:1;53759:29:0;;;12520:21:1;12577:2;12557:18;;;12550:30;-1:-1:-1;;;12596:18:1;;;12589:49;12655:18;;53759:29:0;12336:343:1;31220:104:0;31289:27;31299:2;31303:8;31289:27;;;;;;;;;;;;:9;:27::i;6680:191::-;6754:16;6773:6;;-1:-1:-1;;;;;6790:17:0;;;-1:-1:-1;;;;;;6790:17:0;;;;;;6823:40;;6773:6;;;;;;;6823:40;;6754:16;6823:40;6743:128;6680:191;:::o;45079:716::-;45263:88;;-1:-1:-1;;;45263:88:0;;45242:4;;-1:-1:-1;;;;;45263:45:0;;;;;:88;;49511:10;;45330:4;;45336:7;;45345:5;;45263:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45263:88:0;;;;;;;;-1:-1:-1;;45263:88:0;;;;;;;;;;;;:::i;:::-;;;45259:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45546:13:0;;45542:235;;45592:40;;-1:-1:-1;;;45592:40:0;;;;;;;;;;;45542:235;45735:6;45729:13;45720:6;45716:2;45712:15;45705:38;45259:529;-1:-1:-1;;;;;;45422:64:0;-1:-1:-1;;;45422:64:0;;-1:-1:-1;45259:529:0;45079:716;;;;;;:::o;1218:723::-;1274:13;1495:10;1491:53;;-1:-1:-1;;1522:10:0;;;;;;;;;;;;-1:-1:-1;;;1522:10:0;;;;;1218:723::o;1491:53::-;1569:5;1554:12;1610:78;1617:9;;1610:78;;1643:8;;;;:::i;:::-;;-1:-1:-1;1666:10:0;;-1:-1:-1;1674:2:0;1666:10;;:::i;:::-;;;1610:78;;;1698:19;1730:6;1720:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1720:17:0;;1698:39;;1748:154;1755:10;;1748:154;;1782:11;1792:1;1782:11;;:::i;:::-;;-1:-1:-1;1851:10:0;1859:2;1851:5;:10;:::i;:::-;1838:24;;:2;:24;:::i;:::-;1825:39;;1808:6;1815;1808:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1808:56:0;;;;;;;;-1:-1:-1;1879:11:0;1888:2;1879:11;;:::i;:::-;;;1748:154;;31740:681;31863:19;31869:2;31873:8;31863:5;:19::i;:::-;-1:-1:-1;;;;;31924:14:0;;;:19;31920:483;;31978:13;;32026:14;;;32059:233;32090:62;32129:1;32133:2;32137:7;;;;;;32146:5;32090:30;:62::i;:::-;32085:167;;32188:40;;-1:-1:-1;;;32188:40:0;;;;;;;;;;;32085:167;32287:3;32279:5;:11;32059:233;;32374:3;32357:13;;:20;32353:34;;32379:8;;;32353:34;31945:458;;31740:681;;;:::o;32694:1529::-;32782:13;;-1:-1:-1;;;;;32810:16:0;;32806:48;;32835:19;;-1:-1:-1;;;32835:19:0;;;;;;;;;;;32806:48;32869:13;32865:44;;32891:18;;-1:-1:-1;;;32891:18:0;;;;;;;;;;;32865:44;-1:-1:-1;;;;;33397:22:0;;;;;;:18;:22;;16841:2;33397:22;;:70;;33435:31;33423:44;;33397:70;;;26805:11;26781:22;26777:40;-1:-1:-1;28515:15:0;;28490:23;28486:45;26774:51;26764:62;33710:31;;;;:17;:31;;;;;:173;33728:12;33959:23;;;33997:101;34024:35;;34049:9;;;;;-1:-1:-1;;;;;34024:35:0;;;34041:1;;34024:35;;34041:1;;34024:35;34093:3;34083:7;:13;33997:101;;34114:13;:19;-1:-1:-1;29953:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;828:160;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:254::-;4368:6;4376;4429:2;4417:9;4408:7;4404:23;4400:32;4397:52;;;4445:1;4442;4435:12;4397:52;4481:9;4468:23;4458:33;;4510:38;4544:2;4533:9;4529:18;4510:38;:::i;4559:257::-;4600:3;4638:5;4632:12;4665:6;4660:3;4653:19;4681:63;4737:6;4730:4;4725:3;4721:14;4714:4;4707:5;4703:16;4681:63;:::i;:::-;4798:2;4777:15;-1:-1:-1;;4773:29:1;4764:39;;;;4805:4;4760:50;;4559:257;-1:-1:-1;;4559:257:1:o;4821:185::-;4863:3;4901:5;4895:12;4916:52;4961:6;4956:3;4949:4;4942:5;4938:16;4916:52;:::i;:::-;4984:16;;;;;4821:185;-1:-1:-1;;4821:185:1:o;5129:1301::-;5406:3;5435:1;5468:6;5462:13;5498:3;5520:1;5548:9;5544:2;5540:18;5530:28;;5608:2;5597:9;5593:18;5630;5620:61;;5674:4;5666:6;5662:17;5652:27;;5620:61;5700:2;5748;5740:6;5737:14;5717:18;5714:38;5711:165;;;-1:-1:-1;;;5775:33:1;;5831:4;5828:1;5821:15;5861:4;5782:3;5849:17;5711:165;5892:18;5919:104;;;;6037:1;6032:320;;;;5885:467;;5919:104;-1:-1:-1;;5952:24:1;;5940:37;;5997:16;;;;-1:-1:-1;5919:104:1;;6032:320;15030:1;15023:14;;;15067:4;15054:18;;6127:1;6141:165;6155:6;6152:1;6149:13;6141:165;;;6233:14;;6220:11;;;6213:35;6276:16;;;;6170:10;;6141:165;;;6145:3;;6335:6;6330:3;6326:16;6319:23;;5885:467;;;;;;;6368:56;6393:30;6419:3;6411:6;6393:30;:::i;:::-;-1:-1:-1;;;5071:20:1;;5116:1;5107:11;;5011:113;6368:56;6361:63;5129:1301;-1:-1:-1;;;;;5129:1301:1:o;7183:488::-;-1:-1:-1;;;;;7452:15:1;;;7434:34;;7504:15;;7499:2;7484:18;;7477:43;7551:2;7536:18;;7529:34;;;7599:3;7594:2;7579:18;;7572:31;;;7377:4;;7620:45;;7645:19;;7637:6;7620:45;:::i;:::-;7612:53;7183:488;-1:-1:-1;;;;;;7183:488:1:o;7676:632::-;7847:2;7899:21;;;7969:13;;7872:18;;;7991:22;;;7818:4;;7847:2;8070:15;;;;8044:2;8029:18;;;7818:4;8113:169;8127:6;8124:1;8121:13;8113:169;;;8188:13;;8176:26;;8257:15;;;;8222:12;;;;8149:1;8142:9;8113:169;;;-1:-1:-1;8299:3:1;;7676:632;-1:-1:-1;;;;;;7676:632:1:o;8505:219::-;8654:2;8643:9;8636:21;8617:4;8674:44;8714:2;8703:9;8699:18;8691:6;8674:44;:::i;9480:343::-;9682:2;9664:21;;;9721:2;9701:18;;;9694:30;-1:-1:-1;;;9755:2:1;9740:18;;9733:49;9814:2;9799:18;;9480:343::o;13727:342::-;13929:2;13911:21;;;13968:2;13948:18;;;13941:30;-1:-1:-1;;;14002:2:1;13987:18;;13980:48;14060:2;14045:18;;13727:342::o;14425:345::-;14627:2;14609:21;;;14666:2;14646:18;;;14639:30;-1:-1:-1;;;14700:2:1;14685:18;;14678:51;14761:2;14746:18;;14425:345::o;15083:128::-;15123:3;15154:1;15150:6;15147:1;15144:13;15141:39;;;15160:18;;:::i;:::-;-1:-1:-1;15196:9:1;;15083:128::o;15216:120::-;15256:1;15282;15272:35;;15287:18;;:::i;:::-;-1:-1:-1;15321:9:1;;15216:120::o;15341:168::-;15381:7;15447:1;15443;15439:6;15435:14;15432:1;15429:21;15424:1;15417:9;15410:17;15406:45;15403:71;;;15454:18;;:::i;:::-;-1:-1:-1;15494:9:1;;15341:168::o;15514:125::-;15554:4;15582:1;15579;15576:8;15573:34;;;15587:18;;:::i;:::-;-1:-1:-1;15624:9:1;;15514:125::o;15644:258::-;15716:1;15726:113;15740:6;15737:1;15734:13;15726:113;;;15816:11;;;15810:18;15797:11;;;15790:39;15762:2;15755:10;15726:113;;;15857:6;15854:1;15851:13;15848:48;;;-1:-1:-1;;15892:1:1;15874:16;;15867:27;15644:258::o;15907:380::-;15986:1;15982:12;;;;16029;;;16050:61;;16104:4;16096:6;16092:17;16082:27;;16050:61;16157:2;16149:6;16146:14;16126:18;16123:38;16120:161;;;16203:10;16198:3;16194:20;16191:1;16184:31;16238:4;16235:1;16228:15;16266:4;16263:1;16256:15;16120:161;;15907:380;;;:::o;16292:135::-;16331:3;-1:-1:-1;;16352:17:1;;16349:43;;;16372:18;;:::i;:::-;-1:-1:-1;16419:1:1;16408:13;;16292:135::o;16432:112::-;16464:1;16490;16480:35;;16495:18;;:::i;:::-;-1:-1:-1;16529:9:1;;16432:112::o;16549:127::-;16610:10;16605:3;16601:20;16598:1;16591:31;16641:4;16638:1;16631:15;16665:4;16662:1;16655:15;16681:127;16742:10;16737:3;16733:20;16730:1;16723:31;16773:4;16770:1;16763:15;16797:4;16794:1;16787:15;16813:127;16874:10;16869:3;16865:20;16862:1;16855:31;16905:4;16902:1;16895:15;16929:4;16926:1;16919:15;16945:127;17006:10;17001:3;16997:20;16994:1;16987:31;17037:4;17034:1;17027:15;17061:4;17058:1;17051:15;17077:131;-1:-1:-1;;;;;;17151:32:1;;17141:43;;17131:71;;17198:1;17195;17188:12

Swarm Source

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