ETH Price: $3,178.22 (+2.98%)

Token

XX GEN (XXGEN)
 

Overview

Max Total Supply

347 XXGEN

Holders

74

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
XXGEN

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-20
*/

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

// File: contracts/IOperatorFilterRegistry.sol


pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);
    function register(address registrant) external;
    function registerAndSubscribe(address registrant, address subscription) external;
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;
    function updateOperator(address registrant, address operator, bool filtered) external;
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;
    function subscribe(address registrant, address registrantToSubscribe) external;
    function unsubscribe(address registrant, bool copyExistingEntries) external;
    function subscriptionOf(address addr) external returns (address registrant);
    function subscribers(address registrant) external returns (address[] memory);
    function subscriberAt(address registrant, uint256 index) external returns (address);
    function copyEntriesOf(address registrant, address registrantToCopy) external;
    function isOperatorFiltered(address registrant, address operator) external returns (bool);
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);
    function filteredOperators(address addr) external returns (address[] memory);
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);
    function isRegistered(address addr) external returns (bool);
    function codeHashOf(address addr) external returns (bytes32);
}

// File: contracts/OperatorFilterer.sol


pragma solidity ^0.8.13;


abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry constant operatorFilterRegistry =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(operatorFilterRegistry).code.length > 0) {
            if (subscribe) {
                operatorFilterRegistry.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    operatorFilterRegistry.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    operatorFilterRegistry.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(operatorFilterRegistry).code.length > 0) {
            // Allow spending tokens from addresses with balance
            // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
            // from an EOA.
            if (from == msg.sender) {
                _;
                return;
            }
            if (
                !(
                    operatorFilterRegistry.isOperatorAllowed(address(this), msg.sender)
                        && operatorFilterRegistry.isOperatorAllowed(address(this), from)
                )
            ) {
                revert OperatorNotAllowed(msg.sender);
            }
        }
        _;
    }
}

// File: contracts/DefaultOperatorFilterer.sol


pragma solidity ^0.8.13;


abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

// File: contracts/IERC721A.sol


// ERC721A Contracts v4.0.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();

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.4;


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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

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

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

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

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

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

        address approvedAddress = _tokenApprovals[tokenId];

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            approvedAddress == _msgSenderERC721A());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

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

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));
        address approvedAddress = _tokenApprovals[tokenId];

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        if (_addressToUint256(approvedAddress) != 0) {
            delete _tokenApprovals[tokenId];
        }

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

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED |
                BITMASK_NEXT_INITIALIZED;

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

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

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

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

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

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

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

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

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

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

            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}
// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: contracts/ReMyth.sol


pragma solidity ^0.8.13;






