ETH Price: $3,311.25 (-1.61%)
 

Overview

Max Total Supply

666 DYST

Holders

187

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
0xhanabi.eth
Balance
3 DYST
0xBA8716DBDbBF336C560D2C1F36E0875246440716
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:
Dystopians

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-08-15
*/

// SPDX-License-Identifier: MIT

// File: contracts/dystopians copy.sol



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


// OpenZeppelin Contracts (last updated v4.5.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.
 */
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 Merklee 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: @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/Address.sol


// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface 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);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @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: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;









error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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 Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

    // The number of tokens burned.
    uint256 internal _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 ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

    /**
     * @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 See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 override {
        if (operator == _msgSender()) revert ApproveToCaller();

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), 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.isContract() && !_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 &&
            !_ownerships[tokenId].burned;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

            if (safe && to.isContract()) {
                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 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 {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId, prevOwnership.addr);

        // 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 {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == 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 {}
}

// File: contracts/dystopian.sol






pragma solidity ^0.8.12;

contract Dystopians is ERC721A, Ownable {
    using Strings for uint256;

    uint256 public constant FOR_SALE_TOKENS = 666;

    uint256 public constant STAGE_STOPPED = 0;
    uint256 public constant STAGE_PRESALE = 1;
    uint256 public constant STAGE_PUBLIC  = 2;
    uint256 public currentStage = STAGE_STOPPED;

    uint256 public tokenPricePresale = 0.00666 ether;
    uint256 public tokenPricePublicSale = 0.0000000001 ether;

    uint256 public maxTokensPerAddressPresale = 1;
    uint256 public maxTokensPerAddress = 3;
    uint256 public maxTokensPerTransaction = maxTokensPerAddress;

    uint256 public presaleTotalLimit = 66;

    bytes32 public whitelistRootOG;
    bytes32 public whitelistRoot;

    string public tokenBaseURI = "ipfs://QmaAJtaajyVfiaY2Usc8fGjFVeJk1VRvCAPQ1tarEt6JyC/";

    uint256 public soldAmount = 0;
    mapping(address => uint256) public purchased;

    constructor() ERC721A("Dystopians", "DYST") {
        
    }

    function _startTokenId() internal pure override(ERC721A) returns (uint256) {
        return 1;
    }

    function stopSale() external onlyOwner {
        currentStage = STAGE_STOPPED;
    }

    function startPresale() external onlyOwner {
        currentStage = STAGE_PRESALE;
    }

    function startPublicSale() external onlyOwner {
        currentStage = STAGE_PUBLIC;
    }

    function setTokenPricePresale(uint256 val) external onlyOwner {
        tokenPricePresale = val;
    }
    
    function setTokenPricePublicSale(uint256 val) external onlyOwner {
        tokenPricePublicSale = val;
    }

    function setMaxTokensPerTransaction(uint256 val) external onlyOwner {
        maxTokensPerTransaction = val;
    }

    function setMaxTokensPerAddressPresale(uint256 val) external onlyOwner {
        maxTokensPerAddressPresale = val;
    }

    function setMaxTokensPerAddress(uint256 val) external onlyOwner {
        maxTokensPerAddress = val;
    }

    function setPresaleTotalLimit(uint256 val) external onlyOwner {
        presaleTotalLimit = val;
    }

    function setWhitelistRoot(bytes32 val) external onlyOwner {
        whitelistRoot = val;
    }

    function gift(uint256 amount, address to) external onlyOwner {
        require(soldAmount + amount <= FOR_SALE_TOKENS, "No tokens left");
        _safeMint(to, amount);
        soldAmount += amount;
    }

    function giftToMultiple(uint256 amount, address[] calldata toAddresses) external onlyOwner {
        uint256 totalAmount = amount * toAddresses.length;
        require(soldAmount + totalAmount <= FOR_SALE_TOKENS, "No tokens left");

        for (uint256 i = 0; i < toAddresses.length; i++) {
            _safeMint(toAddresses[i], amount);
        }

        soldAmount += totalAmount;
    }

    function tokenPrice() public view returns (uint256) {
        if (currentStage == STAGE_PUBLIC) {
            return tokenPricePublicSale;
        } else if (currentStage == STAGE_PRESALE) {
            return tokenPricePresale;
        } else {
            return 0;
        }
    }

    function getMaxTokensForPhase(address target, bytes32[] memory proof) public view returns (uint256) {
        bytes32 leaf = keccak256(abi.encodePacked(target));

        if (currentStage == STAGE_PUBLIC) {
            return maxTokensPerAddress;
        } else if (currentStage == STAGE_PRESALE) {
            if (MerkleProof.verify(proof, whitelistRoot, leaf)) {
                return maxTokensPerAddressPresale;
            } else {
                return 0;
            }
        } else {
            return 0;
        }
    }

    function safeSub(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a < b) {
            return 0;
        }
        return a - b;
    }

    function getMaxTokensAllowed(address target, bytes32[] memory proof) public view returns (uint256) {
        uint256 maxAllowedTokens = getMaxTokensForPhase(target, proof);

        uint256 tokensLeftForAddress = safeSub(maxAllowedTokens, purchased[target]);
        maxAllowedTokens = min(maxAllowedTokens, tokensLeftForAddress);

        if (currentStage == STAGE_PRESALE) {
            uint256 presaleTokensLeft = safeSub(presaleTotalLimit, soldAmount);
            maxAllowedTokens = min(maxAllowedTokens, presaleTokensLeft);
        }

        uint256 publicSaleTokensLeft = safeSub(FOR_SALE_TOKENS, soldAmount);
        maxAllowedTokens = min(maxAllowedTokens, publicSaleTokensLeft);

        return min(maxAllowedTokens, maxTokensPerTransaction);
    }

    function getContractInfo(address target, bytes32[] memory proof) external view returns (
        uint256 _currentStage,
        uint256 _maxTokensAllowed,
        uint256 _tokenPrice,
        uint256 _soldAmount,
        uint256 _purchasedAmount,
        uint256 _presaleTotalLimit,
        bytes32 _whitelistRoot,
        bytes32 _whitelistRootOG
    ) {
        _currentStage = currentStage;
        _maxTokensAllowed = getMaxTokensAllowed(target, proof);
        _tokenPrice = tokenPrice(); 
        _soldAmount = soldAmount;
        _purchasedAmount = purchased[target];
        _presaleTotalLimit = presaleTotalLimit;
        _whitelistRoot = whitelistRoot;
        _whitelistRootOG = whitelistRootOG;
    }

    function mint(uint256 amount, bytes32[] memory proof) external payable {
        require(msg.value >= tokenPrice() * amount, "Incorrect ETH sent");
        require(amount <= getMaxTokensAllowed(msg.sender, proof), "Cannot mint more than the max allowed tokens");

        _safeMint(msg.sender, amount);
        purchased[msg.sender] += amount;
        soldAmount += amount;
    }

    function _baseURI() internal view override(ERC721A) returns (string memory) {
        return tokenBaseURI;
    }
   
    function setBaseURI(string calldata URI) external onlyOwner {
        tokenBaseURI = URI;
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }
    
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FOR_SALE_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_PUBLIC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAGE_STOPPED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getContractInfo","outputs":[{"internalType":"uint256","name":"_currentStage","type":"uint256"},{"internalType":"uint256","name":"_maxTokensAllowed","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256","name":"_soldAmount","type":"uint256"},{"internalType":"uint256","name":"_purchasedAmount","type":"uint256"},{"internalType":"uint256","name":"_presaleTotalLimit","type":"uint256"},{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"},{"internalType":"bytes32","name":"_whitelistRootOG","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"getMaxTokensForPhase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"toAddresses","type":"address[]"}],"name":"giftToMultiple","outputs":[],"stateMutability":"nonpayable","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":"maxTokensPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerAddressPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleTotalLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerAddressPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setMaxTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setPresaleTotalLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"val","type":"uint256"}],"name":"setTokenPricePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"val","type":"bytes32"}],"name":"setWhitelistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"soldAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPricePublicSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRootOG","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60006009556617a93c16344000600a556305f5e100600b556001600c556003600d819055600e556042600f5560e060405260366080818152906200275860a0398051620000559160129160209091019062000138565b5060006013553480156200006857600080fd5b50604080518082018252600a815269447973746f7069616e7360b01b602080830191825283518085019094526004845263111654d560e21b908401528151919291620000b79160029162000138565b508051620000cd90600390602084019062000138565b5050600160005550620000e033620000e6565b6200021b565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014690620001de565b90600052602060002090601f0160209004810192826200016a5760008555620001b5565b82601f106200018557805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b557825182559160200191906001019062000198565b50620001c3929150620001c7565b5090565b5b80821115620001c35760008155600101620001c8565b600181811c90821680620001f357607f821691505b602082108114156200021557634e487b7160e01b600052602260045260246000fd5b50919050565b61252d806200022b6000396000f3fe6080604052600436106102ff5760003560e01c806355f804b311610190578063b88d4fde116100dc578063e8812ae311610095578063f5aa406d1161006f578063f5aa406d146108d5578063f85aff94146108f5578063f92b7a211461090b578063fa1a5f591461092157600080fd5b8063e8812ae314610857578063e985e9c51461086c578063f2fde38b146108b557600080fd5b8063b88d4fde146107af578063ba41b0c6146107cf578063c87b56dd146107e2578063dbb84f1114610802578063e36b0b3714610822578063e6d440d41461083757600080fd5b80637e046f30116101495780638da5cb5b116101235780638da5cb5b1461074657806395d89b4114610764578063a22cb46514610779578063a4ac79151461079957600080fd5b80637e046f30146106fb5780637ff9b5961461071157806383a076be1461072657600080fd5b806355f804b31461065a5780635bf5d54c1461067a5780636352211e1461069057806370a08231146106b0578063715018a6146106d057806378c5fe37146106e557600080fd5b80632d84a94c1161024f5780634324851a116102085780634d8fae95116101e25780634d8fae95146105ed5780634e99b80014610603578063522fe98e1461061857806355e6738d1461064557600080fd5b80634324851a1461059857806346c4dc27146105b857806348e34258146105d857600080fd5b80632d84a94c146104b2578063311df29a1461050d578063386bfc981461052d57806339c42224146105435780633ccfd60b1461056357806342842e0e1461057857600080fd5b80631449d3e6116102bc57806323a1baaa1161029657806323a1baaa1461044657806323b872dd1461045c578063285de8ca1461047c5780632b0384111461049c57600080fd5b80631449d3e6146103df57806314ff2779146103ff57806318160ddd1461041f57600080fd5b806301ffc9a71461030457806304c98b2b1461033957806306fdde0314610350578063081812fc14610372578063095ea7b3146103aa5780630c1c972a146103ca575b600080fd5b34801561031057600080fd5b5061032461031f366004611e75565b610937565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e610989565b005b34801561035c57600080fd5b506103656109c3565b6040516103309190611eea565b34801561037e57600080fd5b5061039261038d366004611efd565b610a55565b6040516001600160a01b039091168152602001610330565b3480156103b657600080fd5b5061034e6103c5366004611f32565b610a99565b3480156103d657600080fd5b5061034e610b27565b3480156103eb57600080fd5b5061034e6103fa366004611efd565b610b58565b34801561040b57600080fd5b5061034e61041a366004611efd565b610b87565b34801561042b57600080fd5b5060015460005403600019015b604051908152602001610330565b34801561045257600080fd5b50610438600d5481565b34801561046857600080fd5b5061034e610477366004611f5c565b610bb6565b34801561048857600080fd5b5061043861049736600461205d565b610bc1565b3480156104a857600080fd5b50610438600a5481565b3480156104be57600080fd5b506104d26104cd36600461205d565b610c43565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610330565b34801561051957600080fd5b5061034e610528366004611efd565b610ca1565b34801561053957600080fd5b5061043860115481565b34801561054f57600080fd5b5061034e61055e3660046120aa565b610cd0565b34801561056f57600080fd5b5061034e610dc3565b34801561058457600080fd5b5061034e610593366004611f5c565b610e13565b3480156105a457600080fd5b506104386105b336600461205d565b610e2e565b3480156105c457600080fd5b5061034e6105d3366004611efd565b610ed0565b3480156105e457600080fd5b50610438600081565b3480156105f957600080fd5b5061043861029a81565b34801561060f57600080fd5b50610365610eff565b34801561062457600080fd5b50610438610633366004612128565b60146020526000908152604090205481565b34801561065157600080fd5b50610438600281565b34801561066657600080fd5b5061034e610675366004612143565b610f8d565b34801561068657600080fd5b5061043860095481565b34801561069c57600080fd5b506103926106ab366004611efd565b610fc3565b3480156106bc57600080fd5b506104386106cb366004612128565b610fd5565b3480156106dc57600080fd5b5061034e611023565b3480156106f157600080fd5b50610438600b5481565b34801561070757600080fd5b50610438600f5481565b34801561071d57600080fd5b50610438611057565b34801561073257600080fd5b5061034e6107413660046121b4565b611083565b34801561075257600080fd5b506008546001600160a01b0316610392565b34801561077057600080fd5b50610365611122565b34801561078557600080fd5b5061034e6107943660046121e0565b611131565b3480156107a557600080fd5b50610438600c5481565b3480156107bb57600080fd5b5061034e6107ca36600461221c565b6111c7565b61034e6107dd3660046122db565b611218565b3480156107ee57600080fd5b506103656107fd366004611efd565b61131f565b34801561080e57600080fd5b5061034e61081d366004611efd565b6113a4565b34801561082e57600080fd5b5061034e6113d3565b34801561084357600080fd5b5061034e610852366004611efd565b611404565b34801561086357600080fd5b50610438600181565b34801561087857600080fd5b5061032461088736600461230b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108c157600080fd5b5061034e6108d0366004612128565b611433565b3480156108e157600080fd5b5061034e6108f0366004611efd565b6114ce565b34801561090157600080fd5b50610438600e5481565b34801561091757600080fd5b5061043860105481565b34801561092d57600080fd5b5061043860135481565b60006001600160e01b031982166380ac58cd60e01b148061096857506001600160e01b03198216635b5e139f60e01b145b8061098357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146109bc5760405162461bcd60e51b81526004016109b390612335565b60405180910390fd5b6001600955565b6060600280546109d29061236a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fe9061236a565b8015610a4b5780601f10610a2057610100808354040283529160200191610a4b565b820191906000526020600020905b815481529060010190602001808311610a2e57829003601f168201915b5050505050905090565b6000610a60826114fd565b610a7d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610aa482610fc3565b9050806001600160a01b0316836001600160a01b03161415610ad95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610af95750610af78133610887565b155b15610b17576040516367d9dca160e11b815260040160405180910390fd5b610b22838383611536565b505050565b6008546001600160a01b03163314610b515760405162461bcd60e51b81526004016109b390612335565b6002600955565b6008546001600160a01b03163314610b825760405162461bcd60e51b81526004016109b390612335565b600e55565b6008546001600160a01b03163314610bb15760405162461bcd60e51b81526004016109b390612335565b600f55565b610b22838383611592565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060026009541415610c12575050600d54610983565b60016009541415610c3957610c2a83601154836117a6565b15610c39575050600c54610983565b5060009392505050565b6009546000808080808080610c588a8a610e2e565b9650610c62611057565b6013546001600160a01b03909b16600090815260146020526040902054600f546011546010549b9e9a9d939c50929a9199909850919650945092505050565b6008546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016109b390612335565b600a55565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b81526004016109b390612335565b6000610d0682856123bb565b905061029a81601354610d1991906123da565b1115610d585760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b60448201526064016109b3565b60005b82811015610da557610d93848483818110610d7857610d786123f2565b9050602002016020810190610d8d9190612128565b866117bc565b80610d9d81612408565b915050610d5b565b508060136000828254610db891906123da565b909155505050505050565b6008546001600160a01b03163314610ded5760405162461bcd60e51b81526004016109b390612335565b60405133904780156108fc02916000818181858888f19350505050610e1157600080fd5b565b610b22838383604051806020016040528060008152506111c7565b600080610e3b8484610bc1565b6001600160a01b03851660009081526014602052604081205491925090610e639083906117da565b9050610e6f82826117f6565b915060016009541415610e9c576000610e8c600f546013546117da565b9050610e9883826117f6565b9250505b6000610eac61029a6013546117da565b9050610eb883826117f6565b9250610ec683600e546117f6565b9695505050505050565b6008546001600160a01b03163314610efa5760405162461bcd60e51b81526004016109b390612335565b600b55565b60128054610f0c9061236a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f389061236a565b8015610f855780601f10610f5a57610100808354040283529160200191610f85565b820191906000526020600020905b815481529060010190602001808311610f6857829003601f168201915b505050505081565b6008546001600160a01b03163314610fb75760405162461bcd60e51b81526004016109b390612335565b610b2260128383611dc6565b6000610fce8261180c565b5192915050565b60006001600160a01b038216610ffe576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461104d5760405162461bcd60e51b81526004016109b390612335565b610e116000611933565b60006002600954141561106b5750600b5490565b6001600954141561107d5750600a5490565b50600090565b6008546001600160a01b031633146110ad5760405162461bcd60e51b81526004016109b390612335565b61029a826013546110be91906123da565b11156110fd5760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b60448201526064016109b3565b61110781836117bc565b816013600082825461111991906123da565b90915550505050565b6060600380546109d29061236a565b6001600160a01b03821633141561115b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d2848484611592565b6001600160a01b0383163b151580156111f457506111f284848484611985565b155b15611212576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b81611221611057565b61122b91906123bb565b34101561126f5760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd08115512081cd95b9d60721b60448201526064016109b3565b6112793382610e2e565b8211156112dd5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b60648201526084016109b3565b6112e733836117bc565b33600090815260146020526040812080548492906113069084906123da565b92505081905550816013600082825461111991906123da565b606061132a826114fd565b61134757604051630a14c4b560e41b815260040160405180910390fd5b6000611351611a6e565b9050805160001415611372576040518060200160405280600081525061139d565b8061137c84611a7d565b60405160200161138d929190612423565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146113ce5760405162461bcd60e51b81526004016109b390612335565b600d55565b6008546001600160a01b031633146113fd5760405162461bcd60e51b81526004016109b390612335565b6000600955565b6008546001600160a01b0316331461142e5760405162461bcd60e51b81526004016109b390612335565b600c55565b6008546001600160a01b0316331461145d5760405162461bcd60e51b81526004016109b390612335565b6001600160a01b0381166114c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b3565b6114cb81611933565b50565b6008546001600160a01b031633146114f85760405162461bcd60e51b81526004016109b390612335565b601155565b600081600111158015611511575060005482105b8015610983575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061159d8261180c565b80519091506000906001600160a01b0316336001600160a01b031614806115cb575081516115cb9033610887565b806115e65750336115db84610a55565b6001600160a01b0316145b90508061160657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461163b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661166257604051633a954ecd60e21b815260040160405180910390fd5b6116726000848460000151611536565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661175c5760005481101561175c57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826117b38584611b7a565b14949350505050565b6117d6828260405180602001604052806000815250611bee565b5050565b6000818310156117ec57506000610983565b61139d8284612452565b6000818310611805578161139d565b5090919050565b6040805160608101825260008082526020820181905291810191909152818060011115801561183c575060005481105b1561191a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119185780516001600160a01b0316156118af579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611913579392505050565b6118af565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ba903390899088908890600401612469565b6020604051808303816000875af19250505080156119f5575060408051601f3d908101601f191682019092526119f29181019061249c565b60015b611a50573d808015611a23576040519150601f19603f3d011682016040523d82523d6000602084013e611a28565b606091505b508051611a48576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109d29061236a565b606081611aa15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611acb5780611ab581612408565b9150611ac49050600a836124cf565b9150611aa5565b6000816001600160401b03811115611ae557611ae5611f98565b6040519080825280601f01601f191660200182016040528015611b0f576020820181803683370190505b5090505b8415611a6657611b24600183612452565b9150611b31600a866124e3565b611b3c9060306123da565b60f81b818381518110611b5157611b516123f2565b60200101906001600160f81b031916908160001a905350611b73600a866124cf565b9450611b13565b600081815b8451811015611be6576000858281518110611b9c57611b9c6123f2565b60200260200101519050808311611bc25760008381526020829052604090209250611bd3565b600081815260208490526040902092505b5080611bde81612408565b915050611b7f565b509392505050565b610b2283838360016000546001600160a01b038516611c1f57604051622e076360e81b815260040160405180910390fd5b83611c3d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611cee57506001600160a01b0387163b15155b15611d77575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d3f6000888480600101955088611985565b611d5c576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611cf4578260005414611d7257600080fd5b611dbd565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611d78575b5060005561179f565b828054611dd29061236a565b90600052602060002090601f016020900481019282611df45760008555611e3a565b82601f10611e0d5782800160ff19823516178555611e3a565b82800160010185558215611e3a579182015b82811115611e3a578235825591602001919060010190611e1f565b50611e46929150611e4a565b5090565b5b80821115611e465760008155600101611e4b565b6001600160e01b0319811681146114cb57600080fd5b600060208284031215611e8757600080fd5b813561139d81611e5f565b60005b83811015611ead578181015183820152602001611e95565b838111156112125750506000910152565b60008151808452611ed6816020860160208601611e92565b601f01601f19169290920160200192915050565b60208152600061139d6020830184611ebe565b600060208284031215611f0f57600080fd5b5035919050565b80356001600160a01b0381168114611f2d57600080fd5b919050565b60008060408385031215611f4557600080fd5b611f4e83611f16565b946020939093013593505050565b600080600060608486031215611f7157600080fd5b611f7a84611f16565b9250611f8860208501611f16565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd657611fd6611f98565b604052919050565b600082601f830112611fef57600080fd5b813560206001600160401b0382111561200a5761200a611f98565b8160051b612019828201611fae565b928352848101820192828101908785111561203357600080fd5b83870192505b8483101561205257823582529183019190830190612039565b979650505050505050565b6000806040838503121561207057600080fd5b61207983611f16565b915060208301356001600160401b0381111561209457600080fd5b6120a085828601611fde565b9150509250929050565b6000806000604084860312156120bf57600080fd5b8335925060208401356001600160401b03808211156120dd57600080fd5b818601915086601f8301126120f157600080fd5b81358181111561210057600080fd5b8760208260051b850101111561211557600080fd5b6020830194508093505050509250925092565b60006020828403121561213a57600080fd5b61139d82611f16565b6000806020838503121561215657600080fd5b82356001600160401b038082111561216d57600080fd5b818501915085601f83011261218157600080fd5b81358181111561219057600080fd5b8660208285010111156121a257600080fd5b60209290920196919550909350505050565b600080604083850312156121c757600080fd5b823591506121d760208401611f16565b90509250929050565b600080604083850312156121f357600080fd5b6121fc83611f16565b91506020830135801515811461221157600080fd5b809150509250929050565b6000806000806080858703121561223257600080fd5b61223b85611f16565b9350602061224a818701611f16565b93506040860135925060608601356001600160401b038082111561226d57600080fd5b818801915088601f83011261228157600080fd5b81358181111561229357612293611f98565b6122a5601f8201601f19168501611fae565b915080825289848285010111156122bb57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156122ee57600080fd5b8235915060208301356001600160401b0381111561209457600080fd5b6000806040838503121561231e57600080fd5b61232783611f16565b91506121d760208401611f16565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061237e57607f821691505b6020821081141561239f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156123d5576123d56123a5565b500290565b600082198211156123ed576123ed6123a5565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561241c5761241c6123a5565b5060010190565b60008351612435818460208801611e92565b835190830190612449818360208801611e92565b01949350505050565b600082821015612464576124646123a5565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610ec690830184611ebe565b6000602082840312156124ae57600080fd5b815161139d81611e5f565b634e487b7160e01b600052601260045260246000fd5b6000826124de576124de6124b9565b500490565b6000826124f2576124f26124b9565b50069056fea264697066735822122008cd8e60b093b107a8b0e2e72c45e7f303f2e8057de07cc92cce3862c91ca81b64736f6c634300080c0033697066733a2f2f516d61414a7461616a795666696159325573633866476a4656654a6b3156527643415051317461724574364a79432f

Deployed Bytecode

0x6080604052600436106102ff5760003560e01c806355f804b311610190578063b88d4fde116100dc578063e8812ae311610095578063f5aa406d1161006f578063f5aa406d146108d5578063f85aff94146108f5578063f92b7a211461090b578063fa1a5f591461092157600080fd5b8063e8812ae314610857578063e985e9c51461086c578063f2fde38b146108b557600080fd5b8063b88d4fde146107af578063ba41b0c6146107cf578063c87b56dd146107e2578063dbb84f1114610802578063e36b0b3714610822578063e6d440d41461083757600080fd5b80637e046f30116101495780638da5cb5b116101235780638da5cb5b1461074657806395d89b4114610764578063a22cb46514610779578063a4ac79151461079957600080fd5b80637e046f30146106fb5780637ff9b5961461071157806383a076be1461072657600080fd5b806355f804b31461065a5780635bf5d54c1461067a5780636352211e1461069057806370a08231146106b0578063715018a6146106d057806378c5fe37146106e557600080fd5b80632d84a94c1161024f5780634324851a116102085780634d8fae95116101e25780634d8fae95146105ed5780634e99b80014610603578063522fe98e1461061857806355e6738d1461064557600080fd5b80634324851a1461059857806346c4dc27146105b857806348e34258146105d857600080fd5b80632d84a94c146104b2578063311df29a1461050d578063386bfc981461052d57806339c42224146105435780633ccfd60b1461056357806342842e0e1461057857600080fd5b80631449d3e6116102bc57806323a1baaa1161029657806323a1baaa1461044657806323b872dd1461045c578063285de8ca1461047c5780632b0384111461049c57600080fd5b80631449d3e6146103df57806314ff2779146103ff57806318160ddd1461041f57600080fd5b806301ffc9a71461030457806304c98b2b1461033957806306fdde0314610350578063081812fc14610372578063095ea7b3146103aa5780630c1c972a146103ca575b600080fd5b34801561031057600080fd5b5061032461031f366004611e75565b610937565b60405190151581526020015b60405180910390f35b34801561034557600080fd5b5061034e610989565b005b34801561035c57600080fd5b506103656109c3565b6040516103309190611eea565b34801561037e57600080fd5b5061039261038d366004611efd565b610a55565b6040516001600160a01b039091168152602001610330565b3480156103b657600080fd5b5061034e6103c5366004611f32565b610a99565b3480156103d657600080fd5b5061034e610b27565b3480156103eb57600080fd5b5061034e6103fa366004611efd565b610b58565b34801561040b57600080fd5b5061034e61041a366004611efd565b610b87565b34801561042b57600080fd5b5060015460005403600019015b604051908152602001610330565b34801561045257600080fd5b50610438600d5481565b34801561046857600080fd5b5061034e610477366004611f5c565b610bb6565b34801561048857600080fd5b5061043861049736600461205d565b610bc1565b3480156104a857600080fd5b50610438600a5481565b3480156104be57600080fd5b506104d26104cd36600461205d565b610c43565b604080519889526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610330565b34801561051957600080fd5b5061034e610528366004611efd565b610ca1565b34801561053957600080fd5b5061043860115481565b34801561054f57600080fd5b5061034e61055e3660046120aa565b610cd0565b34801561056f57600080fd5b5061034e610dc3565b34801561058457600080fd5b5061034e610593366004611f5c565b610e13565b3480156105a457600080fd5b506104386105b336600461205d565b610e2e565b3480156105c457600080fd5b5061034e6105d3366004611efd565b610ed0565b3480156105e457600080fd5b50610438600081565b3480156105f957600080fd5b5061043861029a81565b34801561060f57600080fd5b50610365610eff565b34801561062457600080fd5b50610438610633366004612128565b60146020526000908152604090205481565b34801561065157600080fd5b50610438600281565b34801561066657600080fd5b5061034e610675366004612143565b610f8d565b34801561068657600080fd5b5061043860095481565b34801561069c57600080fd5b506103926106ab366004611efd565b610fc3565b3480156106bc57600080fd5b506104386106cb366004612128565b610fd5565b3480156106dc57600080fd5b5061034e611023565b3480156106f157600080fd5b50610438600b5481565b34801561070757600080fd5b50610438600f5481565b34801561071d57600080fd5b50610438611057565b34801561073257600080fd5b5061034e6107413660046121b4565b611083565b34801561075257600080fd5b506008546001600160a01b0316610392565b34801561077057600080fd5b50610365611122565b34801561078557600080fd5b5061034e6107943660046121e0565b611131565b3480156107a557600080fd5b50610438600c5481565b3480156107bb57600080fd5b5061034e6107ca36600461221c565b6111c7565b61034e6107dd3660046122db565b611218565b3480156107ee57600080fd5b506103656107fd366004611efd565b61131f565b34801561080e57600080fd5b5061034e61081d366004611efd565b6113a4565b34801561082e57600080fd5b5061034e6113d3565b34801561084357600080fd5b5061034e610852366004611efd565b611404565b34801561086357600080fd5b50610438600181565b34801561087857600080fd5b5061032461088736600461230b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156108c157600080fd5b5061034e6108d0366004612128565b611433565b3480156108e157600080fd5b5061034e6108f0366004611efd565b6114ce565b34801561090157600080fd5b50610438600e5481565b34801561091757600080fd5b5061043860105481565b34801561092d57600080fd5b5061043860135481565b60006001600160e01b031982166380ac58cd60e01b148061096857506001600160e01b03198216635b5e139f60e01b145b8061098357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6008546001600160a01b031633146109bc5760405162461bcd60e51b81526004016109b390612335565b60405180910390fd5b6001600955565b6060600280546109d29061236a565b80601f01602080910402602001604051908101604052809291908181526020018280546109fe9061236a565b8015610a4b5780601f10610a2057610100808354040283529160200191610a4b565b820191906000526020600020905b815481529060010190602001808311610a2e57829003601f168201915b5050505050905090565b6000610a60826114fd565b610a7d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610aa482610fc3565b9050806001600160a01b0316836001600160a01b03161415610ad95760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610af95750610af78133610887565b155b15610b17576040516367d9dca160e11b815260040160405180910390fd5b610b22838383611536565b505050565b6008546001600160a01b03163314610b515760405162461bcd60e51b81526004016109b390612335565b6002600955565b6008546001600160a01b03163314610b825760405162461bcd60e51b81526004016109b390612335565b600e55565b6008546001600160a01b03163314610bb15760405162461bcd60e51b81526004016109b390612335565b600f55565b610b22838383611592565b6040516bffffffffffffffffffffffff19606084901b166020820152600090819060340160405160208183030381529060405280519060200120905060026009541415610c12575050600d54610983565b60016009541415610c3957610c2a83601154836117a6565b15610c39575050600c54610983565b5060009392505050565b6009546000808080808080610c588a8a610e2e565b9650610c62611057565b6013546001600160a01b03909b16600090815260146020526040902054600f546011546010549b9e9a9d939c50929a9199909850919650945092505050565b6008546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016109b390612335565b600a55565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b81526004016109b390612335565b6000610d0682856123bb565b905061029a81601354610d1991906123da565b1115610d585760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b60448201526064016109b3565b60005b82811015610da557610d93848483818110610d7857610d786123f2565b9050602002016020810190610d8d9190612128565b866117bc565b80610d9d81612408565b915050610d5b565b508060136000828254610db891906123da565b909155505050505050565b6008546001600160a01b03163314610ded5760405162461bcd60e51b81526004016109b390612335565b60405133904780156108fc02916000818181858888f19350505050610e1157600080fd5b565b610b22838383604051806020016040528060008152506111c7565b600080610e3b8484610bc1565b6001600160a01b03851660009081526014602052604081205491925090610e639083906117da565b9050610e6f82826117f6565b915060016009541415610e9c576000610e8c600f546013546117da565b9050610e9883826117f6565b9250505b6000610eac61029a6013546117da565b9050610eb883826117f6565b9250610ec683600e546117f6565b9695505050505050565b6008546001600160a01b03163314610efa5760405162461bcd60e51b81526004016109b390612335565b600b55565b60128054610f0c9061236a565b80601f0160208091040260200160405190810160405280929190818152602001828054610f389061236a565b8015610f855780601f10610f5a57610100808354040283529160200191610f85565b820191906000526020600020905b815481529060010190602001808311610f6857829003601f168201915b505050505081565b6008546001600160a01b03163314610fb75760405162461bcd60e51b81526004016109b390612335565b610b2260128383611dc6565b6000610fce8261180c565b5192915050565b60006001600160a01b038216610ffe576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0316331461104d5760405162461bcd60e51b81526004016109b390612335565b610e116000611933565b60006002600954141561106b5750600b5490565b6001600954141561107d5750600a5490565b50600090565b6008546001600160a01b031633146110ad5760405162461bcd60e51b81526004016109b390612335565b61029a826013546110be91906123da565b11156110fd5760405162461bcd60e51b815260206004820152600e60248201526d139bc81d1bdad95b9cc81b19599d60921b60448201526064016109b3565b61110781836117bc565b816013600082825461111991906123da565b90915550505050565b6060600380546109d29061236a565b6001600160a01b03821633141561115b5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6111d2848484611592565b6001600160a01b0383163b151580156111f457506111f284848484611985565b155b15611212576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b81611221611057565b61122b91906123bb565b34101561126f5760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd08115512081cd95b9d60721b60448201526064016109b3565b6112793382610e2e565b8211156112dd5760405162461bcd60e51b815260206004820152602c60248201527f43616e6e6f74206d696e74206d6f7265207468616e20746865206d617820616c60448201526b6c6f77656420746f6b656e7360a01b60648201526084016109b3565b6112e733836117bc565b33600090815260146020526040812080548492906113069084906123da565b92505081905550816013600082825461111991906123da565b606061132a826114fd565b61134757604051630a14c4b560e41b815260040160405180910390fd5b6000611351611a6e565b9050805160001415611372576040518060200160405280600081525061139d565b8061137c84611a7d565b60405160200161138d929190612423565b6040516020818303038152906040525b9392505050565b6008546001600160a01b031633146113ce5760405162461bcd60e51b81526004016109b390612335565b600d55565b6008546001600160a01b031633146113fd5760405162461bcd60e51b81526004016109b390612335565b6000600955565b6008546001600160a01b0316331461142e5760405162461bcd60e51b81526004016109b390612335565b600c55565b6008546001600160a01b0316331461145d5760405162461bcd60e51b81526004016109b390612335565b6001600160a01b0381166114c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109b3565b6114cb81611933565b50565b6008546001600160a01b031633146114f85760405162461bcd60e51b81526004016109b390612335565b601155565b600081600111158015611511575060005482105b8015610983575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061159d8261180c565b80519091506000906001600160a01b0316336001600160a01b031614806115cb575081516115cb9033610887565b806115e65750336115db84610a55565b6001600160a01b0316145b90508061160657604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b03161461163b5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661166257604051633a954ecd60e21b815260040160405180910390fd5b6116726000848460000151611536565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661175c5760005481101561175c57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000826117b38584611b7a565b14949350505050565b6117d6828260405180602001604052806000815250611bee565b5050565b6000818310156117ec57506000610983565b61139d8284612452565b6000818310611805578161139d565b5090919050565b6040805160608101825260008082526020820181905291810191909152818060011115801561183c575060005481105b1561191a57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906119185780516001600160a01b0316156118af579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611913579392505050565b6118af565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ba903390899088908890600401612469565b6020604051808303816000875af19250505080156119f5575060408051601f3d908101601f191682019092526119f29181019061249c565b60015b611a50573d808015611a23576040519150601f19603f3d011682016040523d82523d6000602084013e611a28565b606091505b508051611a48576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060601280546109d29061236a565b606081611aa15750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611acb5780611ab581612408565b9150611ac49050600a836124cf565b9150611aa5565b6000816001600160401b03811115611ae557611ae5611f98565b6040519080825280601f01601f191660200182016040528015611b0f576020820181803683370190505b5090505b8415611a6657611b24600183612452565b9150611b31600a866124e3565b611b3c9060306123da565b60f81b818381518110611b5157611b516123f2565b60200101906001600160f81b031916908160001a905350611b73600a866124cf565b9450611b13565b600081815b8451811015611be6576000858281518110611b9c57611b9c6123f2565b60200260200101519050808311611bc25760008381526020829052604090209250611bd3565b600081815260208490526040902092505b5080611bde81612408565b915050611b7f565b509392505050565b610b2283838360016000546001600160a01b038516611c1f57604051622e076360e81b815260040160405180910390fd5b83611c3d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611cee57506001600160a01b0387163b15155b15611d77575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611d3f6000888480600101955088611985565b611d5c576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611cf4578260005414611d7257600080fd5b611dbd565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611d78575b5060005561179f565b828054611dd29061236a565b90600052602060002090601f016020900481019282611df45760008555611e3a565b82601f10611e0d5782800160ff19823516178555611e3a565b82800160010185558215611e3a579182015b82811115611e3a578235825591602001919060010190611e1f565b50611e46929150611e4a565b5090565b5b80821115611e465760008155600101611e4b565b6001600160e01b0319811681146114cb57600080fd5b600060208284031215611e8757600080fd5b813561139d81611e5f565b60005b83811015611ead578181015183820152602001611e95565b838111156112125750506000910152565b60008151808452611ed6816020860160208601611e92565b601f01601f19169290920160200192915050565b60208152600061139d6020830184611ebe565b600060208284031215611f0f57600080fd5b5035919050565b80356001600160a01b0381168114611f2d57600080fd5b919050565b60008060408385031215611f4557600080fd5b611f4e83611f16565b946020939093013593505050565b600080600060608486031215611f7157600080fd5b611f7a84611f16565b9250611f8860208501611f16565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611fd657611fd6611f98565b604052919050565b600082601f830112611fef57600080fd5b813560206001600160401b0382111561200a5761200a611f98565b8160051b612019828201611fae565b928352848101820192828101908785111561203357600080fd5b83870192505b8483101561205257823582529183019190830190612039565b979650505050505050565b6000806040838503121561207057600080fd5b61207983611f16565b915060208301356001600160401b0381111561209457600080fd5b6120a085828601611fde565b9150509250929050565b6000806000604084860312156120bf57600080fd5b8335925060208401356001600160401b03808211156120dd57600080fd5b818601915086601f8301126120f157600080fd5b81358181111561210057600080fd5b8760208260051b850101111561211557600080fd5b6020830194508093505050509250925092565b60006020828403121561213a57600080fd5b61139d82611f16565b6000806020838503121561215657600080fd5b82356001600160401b038082111561216d57600080fd5b818501915085601f83011261218157600080fd5b81358181111561219057600080fd5b8660208285010111156121a257600080fd5b60209290920196919550909350505050565b600080604083850312156121c757600080fd5b823591506121d760208401611f16565b90509250929050565b600080604083850312156121f357600080fd5b6121fc83611f16565b91506020830135801515811461221157600080fd5b809150509250929050565b6000806000806080858703121561223257600080fd5b61223b85611f16565b9350602061224a818701611f16565b93506040860135925060608601356001600160401b038082111561226d57600080fd5b818801915088601f83011261228157600080fd5b81358181111561229357612293611f98565b6122a5601f8201601f19168501611fae565b915080825289848285010111156122bb57600080fd5b808484018584013760008482840101525080935050505092959194509250565b600080604083850312156122ee57600080fd5b8235915060208301356001600160401b0381111561209457600080fd5b6000806040838503121561231e57600080fd5b61232783611f16565b91506121d760208401611f16565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061237e57607f821691505b6020821081141561239f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156123d5576123d56123a5565b500290565b600082198211156123ed576123ed6123a5565b500190565b634e487b7160e01b600052603260045260246000fd5b600060001982141561241c5761241c6123a5565b5060010190565b60008351612435818460208801611e92565b835190830190612449818360208801611e92565b01949350505050565b600082821015612464576124646123a5565b500390565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090610ec690830184611ebe565b6000602082840312156124ae57600080fd5b815161139d81611e5f565b634e487b7160e01b600052601260045260246000fd5b6000826124de576124de6124b9565b500490565b6000826124f2576124f26124b9565b50069056fea264697066735822122008cd8e60b093b107a8b0e2e72c45e7f303f2e8057de07cc92cce3862c91ca81b64736f6c634300080c0033

Deployed Bytecode Sourcemap

48279:6232:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30742:305;;;;;;;;;;-1:-1:-1;30742:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;30742:305:0;;;;;;;;49473:90;;;;;;;;;;;;;:::i;:::-;;34127:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35630:204::-;;;;;;;;;;-1:-1:-1;35630:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;35630:204:0;1528:203:1;35193:371:0;;;;;;;;;;-1:-1:-1;35193:371:0;;;;;:::i;:::-;;:::i;49571:92::-;;;;;;;;;;;;;:::i;49905:116::-;;;;;;;;;;-1:-1:-1;49905:116:0;;;;;:::i;:::-;;:::i;50275:104::-;;;;;;;;;;-1:-1:-1;50275:104:0;;;;;:::i;:::-;;:::i;29991:303::-;;;;;;;;;;-1:-1:-1;49362:1:0;30245:12;30035:7;30229:13;:28;-1:-1:-1;;30229:46:0;29991:303;;;2319:25:1;;;2307:2;2292:18;29991:303:0;2173:177:1;48782:38:0;;;;;;;;;;;;;;;;36487:170;;;;;;;;;;-1:-1:-1;36487:170:0;;;;;:::i;:::-;;:::i;51413:545::-;;;;;;;;;;-1:-1:-1;51413:545:0;;;;;:::i;:::-;;:::i;48610:48::-;;;;;;;;;;;;;;;;52914:730;;;;;;;;;;-1:-1:-1;52914:730:0;;;;;:::i;:::-;;:::i;:::-;;;;4587:25:1;;;4643:2;4628:18;;4621:34;;;;4671:18;;;4664:34;;;;4729:2;4714:18;;4707:34;;;;4772:3;4757:19;;4750:35;4816:3;4801:19;;4794:35;4860:3;4845:19;;4838:35;4904:3;4889:19;;4882:35;4574:3;4559:19;52914:730:0;4244:679:1;49671:104:0;;;;;;;;;;-1:-1:-1;49671:104:0;;;;;:::i;:::-;;:::i;48979:28::-;;;;;;;;;;;;;;;;50707:399;;;;;;;;;;-1:-1:-1;50707:399:0;;;;;:::i;:::-;;:::i;54276:114::-;;;;;;;;;;;;;:::i;36728:185::-;;;;;;;;;;-1:-1:-1;36728:185:0;;;;;:::i;:::-;;:::i;52132:774::-;;;;;;;;;;-1:-1:-1;52132:774:0;;;;;:::i;:::-;;:::i;49787:110::-;;;;;;;;;;-1:-1:-1;49787:110:0;;;;;:::i;:::-;;:::i;48414:41::-;;;;;;;;;;;;48454:1;48414:41;;48360:45;;;;;;;;;;;;48402:3;48360:45;;49016:85;;;;;;;;;;;;;:::i;49146:44::-;;;;;;;;;;-1:-1:-1;49146:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;48510:41;;;;;;;;;;;;48550:1;48510:41;;54171:97;;;;;;;;;;-1:-1:-1;54171:97:0;;;;;:::i;:::-;;:::i;48558:43::-;;;;;;;;;;;;;;;;33936:124;;;;;;;;;;-1:-1:-1;33936:124:0;;;;;:::i;:::-;;:::i;31111:206::-;;;;;;;;;;-1:-1:-1;31111:206:0;;;;;:::i;:::-;;:::i;7200:103::-;;;;;;;;;;;;;:::i;48665:56::-;;;;;;;;;;;;;;;;48896:37;;;;;;;;;;;;;;;;51114:291;;;;;;;;;;;;;:::i;50491:208::-;;;;;;;;;;-1:-1:-1;50491:208:0;;;;;:::i;:::-;;:::i;6549:87::-;;;;;;;;;;-1:-1:-1;6622:6:0;;-1:-1:-1;;;;;6622:6:0;6549:87;;34296:104;;;;;;;;;;;;;:::i;35906:279::-;;;;;;;;;;-1:-1:-1;35906:279:0;;;;;:::i;:::-;;:::i;48730:45::-;;;;;;;;;;;;;;;;36984:369;;;;;;;;;;-1:-1:-1;36984:369:0;;;;;:::i;:::-;;:::i;53652:386::-;;;;;;:::i;:::-;;:::i;34471:318::-;;;;;;;;;;-1:-1:-1;34471:318:0;;;;;:::i;:::-;;:::i;50159:108::-;;;;;;;;;;-1:-1:-1;50159:108:0;;;;;:::i;:::-;;:::i;49379:86::-;;;;;;;;;;;;;:::i;50029:122::-;;;;;;;;;;-1:-1:-1;50029:122:0;;;;;:::i;:::-;;:::i;48462:41::-;;;;;;;;;;;;48502:1;48462:41;;36256:164;;;;;;;;;;-1:-1:-1;36256:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36377:25:0;;;36353:4;36377:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36256:164;7458:201;;;;;;;;;;-1:-1:-1;7458:201:0;;;;;:::i;:::-;;:::i;50387:96::-;;;;;;;;;;-1:-1:-1;50387:96:0;;;;;:::i;:::-;;:::i;48827:60::-;;;;;;;;;;;;;;;;48942:30;;;;;;;;;;;;;;;;49110:29;;;;;;;;;;;;;;;;30742:305;30844:4;-1:-1:-1;;;;;;30881:40:0;;-1:-1:-1;;;30881:40:0;;:105;;-1:-1:-1;;;;;;;30938:48:0;;-1:-1:-1;;;30938:48:0;30881:105;:158;;;-1:-1:-1;;;;;;;;;;19442:40:0;;;31003:36;30861:178;30742:305;-1:-1:-1;;30742:305:0:o;49473:90::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;;;;;;;;;48502:1:::1;49527:12;:28:::0;49473:90::o;34127:100::-;34181:13;34214:5;34207:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34127:100;:::o;35630:204::-;35698:7;35723:16;35731:7;35723;:16::i;:::-;35718:64;;35748:34;;-1:-1:-1;;;35748:34:0;;;;;;;;;;;35718:64;-1:-1:-1;35802:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35802:24:0;;35630:204::o;35193:371::-;35266:13;35282:24;35298:7;35282:15;:24::i;:::-;35266:40;;35327:5;-1:-1:-1;;;;;35321:11:0;:2;-1:-1:-1;;;;;35321:11:0;;35317:48;;;35341:24;;-1:-1:-1;;;35341:24:0;;;;;;;;;;;35317:48;5353:10;-1:-1:-1;;;;;35382:21:0;;;;;;:63;;-1:-1:-1;35408:37:0;35425:5;5353:10;36256:164;:::i;35408:37::-;35407:38;35382:63;35378:138;;;35469:35;;-1:-1:-1;;;35469:35:0;;;;;;;;;;;35378:138;35528:28;35537:2;35541:7;35550:5;35528:8;:28::i;:::-;35255:309;35193:371;;:::o;49571:92::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;48550:1:::1;49628:12;:27:::0;49571:92::o;49905:116::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;49984:23:::1;:29:::0;49905:116::o;50275:104::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;50348:17:::1;:23:::0;50275:104::o;36487:170::-;36621:28;36631:4;36637:2;36641:7;36621:9;:28::i;51413:545::-;51549:24;;-1:-1:-1;;9948:2:1;9944:15;;;9940:53;51549:24:0;;;9928:66:1;51504:7:0;;;;10010:12:1;;51549:24:0;;;;;;;;;;;;51539:35;;;;;;51524:50;;48550:1;51591:12;;:28;51587:364;;;-1:-1:-1;;51643:19:0;;51636:26;;51587:364;48502:1;51684:12;;:29;51680:271;;;51734:46;51753:5;51760:13;;51775:4;51734:18;:46::i;:::-;51730:169;;;-1:-1:-1;;51808:26:0;;51801:33;;51730:169;-1:-1:-1;51882:1:0;;51413:545;-1:-1:-1;;;51413:545:0:o;52914:730::-;53304:12;;53012:21;;;;;;;53347:34;53367:6;53375:5;53347:19;:34::i;:::-;53327:54;;53406:12;:10;:12::i;:::-;53444:10;;-1:-1:-1;;;;;53484:17:0;;;;;;;:9;:17;;;;;;53533;;53578:13;;53621:15;;52914:730;;;;53392:26;;-1:-1:-1;53444:10:0;;53484:17;;53533;;-1:-1:-1;53578:13:0;;-1:-1:-1;53621:15:0;-1:-1:-1;52914:730:0;-1:-1:-1;;;52914:730:0:o;49671:104::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;49744:17:::1;:23:::0;49671:104::o;50707:399::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;50809:19:::1;50831:27;50840:11:::0;50831:6;:27:::1;:::i;:::-;50809:49;;48402:3;50890:11;50877:10;;:24;;;;:::i;:::-;:43;;50869:70;;;::::0;-1:-1:-1;;;50869:70:0;;10673:2:1;50869:70:0::1;::::0;::::1;10655:21:1::0;10712:2;10692:18;;;10685:30;-1:-1:-1;;;10731:18:1;;;10724:44;10785:18;;50869:70:0::1;10471:338:1::0;50869:70:0::1;50957:9;50952:109;50972:22:::0;;::::1;50952:109;;;51016:33;51026:11;;51038:1;51026:14;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;51042:6;51016:9;:33::i;:::-;50996:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50952:109;;;;51087:11;51073:10;;:25;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;50707:399:0:o;54276:114::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;54334:47:::1;::::0;54342:10:::1;::::0;54359:21:::1;54334:47:::0;::::1;;;::::0;::::1;::::0;;;54359:21;54342:10;54334:47;::::1;;;;;;54326:56;;;::::0;::::1;;54276:114::o:0;36728:185::-;36866:39;36883:4;36889:2;36893:7;36866:39;;;;;;;;;;;;:16;:39::i;52132:774::-;52222:7;52242:24;52269:35;52290:6;52298:5;52269:20;:35::i;:::-;-1:-1:-1;;;;;52374:17:0;;52317:28;52374:17;;;:9;:17;;;;;;52242:62;;-1:-1:-1;52317:28:0;52348:44;;52242:62;;52348:7;:44::i;:::-;52317:75;;52422:43;52426:16;52444:20;52422:3;:43::i;:::-;52403:62;;48502:1;52482:12;;:29;52478:202;;;52528:25;52556:38;52564:17;;52583:10;;52556:7;:38::i;:::-;52528:66;;52628:40;52632:16;52650:17;52628:3;:40::i;:::-;52609:59;;52513:167;52478:202;52692:28;52723:36;48402:3;52748:10;;52723:7;:36::i;:::-;52692:67;;52789:43;52793:16;52811:20;52789:3;:43::i;:::-;52770:62;;52852:46;52856:16;52874:23;;52852:3;:46::i;:::-;52845:53;52132:774;-1:-1:-1;;;;;;52132:774:0:o;49787:110::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;49863:20:::1;:26:::0;49787:110::o;49016:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54171:97::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;54242:18:::1;:12;54257:3:::0;;54242:18:::1;:::i;33936:124::-:0;34000:7;34027:20;34039:7;34027:11;:20::i;:::-;:25;;33936:124;-1:-1:-1;;33936:124:0:o;31111:206::-;31175:7;-1:-1:-1;;;;;31199:19:0;;31195:60;;31227:28;;-1:-1:-1;;;31227:28:0;;;;;;;;;;;31195:60;-1:-1:-1;;;;;;31281:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31281:27:0;;31111:206::o;7200:103::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;7265:30:::1;7292:1;7265:18;:30::i;51114:291::-:0;51157:7;48550:1;51181:12;;:28;51177:221;;;-1:-1:-1;51233:20:0;;;51114:291::o;51177:221::-;48502:1;51275:12;;:29;51271:127;;;-1:-1:-1;51328:17:0;;;51114:291::o;51271:127::-;-1:-1:-1;51385:1:0;;51114:291::o;50491:208::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;48402:3:::1;50584:6;50571:10;;:19;;;;:::i;:::-;:38;;50563:65;;;::::0;-1:-1:-1;;;50563:65:0;;10673:2:1;50563:65:0::1;::::0;::::1;10655:21:1::0;10712:2;10692:18;;;10685:30;-1:-1:-1;;;10731:18:1;;;10724:44;10785:18;;50563:65:0::1;10471:338:1::0;50563:65:0::1;50639:21;50649:2;50653:6;50639:9;:21::i;:::-;50685:6;50671:10;;:20;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;50491:208:0:o;34296:104::-;34352:13;34385:7;34378:14;;;;;:::i;35906:279::-;-1:-1:-1;;;;;35997:24:0;;5353:10;35997:24;35993:54;;;36030:17;;-1:-1:-1;;;36030:17:0;;;;;;;;;;;35993:54;5353:10;36060:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36060:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36060:53:0;;;;;;;;;;36129:48;;540:41:1;;;36060:42:0;;5353:10;36129:48;;513:18:1;36129:48:0;;;;;;;35906:279;;:::o;36984:369::-;37151:28;37161:4;37167:2;37171:7;37151:9;:28::i;:::-;-1:-1:-1;;;;;37194:13:0;;9545:19;:23;;37194:76;;;;;37214:56;37245:4;37251:2;37255:7;37264:5;37214:30;:56::i;:::-;37213:57;37194:76;37190:156;;;37294:40;;-1:-1:-1;;;37294:40:0;;;;;;;;;;;37190:156;36984:369;;;;:::o;53652:386::-;53770:6;53755:12;:10;:12::i;:::-;:21;;;;:::i;:::-;53742:9;:34;;53734:65;;;;-1:-1:-1;;;53734:65:0;;11288:2:1;53734:65:0;;;11270:21:1;11327:2;11307:18;;;11300:30;-1:-1:-1;;;11346:18:1;;;11339:48;11404:18;;53734:65:0;11086:342:1;53734:65:0;53828:38;53848:10;53860:5;53828:19;:38::i;:::-;53818:6;:48;;53810:105;;;;-1:-1:-1;;;53810:105:0;;11635:2:1;53810:105:0;;;11617:21:1;11674:2;11654:18;;;11647:30;11713:34;11693:18;;;11686:62;-1:-1:-1;;;11764:18:1;;;11757:42;11816:19;;53810:105:0;11433:408:1;53810:105:0;53928:29;53938:10;53950:6;53928:9;:29::i;:::-;53978:10;53968:21;;;;:9;:21;;;;;:31;;53993:6;;53968:21;:31;;53993:6;;53968:31;:::i;:::-;;;;;;;;54024:6;54010:10;;:20;;;;;;;:::i;34471:318::-;34544:13;34575:16;34583:7;34575;:16::i;:::-;34570:59;;34600:29;;-1:-1:-1;;;34600:29:0;;;;;;;;;;;34570:59;34642:21;34666:10;:8;:10::i;:::-;34642:34;;34700:7;34694:21;34719:1;34694:26;;:87;;;;;;;;;;;;;;;;;34747:7;34756:18;:7;:16;:18::i;:::-;34730:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;34694:87;34687:94;34471:318;-1:-1:-1;;;34471:318:0:o;50159:108::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;50234:19:::1;:25:::0;50159:108::o;49379:86::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;48454:1:::1;49429:12;:28:::0;49379:86::o;50029:122::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;50111:26:::1;:32:::0;50029:122::o;7458:201::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7547:22:0;::::1;7539:73;;;::::0;-1:-1:-1;;;7539:73:0;;12523:2:1;7539:73:0::1;::::0;::::1;12505:21:1::0;12562:2;12542:18;;;12535:30;12601:34;12581:18;;;12574:62;-1:-1:-1;;;12652:18:1;;;12645:36;12698:19;;7539:73:0::1;12321:402:1::0;7539:73:0::1;7623:28;7642:8;7623:18;:28::i;:::-;7458:201:::0;:::o;50387:96::-;6622:6;;-1:-1:-1;;;;;6622:6:0;5353:10;6769:23;6761:68;;;;-1:-1:-1;;;6761:68:0;;;;;;;:::i;:::-;50456:13:::1;:19:::0;50387:96::o;37608:187::-;37665:4;37708:7;49362:1;37689:26;;:53;;;;;37729:13;;37719:7;:23;37689:53;:98;;;;-1:-1:-1;;37760:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;37760:27:0;;;;37759:28;;37608:187::o;45219:196::-;45334:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45334:29:0;-1:-1:-1;;;;;45334:29:0;;;;;;;;;45379:28;;45334:24;;45379:28;;;;;;;45219:196;;;:::o;40721:2112::-;40836:35;40874:20;40886:7;40874:11;:20::i;:::-;40949:18;;40836:58;;-1:-1:-1;40907:22:0;;-1:-1:-1;;;;;40933:34:0;5353:10;-1:-1:-1;;;;;40933:34:0;;:101;;;-1:-1:-1;41001:18:0;;40984:50;;5353:10;36256:164;:::i;40984:50::-;40933:154;;;-1:-1:-1;5353:10:0;41051:20;41063:7;41051:11;:20::i;:::-;-1:-1:-1;;;;;41051:36:0;;40933:154;40907:181;;41106:17;41101:66;;41132:35;;-1:-1:-1;;;41132:35:0;;;;;;;;;;;41101:66;41204:4;-1:-1:-1;;;;;41182:26:0;:13;:18;;;-1:-1:-1;;;;;41182:26:0;;41178:67;;41217:28;;-1:-1:-1;;;41217:28:0;;;;;;;;;;;41178:67;-1:-1:-1;;;;;41260:16:0;;41256:52;;41285:23;;-1:-1:-1;;;41285:23:0;;;;;;;;;;;41256:52;41429:49;41446:1;41450:7;41459:13;:18;;;41429:8;:49::i;:::-;-1:-1:-1;;;;;41774:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;41774:31:0;;;-1:-1:-1;;;;;41774:31:0;;;-1:-1:-1;;41774:31:0;;;;;;;41820:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;41820:29:0;;;;;;;;;;;41866:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;41911:61:0;;;;-1:-1:-1;;;41956:15:0;41911:61;;;;;;;;;;;42246:11;;;42276:24;;;;;:29;42246:11;;42276:29;42272:445;;42501:13;;42487:11;:27;42483:219;;;42571:18;;;42539:24;;;:11;:24;;;;;;;;:50;;42654:28;;;;-1:-1:-1;;;;;42612:70:0;-1:-1:-1;;;42612:70:0;-1:-1:-1;;;;;;42612:70:0;;;-1:-1:-1;;;;;42539:50:0;;;42612:70;;;;;;;42483:219;41749:979;42764:7;42760:2;-1:-1:-1;;;;;42745:27:0;42754:4;-1:-1:-1;;;;;42745:27:0;;;;;;;;;;;42783:42;40825:2008;;40721:2112;;;:::o;1004:190::-;1129:4;1182;1153:25;1166:5;1173:4;1153:12;:25::i;:::-;:33;;1004:190;-1:-1:-1;;;;1004:190:0:o;37803:104::-;37872:27;37882:2;37886:8;37872:27;;;;;;;;;;;;:9;:27::i;:::-;37803:104;;:::o;51966:158::-;52028:7;52056:1;52052;:5;52048:46;;;-1:-1:-1;52081:1:0;52074:8;;52048:46;52111:5;52115:1;52111;:5;:::i;54402:106::-;54460:7;54491:1;54487;:5;:13;;54499:1;54487:13;;;-1:-1:-1;54495:1:0;;54402:106;-1:-1:-1;54402:106:0:o;32766:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;32876:7:0;;49362:1;32925:23;;:47;;;;;32959:13;;32952:4;:20;32925:47;32921:886;;;32993:31;33027:17;;;:11;:17;;;;;;;;;32993:51;;;;;;;;;-1:-1:-1;;;;;32993:51:0;;;;-1:-1:-1;;;32993:51:0;;-1:-1:-1;;;;;32993:51:0;;;;;;;;-1:-1:-1;;;32993:51:0;;;;;;;;;;;;;;33063:729;;33113:14;;-1:-1:-1;;;;;33113:28:0;;33109:101;;33177:9;32766:1108;-1:-1:-1;;;32766:1108:0:o;33109:101::-;-1:-1:-1;;;33552:6:0;33597:17;;;;:11;:17;;;;;;;;;33585:29;;;;;;;;;-1:-1:-1;;;;;33585:29:0;;;;;-1:-1:-1;;;33585:29:0;;-1:-1:-1;;;;;33585:29:0;;;;;;;;-1:-1:-1;;;33585:29:0;;;;;;;;;;;;;33645:28;33641:109;;33713:9;32766:1108;-1:-1:-1;;;32766:1108:0:o;33641:109::-;33512:261;;;32974:833;32921:886;33835:31;;-1:-1:-1;;;33835:31:0;;;;;;;;;;;7819:191;7912:6;;;-1:-1:-1;;;;;7929:17:0;;;-1:-1:-1;;;;;;7929:17:0;;;;;;;7962:40;;7912:6;;;7929:17;7912:6;;7962:40;;7893:16;;7962:40;7882:128;7819:191;:::o;45907:667::-;46091:72;;-1:-1:-1;;;46091:72:0;;46070:4;;-1:-1:-1;;;;;46091:36:0;;;;;:72;;5353:10;;46142:4;;46148:7;;46157:5;;46091:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46091:72:0;;;;;;;;-1:-1:-1;;46091:72:0;;;;;;;;;;;;:::i;:::-;;;46087:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46325:13:0;;46321:235;;46371:40;;-1:-1:-1;;;46371:40:0;;;;;;;;;;;46321:235;46514:6;46508:13;46499:6;46495:2;46491:15;46484:38;46087:480;-1:-1:-1;;;;;;46210:55:0;-1:-1:-1;;;46210:55:0;;-1:-1:-1;46087:480:0;45907:667;;;;;;:::o;54046:114::-;54107:13;54140:12;54133:19;;;;;:::i;2835:723::-;2891:13;3112:10;3108:53;;-1:-1:-1;;3139:10:0;;;;;;;;;;;;-1:-1:-1;;;3139:10:0;;;;;2835:723::o;3108:53::-;3186:5;3171:12;3227:78;3234:9;;3227:78;;3260:8;;;;:::i;:::-;;-1:-1:-1;3283:10:0;;-1:-1:-1;3291:2:0;3283:10;;:::i;:::-;;;3227:78;;;3315:19;3347:6;-1:-1:-1;;;;;3337:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3337:17:0;;3315:39;;3365:154;3372:10;;3365:154;;3399:11;3409:1;3399:11;;:::i;:::-;;-1:-1:-1;3468:10:0;3476:2;3468:5;:10;:::i;:::-;3455:24;;:2;:24;:::i;:::-;3442:39;;3425:6;3432;3425:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3425:56:0;;;;;;;;-1:-1:-1;3496:11:0;3505:2;3496:11;;:::i;:::-;;;3365:154;;1556:675;1639:7;1682:4;1639:7;1697:497;1721:5;:12;1717:1;:16;1697:497;;;1755:20;1778:5;1784:1;1778:8;;;;;;;;:::i;:::-;;;;;;;1755:31;;1821:12;1805;:28;1801:382;;2307:13;2357:15;;;2393:4;2386:15;;;2440:4;2424:21;;1933:57;;1801:382;;;2307:13;2357:15;;;2393:4;2386:15;;;2440:4;2424:21;;2110:57;;1801:382;-1:-1:-1;1735:3:0;;;;:::i;:::-;;;;1697:497;;;-1:-1:-1;2211:12:0;1556:675;-1:-1:-1;;;1556:675:0:o;38270:163::-;38393:32;38399:2;38403:8;38413:5;38420:4;38831:20;38854:13;-1:-1:-1;;;;;38882:16:0;;38878:48;;38907:19;;-1:-1:-1;;;38907:19:0;;;;;;;;;;;38878:48;38941:13;38937:44;;38963:18;;-1:-1:-1;;;38963:18:0;;;;;;;;;;;38937:44;-1:-1:-1;;;;;39332:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39391:49:0;;-1:-1:-1;;;;;39332:44:0;;;;;;;39391:49;;;;-1:-1:-1;;39332:44:0;;;;;;39391:49;;;;;;;;;;;;;;;;39457:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39507:66:0;;;;-1:-1:-1;;;39557:15:0;39507:66;;;;;;;;;;39457:25;39654:23;;;39698:4;:23;;;;-1:-1:-1;;;;;;39706:13:0;;9545:19;:23;;39706:15;39694:641;;;39742:314;39773:38;;39798:12;;-1:-1:-1;;;;;39773:38:0;;;39790:1;;39773:38;;39790:1;;39773:38;39839:69;39878:1;39882:2;39886:14;;;;;;39902:5;39839:30;:69::i;:::-;39834:174;;39944:40;;-1:-1:-1;;;39944:40:0;;;;;;;;;;;39834:174;40051:3;40035:12;:19;;39742:314;;40137:12;40120:13;;:29;40116:43;;40151:8;;;40116:43;39694:641;;;40200:120;40231:40;;40256:14;;;;;-1:-1:-1;;;;;40231:40:0;;;40248:1;;40231:40;;40248:1;;40231:40;40315:3;40299:12;:19;;40200:120;;39694:641;-1:-1:-1;40349:13:0;:28;40399:60;36984:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::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:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:127::-;2749:10;2744:3;2740:20;2737:1;2730:31;2780:4;2777:1;2770:15;2804:4;2801:1;2794:15;2820:275;2891:2;2885:9;2956:2;2937:13;;-1:-1:-1;;2933:27:1;2921:40;;-1:-1:-1;;;;;2976:34:1;;3012:22;;;2973:62;2970:88;;;3038:18;;:::i;:::-;3074:2;3067:22;2820:275;;-1:-1:-1;2820:275:1:o;3100:712::-;3154:5;3207:3;3200:4;3192:6;3188:17;3184:27;3174:55;;3225:1;3222;3215:12;3174:55;3261:6;3248:20;3287:4;-1:-1:-1;;;;;3306:2:1;3303:26;3300:52;;;3332:18;;:::i;:::-;3378:2;3375:1;3371:10;3401:28;3425:2;3421;3417:11;3401:28;:::i;:::-;3463:15;;;3533;;;3529:24;;;3494:12;;;;3565:15;;;3562:35;;;3593:1;3590;3583:12;3562:35;3629:2;3621:6;3617:15;3606:26;;3641:142;3657:6;3652:3;3649:15;3641:142;;;3723:17;;3711:30;;3674:12;;;;3761;;;;3641:142;;;3801:5;3100:712;-1:-1:-1;;;;;;;3100:712:1:o;3817:422::-;3910:6;3918;3971:2;3959:9;3950:7;3946:23;3942:32;3939:52;;;3987:1;3984;3977:12;3939:52;4010:29;4029:9;4010:29;:::i;:::-;4000:39;;4090:2;4079:9;4075:18;4062:32;-1:-1:-1;;;;;4109:6:1;4106:30;4103:50;;;4149:1;4146;4139:12;4103:50;4172:61;4225:7;4216:6;4205:9;4201:22;4172:61;:::i;:::-;4162:71;;;3817:422;;;;;:::o;5110:683::-;5205:6;5213;5221;5274:2;5262:9;5253:7;5249:23;5245:32;5242:52;;;5290:1;5287;5280:12;5242:52;5326:9;5313:23;5303:33;;5387:2;5376:9;5372:18;5359:32;-1:-1:-1;;;;;5451:2:1;5443:6;5440:14;5437:34;;;5467:1;5464;5457:12;5437:34;5505:6;5494:9;5490:22;5480:32;;5550:7;5543:4;5539:2;5535:13;5531:27;5521:55;;5572:1;5569;5562:12;5521:55;5612:2;5599:16;5638:2;5630:6;5627:14;5624:34;;;5654:1;5651;5644:12;5624:34;5707:7;5702:2;5692:6;5689:1;5685:14;5681:2;5677:23;5673:32;5670:45;5667:65;;;5728:1;5725;5718:12;5667:65;5759:2;5755;5751:11;5741:21;;5781:6;5771:16;;;;;5110:683;;;;;:::o;5798:186::-;5857:6;5910:2;5898:9;5889:7;5885:23;5881:32;5878:52;;;5926:1;5923;5916:12;5878:52;5949:29;5968:9;5949:29;:::i;5989:592::-;6060:6;6068;6121:2;6109:9;6100:7;6096:23;6092:32;6089:52;;;6137:1;6134;6127:12;6089:52;6177:9;6164:23;-1:-1:-1;;;;;6247:2:1;6239:6;6236:14;6233:34;;;6263:1;6260;6253:12;6233:34;6301:6;6290:9;6286:22;6276:32;;6346:7;6339:4;6335:2;6331:13;6327:27;6317:55;;6368:1;6365;6358:12;6317:55;6408:2;6395:16;6434:2;6426:6;6423:14;6420:34;;;6450:1;6447;6440:12;6420:34;6495:7;6490:2;6481:6;6477:2;6473:15;6469:24;6466:37;6463:57;;;6516:1;6513;6506:12;6463:57;6547:2;6539:11;;;;;6569:6;;-1:-1:-1;5989:592:1;;-1:-1:-1;;;;5989:592:1:o;6586:254::-;6654:6;6662;6715:2;6703:9;6694:7;6690:23;6686:32;6683:52;;;6731:1;6728;6721:12;6683:52;6767:9;6754:23;6744:33;;6796:38;6830:2;6819:9;6815:18;6796:38;:::i;:::-;6786:48;;6586:254;;;;;:::o;6845:347::-;6910:6;6918;6971:2;6959:9;6950:7;6946:23;6942:32;6939:52;;;6987:1;6984;6977:12;6939:52;7010:29;7029:9;7010:29;:::i;:::-;7000:39;;7089:2;7078:9;7074:18;7061:32;7136:5;7129:13;7122:21;7115:5;7112:32;7102:60;;7158:1;7155;7148:12;7102:60;7181:5;7171:15;;;6845:347;;;;;:::o;7197:980::-;7292:6;7300;7308;7316;7369:3;7357:9;7348:7;7344:23;7340:33;7337:53;;;7386:1;7383;7376:12;7337:53;7409:29;7428:9;7409:29;:::i;:::-;7399:39;;7457:2;7478:38;7512:2;7501:9;7497:18;7478:38;:::i;:::-;7468:48;;7563:2;7552:9;7548:18;7535:32;7525:42;;7618:2;7607:9;7603:18;7590:32;-1:-1:-1;;;;;7682:2:1;7674:6;7671:14;7668:34;;;7698:1;7695;7688:12;7668:34;7736:6;7725:9;7721:22;7711:32;;7781:7;7774:4;7770:2;7766:13;7762:27;7752:55;;7803:1;7800;7793:12;7752:55;7839:2;7826:16;7861:2;7857;7854:10;7851:36;;;7867:18;;:::i;:::-;7909:53;7952:2;7933:13;;-1:-1:-1;;7929:27:1;7925:36;;7909:53;:::i;:::-;7896:66;;7985:2;7978:5;7971:17;8025:7;8020:2;8015;8011;8007:11;8003:20;8000:33;7997:53;;;8046:1;8043;8036:12;7997:53;8101:2;8096;8092;8088:11;8083:2;8076:5;8072:14;8059:45;8145:1;8140:2;8135;8128:5;8124:14;8120:23;8113:34;;8166:5;8156:15;;;;;7197:980;;;;;;;:::o;8182:416::-;8275:6;8283;8336:2;8324:9;8315:7;8311:23;8307:32;8304:52;;;8352:1;8349;8342:12;8304:52;8388:9;8375:23;8365:33;;8449:2;8438:9;8434:18;8421:32;-1:-1:-1;;;;;8468:6:1;8465:30;8462:50;;;8508:1;8505;8498:12;8603:260;8671:6;8679;8732:2;8720:9;8711:7;8707:23;8703:32;8700:52;;;8748:1;8745;8738:12;8700:52;8771:29;8790:9;8771:29;:::i;:::-;8761:39;;8819:38;8853:2;8842:9;8838:18;8819:38;:::i;9053:356::-;9255:2;9237:21;;;9274:18;;;9267:30;9333:34;9328:2;9313:18;;9306:62;9400:2;9385:18;;9053:356::o;9414:380::-;9493:1;9489:12;;;;9536;;;9557:61;;9611:4;9603:6;9599:17;9589:27;;9557:61;9664:2;9656:6;9653:14;9633:18;9630:38;9627:161;;;9710:10;9705:3;9701:20;9698:1;9691:31;9745:4;9742:1;9735:15;9773:4;9770:1;9763:15;9627:161;;9414:380;;;:::o;10033:127::-;10094:10;10089:3;10085:20;10082:1;10075:31;10125:4;10122:1;10115:15;10149:4;10146:1;10139:15;10165:168;10205:7;10271:1;10267;10263:6;10259:14;10256:1;10253:21;10248:1;10241:9;10234:17;10230:45;10227:71;;;10278:18;;:::i;:::-;-1:-1:-1;10318:9:1;;10165:168::o;10338:128::-;10378:3;10409:1;10405:6;10402:1;10399:13;10396:39;;;10415:18;;:::i;:::-;-1:-1:-1;10451:9:1;;10338:128::o;10814:127::-;10875:10;10870:3;10866:20;10863:1;10856:31;10906:4;10903:1;10896:15;10930:4;10927:1;10920:15;10946:135;10985:3;-1:-1:-1;;11006:17:1;;11003:43;;;11026:18;;:::i;:::-;-1:-1:-1;11073:1:1;11062:13;;10946:135::o;11846:470::-;12025:3;12063:6;12057:13;12079:53;12125:6;12120:3;12113:4;12105:6;12101:17;12079:53;:::i;:::-;12195:13;;12154:16;;;;12217:57;12195:13;12154:16;12251:4;12239:17;;12217:57;:::i;:::-;12290:20;;11846:470;-1:-1:-1;;;;11846:470:1:o;12728:125::-;12768:4;12796:1;12793;12790:8;12787:34;;;12801:18;;:::i;:::-;-1:-1:-1;12838:9:1;;12728:125::o;12858:489::-;-1:-1:-1;;;;;13127:15:1;;;13109:34;;13179:15;;13174:2;13159:18;;13152:43;13226:2;13211:18;;13204:34;;;13274:3;13269:2;13254:18;;13247:31;;;13052:4;;13295:46;;13321:19;;13313:6;13295:46;:::i;13352:249::-;13421:6;13474:2;13462:9;13453:7;13449:23;13445:32;13442:52;;;13490:1;13487;13480:12;13442:52;13522:9;13516:16;13541:30;13565:5;13541:30;:::i;13606:127::-;13667:10;13662:3;13658:20;13655:1;13648:31;13698:4;13695:1;13688:15;13722:4;13719:1;13712:15;13738:120;13778:1;13804;13794:35;;13809:18;;:::i;:::-;-1:-1:-1;13843:9:1;;13738:120::o;13863:112::-;13895:1;13921;13911:35;;13926:18;;:::i;:::-;-1:-1:-1;13960:9:1;;13863:112::o

Swarm Source

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