contract XXGEN is ERC721A, Ownable, DefaultOperatorFilterer {

    using Strings for uint;

    enum Step {
        StandBy,
        WhitelistSale,
        PublicSale,
        SoldOut,
        Reveal
    }

    Step public step;

    string public baseURI;
    string public notRevealedURI;

    uint public MAX_SUPPLY = 555;
    uint public MAX_TEAM = 2222;
    uint public MAX_TX = 30;

    bool private isRevealed = false;

    uint public wl_price = 0 ether;
    uint public public_price = 0.007 ether;

    uint public saleStartTime = 1649298400;

    bytes32 public merkleRoot;

    constructor(string memory _baseURI, bytes32 _merkleRoot) ERC721A("XX GEN", "XXGEN")
    {
        baseURI = _baseURI;
        merkleRoot = _merkleRoot;
    }

    modifier isNotContract() {
        require(tx.origin == msg.sender, "Reentrancy Guard is watching");
        _;
    }

    function getStep() public view returns(Step actualStep) {
        if(block.timestamp < saleStartTime) {
            return Step.StandBy;
        }
        if(block.timestamp >= saleStartTime
        &&block.timestamp < saleStartTime + 30 minutes) {
            return Step.WhitelistSale;
        }
        if(block.timestamp >= saleStartTime + 30 minutes) {
            return Step.PublicSale;
        }
    }

    function TeamMint(address _to, uint _quantity) external payable onlyOwner {
        require(totalSupply() + _quantity <= MAX_TEAM, "NFT can't be minted anymore");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "NFT can't be minted anymore");
        _safeMint(_to,  _quantity);
    }

    function whitelistMint(address _account, uint _quantity, bytes32[] calldata _proof) external payable isNotContract {
        require(getStep() == Step.WhitelistSale, "Whitelist Mint is not activated");
        require(isWhiteListed(msg.sender, _proof), "Not whitelisted");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "NFT can't be minted anymore");
        require(_quantity <= MAX_TX, "Exceeded Max per TX");
        require(msg.value >= wl_price * _quantity, "Not enought funds");
        _safeMint(_account, _quantity);
    }

    function PublicMint(address _account, uint _quantity) external payable isNotContract {
        require(getStep() == Step.PublicSale, "Public Mint is not activated");
        require(totalSupply() + _quantity <= MAX_SUPPLY, "NFT can't be mint anymore");
        require(_quantity <= MAX_TX, "Exceeded Max per TX");
        require(msg.value >= public_price * _quantity, "Not enought funds");
        _safeMint(_account, _quantity);
    }

    function setBaseUri(string memory _newBaseURI) external onlyOwner {
        baseURI = _newBaseURI;
    }

    function setSaleStartTime(uint _newSaleStartTime) external onlyOwner {
        saleStartTime = _newSaleStartTime;
    }

    function setMaxSupply(uint _newMAX_SUPPLY) external onlyOwner {
        MAX_SUPPLY = _newMAX_SUPPLY;
    }

    function revealCollection() external onlyOwner {
        isRevealed = true;
    }

    function tokenURI(uint _tokenId) public view virtual override returns (string memory) {
        require(_exists(_tokenId), "URI query for nonexistent token");
        if(isRevealed == true) {
            return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json"));
        }
        else {
            return string(abi.encodePacked(baseURI, notRevealedURI));
        }
    }

   function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function isWhiteListed(address _account, bytes32[] calldata _proof) internal view returns(bool) {
        return _verify(leaf(_account), _proof);
    }

    function leaf(address _account) internal pure returns(bytes32) {
        return keccak256(abi.encodePacked(_account));
    }

    function _verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns(bool) {
        return MerkleProof.verify(_proof, merkleRoot, _leaf);
    }

    function transferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
        public
        override
        onlyAllowedOperator(from)
    {
        super.safeTransferFrom(from, to, tokenId, data);
    }

    function Refund(uint amount) public onlyOwner {
        payable(msg.sender).transfer(amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"TeamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStep","outputs":[{"internalType":"enum XXGEN.Step","name":"actualStep","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMAX_SUPPLY","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSaleStartTime","type":"uint256"}],"name":"setSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"step","outputs":[{"internalType":"enum XXGEN.Step","name":"","type":"uint8"}],"stateMutability":"view","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":"_account","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wl_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405261022b600b556108ae600c55601e600d55600e805460ff191690556000600f556618de76816d800060105563624e4be06011553480156200004457600080fd5b50604051620029db380380620029db8339810160408190526200006791620002b6565b733cc6cdda760b79bafa08df41ecfa224f810dceb66001604051806040016040528060068152602001652c2c1023a2a760d11b815250604051806040016040528060058152602001642c2c23a2a760d91b8152508160029081620000cc919062000420565b506003620000db828262000420565b50506000805550620000ed336200024e565b6daaeb6d7670e522a718067333cd4e3b15620002325780156200018057604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200016157600080fd5b505af115801562000176573d6000803e3d6000fd5b5050505062000232565b6001600160a01b03821615620001d15760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af29039060440162000146565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021857600080fd5b505af11580156200022d573d6000803e3d6000fd5b505050505b506009905062000243838262000420565b5060125550620004ec565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b60008060408385031215620002ca57600080fd5b82516001600160401b0380821115620002e257600080fd5b818501915085601f830112620002f757600080fd5b8151818111156200030c576200030c620002a0565b604051601f8201601f19908116603f01168101908382118183101715620003375762000337620002a0565b816040528281526020935088848487010111156200035457600080fd5b600091505b8282101562000378578482018401518183018501529083019062000359565b6000928101840192909252509401519395939450505050565b600181811c90821680620003a657607f821691505b602082108103620003c757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200041b57600081815260208120601f850160051c81016020861015620003f65750805b601f850160051c820191505b81811015620004175782815560010162000402565b5050505b505050565b81516001600160401b038111156200043c576200043c620002a0565b62000454816200044d845462000391565b84620003cd565b602080601f8311600181146200048c5760008415620004735750858301515b600019600386901b1c1916600185901b17855562000417565b600085815260208120601f198616915b82811015620004bd578886015182559484019460019091019084016200049c565b5085821015620004dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6124df80620004fc6000396000f3fe60806040526004361061021a5760003560e01c80636f8b44b011610123578063a0bcfc7f116100ab578063c87b56dd1161006f578063c87b56dd146105b9578063e25fe175146105d9578063e985e9c5146105fa578063f2fde38b1461061a578063f3b2db3f1461063a57600080fd5b8063a0bcfc7f1461052d578063a22cb4651461054d578063a69f67501461056d578063b88d4fde14610583578063bfe2a08a146105a357600080fd5b8063748a2986116100f2578063748a2986146104a55780637cb64759146104b85780638da5cb5b146104d857806395d89b41146104f65780639e5288a01461050b57600080fd5b80636f8b44b01461043b57806370a082311461045b578063715018a61461047b578063722503801461049057600080fd5b806332c7189e116101a65780634b11faaf116101755780634b11faaf146103c0578063525f8a5c146103d35780635d3a6b0d146103f35780636352211e146104065780636c0360eb1461042657600080fd5b806332c7189e1461035f57806332cb6b0c1461037557806340d0b4a91461038b57806342842e0e146103a057600080fd5b806318160ddd116101ed57806318160ddd146102d05780631cbaee2d146102f357806323b872dd146103095780632e1897b0146103295780632eb4a7ab1461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611d47565b610650565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106a2565b60405161024b9190611db4565b34801561028257600080fd5b50610296610291366004611dc7565b610734565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611df7565b610778565b005b3480156102dc57600080fd5b50600154600054035b60405190815260200161024b565b3480156102ff57600080fd5b506102e560115481565b34801561031557600080fd5b506102ce610324366004611e21565b61084a565b34801561033557600080fd5b506102ce610344366004611dc7565b6109ab565b34801561035557600080fd5b506102e560125481565b34801561036b57600080fd5b506102e5600c5481565b34801561038157600080fd5b506102e5600b5481565b34801561039757600080fd5b506102ce610a06565b3480156103ac57600080fd5b506102ce6103bb366004611e21565b610a3f565b6102ce6103ce366004611e5d565b610b90565b3480156103df57600080fd5b506102ce6103ee366004611dc7565b610d6c565b6102ce610401366004611df7565b610d9b565b34801561041257600080fd5b50610296610421366004611dc7565b610e41565b34801561043257600080fd5b50610269610e4c565b34801561044757600080fd5b506102ce610456366004611dc7565b610eda565b34801561046757600080fd5b506102e5610476366004611ee7565b610f09565b34801561048757600080fd5b506102ce610f52565b34801561049c57600080fd5b50610269610f88565b6102ce6104b3366004611df7565b610f95565b3480156104c457600080fd5b506102ce6104d3366004611dc7565b61114e565b3480156104e457600080fd5b506008546001600160a01b0316610296565b34801561050257600080fd5b5061026961117d565b34801561051757600080fd5b5061052061118c565b60405161024b9190611f18565b34801561053957600080fd5b506102ce610548366004611fcc565b6111e6565b34801561055957600080fd5b506102ce610568366004612023565b61121c565b34801561057957600080fd5b506102e560105481565b34801561058f57600080fd5b506102ce61059e36600461205a565b6112b1565b3480156105af57600080fd5b506102e5600f5481565b3480156105c557600080fd5b506102696105d4366004611dc7565b611410565b3480156105e557600080fd5b5060085461052090600160a01b900460ff1681565b34801561060657600080fd5b5061023f6106153660046120d6565b6114c2565b34801561062657600080fd5b506102ce610635366004611ee7565b6114f0565b34801561064657600080fd5b506102e5600d5481565b60006301ffc9a760e01b6001600160e01b03198316148061068157506380ac58cd60e01b6001600160e01b03198316145b8061069c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b190612109565b80601f01602080910402602001604051908101604052809291908181526020018280546106dd90612109565b801561072a5780601f106106ff5761010080835404028352916020019161072a565b820191906000526020600020905b81548152906001019060200180831161070d57829003601f168201915b5050505050905090565b600061073f8261158b565b61075c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610783826115b2565b9050806001600160a01b0316836001600160a01b0316036107b75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107ee576107d181336114c2565b6107ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826daaeb6d7670e522a718067333cd4e3b1561099a57336001600160a01b038216036108805761087b848484611620565b6109a5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f39190612143565b80156109765750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610952573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109769190612143565b61099a57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6109a5848484611620565b50505050565b6008546001600160a01b031633146109d55760405162461bcd60e51b815260040161099190612160565b604051339082156108fc029083906000818181858888f19350505050158015610a02573d6000803e3d6000fd5b5050565b6008546001600160a01b03163314610a305760405162461bcd60e51b815260040161099190612160565b600e805460ff19166001179055565b826daaeb6d7670e522a718067333cd4e3b15610b8557336001600160a01b03821603610a705761087b848484611630565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612143565b8015610b665750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190612143565b610b8557604051633b79c77360e21b8152336004820152602401610991565b6109a5848484611630565b323314610bdf5760405162461bcd60e51b815260206004820152601c60248201527f5265656e7472616e6379204775617264206973207761746368696e67000000006044820152606401610991565b6001610be961118c565b6004811115610bfa57610bfa611f02565b14610c475760405162461bcd60e51b815260206004820152601f60248201527f57686974656c697374204d696e74206973206e6f7420616374697661746564006044820152606401610991565b610c5233838361164b565b610c905760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610991565b600b5483610ca16001546000540390565b610cab91906121ab565b1115610cc95760405162461bcd60e51b8152600401610991906121be565b600d54831115610d115760405162461bcd60e51b815260206004820152601360248201527208af0c6cacac8cac8409ac2f040e0cae440a8b606b1b6044820152606401610991565b82600f54610d1f91906121f5565b341015610d625760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610991565b6109a584846116d4565b6008546001600160a01b03163314610d965760405162461bcd60e51b815260040161099190612160565b601155565b6008546001600160a01b03163314610dc55760405162461bcd60e51b815260040161099190612160565b600c5481610dd66001546000540390565b610de091906121ab565b1115610dfe5760405162461bcd60e51b8152600401610991906121be565b600b5481610e0f6001546000540390565b610e1991906121ab565b1115610e375760405162461bcd60e51b8152600401610991906121be565b610a0282826116d4565b600061069c826115b2565b60098054610e5990612109565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8590612109565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b505050505081565b6008546001600160a01b03163314610f045760405162461bcd60e51b815260040161099190612160565b600b55565b600081600003610f2c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260040161099190612160565b610f8660006116ee565b565b600a8054610e5990612109565b323314610fe45760405162461bcd60e51b815260206004820152601c60248201527f5265656e7472616e6379204775617264206973207761746368696e67000000006044820152606401610991565b6002610fee61118c565b6004811115610fff57610fff611f02565b1461104c5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963204d696e74206973206e6f7420616374697661746564000000006044820152606401610991565b600b548161105d6001546000540390565b61106791906121ab565b11156110b55760405162461bcd60e51b815260206004820152601960248201527f4e46542063616e2774206265206d696e7420616e796d6f7265000000000000006044820152606401610991565b600d548111156110fd5760405162461bcd60e51b815260206004820152601360248201527208af0c6cacac8cac8409ac2f040e0cae440a8b606b1b6044820152606401610991565b8060105461110b91906121f5565b341015610e375760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610991565b6008546001600160a01b031633146111785760405162461bcd60e51b815260040161099190612160565b601255565b6060600380546106b190612109565b600060115442101561119e5750600090565b60115442101580156111bd57506011546111ba906107086121ab565b42105b156111c85750600190565b6011546111d7906107086121ab565b42106111e35750600290565b90565b6008546001600160a01b031633146112105760405162461bcd60e51b815260040161099190612160565b6009610a028282612252565b336001600160a01b038316036112455760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b156113fd57336001600160a01b038216036112e8576112e385858585611740565b611409565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611337573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135b9190612143565b80156113de5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156113ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113de9190612143565b6113fd57604051633b79c77360e21b8152336004820152602401610991565b61140985858585611740565b5050505050565b606061141b8261158b565b6114675760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610991565b600e5460ff1615156001036114a857600961148183611784565b604051602001611492929190612385565b6040516020818303038152906040529050919050565b6009600a6040516020016114929291906123ba565b919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461151a5760405162461bcd60e51b815260040161099190612160565b6001600160a01b03811661157f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610991565b611588816116ee565b50565b600080548210801561069c575050600090815260046020526040902054600160e01b161590565b6000816000548110156116075760008181526004602052604081205490600160e01b82169003611605575b806000036115fe5750600019016000818152600460205260409020546115dd565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61162b838383611885565b505050565b61162b838383604051806020016040528060008152506112b1565b60006116cc611693856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611a3f92505050565b949350505050565b610a02828260405180602001604052806000815250611a4e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61174b848484611885565b6001600160a01b0383163b156109a55761176784848484611bbc565b6109a5576040516368d2bf6b60e11b815260040160405180910390fd5b6060816000036117ab5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117d557806117bf816123cf565b91506117ce9050600a836123fe565b91506117af565b60008167ffffffffffffffff8111156117f0576117f0611f40565b6040519080825280601f01601f19166020018201604052801561181a576020820181803683370190505b5090505b84156116cc5761182f600183612412565b915061183c600a86612425565b6118479060306121ab565b60f81b81838151811061185c5761185c612439565b60200101906001600160f81b031916908160001a90535061187e600a866123fe565b945061181e565b6000611890826115b2565b9050836001600160a01b0316816001600160a01b0316146118c35760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b03908116919086163314806118f357506118f386336114c2565b8061190657506001600160a01b03821633145b90508061192657604051632ce44b5f60e11b815260040160405180910390fd5b8460000361194757604051633a954ecd60e21b815260040160405180910390fd5b811561196a57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b88178117909155841690036119f5576001840160008181526004602052604081205490036119f35760005481146119f35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006115fe8260125485611ca7565b60005483600003611a7157604051622e076360e81b815260040160405180910390fd5b82600003611a925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611b67575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b306000878480600101955087611bbc565b611b4d576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ae5578260005414611b6257600080fd5b611bac565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b68575b5060009081556109a59085838684565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bf190339089908890889060040161244f565b6020604051808303816000875af1925050508015611c2c575060408051601f3d908101601f19168201909252611c299181019061248c565b60015b611c8a573d808015611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b508051600003611c82576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600082611cb48584611cbd565b14949350505050565b600081815b8451811015611d29576000858281518110611cdf57611cdf612439565b60200260200101519050808311611d055760008381526020829052604090209250611d16565b600081815260208490526040902092505b5080611d21816123cf565b915050611cc2565b509392505050565b6001600160e01b03198116811461158857600080fd5b600060208284031215611d5957600080fd5b81356115fe81611d31565b60005b83811015611d7f578181015183820152602001611d67565b50506000910152565b60008151808452611da0816020860160208601611d64565b601f01601f19169290920160200192915050565b6020815260006115fe6020830184611d88565b600060208284031215611dd957600080fd5b5035919050565b80356001600160a01b03811681146114bd57600080fd5b60008060408385031215611e0a57600080fd5b611e1383611de0565b946020939093013593505050565b600080600060608486031215611e3657600080fd5b611e3f84611de0565b9250611e4d60208501611de0565b9150604084013590509250925092565b60008060008060608587031215611e7357600080fd5b611e7c85611de0565b935060208501359250604085013567ffffffffffffffff80821115611ea057600080fd5b818701915087601f830112611eb457600080fd5b813581811115611ec357600080fd5b8860208260051b8501011115611ed857600080fd5b95989497505060200194505050565b600060208284031215611ef957600080fd5b6115fe82611de0565b634e487b7160e01b600052602160045260246000fd5b6020810160058310611f3a57634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f7157611f71611f40565b604051601f8501601f19908116603f01168101908282118183101715611f9957611f99611f40565b81604052809350858152868686011115611fb257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fde57600080fd5b813567ffffffffffffffff811115611ff557600080fd5b8201601f8101841361200657600080fd5b6116cc84823560208401611f56565b801515811461158857600080fd5b6000806040838503121561203657600080fd5b61203f83611de0565b9150602083013561204f81612015565b809150509250929050565b6000806000806080858703121561207057600080fd5b61207985611de0565b935061208760208601611de0565b925060408501359150606085013567ffffffffffffffff8111156120aa57600080fd5b8501601f810187136120bb57600080fd5b6120ca87823560208401611f56565b91505092959194509250565b600080604083850312156120e957600080fd5b6120f283611de0565b915061210060208401611de0565b90509250929050565b600181811c9082168061211d57607f821691505b60208210810361213d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561215557600080fd5b81516115fe81612015565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561069c5761069c612195565b6020808252601b908201527f4e46542063616e2774206265206d696e74656420616e796d6f72650000000000604082015260600190565b808202811582820484141761069c5761069c612195565b601f82111561162b57600081815260208120601f850160051c810160208610156122335750805b601f850160051c820191505b81811015611a375782815560010161223f565b815167ffffffffffffffff81111561226c5761226c611f40565b6122808161227a8454612109565b8461220c565b602080601f8311600181146122b5576000841561229d5750858301515b600019600386901b1c1916600185901b178555611a37565b600085815260208120601f198616915b828110156122e4578886015182559484019460019091019084016122c5565b50858210156123025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000815461231f81612109565b60018281168015612337576001811461234c5761237b565b60ff198416875282151583028701945061237b565b8560005260208060002060005b858110156123725781548a820152908401908201612359565b50505082870194505b5050505092915050565b60006123918285612312565b83516123a1818360208801611d64565b64173539b7b760d91b9101908152600501949350505050565b60006116cc6123c98386612312565b84612312565b6000600182016123e1576123e1612195565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261240d5761240d6123e8565b500490565b8181038181111561069c5761069c612195565b600082612434576124346123e8565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248290830184611d88565b9695505050505050565b60006020828403121561249e57600080fd5b81516115fe81611d3156fea2646970667358221220a99e881a82148b76b231253cd9bc0cc79d9aa95d13149305743bb991e58ba73b64736f6c63430008110033000000000000000000000000000000000000000000000000000000000000004053aaf442e8045ec89001854cee59c122cbfc2d22d9e5900e4bf839ed04e1ccbc00000000000000000000000000000000000000000000000000000000000000033078300000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061021a5760003560e01c80636f8b44b011610123578063a0bcfc7f116100ab578063c87b56dd1161006f578063c87b56dd146105b9578063e25fe175146105d9578063e985e9c5146105fa578063f2fde38b1461061a578063f3b2db3f1461063a57600080fd5b8063a0bcfc7f1461052d578063a22cb4651461054d578063a69f67501461056d578063b88d4fde14610583578063bfe2a08a146105a357600080fd5b8063748a2986116100f2578063748a2986146104a55780637cb64759146104b85780638da5cb5b146104d857806395d89b41146104f65780639e5288a01461050b57600080fd5b80636f8b44b01461043b57806370a082311461045b578063715018a61461047b578063722503801461049057600080fd5b806332c7189e116101a65780634b11faaf116101755780634b11faaf146103c0578063525f8a5c146103d35780635d3a6b0d146103f35780636352211e146104065780636c0360eb1461042657600080fd5b806332c7189e1461035f57806332cb6b0c1461037557806340d0b4a91461038b57806342842e0e146103a057600080fd5b806318160ddd116101ed57806318160ddd146102d05780631cbaee2d146102f357806323b872dd146103095780632e1897b0146103295780632eb4a7ab1461034957600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004611d47565b610650565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696106a2565b60405161024b9190611db4565b34801561028257600080fd5b50610296610291366004611dc7565b610734565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c9366004611df7565b610778565b005b3480156102dc57600080fd5b50600154600054035b60405190815260200161024b565b3480156102ff57600080fd5b506102e560115481565b34801561031557600080fd5b506102ce610324366004611e21565b61084a565b34801561033557600080fd5b506102ce610344366004611dc7565b6109ab565b34801561035557600080fd5b506102e560125481565b34801561036b57600080fd5b506102e5600c5481565b34801561038157600080fd5b506102e5600b5481565b34801561039757600080fd5b506102ce610a06565b3480156103ac57600080fd5b506102ce6103bb366004611e21565b610a3f565b6102ce6103ce366004611e5d565b610b90565b3480156103df57600080fd5b506102ce6103ee366004611dc7565b610d6c565b6102ce610401366004611df7565b610d9b565b34801561041257600080fd5b50610296610421366004611dc7565b610e41565b34801561043257600080fd5b50610269610e4c565b34801561044757600080fd5b506102ce610456366004611dc7565b610eda565b34801561046757600080fd5b506102e5610476366004611ee7565b610f09565b34801561048757600080fd5b506102ce610f52565b34801561049c57600080fd5b50610269610f88565b6102ce6104b3366004611df7565b610f95565b3480156104c457600080fd5b506102ce6104d3366004611dc7565b61114e565b3480156104e457600080fd5b506008546001600160a01b0316610296565b34801561050257600080fd5b5061026961117d565b34801561051757600080fd5b5061052061118c565b60405161024b9190611f18565b34801561053957600080fd5b506102ce610548366004611fcc565b6111e6565b34801561055957600080fd5b506102ce610568366004612023565b61121c565b34801561057957600080fd5b506102e560105481565b34801561058f57600080fd5b506102ce61059e36600461205a565b6112b1565b3480156105af57600080fd5b506102e5600f5481565b3480156105c557600080fd5b506102696105d4366004611dc7565b611410565b3480156105e557600080fd5b5060085461052090600160a01b900460ff1681565b34801561060657600080fd5b5061023f6106153660046120d6565b6114c2565b34801561062657600080fd5b506102ce610635366004611ee7565b6114f0565b34801561064657600080fd5b506102e5600d5481565b60006301ffc9a760e01b6001600160e01b03198316148061068157506380ac58cd60e01b6001600160e01b03198316145b8061069c5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546106b190612109565b80601f01602080910402602001604051908101604052809291908181526020018280546106dd90612109565b801561072a5780601f106106ff5761010080835404028352916020019161072a565b820191906000526020600020905b81548152906001019060200180831161070d57829003601f168201915b5050505050905090565b600061073f8261158b565b61075c576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610783826115b2565b9050806001600160a01b0316836001600160a01b0316036107b75760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146107ee576107d181336114c2565b6107ee576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b826daaeb6d7670e522a718067333cd4e3b1561099a57336001600160a01b038216036108805761087b848484611620565b6109a5565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156108cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f39190612143565b80156109765750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610952573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109769190612143565b61099a57604051633b79c77360e21b81523360048201526024015b60405180910390fd5b6109a5848484611620565b50505050565b6008546001600160a01b031633146109d55760405162461bcd60e51b815260040161099190612160565b604051339082156108fc029083906000818181858888f19350505050158015610a02573d6000803e3d6000fd5b5050565b6008546001600160a01b03163314610a305760405162461bcd60e51b815260040161099190612160565b600e805460ff19166001179055565b826daaeb6d7670e522a718067333cd4e3b15610b8557336001600160a01b03821603610a705761087b848484611630565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610abf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae39190612143565b8015610b665750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190612143565b610b8557604051633b79c77360e21b8152336004820152602401610991565b6109a5848484611630565b323314610bdf5760405162461bcd60e51b815260206004820152601c60248201527f5265656e7472616e6379204775617264206973207761746368696e67000000006044820152606401610991565b6001610be961118c565b6004811115610bfa57610bfa611f02565b14610c475760405162461bcd60e51b815260206004820152601f60248201527f57686974656c697374204d696e74206973206e6f7420616374697661746564006044820152606401610991565b610c5233838361164b565b610c905760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b6044820152606401610991565b600b5483610ca16001546000540390565b610cab91906121ab565b1115610cc95760405162461bcd60e51b8152600401610991906121be565b600d54831115610d115760405162461bcd60e51b815260206004820152601360248201527208af0c6cacac8cac8409ac2f040e0cae440a8b606b1b6044820152606401610991565b82600f54610d1f91906121f5565b341015610d625760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610991565b6109a584846116d4565b6008546001600160a01b03163314610d965760405162461bcd60e51b815260040161099190612160565b601155565b6008546001600160a01b03163314610dc55760405162461bcd60e51b815260040161099190612160565b600c5481610dd66001546000540390565b610de091906121ab565b1115610dfe5760405162461bcd60e51b8152600401610991906121be565b600b5481610e0f6001546000540390565b610e1991906121ab565b1115610e375760405162461bcd60e51b8152600401610991906121be565b610a0282826116d4565b600061069c826115b2565b60098054610e5990612109565b80601f0160208091040260200160405190810160405280929190818152602001828054610e8590612109565b8015610ed25780601f10610ea757610100808354040283529160200191610ed2565b820191906000526020600020905b815481529060010190602001808311610eb557829003601f168201915b505050505081565b6008546001600160a01b03163314610f045760405162461bcd60e51b815260040161099190612160565b600b55565b600081600003610f2c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610f7c5760405162461bcd60e51b815260040161099190612160565b610f8660006116ee565b565b600a8054610e5990612109565b323314610fe45760405162461bcd60e51b815260206004820152601c60248201527f5265656e7472616e6379204775617264206973207761746368696e67000000006044820152606401610991565b6002610fee61118c565b6004811115610fff57610fff611f02565b1461104c5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963204d696e74206973206e6f7420616374697661746564000000006044820152606401610991565b600b548161105d6001546000540390565b61106791906121ab565b11156110b55760405162461bcd60e51b815260206004820152601960248201527f4e46542063616e2774206265206d696e7420616e796d6f7265000000000000006044820152606401610991565b600d548111156110fd5760405162461bcd60e51b815260206004820152601360248201527208af0c6cacac8cac8409ac2f040e0cae440a8b606b1b6044820152606401610991565b8060105461110b91906121f5565b341015610e375760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b6044820152606401610991565b6008546001600160a01b031633146111785760405162461bcd60e51b815260040161099190612160565b601255565b6060600380546106b190612109565b600060115442101561119e5750600090565b60115442101580156111bd57506011546111ba906107086121ab565b42105b156111c85750600190565b6011546111d7906107086121ab565b42106111e35750600290565b90565b6008546001600160a01b031633146112105760405162461bcd60e51b815260040161099190612160565b6009610a028282612252565b336001600160a01b038316036112455760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b836daaeb6d7670e522a718067333cd4e3b156113fd57336001600160a01b038216036112e8576112e385858585611740565b611409565b604051633185c44d60e21b81523060048201523360248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa158015611337573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061135b9190612143565b80156113de5750604051633185c44d60e21b81523060048201526001600160a01b03821660248201526daaeb6d7670e522a718067333cd4e9063c617113490604401602060405180830381865afa1580156113ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113de9190612143565b6113fd57604051633b79c77360e21b8152336004820152602401610991565b61140985858585611740565b5050505050565b606061141b8261158b565b6114675760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610991565b600e5460ff1615156001036114a857600961148183611784565b604051602001611492929190612385565b6040516020818303038152906040529050919050565b6009600a6040516020016114929291906123ba565b919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b0316331461151a5760405162461bcd60e51b815260040161099190612160565b6001600160a01b03811661157f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610991565b611588816116ee565b50565b600080548210801561069c575050600090815260046020526040902054600160e01b161590565b6000816000548110156116075760008181526004602052604081205490600160e01b82169003611605575b806000036115fe5750600019016000818152600460205260409020546115dd565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b61162b838383611885565b505050565b61162b838383604051806020016040528060008152506112b1565b60006116cc611693856040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611a3f92505050565b949350505050565b610a02828260405180602001604052806000815250611a4e565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61174b848484611885565b6001600160a01b0383163b156109a55761176784848484611bbc565b6109a5576040516368d2bf6b60e11b815260040160405180910390fd5b6060816000036117ab5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156117d557806117bf816123cf565b91506117ce9050600a836123fe565b91506117af565b60008167ffffffffffffffff8111156117f0576117f0611f40565b6040519080825280601f01601f19166020018201604052801561181a576020820181803683370190505b5090505b84156116cc5761182f600183612412565b915061183c600a86612425565b6118479060306121ab565b60f81b81838151811061185c5761185c612439565b60200101906001600160f81b031916908160001a90535061187e600a866123fe565b945061181e565b6000611890826115b2565b9050836001600160a01b0316816001600160a01b0316146118c35760405162a1148160e81b815260040160405180910390fd5b6000828152600660205260408120546001600160a01b03908116919086163314806118f357506118f386336114c2565b8061190657506001600160a01b03821633145b90508061192657604051632ce44b5f60e11b815260040160405180910390fd5b8460000361194757604051633a954ecd60e21b815260040160405180910390fd5b811561196a57600084815260066020526040902080546001600160a01b03191690555b6001600160a01b038681166000908152600560209081526040808320805460001901905592881682528282208054600101905586825260049052908120600160e11b4260a01b88178117909155841690036119f5576001840160008181526004602052604081205490036119f35760005481146119f35760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60006115fe8260125485611ca7565b60005483600003611a7157604051622e076360e81b815260040160405180910390fd5b82600003611a925760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15611b67575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611b306000878480600101955087611bbc565b611b4d576040516368d2bf6b60e11b815260040160405180910390fd5b808210611ae5578260005414611b6257600080fd5b611bac565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611b68575b5060009081556109a59085838684565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bf190339089908890889060040161244f565b6020604051808303816000875af1925050508015611c2c575060408051601f3d908101601f19168201909252611c299181019061248c565b60015b611c8a573d808015611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b508051600003611c82576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b600082611cb48584611cbd565b14949350505050565b600081815b8451811015611d29576000858281518110611cdf57611cdf612439565b60200260200101519050808311611d055760008381526020829052604090209250611d16565b600081815260208490526040902092505b5080611d21816123cf565b915050611cc2565b509392505050565b6001600160e01b03198116811461158857600080fd5b600060208284031215611d5957600080fd5b81356115fe81611d31565b60005b83811015611d7f578181015183820152602001611d67565b50506000910152565b60008151808452611da0816020860160208601611d64565b601f01601f19169290920160200192915050565b6020815260006115fe6020830184611d88565b600060208284031215611dd957600080fd5b5035919050565b80356001600160a01b03811681146114bd57600080fd5b60008060408385031215611e0a57600080fd5b611e1383611de0565b946020939093013593505050565b600080600060608486031215611e3657600080fd5b611e3f84611de0565b9250611e4d60208501611de0565b9150604084013590509250925092565b60008060008060608587031215611e7357600080fd5b611e7c85611de0565b935060208501359250604085013567ffffffffffffffff80821115611ea057600080fd5b818701915087601f830112611eb457600080fd5b813581811115611ec357600080fd5b8860208260051b8501011115611ed857600080fd5b95989497505060200194505050565b600060208284031215611ef957600080fd5b6115fe82611de0565b634e487b7160e01b600052602160045260246000fd5b6020810160058310611f3a57634e487b7160e01b600052602160045260246000fd5b91905290565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f7157611f71611f40565b604051601f8501601f19908116603f01168101908282118183101715611f9957611f99611f40565b81604052809350858152868686011115611fb257600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611fde57600080fd5b813567ffffffffffffffff811115611ff557600080fd5b8201601f8101841361200657600080fd5b6116cc84823560208401611f56565b801515811461158857600080fd5b6000806040838503121561203657600080fd5b61203f83611de0565b9150602083013561204f81612015565b809150509250929050565b6000806000806080858703121561207057600080fd5b61207985611de0565b935061208760208601611de0565b925060408501359150606085013567ffffffffffffffff8111156120aa57600080fd5b8501601f810187136120bb57600080fd5b6120ca87823560208401611f56565b91505092959194509250565b600080604083850312156120e957600080fd5b6120f283611de0565b915061210060208401611de0565b90509250929050565b600181811c9082168061211d57607f821691505b60208210810361213d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561215557600080fd5b81516115fe81612015565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8082018082111561069c5761069c612195565b6020808252601b908201527f4e46542063616e2774206265206d696e74656420616e796d6f72650000000000604082015260600190565b808202811582820484141761069c5761069c612195565b601f82111561162b57600081815260208120601f850160051c810160208610156122335750805b601f850160051c820191505b81811015611a375782815560010161223f565b815167ffffffffffffffff81111561226c5761226c611f40565b6122808161227a8454612109565b8461220c565b602080601f8311600181146122b5576000841561229d5750858301515b600019600386901b1c1916600185901b178555611a37565b600085815260208120601f198616915b828110156122e4578886015182559484019460019091019084016122c5565b50858210156123025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000815461231f81612109565b60018281168015612337576001811461234c5761237b565b60ff198416875282151583028701945061237b565b8560005260208060002060005b858110156123725781548a820152908401908201612359565b50505082870194505b5050505092915050565b60006123918285612312565b83516123a1818360208801611d64565b64173539b7b760d91b9101908152600501949350505050565b60006116cc6123c98386612312565b84612312565b6000600182016123e1576123e1612195565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261240d5761240d6123e8565b500490565b8181038181111561069c5761069c612195565b600082612434576124346123e8565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061248290830184611d88565b9695505050505050565b60006020828403121561249e57600080fd5b81516115fe81611d3156fea2646970667358221220a99e881a82148b76b231253cd9bc0cc79d9aa95d13149305743bb991e58ba73b64736f6c63430008110033

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

000000000000000000000000000000000000000000000000000000000000004053aaf442e8045ec89001854cee59c122cbfc2d22d9e5900e4bf839ed04e1ccbc00000000000000000000000000000000000000000000000000000000000000033078300000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _baseURI (string): 0x0
Arg [1] : _merkleRoot (bytes32): 0x53aaf442e8045ec89001854cee59c122cbfc2d22d9e5900e4bf839ed04e1ccbc

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 53aaf442e8045ec89001854cee59c122cbfc2d22d9e5900e4bf839ed04e1ccbc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 3078300000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

51594:4769:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17738:615;;;;;;;;;;-1:-1:-1;17738:615:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;17738:615:0;;;;;;;;22761:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;24829:204::-;;;;;;;;;;-1:-1:-1;24829:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;24829:204:0;1533:203:1;24289:474:0;;;;;;;;;;-1:-1:-1;24289:474:0;;;;;:::i;:::-;;:::i;:::-;;16792:315;;;;;;;;;;-1:-1:-1;17058:12:0;;16845:7;17042:13;:28;16792:315;;;2324:25:1;;;2312:2;2297:18;16792:315:0;2178:177:1;52132:38:0;;;;;;;;;;;;;;;;55673:163;;;;;;;;;;-1:-1:-1;55673:163:0;;;;;:::i;:::-;;:::i;56259:101::-;;;;;;;;;;-1:-1:-1;56259:101:0;;;;;:::i;:::-;;:::i;52179:25::-;;;;;;;;;;;;;;;;51942:27;;;;;;;;;;;;;;;;51907:28;;;;;;;;;;;;;;;;54608:83;;;;;;;;;;;;;:::i;55844:171::-;;;;;;;;;;-1:-1:-1;55844:171:0;;;;;:::i;:::-;;:::i;53243:548::-;;;;;;:::i;:::-;;:::i;54363:121::-;;;;;;;;;;-1:-1:-1;54363:121:0;;;;;:::i;:::-;;:::i;52938:297::-;;;;;;:::i;:::-;;:::i;22550:144::-;;;;;;;;;;-1:-1:-1;22550:144:0;;;;;:::i;:::-;;:::i;51842:21::-;;;;;;;;;;;;;:::i;54492:108::-;;;;;;;;;;-1:-1:-1;54492:108:0;;;;;:::i;:::-;;:::i;18417:234::-;;;;;;;;;;-1:-1:-1;18417:234:0;;;;;:::i;:::-;;:::i;48019:103::-;;;;;;;;;;;;;:::i;51870:28::-;;;;;;;;;;;;;:::i;53799:442::-;;;;;;:::i;:::-;;:::i;55100:106::-;;;;;;;;;;-1:-1:-1;55100:106:0;;;;;:::i;:::-;;:::i;47368:87::-;;;;;;;;;;-1:-1:-1;47441:6:0;;-1:-1:-1;;;;;47441:6:0;47368:87;;22930:104;;;;;;;;;;;;;:::i;52510:420::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54249:106::-;;;;;;;;;;-1:-1:-1;54249:106:0;;;;;:::i;:::-;;:::i;25105:308::-;;;;;;;;;;-1:-1:-1;25105:308:0;;;;;:::i;:::-;;:::i;52085:38::-;;;;;;;;;;;;;;;;56023:228;;;;;;;;;;-1:-1:-1;56023:228:0;;;;;:::i;:::-;;:::i;52048:30::-;;;;;;;;;;;;;;;;54699:394;;;;;;;;;;-1:-1:-1;54699:394:0;;;;;:::i;:::-;;:::i;51817:16::-;;;;;;;;;;-1:-1:-1;51817:16:0;;;;-1:-1:-1;;;51817:16:0;;;;;;25484:164;;;;;;;;;;-1:-1:-1;25484:164:0;;;;;:::i;:::-;;:::i;48277:201::-;;;;;;;;;;-1:-1:-1;48277:201:0;;;;;:::i;:::-;;:::i;51976:23::-;;;;;;;;;;;;;;;;17738:615;17823:4;-1:-1:-1;;;;;;;;;18123:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;18200:25:0;;;18123:102;:179;;;-1:-1:-1;;;;;;;;;;18277:25:0;;;18123:179;18103:199;17738:615;-1:-1:-1;;17738:615:0:o;22761:100::-;22815:13;22848:5;22841:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22761:100;:::o;24829:204::-;24897:7;24922:16;24930:7;24922;:16::i;:::-;24917:64;;24947:34;;-1:-1:-1;;;24947:34:0;;;;;;;;;;;24917:64;-1:-1:-1;25001:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25001:24:0;;24829:204::o;24289:474::-;24362:13;24394:27;24413:7;24394:18;:27::i;:::-;24362:61;;24444:5;-1:-1:-1;;;;;24438:11:0;:2;-1:-1:-1;;;;;24438:11:0;;24434:48;;24458:24;;-1:-1:-1;;;24458:24:0;;;;;;;;;;;24434:48;41217:10;-1:-1:-1;;;;;24499:28:0;;;24495:175;;24547:44;24564:5;41217:10;25484:164;:::i;24547:44::-;24542:128;;24619:35;;-1:-1:-1;;;24619:35:0;;;;;;;;;;;24542:128;24682:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;24682:29:0;-1:-1:-1;;;;;24682:29:0;;;;;;;;;24727:28;;24682:24;;24727:28;;;;;;;24351:412;24289:474;;:::o;55673:163::-;55774:4;2509:42;3649:43;:47;3645:699;;3936:10;-1:-1:-1;;;;;3928:18:0;;;3924:85;;55791:37:::1;55810:4;55816:2;55820:7;55791:18;:37::i;:::-;3987:7:::0;;3924:85;4069:67;;-1:-1:-1;;;4069:67:0;;4118:4;4069:67;;;7689:34:1;4125:10:0;7739:18:1;;;7732:43;2509:42:0;;4069:40;;7624:18:1;;4069:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4165:61:0;;-1:-1:-1;;;4165:61:0;;4214:4;4165:61;;;7689:34:1;-1:-1:-1;;;;;7759:15:1;;7739:18;;;7732:43;2509:42:0;;4165:40;;7624:18:1;;4165:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4023:310;;4287:30;;-1:-1:-1;;;4287:30:0;;4306:10;4287:30;;;1679:51:1;1652:18;;4287:30:0;;;;;;;;4023:310;55791:37:::1;55810:4;55816:2;55820:7;55791:18;:37::i;:::-;55673:163:::0;;;;:::o;56259:101::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;56316:36:::1;::::0;56324:10:::1;::::0;56316:36;::::1;;;::::0;56345:6;;56316:36:::1;::::0;;;56345:6;56324:10;56316:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;56259:101:::0;:::o;54608:83::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;54666:10:::1;:17:::0;;-1:-1:-1;;54666:17:0::1;54679:4;54666:17;::::0;;54608:83::o;55844:171::-;55949:4;2509:42;3649:43;:47;3645:699;;3936:10;-1:-1:-1;;;;;3928:18:0;;;3924:85;;55966:41:::1;55989:4;55995:2;55999:7;55966:22;:41::i;3924:85::-:0;4069:67;;-1:-1:-1;;;4069:67:0;;4118:4;4069:67;;;7689:34:1;4125:10:0;7739:18:1;;;7732:43;2509:42:0;;4069:40;;7624:18:1;;4069:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4165:61:0;;-1:-1:-1;;;4165:61:0;;4214:4;4165:61;;;7689:34:1;-1:-1:-1;;;;;7759:15:1;;7739:18;;;7732:43;2509:42:0;;4165:40;;7624:18:1;;4165:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4023:310;;4287:30;;-1:-1:-1;;;4287:30:0;;4306:10;4287:30;;;1679:51:1;1652:18;;4287:30:0;1533:203:1;4023:310:0;55966:41:::1;55989:4;55995:2;55999:7;55966:22;:41::i;53243:548::-:0;52426:9;52439:10;52426:23;52418:64;;;;-1:-1:-1;;;52418:64:0;;8599:2:1;52418:64:0;;;8581:21:1;8638:2;8618:18;;;8611:30;8677;8657:18;;;8650:58;8725:18;;52418:64:0;8397:352:1;52418:64:0;53390:18:::1;53377:9;:7;:9::i;:::-;:31;;;;;;;;:::i;:::-;;53369:75;;;::::0;-1:-1:-1;;;53369:75:0;;8956:2:1;53369:75:0::1;::::0;::::1;8938:21:1::0;8995:2;8975:18;;;8968:30;9034:33;9014:18;;;9007:61;9085:18;;53369:75:0::1;8754:355:1::0;53369:75:0::1;53463:33;53477:10;53489:6;;53463:13;:33::i;:::-;53455:61;;;::::0;-1:-1:-1;;;53455:61:0;;9316:2:1;53455:61:0::1;::::0;::::1;9298:21:1::0;9355:2;9335:18;;;9328:30;-1:-1:-1;;;9374:18:1;;;9367:45;9429:18;;53455:61:0::1;9114:339:1::0;53455:61:0::1;53564:10;;53551:9;53535:13;17058:12:::0;;16845:7;17042:13;:28;;16792:315;53535:13:::1;:25;;;;:::i;:::-;:39;;53527:79;;;;-1:-1:-1::0;;;53527:79:0::1;;;;;;;:::i;:::-;53638:6;;53625:9;:19;;53617:51;;;::::0;-1:-1:-1;;;53617:51:0;;10278:2:1;53617:51:0::1;::::0;::::1;10260:21:1::0;10317:2;10297:18;;;10290:30;-1:-1:-1;;;10336:18:1;;;10329:49;10395:18;;53617:51:0::1;10076:343:1::0;53617:51:0::1;53711:9;53700:8;;:20;;;;:::i;:::-;53687:9;:33;;53679:63;;;::::0;-1:-1:-1;;;53679:63:0;;10799:2:1;53679:63:0::1;::::0;::::1;10781:21:1::0;10838:2;10818:18;;;10811:30;-1:-1:-1;;;10857:18:1;;;10850:47;10914:18;;53679:63:0::1;10597:341:1::0;53679:63:0::1;53753:30;53763:8;53773:9;53753;:30::i;54363:121::-:0;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;54443:13:::1;:33:::0;54363:121::o;52938:297::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;53060:8:::1;;53047:9;53031:13;17058:12:::0;;16845:7;17042:13;:28;;16792:315;53031:13:::1;:25;;;;:::i;:::-;:37;;53023:77;;;;-1:-1:-1::0;;;53023:77:0::1;;;;;;;:::i;:::-;53148:10;;53135:9;53119:13;17058:12:::0;;16845:7;17042:13;:28;;16792:315;53119:13:::1;:25;;;;:::i;:::-;:39;;53111:79;;;;-1:-1:-1::0;;;53111:79:0::1;;;;;;;:::i;:::-;53201:26;53211:3;53217:9;53201;:26::i;22550:144::-:0;22614:7;22657:27;22676:7;22657:18;:27::i;51842:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54492:108::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;54565:10:::1;:27:::0;54492:108::o;18417:234::-;18481:7;18523:5;18533:1;18505:29;18501:70;;18543:28;;-1:-1:-1;;;18543:28:0;;;;;;;;;;;18501:70;-1:-1:-1;;;;;;18589:25:0;;;;;:18;:25;;;;;;13762:13;18589:54;;18417:234::o;48019:103::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;48084:30:::1;48111:1;48084:18;:30::i;:::-;48019:103::o:0;51870:28::-;;;;;;;:::i;53799:442::-;52426:9;52439:10;52426:23;52418:64;;;;-1:-1:-1;;;52418:64:0;;8599:2:1;52418:64:0;;;8581:21:1;8638:2;8618:18;;;8611:30;8677;8657:18;;;8650:58;8725:18;;52418:64:0;8397:352:1;52418:64:0;53916:15:::1;53903:9;:7;:9::i;:::-;:28;;;;;;;;:::i;:::-;;53895:69;;;::::0;-1:-1:-1;;;53895:69:0;;11145:2:1;53895:69:0::1;::::0;::::1;11127:21:1::0;11184:2;11164:18;;;11157:30;11223;11203:18;;;11196:58;11271:18;;53895:69:0::1;10943:352:1::0;53895:69:0::1;54012:10;;53999:9;53983:13;17058:12:::0;;16845:7;17042:13;:28;;16792:315;53983:13:::1;:25;;;;:::i;:::-;:39;;53975:77;;;::::0;-1:-1:-1;;;53975:77:0;;11502:2:1;53975:77:0::1;::::0;::::1;11484:21:1::0;11541:2;11521:18;;;11514:30;11580:27;11560:18;;;11553:55;11625:18;;53975:77:0::1;11300:349:1::0;53975:77:0::1;54084:6;;54071:9;:19;;54063:51;;;::::0;-1:-1:-1;;;54063:51:0;;10278:2:1;54063:51:0::1;::::0;::::1;10260:21:1::0;10317:2;10297:18;;;10290:30;-1:-1:-1;;;10336:18:1;;;10329:49;10395:18;;54063:51:0::1;10076:343:1::0;54063:51:0::1;54161:9;54146:12;;:24;;;;:::i;:::-;54133:9;:37;;54125:67;;;::::0;-1:-1:-1;;;54125:67:0;;10799:2:1;54125:67:0::1;::::0;::::1;10781:21:1::0;10838:2;10818:18;;;10811:30;-1:-1:-1;;;10857:18:1;;;10850:47;10914:18;;54125:67:0::1;10597:341:1::0;55100:106:0;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;55174:10:::1;:24:::0;55100:106::o;22930:104::-;22986:13;23019:7;23012:14;;;;;:::i;52510:420::-;52549:15;52598:13;;52580:15;:31;52577:82;;;-1:-1:-1;52635:12:0;;52510:420::o;52577:82::-;52691:13;;52672:15;:32;;:88;;;;-1:-1:-1;52734:13:0;;:26;;52750:10;52734:26;:::i;:::-;52716:15;:44;52672:88;52669:145;;;-1:-1:-1;52784:18:0;;52510:420::o;52669:145::-;52846:13;;:26;;52862:10;52846:26;:::i;:::-;52827:15;:45;52824:99;;-1:-1:-1;52896:15:0;;52510:420::o;52824:99::-;52510:420;:::o;54249:106::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;54326:7:::1;:21;54336:11:::0;54326:7;:21:::1;:::i;25105:308::-:0;41217:10;-1:-1:-1;;;;;25204:31:0;;;25200:61;;25244:17;;-1:-1:-1;;;25244:17:0;;;;;;;;;;;25200:61;41217:10;25274:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;25274:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;25274:60:0;;;;;;;;;;25350:55;;540:41:1;;;25274:49:0;;41217:10;25350:55;;513:18:1;25350:55:0;;;;;;;25105:308;;:::o;56023:228::-;56174:4;2509:42;3649:43;:47;3645:699;;3936:10;-1:-1:-1;;;;;3928:18:0;;;3924:85;;56196:47:::1;56219:4;56225:2;56229:7;56238:4;56196:22;:47::i;:::-;3987:7:::0;;3924:85;4069:67;;-1:-1:-1;;;4069:67:0;;4118:4;4069:67;;;7689:34:1;4125:10:0;7739:18:1;;;7732:43;2509:42:0;;4069:40;;7624:18:1;;4069:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:157;;;;-1:-1:-1;4165:61:0;;-1:-1:-1;;;4165:61:0;;4214:4;4165:61;;;7689:34:1;-1:-1:-1;;;;;7759:15:1;;7739:18;;;7732:43;2509:42:0;;4165:40;;7624:18:1;;4165:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;4023:310;;4287:30;;-1:-1:-1;;;4287:30:0;;4306:10;4287:30;;;1679:51:1;1652:18;;4287:30:0;1533:203:1;4023:310:0;56196:47:::1;56219:4;56225:2;56229:7;56238:4;56196:22;:47::i;:::-;56023:228:::0;;;;;:::o;54699:394::-;54770:13;54804:17;54812:8;54804:7;:17::i;:::-;54796:61;;;;-1:-1:-1;;;54796:61:0;;14060:2:1;54796:61:0;;;14042:21:1;14099:2;14079:18;;;14072:30;14138:33;14118:18;;;14111:61;14189:18;;54796:61:0;13858:355:1;54796:61:0;54871:10;;;;:18;;:10;:18;54868:218;;54937:7;54946:19;:8;:17;:19::i;:::-;54920:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54906:70;;54699:394;;;:::o;54868:218::-;55049:7;55058:14;55032:41;;;;;;;;;:::i;54868:218::-;54699:394;;;:::o;25484:164::-;-1:-1:-1;;;;;25605:25:0;;;25581:4;25605:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25484:164::o;48277:201::-;47441:6;;-1:-1:-1;;;;;47441:6:0;41217:10;47588:23;47580:68;;;;-1:-1:-1;;;47580:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48366:22:0;::::1;48358:73;;;::::0;-1:-1:-1;;;48358:73:0;;15990:2:1;48358:73:0::1;::::0;::::1;15972:21:1::0;16029:2;16009:18;;;16002:30;16068:34;16048:18;;;16041:62;-1:-1:-1;;;16119:18:1;;;16112:36;16165:19;;48358:73:0::1;15788:402:1::0;48358:73:0::1;48442:28;48461:8;48442:18;:28::i;:::-;48277:201:::0;:::o;26863:273::-;26920:4;27010:13;;27000:7;:23;26957:152;;;;-1:-1:-1;;27061:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;27061:43:0;:48;;26863:273::o;20065:1129::-;20132:7;20167;20269:13;;20262:4;:20;20258:869;;;20307:14;20324:23;;;:17;:23;;;;;;;-1:-1:-1;;;20413:23:0;;:28;;20409:699;;20932:113;20939:6;20949:1;20939:11;20932:113;;-1:-1:-1;;;21010:6:0;20992:25;;;;:17;:25;;;;;;20932:113;;;21078:6;20065:1129;-1:-1:-1;;;20065:1129:0:o;20409:699::-;20284:843;20258:869;21155:31;;-1:-1:-1;;;21155:31:0;;;;;;;;;;;25715:170;25849:28;25859:4;25865:2;25869:7;25849:9;:28::i;:::-;25715:170;;;:::o;25956:185::-;26094:39;26111:4;26117:2;26121:7;26094:39;;;;;;;;;;;;:16;:39::i;55214:153::-;55304:4;55328:31;55336:14;55341:8;55466:26;;-1:-1:-1;;17123:2:1;17119:15;;;17115:53;55466:26:0;;;17103:66:1;55429:7:0;;17185:12:1;;55466:26:0;;;;;;;;;;;;55456:37;;;;;;55449:44;;55375:126;;;;55336:14;55352:6;;55328:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55328:7:0;;-1:-1:-1;;;55328:31:0:i;:::-;55321:38;55214:153;-1:-1:-1;;;;55214:153:0:o;27220:104::-;27289:27;27299:2;27303:8;27289:27;;;;;;;;;;;;:9;:27::i;48638:191::-;48731:6;;;-1:-1:-1;;;;;48748:17:0;;;-1:-1:-1;;;;;;48748:17:0;;;;;;;48781:40;;48731:6;;;48748:17;48731:6;;48781:40;;48712:16;;48781:40;48701:128;48638:191;:::o;26212:396::-;26379:28;26389:4;26395:2;26399:7;26379:9;:28::i;:::-;-1:-1:-1;;;;;26422:14:0;;;:19;26418:183;;26461:56;26492:4;26498:2;26502:7;26511:5;26461:30;:56::i;:::-;26456:145;;26545:40;;-1:-1:-1;;;26545:40:0;;;;;;;;;;;43654:723;43710:13;43931:5;43940:1;43931:10;43927:53;;-1:-1:-1;;43958:10:0;;;;;;;;;;;;-1:-1:-1;;;43958:10:0;;;;;43654:723::o;43927:53::-;44005:5;43990:12;44046:78;44053:9;;44046:78;;44079:8;;;;:::i;:::-;;-1:-1:-1;44102:10:0;;-1:-1:-1;44110:2:0;44102:10;;:::i;:::-;;;44046:78;;;44134:19;44166:6;44156:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44156:17:0;;44134:39;;44184:154;44191:10;;44184:154;;44218:11;44228:1;44218:11;;:::i;:::-;;-1:-1:-1;44287:10:0;44295:2;44287:5;:10;:::i;:::-;44274:24;;:2;:24;:::i;:::-;44261:39;;44244:6;44251;44244:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;44244:56:0;;;;;;;;-1:-1:-1;44315:11:0;44324:2;44315:11;;:::i;:::-;;;44184:154;;32122:2654;32237:27;32267;32286:7;32267:18;:27::i;:::-;32237:57;;32352:4;-1:-1:-1;;;;;32311:45:0;32327:19;-1:-1:-1;;;;;32311:45:0;;32307:86;;32365:28;;-1:-1:-1;;;32365:28:0;;;;;;;;;;;32307:86;32406:23;32432:24;;;:15;:24;;;;;;-1:-1:-1;;;;;32432:24:0;;;;32406:23;32495:27;;41217:10;32495:27;;:87;;-1:-1:-1;32539:43:0;32556:4;41217:10;25484:164;:::i;32539:43::-;32495:142;;;-1:-1:-1;;;;;;32599:38:0;;41217:10;32599:38;32495:142;32469:169;;32656:17;32651:66;;32682:35;;-1:-1:-1;;;32682:35:0;;;;;;;;;;;32651:66;32750:2;32757:1;32732:26;32728:62;;32767:23;;-1:-1:-1;;;32767:23:0;;;;;;;;;;;32728:62;32934:15;32916:39;32912:103;;32979:24;;;;:15;:24;;;;;32972:31;;-1:-1:-1;;;;;;32972:31:0;;;32912:103;-1:-1:-1;;;;;33382:24:0;;;;;;;:18;:24;;;;;;;;33380:26;;-1:-1:-1;;33380:26:0;;;33451:22;;;;;;;;33449:24;;-1:-1:-1;33449:24:0;;;33744:26;;;:17;:26;;;;;-1:-1:-1;;;33832:15:0;14416:3;33832:41;33790:84;;:128;;33744:174;;;34038:46;;:51;;34034:626;;34142:1;34132:11;;34110:19;34265:30;;;:17;:30;;;;;;:35;;34261:384;;34403:13;;34388:11;:28;34384:242;;34550:30;;;;:17;:30;;;;;:52;;;34384:242;34091:569;34034:626;34707:7;34703:2;-1:-1:-1;;;;;34688:27:0;34697:4;-1:-1:-1;;;;;34688:27:0;;;;;;;;;;;34726:42;32226:2550;;;32122:2654;;;:::o;55509:156::-;55588:4;55612:45;55631:6;55639:10;;55651:5;55612:18;:45::i;27697:2246::-;27820:20;27843:13;27889:2;27896:1;27871:26;27867:58;;27906:19;;-1:-1:-1;;;27906:19:0;;;;;;;;;;;27867:58;27940:8;27952:1;27940:13;27936:44;;27962:18;;-1:-1:-1;;;27962:18:0;;;;;;;;;;;27936:44;-1:-1:-1;;;;;28529:22:0;;;;;;:18;:22;;;;13899:2;28529:22;;;:70;;28567:31;28555:44;;28529:70;;;28842:31;;;:17;:31;;;;;28935:15;14416:3;28935:41;28893:84;;-1:-1:-1;29013:13:0;;14675:3;28998:56;28893:162;28842:213;;:31;;29136:23;;;;29180:14;:19;29176:635;;29220:313;29251:38;;29276:12;;-1:-1:-1;;;;;29251:38:0;;;29268:1;;29251:38;;29268:1;;29251:38;29317:69;29356:1;29360:2;29364:14;;;;;;29380:5;29317:30;:69::i;:::-;29312:174;;29422:40;;-1:-1:-1;;;29422:40:0;;;;;;;;;;;29312:174;29528:3;29513:12;:18;29220:313;;29614:12;29597:13;;:29;29593:43;;29628:8;;;29593:43;29176:635;;;29677:119;29708:40;;29733:14;;;;;-1:-1:-1;;;;;29708:40:0;;;29725:1;;29708:40;;29725:1;;29708:40;29791:3;29776:12;:18;29677:119;;29176:635;-1:-1:-1;29825:13:0;:28;;;29875:60;;29908:2;29912:12;29926:8;29875:60;:::i;38599:716::-;38783:88;;-1:-1:-1;;;38783:88:0;;38762:4;;-1:-1:-1;;;;;38783:45:0;;;;;:88;;41217:10;;38850:4;;38856:7;;38865:5;;38783:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38783:88:0;;;;;;;;-1:-1:-1;;38783:88:0;;;;;;;;;;;;:::i;:::-;;;38779:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39066:6;:13;39083:1;39066:18;39062:235;;39112:40;;-1:-1:-1;;;39112:40:0;;;;;;;;;;;39062:235;39255:6;39249:13;39240:6;39236:2;39232:15;39225:38;38779:529;-1:-1:-1;;;;;;38942:64:0;-1:-1:-1;;;38942:64:0;;-1:-1:-1;38599:716:0;;;;;;:::o;50056:190::-;50181:4;50234;50205:25;50218:5;50225:4;50205:12;:25::i;:::-;:33;;50056:190;-1:-1:-1;;;;50056:190:0:o;50607:675::-;50690:7;50733:4;50690:7;50748:497;50772:5;:12;50768:1;:16;50748:497;;;50806:20;50829:5;50835:1;50829:8;;;;;;;;:::i;:::-;;;;;;;50806:31;;50872:12;50856;:28;50852:382;;51358:13;51408:15;;;51444:4;51437:15;;;51491:4;51475:21;;50984:57;;50852:382;;;51358:13;51408:15;;;51444:4;51437:15;;;51491:4;51475:21;;51161:57;;50852:382;-1:-1:-1;50786:3:0;;;;:::i;:::-;;;;50748:497;;;-1:-1:-1;51262:12:0;50607:675;-1:-1:-1;;;50607:675:0:o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1919:254;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2875:757::-;2979:6;2987;2995;3003;3056:2;3044:9;3035:7;3031:23;3027:32;3024:52;;;3072:1;3069;3062:12;3024:52;3095:29;3114:9;3095:29;:::i;:::-;3085:39;;3171:2;3160:9;3156:18;3143:32;3133:42;;3226:2;3215:9;3211:18;3198:32;3249:18;3290:2;3282:6;3279:14;3276:34;;;3306:1;3303;3296:12;3276:34;3344:6;3333:9;3329:22;3319:32;;3389:7;3382:4;3378:2;3374:13;3370:27;3360:55;;3411:1;3408;3401:12;3360:55;3451:2;3438:16;3477:2;3469:6;3466:14;3463:34;;;3493:1;3490;3483:12;3463:34;3546:7;3541:2;3531:6;3528:1;3524:14;3520:2;3516:23;3512:32;3509:45;3506:65;;;3567:1;3564;3557:12;3506:65;2875:757;;;;-1:-1:-1;;3598:2:1;3590:11;;-1:-1:-1;;;2875:757:1:o;3637:186::-;3696:6;3749:2;3737:9;3728:7;3724:23;3720:32;3717:52;;;3765:1;3762;3755:12;3717:52;3788:29;3807:9;3788:29;:::i;4013:127::-;4074:10;4069:3;4065:20;4062:1;4055:31;4105:4;4102:1;4095:15;4129:4;4126:1;4119:15;4145:337;4286:2;4271:18;;4319:1;4308:13;;4298:144;;4364:10;4359:3;4355:20;4352:1;4345:31;4399:4;4396:1;4389:15;4427:4;4424:1;4417:15;4298:144;4451:25;;;4145:337;:::o;4487:127::-;4548:10;4543:3;4539:20;4536:1;4529:31;4579:4;4576:1;4569:15;4603:4;4600:1;4593:15;4619:632;4684:5;4714:18;4755:2;4747:6;4744:14;4741:40;;;4761:18;;:::i;:::-;4836:2;4830:9;4804:2;4890:15;;-1:-1:-1;;4886:24:1;;;4912:2;4882:33;4878:42;4866:55;;;4936:18;;;4956:22;;;4933:46;4930:72;;;4982:18;;:::i;:::-;5022:10;5018:2;5011:22;5051:6;5042:15;;5081:6;5073;5066:22;5121:3;5112:6;5107:3;5103:16;5100:25;5097:45;;;5138:1;5135;5128:12;5097:45;5188:6;5183:3;5176:4;5168:6;5164:17;5151:44;5243:1;5236:4;5227:6;5219;5215:19;5211:30;5204:41;;;;4619:632;;;;;:::o;5256:451::-;5325:6;5378:2;5366:9;5357:7;5353:23;5349:32;5346:52;;;5394:1;5391;5384:12;5346:52;5434:9;5421:23;5467:18;5459:6;5456:30;5453:50;;;5499:1;5496;5489:12;5453:50;5522:22;;5575:4;5567:13;;5563:27;-1:-1:-1;5553:55:1;;5604:1;5601;5594:12;5553:55;5627:74;5693:7;5688:2;5675:16;5670:2;5666;5662:11;5627:74;:::i;5712:118::-;5798:5;5791:13;5784:21;5777:5;5774:32;5764:60;;5820:1;5817;5810:12;5835:315;5900:6;5908;5961:2;5949:9;5940:7;5936:23;5932:32;5929:52;;;5977:1;5974;5967:12;5929:52;6000:29;6019:9;6000:29;:::i;:::-;5990:39;;6079:2;6068:9;6064:18;6051:32;6092:28;6114:5;6092:28;:::i;:::-;6139:5;6129:15;;;5835:315;;;;;:::o;6155:667::-;6250:6;6258;6266;6274;6327:3;6315:9;6306:7;6302:23;6298:33;6295:53;;;6344:1;6341;6334:12;6295:53;6367:29;6386:9;6367:29;:::i;:::-;6357:39;;6415:38;6449:2;6438:9;6434:18;6415:38;:::i;:::-;6405:48;;6500:2;6489:9;6485:18;6472:32;6462:42;;6555:2;6544:9;6540:18;6527:32;6582:18;6574:6;6571:30;6568:50;;;6614:1;6611;6604:12;6568:50;6637:22;;6690:4;6682:13;;6678:27;-1:-1:-1;6668:55:1;;6719:1;6716;6709:12;6668:55;6742:74;6808:7;6803:2;6790:16;6785:2;6781;6777:11;6742:74;:::i;:::-;6732:84;;;6155:667;;;;;;;:::o;6827:260::-;6895:6;6903;6956:2;6944:9;6935:7;6931:23;6927:32;6924:52;;;6972:1;6969;6962:12;6924:52;6995:29;7014:9;6995:29;:::i;:::-;6985:39;;7043:38;7077:2;7066:9;7062:18;7043:38;:::i;:::-;7033:48;;6827:260;;;;;:::o;7092:380::-;7171:1;7167:12;;;;7214;;;7235:61;;7289:4;7281:6;7277:17;7267:27;;7235:61;7342:2;7334:6;7331:14;7311:18;7308:38;7305:161;;7388:10;7383:3;7379:20;7376:1;7369:31;7423:4;7420:1;7413:15;7451:4;7448:1;7441:15;7305:161;;7092:380;;;:::o;7786:245::-;7853:6;7906:2;7894:9;7885:7;7881:23;7877:32;7874:52;;;7922:1;7919;7912:12;7874:52;7954:9;7948:16;7973:28;7995:5;7973:28;:::i;8036:356::-;8238:2;8220:21;;;8257:18;;;8250:30;8316:34;8311:2;8296:18;;8289:62;8383:2;8368:18;;8036:356::o;9458:127::-;9519:10;9514:3;9510:20;9507:1;9500:31;9550:4;9547:1;9540:15;9574:4;9571:1;9564:15;9590:125;9655:9;;;9676:10;;;9673:36;;;9689:18;;:::i;9720:351::-;9922:2;9904:21;;;9961:2;9941:18;;;9934:30;10000:29;9995:2;9980:18;;9973:57;10062:2;10047:18;;9720:351::o;10424:168::-;10497:9;;;10528;;10545:15;;;10539:22;;10525:37;10515:71;;10566:18;;:::i;11780:545::-;11882:2;11877:3;11874:11;11871:448;;;11918:1;11943:5;11939:2;11932:17;11988:4;11984:2;11974:19;12058:2;12046:10;12042:19;12039:1;12035:27;12029:4;12025:38;12094:4;12082:10;12079:20;12076:47;;;-1:-1:-1;12117:4:1;12076:47;12172:2;12167:3;12163:12;12160:1;12156:20;12150:4;12146:31;12136:41;;12227:82;12245:2;12238:5;12235:13;12227:82;;;12290:17;;;12271:1;12260:13;12227:82;;12501:1352;12627:3;12621:10;12654:18;12646:6;12643:30;12640:56;;;12676:18;;:::i;:::-;12705:97;12795:6;12755:38;12787:4;12781:11;12755:38;:::i;:::-;12749:4;12705:97;:::i;:::-;12857:4;;12921:2;12910:14;;12938:1;12933:663;;;;13640:1;13657:6;13654:89;;;-1:-1:-1;13709:19:1;;;13703:26;13654:89;-1:-1:-1;;12458:1:1;12454:11;;;12450:24;12446:29;12436:40;12482:1;12478:11;;;12433:57;13756:81;;12903:944;;12933:663;11727:1;11720:14;;;11764:4;11751:18;;-1:-1:-1;;12969:20:1;;;13087:236;13101:7;13098:1;13095:14;13087:236;;;13190:19;;;13184:26;13169:42;;13282:27;;;;13250:1;13238:14;;;;13117:19;;13087:236;;;13091:3;13351:6;13342:7;13339:19;13336:201;;;13412:19;;;13406:26;-1:-1:-1;;13495:1:1;13491:14;;;13507:3;13487:24;13483:37;13479:42;13464:58;13449:74;;13336:201;-1:-1:-1;;;;;13583:1:1;13567:14;;;13563:22;13550:36;;-1:-1:-1;12501:1352:1:o;14218:722::-;14268:3;14309:5;14303:12;14338:36;14364:9;14338:36;:::i;:::-;14393:1;14410:18;;;14437:133;;;;14584:1;14579:355;;;;14403:531;;14437:133;-1:-1:-1;;14470:24:1;;14458:37;;14543:14;;14536:22;14524:35;;14515:45;;;-1:-1:-1;14437:133:1;;14579:355;14610:5;14607:1;14600:16;14639:4;14684:2;14681:1;14671:16;14709:1;14723:165;14737:6;14734:1;14731:13;14723:165;;;14815:14;;14802:11;;;14795:35;14858:16;;;;14752:10;;14723:165;;;14727:3;;;14917:6;14912:3;14908:16;14901:23;;14403:531;;;;;14218:722;;;;:::o;14945:556::-;15222:3;15250:38;15284:3;15276:6;15250:38;:::i;:::-;15317:6;15311:13;15333:65;15391:6;15387:2;15380:4;15372:6;15368:17;15333:65;:::i;:::-;-1:-1:-1;;;15420:15:1;;15444:22;;;15493:1;15482:13;;14945:556;-1:-1:-1;;;;14945:556:1:o;15506:277::-;15679:3;15704:73;15738:38;15772:3;15764:6;15738:38;:::i;:::-;15730:6;15704:73;:::i;16195:135::-;16234:3;16255:17;;;16252:43;;16275:18;;:::i;:::-;-1:-1:-1;16322:1:1;16311:13;;16195:135::o;16335:127::-;16396:10;16391:3;16387:20;16384:1;16377:31;16427:4;16424:1;16417:15;16451:4;16448:1;16441:15;16467:120;16507:1;16533;16523:35;;16538:18;;:::i;:::-;-1:-1:-1;16572:9:1;;16467:120::o;16592:128::-;16659:9;;;16680:11;;;16677:37;;;16694:18;;:::i;16725:112::-;16757:1;16783;16773:35;;16788:18;;:::i;:::-;-1:-1:-1;16822:9:1;;16725:112::o;16842:127::-;16903:10;16898:3;16894:20;16891:1;16884:31;16934:4;16931:1;16924:15;16958:4;16955:1;16948:15;17208:489;-1:-1:-1;;;;;17477:15:1;;;17459:34;;17529:15;;17524:2;17509:18;;17502:43;17576:2;17561:18;;17554:34;;;17624:3;17619:2;17604:18;;17597:31;;;17402:4;;17645:46;;17671:19;;17663:6;17645:46;:::i;:::-;17637:54;17208:489;-1:-1:-1;;;;;;17208:489:1:o;17702:249::-;17771:6;17824:2;17812:9;17803:7;17799:23;17795:32;17792:52;;;17840:1;17837;17830:12;17792:52;17872:9;17866:16;17891:30;17915:5;17891:30;:::i

Swarm Source

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