ETH Price: $3,095.10 (+0.74%)
Gas: 3 Gwei

Token

NOMIG0S (NOMIG0S)
 

Overview

Max Total Supply

4,444 NOMIG0S

Holders

851

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
dzonson.eth
Balance
36 NOMIG0S
0x53Eaa0d7F5e43d47B0b0E30B283E923601Eaa80B
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:
NOMIG0S

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-21
*/

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

//      _   ______  __  _________________  _____
//     / | / / __ \/  |/  /  _/ ____/ __ \/ ___/
//    /  |/ / / / / /|_/ // // / __/ / / /\__ \ 
//   / /|  / /_/ / /  / // // /_/ / /_/ /___/ / 
//  /_/ |_/\____/_/  /_/___/\____/\____//____/  


/**
 * @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;
    }
}
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);
    }
}
pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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);
            }
        }
    }
}
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);
}
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);
}
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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
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;
    }
}
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;
}
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);
}
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);
}
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 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 = 1;

    // 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_;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex times
        unchecked {
            return (_currentIndex - _burnCounter) - 1;    
        }
    }

    /**
     * @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 (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 (!_checkOnERC721Received(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 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;

            for (uint256 i; i < quantity; i++) {
                emit Transfer(address(0), to, updatedIndex);
                if (safe && !_checkOnERC721Received(address(0), to, updatedIndex, _data)) {
                    revert TransferToNonERC721ReceiverImplementer();
                }
                updatedIndex++;
            }

            _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 address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            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))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n � 2 + 1, and for v in (302): v ? {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

contract NOMIG0S is Ownable, ERC721A {

    uint256 public walletMax = 8;
    using Strings for uint256;

    mapping(uint256 => string) private _tokenURIs;
    bool public publicSaleOpen = false;
    bool public isBaseURIFrozen;
    string public baseURI = "ipfs://bafybeify3z5ruekenlw4leyusrsherghy3b2wg3k3p6ywvuvx4ilfeb3xu/";
    string public _extension = ".json";
    uint256 public price = 0.0005 ether;
    uint256 public maxSupply = 15000;
    uint256 public MAX_FREE_PER_WALLET = 4;
 
    constructor() ERC721A("NOMIG0S", "NOMIG0S"){
        isBaseURIFrozen = false;
    }
    
    function freeMintNFT(uint256 _quantity) public payable {
        require(publicSaleOpen, "Minting not started!");
        require(_quantity > 0 && _quantity <= walletMax, "Wallet full, check max per wallet!");
        require(totalSupply() + _quantity <= maxSupply, "Reached max supply!");
        require(msg.value == 0 * _quantity, "You must send 0 ETH!");
        require(getMintedCount(msg.sender) + _quantity <= walletMax, "Exceeded max minting amount!");
        require(getMintedCount(msg.sender) + _quantity <= MAX_FREE_PER_WALLET, "Exceeded max free per wallet");
         
        _safeMint(msg.sender, _quantity);

    }

    function paidMintNFT(uint256 _quantity) public payable {
        require(publicSaleOpen, "Minting not started!");
        require(_quantity > 0 && _quantity <= walletMax, "Wallet full, check max per wallet!");
        require(totalSupply() + _quantity <= maxSupply, "Reached max supply!");
        require(msg.value == price * _quantity, "You must send more ETH!");
        require(getMintedCount(msg.sender) + _quantity <= walletMax, "Exceeded max minting amount!");
        
        _safeMint(msg.sender, _quantity);

    }

    modifier baseURINotFrozen() {
        require(!isBaseURIFrozen, "BaseURI is frozen and cannot be changed");
        _;
    }

    function lockBaseURI() onlyOwner public onlyOwner() {
        // This function can be called by the owner to freeze baseURI
        isBaseURIFrozen = true;
    }

    function InitializeOS() public onlyOwner() {
        // Called by the owner to mint 1 NFT to set OS page
        require(totalSupply() + 1 <= maxSupply, "Reached max supply!");
        require(getMintedCount(msg.sender) < 1, "Max 1 to owner!");
        _safeMint(msg.sender, 1);

    }

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

        return string(abi.encodePacked(baseURI, _tokenId.toString(), _extension));
    }

    function updateBaseURI(string memory _newBaseURI) onlyOwner baseURINotFrozen public {
        baseURI = _newBaseURI;
    }
    function updateExtension(string memory _temp) onlyOwner public {
        _extension = _temp;
    }

    function getBaseURI() external view returns(string memory) {
        return baseURI;
    }

    function setPrice(uint256 _price) public onlyOwner() {
        price = _price;
    }
    function setWalletMaxs(uint256 _walletMax) public onlyOwner() {
        walletMax = _walletMax;
    }

    function setmaxSupply(uint256 _supply) public onlyOwner() {
        require(_supply <= 15000, "Error: New max can not be higher than original max.");
        maxSupply = _supply;
    }

    function toggleSale() public onlyOwner() {
        publicSaleOpen = !publicSaleOpen;
    }

    function getBalance() public view returns(uint) {
        return address(this).balance;
    }

    function getMintedCount(address owner) public view returns (uint256) {
    return _numberMinted(owner);
    } 

    function withdraw() external onlyOwner {
        uint _balance = address(this).balance;
        payable(owner()).transfer(_balance); //Owner
    }

    function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
        return ownershipOf(tokenId);
    }
    
    receive() external payable {}
}

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":"MintedQueryForZeroAddress","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"},{"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":"InitializeOS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_extension","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"freeMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getMintedCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseURIFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"paidMintNFT","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_walletMax","type":"uint256"}],"name":"setWalletMaxs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setmaxSupply","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":"toggleSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_temp","type":"string"}],"name":"updateExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"walletMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600180556008600955600b805460ff1916905561010060405260436080818152906200249060a039600c9062000036908262000204565b50604080518082019091526005815264173539b7b760d91b6020820152600d9062000062908262000204565b506601c6bf52634000600e55613a98600f55600460105534801562000085575f80fd5b50604051806040016040528060078152602001664e4f4d4947305360c81b815250604051806040016040528060078152602001664e4f4d4947305360c81b815250620000e0620000da6200011160201b60201c565b62000115565b6003620000ee838262000204565b506004620000fd828262000204565b5050600b805461ff001916905550620002cc565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200018d57607f821691505b602082108103620001ac57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620001ff575f81815260208120601f850160051c81016020861015620001da5750805b601f850160051c820191505b81811015620001fb57828155600101620001e6565b5050505b505050565b81516001600160401b0381111562000220576200022062000164565b620002388162000231845462000178565b84620001b2565b602080601f8311600181146200026e575f8415620002565750858301515b5f19600386901b1c1916600185901b178555620001fb565b5f85815260208120601f198616915b828110156200029e578886015182559484019460019091019084016200027d565b5085821015620002bc57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6121b680620002da5f395ff3fe608060405260043610610236575f3560e01c80637d8966e411610129578063a035b1fe116100a8578063e985e9c51161006d578063e985e9c51461064e578063f29c7ff31461066d578063f2fde38b14610680578063f9e237991461069f578063fe314524146106b8575f80fd5b8063a035b1fe146105c7578063a22cb465146105dc578063b88d4fde146105fb578063c87b56dd1461061a578063d5abeb0114610639575f80fd5b8063931688cb116100ee578063931688cb1461054257806395d89b411461056157806397d6696b1461057557806398710d1e146105945780639ca89fad146105a9575f80fd5b80637d8966e41461047f5780637e6182d9146104935780638da5cb5b146104b257806391b7f5ed146104ce5780639231ab2a146104ed575f80fd5b80633ccfd60b116101b55780636c0360eb1161017a5780636c0360eb1461041057806370a0823114610424578063714c539814610443578063715018a6146104575780637a8e2e951461046b575f80fd5b80633ccfd60b1461038b57806342842e0e1461039f57806353df5c7c146103be5780635c0017c2146103d25780636352211e146103f1575f80fd5b806318160ddd116101fb57806318160ddd1461030a578063228025e81461032657806323b872dd146103455780633ae1dd9d146103645780633cca0d9914610378575f80fd5b806301ffc9a71461024157806306fdde0314610275578063081812fc14610296578063095ea7b3146102cd57806312065fe0146102ee575f80fd5b3661023d57005b5f80fd5b34801561024c575f80fd5b5061026061025b366004611b16565b6106cd565b60405190151581526020015b60405180910390f35b348015610280575f80fd5b5061028961071e565b60405161026c9190611b85565b3480156102a1575f80fd5b506102b56102b0366004611b97565b6107ae565b6040516001600160a01b03909116815260200161026c565b3480156102d8575f80fd5b506102ec6102e7366004611bc9565b6107f0565b005b3480156102f9575f80fd5b50475b60405190815260200161026c565b348015610315575f80fd5b506102fc600254600154035f190190565b348015610331575f80fd5b506102ec610340366004611b97565b61087c565b348015610350575f80fd5b506102ec61035f366004611bf1565b610921565b34801561036f575f80fd5b5061028961092c565b6102ec610386366004611b97565b6109b8565b348015610396575f80fd5b506102ec610b38565b3480156103aa575f80fd5b506102ec6103b9366004611bf1565b610bac565b3480156103c9575f80fd5b506102ec610bc6565b3480156103dd575f80fd5b506102ec6103ec366004611b97565b610c29565b3480156103fc575f80fd5b506102b561040b366004611b97565b610c57565b34801561041b575f80fd5b50610289610c68565b34801561042f575f80fd5b506102fc61043e366004611c2a565b610c75565b34801561044e575f80fd5b50610289610cc1565b348015610462575f80fd5b506102ec610cd0565b348015610476575f80fd5b506102ec610d04565b34801561048a575f80fd5b506102ec610dbe565b34801561049e575f80fd5b506102ec6104ad366004611cc9565b610dfb565b3480156104bd575f80fd5b505f546001600160a01b03166102b5565b3480156104d9575f80fd5b506102ec6104e8366004611b97565b610e30565b3480156104f8575f80fd5b5061050c610507366004611b97565b610e5e565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161026c565b34801561054d575f80fd5b506102ec61055c366004611cc9565b610e83565b34801561056c575f80fd5b50610289610f20565b348015610580575f80fd5b506102fc61058f366004611c2a565b610f2f565b34801561059f575f80fd5b506102fc60105481565b3480156105b4575f80fd5b50600b5461026090610100900460ff1681565b3480156105d2575f80fd5b506102fc600e5481565b3480156105e7575f80fd5b506102ec6105f6366004611d0d565b610f39565b348015610606575f80fd5b506102ec610615366004611d46565b610fcd565b348015610625575f80fd5b50610289610634366004611b97565b611007565b348015610644575f80fd5b506102fc600f5481565b348015610659575f80fd5b50610260610668366004611dbc565b6110a8565b6102ec61067b366004611b97565b6110d5565b34801561068b575f80fd5b506102ec61069a366004611c2a565b6112a0565b3480156106aa575f80fd5b50600b546102609060ff1681565b3480156106c3575f80fd5b506102fc60095481565b5f6001600160e01b031982166380ac58cd60e01b14806106fd57506001600160e01b03198216635b5e139f60e01b145b8061071857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461072d90611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461075990611ded565b80156107a45780601f1061077b576101008083540402835291602001916107a4565b820191905f5260205f20905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b5f6107b882611337565b6107d5576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6107fa82610c57565b9050806001600160a01b0316836001600160a01b03160361082e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061084e575061084c81336110a8565b155b1561086c576040516367d9dca160e11b815260040160405180910390fd5b610877838383611361565b505050565b5f546001600160a01b031633146108ae5760405162461bcd60e51b81526004016108a590611e25565b60405180910390fd5b613a9881111561091c5760405162461bcd60e51b815260206004820152603360248201527f4572726f723a204e6577206d61782063616e206e6f7420626520686967686572604482015272103a3430b71037b934b3b4b730b61036b0bc1760691b60648201526084016108a5565b600f55565b6108778383836113bc565b600d805461093990611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461096590611ded565b80156109b05780601f10610987576101008083540402835291602001916109b0565b820191905f5260205f20905b81548152906001019060200180831161099357829003601f168201915b505050505081565b600b5460ff16610a015760405162461bcd60e51b81526020600482015260146024820152734d696e74696e67206e6f7420737461727465642160601b60448201526064016108a5565b5f81118015610a1257506009548111155b610a2e5760405162461bcd60e51b81526004016108a590611e5a565b600f5481610a42600254600154035f190190565b610a4c9190611eb0565b1115610a6a5760405162461bcd60e51b81526004016108a590611ec3565b80600e54610a789190611ef0565b3414610ac65760405162461bcd60e51b815260206004820152601760248201527f596f75206d7573742073656e64206d6f7265204554482100000000000000000060448201526064016108a5565b60095481610ad333610f2f565b610add9190611eb0565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e74210000000060448201526064016108a5565b610b3533826115c8565b50565b5f546001600160a01b03163314610b615760405162461bcd60e51b81526004016108a590611e25565b47610b735f546001600160a01b031690565b6001600160a01b03166108fc8290811502906040515f60405180830381858888f19350505050158015610ba8573d5f803e3d5ffd5b5050565b61087783838360405180602001604052805f815250610fcd565b5f546001600160a01b03163314610bef5760405162461bcd60e51b81526004016108a590611e25565b5f546001600160a01b03163314610c185760405162461bcd60e51b81526004016108a590611e25565b600b805461ff001916610100179055565b5f546001600160a01b03163314610c525760405162461bcd60e51b81526004016108a590611e25565b600955565b5f610c61826115e1565b5192915050565b600c805461093990611ded565b5f6001600160a01b038216610c9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600660205260409020546001600160401b031690565b6060600c805461072d90611ded565b5f546001600160a01b03163314610cf95760405162461bcd60e51b81526004016108a590611e25565b610d025f6116f8565b565b5f546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016108a590611e25565b600f54610d40600254600154035f190190565b610d4b906001611eb0565b1115610d695760405162461bcd60e51b81526004016108a590611ec3565b6001610d7433610f2f565b10610db35760405162461bcd60e51b815260206004820152600f60248201526e4d6178203120746f206f776e65722160881b60448201526064016108a5565b610d023360016115c8565b5f546001600160a01b03163314610de75760405162461bcd60e51b81526004016108a590611e25565b600b805460ff19811660ff90911615179055565b5f546001600160a01b03163314610e245760405162461bcd60e51b81526004016108a590611e25565b600d610ba88282611f54565b5f546001600160a01b03163314610e595760405162461bcd60e51b81526004016108a590611e25565b600e55565b604080516060810182525f8082526020820181905291810191909152610718826115e1565b5f546001600160a01b03163314610eac5760405162461bcd60e51b81526004016108a590611e25565b600b54610100900460ff1615610f145760405162461bcd60e51b815260206004820152602760248201527f426173655552492069732066726f7a656e20616e642063616e6e6f742062652060448201526618da185b99d95960ca1b60648201526084016108a5565b600c610ba88282611f54565b60606004805461072d90611ded565b5f61071882611747565b336001600160a01b03831603610f625760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd88484846113bc565b610fe48484848461179a565b611001576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061101282611337565b6110735760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108a5565b600c61107e83611899565b600d6040516020016110929392919061207e565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b600b5460ff1661111e5760405162461bcd60e51b81526020600482015260146024820152734d696e74696e67206e6f7420737461727465642160601b60448201526064016108a5565b5f8111801561112f57506009548111155b61114b5760405162461bcd60e51b81526004016108a590611e5a565b600f548161115f600254600154035f190190565b6111699190611eb0565b11156111875760405162461bcd60e51b81526004016108a590611ec3565b611191815f611ef0565b34146111d65760405162461bcd60e51b8152602060048201526014602482015273596f75206d7573742073656e642030204554482160601b60448201526064016108a5565b600954816111e333610f2f565b6111ed9190611eb0565b111561123b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e74210000000060448201526064016108a5565b6010548161124833610f2f565b6112529190611eb0565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d61782066726565207065722077616c6c65740000000060448201526064016108a5565b5f546001600160a01b031633146112c95760405162461bcd60e51b81526004016108a590611e25565b6001600160a01b03811661132e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b610b35816116f8565b5f600154821080156107185750505f90815260056020526040902054600160e01b900460ff161590565b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6113c6826115e1565b80519091505f906001600160a01b0316336001600160a01b031614806113f3575081516113f390336110a8565b8061140e575033611403846107ae565b6001600160a01b0316145b90508061142e57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b0316825f01516001600160a01b0316146114625760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661148957604051633a954ecd60e21b815260040160405180910390fd5b6114975f84845f0151611361565b6001600160a01b038581165f908152600660209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661157e5760015481101561157e5782515f8281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610ba8828260405180602001604052805f815250611995565b604080516060810182525f808252602082018190529181019190915260015482908110156116df575f81815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116dd5780516001600160a01b031615611676579392505050565b505f19015f81815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156116d8579392505050565b611676565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6001600160a01b03821661176f576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b03165f90815260066020526040902054600160401b90046001600160401b031690565b5f6001600160a01b0384163b1561188d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117dd9033908990889088906004016120b0565b6020604051808303815f875af1925050508015611817575060408051601f3d908101601f19168201909252611814918101906120ec565b60015b611873573d808015611844576040519150601f19603f3d011682016040523d82523d5f602084013e611849565b606091505b5080515f0361186b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611891565b5060015b949350505050565b6060815f036118bf5750506040805180820190915260018152600360fc1b602082015290565b815f5b81156118e857806118d281612107565b91506118e19050600a83612133565b91506118c2565b5f816001600160401b0381111561190157611901611c43565b6040519080825280601f01601f19166020018201604052801561192b576020820181803683370190505b5090505b841561189157611940600183612146565b915061194d600a86612159565b611958906030611eb0565b60f81b81838151811061196d5761196d61216c565b60200101906001600160f81b03191690815f1a90535061198e600a86612133565b945061192f565b610877838383600180546001600160a01b0385166119c557604051622e076360e81b815260040160405180910390fd5b835f036119e55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611af85760405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611ace5750611acc5f88848861179a565b155b15611aec576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611a79565b506001556115c1565b6001600160e01b031981168114610b35575f80fd5b5f60208284031215611b26575f80fd5b8135611b3181611b01565b9392505050565b5f5b83811015611b52578181015183820152602001611b3a565b50505f910152565b5f8151808452611b71816020860160208601611b38565b601f01601f19169290920160200192915050565b602081525f611b316020830184611b5a565b5f60208284031215611ba7575f80fd5b5035919050565b80356001600160a01b0381168114611bc4575f80fd5b919050565b5f8060408385031215611bda575f80fd5b611be383611bae565b946020939093013593505050565b5f805f60608486031215611c03575f80fd5b611c0c84611bae565b9250611c1a60208501611bae565b9150604084013590509250925092565b5f60208284031215611c3a575f80fd5b611b3182611bae565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b0380841115611c7057611c70611c43565b604051601f8501601f19908116603f01168101908282118183101715611c9857611c98611c43565b81604052809350858152868686011115611cb0575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611cd9575f80fd5b81356001600160401b03811115611cee575f80fd5b8201601f81018413611cfe575f80fd5b61189184823560208401611c57565b5f8060408385031215611d1e575f80fd5b611d2783611bae565b915060208301358015158114611d3b575f80fd5b809150509250929050565b5f805f8060808587031215611d59575f80fd5b611d6285611bae565b9350611d7060208601611bae565b92506040850135915060608501356001600160401b03811115611d91575f80fd5b8501601f81018713611da1575f80fd5b611db087823560208401611c57565b91505092959194509250565b5f8060408385031215611dcd575f80fd5b611dd683611bae565b9150611de460208401611bae565b90509250929050565b600181811c90821680611e0157607f821691505b602082108103611e1f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f57616c6c65742066756c6c2c20636865636b206d6178207065722077616c6c65604082015261742160f01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561071857610718611e9c565b60208082526013908201527252656163686564206d617820737570706c792160681b604082015260600190565b808202811582820484141761071857610718611e9c565b601f821115610877575f81815260208120601f850160051c81016020861015611f2d5750805b601f850160051c820191505b81811015611f4c57828155600101611f39565b505050505050565b81516001600160401b03811115611f6d57611f6d611c43565b611f8181611f7b8454611ded565b84611f07565b602080601f831160018114611fb4575f8415611f9d5750858301515b5f19600386901b1c1916600185901b178555611f4c565b5f85815260208120601f198616915b82811015611fe257888601518255948401946001909101908401611fc3565b5085821015611fff57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f815461201b81611ded565b60018281168015612033576001811461204857612074565b60ff1984168752821515830287019450612074565b855f526020805f205f5b8581101561206b5781548a820152908401908201612052565b50505082870194505b5050505092915050565b5f612089828661200f565b8451612099818360208901611b38565b6120a58183018661200f565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906120e290830184611b5a565b9695505050505050565b5f602082840312156120fc575f80fd5b8151611b3181611b01565b5f6001820161211857612118611e9c565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826121415761214161211f565b500490565b8181038181111561071857610718611e9c565b5f826121675761216761211f565b500690565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205f624be10a8c475307a94b39ce29b98c6442388c859267025c07951f4dafd40064736f6c63430008150033697066733a2f2f626166796265696679337a357275656b656e6c77346c6579757372736865726768793362327767336b33703679777675767834696c6665623378752f

Deployed Bytecode

0x608060405260043610610236575f3560e01c80637d8966e411610129578063a035b1fe116100a8578063e985e9c51161006d578063e985e9c51461064e578063f29c7ff31461066d578063f2fde38b14610680578063f9e237991461069f578063fe314524146106b8575f80fd5b8063a035b1fe146105c7578063a22cb465146105dc578063b88d4fde146105fb578063c87b56dd1461061a578063d5abeb0114610639575f80fd5b8063931688cb116100ee578063931688cb1461054257806395d89b411461056157806397d6696b1461057557806398710d1e146105945780639ca89fad146105a9575f80fd5b80637d8966e41461047f5780637e6182d9146104935780638da5cb5b146104b257806391b7f5ed146104ce5780639231ab2a146104ed575f80fd5b80633ccfd60b116101b55780636c0360eb1161017a5780636c0360eb1461041057806370a0823114610424578063714c539814610443578063715018a6146104575780637a8e2e951461046b575f80fd5b80633ccfd60b1461038b57806342842e0e1461039f57806353df5c7c146103be5780635c0017c2146103d25780636352211e146103f1575f80fd5b806318160ddd116101fb57806318160ddd1461030a578063228025e81461032657806323b872dd146103455780633ae1dd9d146103645780633cca0d9914610378575f80fd5b806301ffc9a71461024157806306fdde0314610275578063081812fc14610296578063095ea7b3146102cd57806312065fe0146102ee575f80fd5b3661023d57005b5f80fd5b34801561024c575f80fd5b5061026061025b366004611b16565b6106cd565b60405190151581526020015b60405180910390f35b348015610280575f80fd5b5061028961071e565b60405161026c9190611b85565b3480156102a1575f80fd5b506102b56102b0366004611b97565b6107ae565b6040516001600160a01b03909116815260200161026c565b3480156102d8575f80fd5b506102ec6102e7366004611bc9565b6107f0565b005b3480156102f9575f80fd5b50475b60405190815260200161026c565b348015610315575f80fd5b506102fc600254600154035f190190565b348015610331575f80fd5b506102ec610340366004611b97565b61087c565b348015610350575f80fd5b506102ec61035f366004611bf1565b610921565b34801561036f575f80fd5b5061028961092c565b6102ec610386366004611b97565b6109b8565b348015610396575f80fd5b506102ec610b38565b3480156103aa575f80fd5b506102ec6103b9366004611bf1565b610bac565b3480156103c9575f80fd5b506102ec610bc6565b3480156103dd575f80fd5b506102ec6103ec366004611b97565b610c29565b3480156103fc575f80fd5b506102b561040b366004611b97565b610c57565b34801561041b575f80fd5b50610289610c68565b34801561042f575f80fd5b506102fc61043e366004611c2a565b610c75565b34801561044e575f80fd5b50610289610cc1565b348015610462575f80fd5b506102ec610cd0565b348015610476575f80fd5b506102ec610d04565b34801561048a575f80fd5b506102ec610dbe565b34801561049e575f80fd5b506102ec6104ad366004611cc9565b610dfb565b3480156104bd575f80fd5b505f546001600160a01b03166102b5565b3480156104d9575f80fd5b506102ec6104e8366004611b97565b610e30565b3480156104f8575f80fd5b5061050c610507366004611b97565b610e5e565b6040805182516001600160a01b031681526020808401516001600160401b0316908201529181015115159082015260600161026c565b34801561054d575f80fd5b506102ec61055c366004611cc9565b610e83565b34801561056c575f80fd5b50610289610f20565b348015610580575f80fd5b506102fc61058f366004611c2a565b610f2f565b34801561059f575f80fd5b506102fc60105481565b3480156105b4575f80fd5b50600b5461026090610100900460ff1681565b3480156105d2575f80fd5b506102fc600e5481565b3480156105e7575f80fd5b506102ec6105f6366004611d0d565b610f39565b348015610606575f80fd5b506102ec610615366004611d46565b610fcd565b348015610625575f80fd5b50610289610634366004611b97565b611007565b348015610644575f80fd5b506102fc600f5481565b348015610659575f80fd5b50610260610668366004611dbc565b6110a8565b6102ec61067b366004611b97565b6110d5565b34801561068b575f80fd5b506102ec61069a366004611c2a565b6112a0565b3480156106aa575f80fd5b50600b546102609060ff1681565b3480156106c3575f80fd5b506102fc60095481565b5f6001600160e01b031982166380ac58cd60e01b14806106fd57506001600160e01b03198216635b5e139f60e01b145b8061071857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461072d90611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461075990611ded565b80156107a45780601f1061077b576101008083540402835291602001916107a4565b820191905f5260205f20905b81548152906001019060200180831161078757829003601f168201915b5050505050905090565b5f6107b882611337565b6107d5576040516333d1c03960e21b815260040160405180910390fd5b505f908152600760205260409020546001600160a01b031690565b5f6107fa82610c57565b9050806001600160a01b0316836001600160a01b03160361082e5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061084e575061084c81336110a8565b155b1561086c576040516367d9dca160e11b815260040160405180910390fd5b610877838383611361565b505050565b5f546001600160a01b031633146108ae5760405162461bcd60e51b81526004016108a590611e25565b60405180910390fd5b613a9881111561091c5760405162461bcd60e51b815260206004820152603360248201527f4572726f723a204e6577206d61782063616e206e6f7420626520686967686572604482015272103a3430b71037b934b3b4b730b61036b0bc1760691b60648201526084016108a5565b600f55565b6108778383836113bc565b600d805461093990611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461096590611ded565b80156109b05780601f10610987576101008083540402835291602001916109b0565b820191905f5260205f20905b81548152906001019060200180831161099357829003601f168201915b505050505081565b600b5460ff16610a015760405162461bcd60e51b81526020600482015260146024820152734d696e74696e67206e6f7420737461727465642160601b60448201526064016108a5565b5f81118015610a1257506009548111155b610a2e5760405162461bcd60e51b81526004016108a590611e5a565b600f5481610a42600254600154035f190190565b610a4c9190611eb0565b1115610a6a5760405162461bcd60e51b81526004016108a590611ec3565b80600e54610a789190611ef0565b3414610ac65760405162461bcd60e51b815260206004820152601760248201527f596f75206d7573742073656e64206d6f7265204554482100000000000000000060448201526064016108a5565b60095481610ad333610f2f565b610add9190611eb0565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e74210000000060448201526064016108a5565b610b3533826115c8565b50565b5f546001600160a01b03163314610b615760405162461bcd60e51b81526004016108a590611e25565b47610b735f546001600160a01b031690565b6001600160a01b03166108fc8290811502906040515f60405180830381858888f19350505050158015610ba8573d5f803e3d5ffd5b5050565b61087783838360405180602001604052805f815250610fcd565b5f546001600160a01b03163314610bef5760405162461bcd60e51b81526004016108a590611e25565b5f546001600160a01b03163314610c185760405162461bcd60e51b81526004016108a590611e25565b600b805461ff001916610100179055565b5f546001600160a01b03163314610c525760405162461bcd60e51b81526004016108a590611e25565b600955565b5f610c61826115e1565b5192915050565b600c805461093990611ded565b5f6001600160a01b038216610c9d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600660205260409020546001600160401b031690565b6060600c805461072d90611ded565b5f546001600160a01b03163314610cf95760405162461bcd60e51b81526004016108a590611e25565b610d025f6116f8565b565b5f546001600160a01b03163314610d2d5760405162461bcd60e51b81526004016108a590611e25565b600f54610d40600254600154035f190190565b610d4b906001611eb0565b1115610d695760405162461bcd60e51b81526004016108a590611ec3565b6001610d7433610f2f565b10610db35760405162461bcd60e51b815260206004820152600f60248201526e4d6178203120746f206f776e65722160881b60448201526064016108a5565b610d023360016115c8565b5f546001600160a01b03163314610de75760405162461bcd60e51b81526004016108a590611e25565b600b805460ff19811660ff90911615179055565b5f546001600160a01b03163314610e245760405162461bcd60e51b81526004016108a590611e25565b600d610ba88282611f54565b5f546001600160a01b03163314610e595760405162461bcd60e51b81526004016108a590611e25565b600e55565b604080516060810182525f8082526020820181905291810191909152610718826115e1565b5f546001600160a01b03163314610eac5760405162461bcd60e51b81526004016108a590611e25565b600b54610100900460ff1615610f145760405162461bcd60e51b815260206004820152602760248201527f426173655552492069732066726f7a656e20616e642063616e6e6f742062652060448201526618da185b99d95960ca1b60648201526084016108a5565b600c610ba88282611f54565b60606004805461072d90611ded565b5f61071882611747565b336001600160a01b03831603610f625760405163b06307db60e01b815260040160405180910390fd5b335f8181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610fd88484846113bc565b610fe48484848461179a565b611001576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061101282611337565b6110735760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108a5565b600c61107e83611899565b600d6040516020016110929392919061207e565b6040516020818303038152906040529050919050565b6001600160a01b039182165f90815260086020908152604080832093909416825291909152205460ff1690565b600b5460ff1661111e5760405162461bcd60e51b81526020600482015260146024820152734d696e74696e67206e6f7420737461727465642160601b60448201526064016108a5565b5f8111801561112f57506009548111155b61114b5760405162461bcd60e51b81526004016108a590611e5a565b600f548161115f600254600154035f190190565b6111699190611eb0565b11156111875760405162461bcd60e51b81526004016108a590611ec3565b611191815f611ef0565b34146111d65760405162461bcd60e51b8152602060048201526014602482015273596f75206d7573742073656e642030204554482160601b60448201526064016108a5565b600954816111e333610f2f565b6111ed9190611eb0565b111561123b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d6178206d696e74696e6720616d6f756e74210000000060448201526064016108a5565b6010548161124833610f2f565b6112529190611eb0565b1115610b2b5760405162461bcd60e51b815260206004820152601c60248201527f4578636565646564206d61782066726565207065722077616c6c65740000000060448201526064016108a5565b5f546001600160a01b031633146112c95760405162461bcd60e51b81526004016108a590611e25565b6001600160a01b03811661132e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a5565b610b35816116f8565b5f600154821080156107185750505f90815260056020526040902054600160e01b900460ff161590565b5f8281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b5f6113c6826115e1565b80519091505f906001600160a01b0316336001600160a01b031614806113f3575081516113f390336110a8565b8061140e575033611403846107ae565b6001600160a01b0316145b90508061142e57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b0316825f01516001600160a01b0316146114625760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661148957604051633a954ecd60e21b815260040160405180910390fd5b6114975f84845f0151611361565b6001600160a01b038581165f908152600660209081526040808320805467ffffffffffffffff198082166001600160401b039283165f1901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661157e5760015481101561157e5782515f8281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b610ba8828260405180602001604052805f815250611995565b604080516060810182525f808252602082018190529181019190915260015482908110156116df575f81815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906116dd5780516001600160a01b031615611676579392505050565b505f19015f81815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff16151592810192909252156116d8579392505050565b611676565b505b604051636f96cda160e11b815260040160405180910390fd5b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6001600160a01b03821661176f576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b03165f90815260066020526040902054600160401b90046001600160401b031690565b5f6001600160a01b0384163b1561188d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117dd9033908990889088906004016120b0565b6020604051808303815f875af1925050508015611817575060408051601f3d908101601f19168201909252611814918101906120ec565b60015b611873573d808015611844576040519150601f19603f3d011682016040523d82523d5f602084013e611849565b606091505b5080515f0361186b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611891565b5060015b949350505050565b6060815f036118bf5750506040805180820190915260018152600360fc1b602082015290565b815f5b81156118e857806118d281612107565b91506118e19050600a83612133565b91506118c2565b5f816001600160401b0381111561190157611901611c43565b6040519080825280601f01601f19166020018201604052801561192b576020820181803683370190505b5090505b841561189157611940600183612146565b915061194d600a86612159565b611958906030611eb0565b60f81b81838151811061196d5761196d61216c565b60200101906001600160f81b03191690815f1a90535061198e600a86612133565b945061192f565b610877838383600180546001600160a01b0385166119c557604051622e076360e81b815260040160405180910390fd5b835f036119e55760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0385165f81815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c018116909202179091558584526005909252822080546001600160e01b031916909317600160a01b42909216919091021790915581905b85811015611af85760405182906001600160a01b038916905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4838015611ace5750611acc5f88848861179a565b155b15611aec576040516368d2bf6b60e11b815260040160405180910390fd5b60019182019101611a79565b506001556115c1565b6001600160e01b031981168114610b35575f80fd5b5f60208284031215611b26575f80fd5b8135611b3181611b01565b9392505050565b5f5b83811015611b52578181015183820152602001611b3a565b50505f910152565b5f8151808452611b71816020860160208601611b38565b601f01601f19169290920160200192915050565b602081525f611b316020830184611b5a565b5f60208284031215611ba7575f80fd5b5035919050565b80356001600160a01b0381168114611bc4575f80fd5b919050565b5f8060408385031215611bda575f80fd5b611be383611bae565b946020939093013593505050565b5f805f60608486031215611c03575f80fd5b611c0c84611bae565b9250611c1a60208501611bae565b9150604084013590509250925092565b5f60208284031215611c3a575f80fd5b611b3182611bae565b634e487b7160e01b5f52604160045260245ffd5b5f6001600160401b0380841115611c7057611c70611c43565b604051601f8501601f19908116603f01168101908282118183101715611c9857611c98611c43565b81604052809350858152868686011115611cb0575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611cd9575f80fd5b81356001600160401b03811115611cee575f80fd5b8201601f81018413611cfe575f80fd5b61189184823560208401611c57565b5f8060408385031215611d1e575f80fd5b611d2783611bae565b915060208301358015158114611d3b575f80fd5b809150509250929050565b5f805f8060808587031215611d59575f80fd5b611d6285611bae565b9350611d7060208601611bae565b92506040850135915060608501356001600160401b03811115611d91575f80fd5b8501601f81018713611da1575f80fd5b611db087823560208401611c57565b91505092959194509250565b5f8060408385031215611dcd575f80fd5b611dd683611bae565b9150611de460208401611bae565b90509250929050565b600181811c90821680611e0157607f821691505b602082108103611e1f57634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526022908201527f57616c6c65742066756c6c2c20636865636b206d6178207065722077616c6c65604082015261742160f01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561071857610718611e9c565b60208082526013908201527252656163686564206d617820737570706c792160681b604082015260600190565b808202811582820484141761071857610718611e9c565b601f821115610877575f81815260208120601f850160051c81016020861015611f2d5750805b601f850160051c820191505b81811015611f4c57828155600101611f39565b505050505050565b81516001600160401b03811115611f6d57611f6d611c43565b611f8181611f7b8454611ded565b84611f07565b602080601f831160018114611fb4575f8415611f9d5750858301515b5f19600386901b1c1916600185901b178555611f4c565b5f85815260208120601f198616915b82811015611fe257888601518255948401946001909101908401611fc3565b5085821015611fff57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f815461201b81611ded565b60018281168015612033576001811461204857612074565b60ff1984168752821515830287019450612074565b855f526020805f205f5b8581101561206b5781548a820152908401908201612052565b50505082870194505b5050505092915050565b5f612089828661200f565b8451612099818360208901611b38565b6120a58183018661200f565b979650505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f906120e290830184611b5a565b9695505050505050565b5f602082840312156120fc575f80fd5b8151611b3181611b01565b5f6001820161211857612118611e9c565b5060010190565b634e487b7160e01b5f52601260045260245ffd5b5f826121415761214161211f565b500490565b8181038181111561071857610718611e9c565b5f826121675761216761211f565b500690565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212205f624be10a8c475307a94b39ce29b98c6442388c859267025c07951f4dafd40064736f6c63430008150033

Deployed Bytecode Sourcemap

55235:4114:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25600:305;;;;;;;;;;-1:-1:-1;25600:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;25600:305:0;;;;;;;;28960:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;30463:204::-;;;;;;;;;;-1:-1:-1;30463:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:1;;;1679:51;;1667:2;1652:18;30463:204:0;1533:203:1;30026:371:0;;;;;;;;;;-1:-1:-1;30026:371:0;;;;;:::i;:::-;;:::i;:::-;;58790:95;;;;;;;;;;-1:-1:-1;58856:21:0;58790:95;;;2324:25:1;;;2312:2;2297:18;58790:95:0;2178:177:1;25251:277:0;;;;;;;;;;;;25488:12;;25504:1;25472:13;:28;-1:-1:-1;;25471:34:0;;25251:277;58495:187;;;;;;;;;;-1:-1:-1;58495:187:0;;;;;:::i;:::-;;:::i;31320:170::-;;;;;;;;;;-1:-1:-1;31320:170:0;;;;;:::i;:::-;;:::i;55577:34::-;;;;;;;;;;;;;:::i;56493:534::-;;;;;;:::i;:::-;;:::i;59013:149::-;;;;;;;;;;;;;:::i;31561:185::-;;;;;;;;;;-1:-1:-1;31561:185:0;;;;;:::i;:::-;;:::i;57170:164::-;;;;;;;;;;;;;:::i;58384:103::-;;;;;;;;;;-1:-1:-1;58384:103:0;;;;;:::i;:::-;;:::i;28769:124::-;;;;;;;;;;-1:-1:-1;28769:124:0;;;;;:::i;:::-;;:::i;55477:93::-;;;;;;;;;;;;;:::i;25969:206::-;;;;;;;;;;-1:-1:-1;25969:206:0;;;;;:::i;:::-;;:::i;58192:92::-;;;;;;;;;;;;;:::i;14366:94::-;;;;;;;;;;;;;:::i;57342:291::-;;;;;;;;;;;;;:::i;58690:92::-;;;;;;;;;;;;;:::i;58084:100::-;;;;;;;;;;-1:-1:-1;58084:100:0;;;;;:::i;:::-;;:::i;13715:87::-;;;;;;;;;;-1:-1:-1;13761:7:0;13788:6;-1:-1:-1;;;;;13788:6:0;13715:87;;58292:86;;;;;;;;;;-1:-1:-1;58292:86:0;;;;;:::i;:::-;;:::i;59170:135::-;;;;;;;;;;-1:-1:-1;59170:135:0;;;;;:::i;:::-;;:::i;:::-;;;;4339:13:1;;-1:-1:-1;;;;;4335:39:1;4317:58;;4435:4;4423:17;;;4417:24;-1:-1:-1;;;;;4413:49:1;4391:20;;;4384:79;4521:17;;;4515:24;4508:32;4501:40;4479:20;;;4472:70;4305:2;4290:18;59170:135:0;4109:439:1;57954:124:0;;;;;;;;;;-1:-1:-1;57954:124:0;;;;;:::i;:::-;;:::i;29129:104::-;;;;;;;;;;;;;:::i;58893:111::-;;;;;;;;;;-1:-1:-1;58893:111:0;;;;;:::i;:::-;;:::i;55699:38::-;;;;;;;;;;;;;;;;55443:27;;;;;;;;;;-1:-1:-1;55443:27:0;;;;;;;;;;;55618:35;;;;;;;;;;;;;;;;30739:279;;;;;;;;;;-1:-1:-1;30739:279:0;;;;;:::i;:::-;;:::i;31817:342::-;;;;;;;;;;-1:-1:-1;31817:342:0;;;;;:::i;:::-;;:::i;57641:305::-;;;;;;;;;;-1:-1:-1;57641:305:0;;;;;:::i;:::-;;:::i;55660:32::-;;;;;;;;;;;;;;;;31089:164;;;;;;;;;;-1:-1:-1;31089:164:0;;;;;:::i;:::-;;:::i;55844:641::-;;;;;;:::i;:::-;;:::i;14615:192::-;;;;;;;;;;-1:-1:-1;14615:192:0;;;;;:::i;:::-;;:::i;55402:34::-;;;;;;;;;;-1:-1:-1;55402:34:0;;;;;;;;55281:28;;;;;;;;;;;;;;;;25600:305;25702:4;-1:-1:-1;;;;;;25739:40:0;;-1:-1:-1;;;25739:40:0;;:105;;-1:-1:-1;;;;;;;25796:48:0;;-1:-1:-1;;;25796:48:0;25739:105;:158;;;-1:-1:-1;;;;;;;;;;15829:40:0;;;25861:36;25719:178;25600:305;-1:-1:-1;;25600:305:0:o;28960:100::-;29014:13;29047:5;29040:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28960:100;:::o;30463:204::-;30531:7;30556:16;30564:7;30556;:16::i;:::-;30551:64;;30581:34;;-1:-1:-1;;;30581:34:0;;;;;;;;;;;30551:64;-1:-1:-1;30635:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;30635:24:0;;30463:204::o;30026:371::-;30099:13;30115:24;30131:7;30115:15;:24::i;:::-;30099:40;;30160:5;-1:-1:-1;;;;;30154:11:0;:2;-1:-1:-1;;;;;30154:11:0;;30150:48;;30174:24;;-1:-1:-1;;;30174:24:0;;;;;;;;;;;30150:48;935:10;-1:-1:-1;;;;;30215:21:0;;;;;;:63;;-1:-1:-1;30241:37:0;30258:5;935:10;31089:164;:::i;30241:37::-;30240:38;30215:63;30211:138;;;30302:35;;-1:-1:-1;;;30302:35:0;;;;;;;;;;;30211:138;30361:28;30370:2;30374:7;30383:5;30361:8;:28::i;:::-;30088:309;30026:371;;:::o;58495:187::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;;;;;;;;;58583:5:::1;58572:7;:16;;58564:80;;;::::0;-1:-1:-1;;;58564:80:0;;6790:2:1;58564:80:0::1;::::0;::::1;6772:21:1::0;6829:2;6809:18;;;6802:30;6868:34;6848:18;;;6841:62;-1:-1:-1;;;6919:18:1;;;6912:49;6978:19;;58564:80:0::1;6588:415:1::0;58564:80:0::1;58655:9;:19:::0;58495:187::o;31320:170::-;31454:28;31464:4;31470:2;31474:7;31454:9;:28::i;55577:34::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;56493:534::-;56567:14;;;;56559:47;;;;-1:-1:-1;;;56559:47:0;;7210:2:1;56559:47:0;;;7192:21:1;7249:2;7229:18;;;7222:30;-1:-1:-1;;;7268:18:1;;;7261:50;7328:18;;56559:47:0;7008:344:1;56559:47:0;56637:1;56625:9;:13;:39;;;;;56655:9;;56642;:22;;56625:39;56617:86;;;;-1:-1:-1;;;56617:86:0;;;;;;;:::i;:::-;56751:9;;56738;56722:13;25488:12;;25504:1;25472:13;:28;-1:-1:-1;;25471:34:0;;25251:277;56722:13;:25;;;;:::i;:::-;:38;;56714:70;;;;-1:-1:-1;;;56714:70:0;;;;;;;:::i;:::-;56824:9;56816:5;;:17;;;;:::i;:::-;56803:9;:30;56795:66;;;;-1:-1:-1;;;56795:66:0;;8745:2:1;56795:66:0;;;8727:21:1;8784:2;8764:18;;;8757:30;8823:25;8803:18;;;8796:53;8866:18;;56795:66:0;8543:347:1;56795:66:0;56922:9;;56909;56880:26;56895:10;56880:14;:26::i;:::-;:38;;;;:::i;:::-;:51;;56872:92;;;;-1:-1:-1;;;56872:92:0;;9097:2:1;56872:92:0;;;9079:21:1;9136:2;9116:18;;;9109:30;9175;9155:18;;;9148:58;9223:18;;56872:92:0;8895:352:1;56872:92:0;56985:32;56995:10;57007:9;56985;:32::i;:::-;56493:534;:::o;59013:149::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;59079:21:::1;59119:7;13761::::0;13788:6;-1:-1:-1;;;;;13788:6:0;;13715:87;59119:7:::1;-1:-1:-1::0;;;;;59111:25:0::1;:35;59137:8;59111:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;59052:110;59013:149::o:0;31561:185::-;31699:39;31716:4;31722:2;31726:7;31699:39;;;;;;;;;;;;:16;:39::i;57170:164::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23:::1;13927:68;;;;-1:-1:-1::0;;;13927:68:0::1;;;;;;;:::i;:::-;57304:15:::2;:22:::0;;-1:-1:-1;;57304:22:0::2;;;::::0;;57170:164::o;58384:103::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;58457:9:::1;:22:::0;58384:103::o;28769:124::-;28833:7;28860:20;28872:7;28860:11;:20::i;:::-;:25;;28769:124;-1:-1:-1;;28769:124:0:o;55477:93::-;;;;;;;:::i;25969:206::-;26033:7;-1:-1:-1;;;;;26057:19:0;;26053:60;;26085:28;;-1:-1:-1;;;26085:28:0;;;;;;;;;;;26053:60;-1:-1:-1;;;;;;26139:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;26139:27:0;;25969:206::o;58192:92::-;58236:13;58269:7;58262:14;;;;;:::i;14366:94::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;14431:21:::1;14449:1;14431:9;:21::i;:::-;14366:94::o:0;57342:291::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;57486:9:::1;;57465:13;25488:12:::0;;25504:1;25472:13;:28;-1:-1:-1;;25471:34:0;;25251:277;57465:13:::1;:17;::::0;57481:1:::1;57465:17;:::i;:::-;:30;;57457:62;;;;-1:-1:-1::0;;;57457:62:0::1;;;;;;;:::i;:::-;57567:1;57538:26;57553:10;57538:14;:26::i;:::-;:30;57530:58;;;::::0;-1:-1:-1;;;57530:58:0;;9454:2:1;57530:58:0::1;::::0;::::1;9436:21:1::0;9493:2;9473:18;;;9466:30;-1:-1:-1;;;9512:18:1;;;9505:45;9567:18;;57530:58:0::1;9252:339:1::0;57530:58:0::1;57599:24;57609:10;57621:1;57599:9;:24::i;58690:92::-:0;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;58760:14:::1;::::0;;-1:-1:-1;;58742:32:0;::::1;58760:14;::::0;;::::1;58759:15;58742:32;::::0;;58690:92::o;58084:100::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;58158:10:::1;:18;58171:5:::0;58158:10;:18:::1;:::i;58292:86::-:0;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;58356:5:::1;:14:::0;58292:86::o;59170:135::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;59277:20:0;59289:7;59277:11;:20::i;57954:124::-;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;57083:15:::1;::::0;::::1;::::0;::::1;;;57082:16;57074:68;;;::::0;-1:-1:-1;;;57074:68:0;;12002:2:1;57074:68:0::1;::::0;::::1;11984:21:1::0;12041:2;12021:18;;;12014:30;12080:34;12060:18;;;12053:62;-1:-1:-1;;;12131:18:1;;;12124:37;12178:19;;57074:68:0::1;11800:403:1::0;57074:68:0::1;58049:7:::2;:21;58059:11:::0;58049:7;:21:::2;:::i;29129:104::-:0;29185:13;29218:7;29211:14;;;;;:::i;58893:111::-;58953:7;58976:20;58990:5;58976:13;:20::i;30739:279::-;935:10;-1:-1:-1;;;;;30830:24:0;;;30826:54;;30863:17;;-1:-1:-1;;;30863:17:0;;;;;;;;;;;30826:54;935:10;30893:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;30893:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;30893:53:0;;;;;;;;;;30962:48;;540:41:1;;;30893:42:0;;935:10;30962:48;;513:18:1;30962:48:0;;;;;;;30739:279;;:::o;31817:342::-;31984:28;31994:4;32000:2;32004:7;31984:9;:28::i;:::-;32028:48;32051:4;32057:2;32061:7;32070:5;32028:22;:48::i;:::-;32023:129;;32100:40;;-1:-1:-1;;;32100:40:0;;;;;;;;;;;32023:129;31817:342;;;;:::o;57641:305::-;57715:13;57763:17;57771:8;57763:7;:17::i;:::-;57741:111;;;;-1:-1:-1;;;57741:111:0;;12410:2:1;57741:111:0;;;12392:21:1;12449:2;12429:18;;;12422:30;12488:34;12468:18;;;12461:62;-1:-1:-1;;;12539:18:1;;;12532:42;12591:19;;57741:111:0;12208:408:1;57741:111:0;57896:7;57905:19;:8;:17;:19::i;:::-;57926:10;57879:58;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;57865:73;;57641:305;;;:::o;31089:164::-;-1:-1:-1;;;;;31210:25:0;;;31186:4;31210:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;31089:164::o;55844:641::-;55918:14;;;;55910:47;;;;-1:-1:-1;;;55910:47:0;;7210:2:1;55910:47:0;;;7192:21:1;7249:2;7229:18;;;7222:30;-1:-1:-1;;;7268:18:1;;;7261:50;7328:18;;55910:47:0;7008:344:1;55910:47:0;55988:1;55976:9;:13;:39;;;;;56006:9;;55993;:22;;55976:39;55968:86;;;;-1:-1:-1;;;55968:86:0;;;;;;;:::i;:::-;56102:9;;56089;56073:13;25488:12;;25504:1;25472:13;:28;-1:-1:-1;;25471:34:0;;25251:277;56073:13;:25;;;;:::i;:::-;:38;;56065:70;;;;-1:-1:-1;;;56065:70:0;;;;;;;:::i;:::-;56167:13;56171:9;56167:1;:13;:::i;:::-;56154:9;:26;56146:59;;;;-1:-1:-1;;;56146:59:0;;14024:2:1;56146:59:0;;;14006:21:1;14063:2;14043:18;;;14036:30;-1:-1:-1;;;14082:18:1;;;14075:50;14142:18;;56146:59:0;13822:344:1;56146:59:0;56266:9;;56253;56224:26;56239:10;56224:14;:26::i;:::-;:38;;;;:::i;:::-;:51;;56216:92;;;;-1:-1:-1;;;56216:92:0;;9097:2:1;56216:92:0;;;9079:21:1;9136:2;9116:18;;;9109:30;9175;9155:18;;;9148:58;9223:18;;56216:92:0;8895:352:1;56216:92:0;56369:19;;56356:9;56327:26;56342:10;56327:14;:26::i;:::-;:38;;;;:::i;:::-;:61;;56319:102;;;;-1:-1:-1;;;56319:102:0;;14373:2:1;56319:102:0;;;14355:21:1;14412:2;14392:18;;;14385:30;14451;14431:18;;;14424:58;14499:18;;56319:102:0;14171:352:1;14615:192:0;13761:7;13788:6;-1:-1:-1;;;;;13788:6:0;935:10;13935:23;13927:68;;;;-1:-1:-1;;;13927:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;14704:22:0;::::1;14696:73;;;::::0;-1:-1:-1;;;14696:73:0;;14730:2:1;14696:73:0::1;::::0;::::1;14712:21:1::0;14769:2;14749:18;;;14742:30;14808:34;14788:18;;;14781:62;-1:-1:-1;;;14859:18:1;;;14852:36;14905:19;;14696:73:0::1;14528:402:1::0;14696:73:0::1;14780:19;14790:8;14780:9;:19::i;32414:144::-:0;32471:4;32505:13;;32495:7;:23;:55;;;;-1:-1:-1;;32523:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;32523:27:0;;;;32522:28;;32414:144::o;39620:196::-;39735:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;39735:29:0;-1:-1:-1;;;;;39735:29:0;;;;;;;;;39780:28;;39735:24;;39780:28;;;;;;;39620:196;;;:::o;35121:2112::-;35236:35;35274:20;35286:7;35274:11;:20::i;:::-;35349:18;;35236:58;;-1:-1:-1;35307:22:0;;-1:-1:-1;;;;;35333:34:0;935:10;-1:-1:-1;;;;;35333:34:0;;:101;;;-1:-1:-1;35401:18:0;;35384:50;;935:10;31089:164;:::i;35384:50::-;35333:154;;;-1:-1:-1;935:10:0;35451:20;35463:7;35451:11;:20::i;:::-;-1:-1:-1;;;;;35451:36:0;;35333:154;35307:181;;35506:17;35501:66;;35532:35;;-1:-1:-1;;;35532:35:0;;;;;;;;;;;35501:66;35604:4;-1:-1:-1;;;;;35582:26:0;:13;:18;;;-1:-1:-1;;;;;35582:26:0;;35578:67;;35617:28;;-1:-1:-1;;;35617:28:0;;;;;;;;;;;35578:67;-1:-1:-1;;;;;35660:16:0;;35656:52;;35685:23;;-1:-1:-1;;;35685:23:0;;;;;;;;;;;35656:52;35829:49;35846:1;35850:7;35859:13;:18;;;35829:8;:49::i;:::-;-1:-1:-1;;;;;36174:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;36174:31:0;;;-1:-1:-1;;;;;36174:31:0;;;-1:-1:-1;;36174:31:0;;;;;;;36220:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;36220:29:0;;;;;;;;;;;36266:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;36311:61:0;;;;-1:-1:-1;;;36356:15:0;36311:61;;;;;;;;;;;36646:11;;;36676:24;;;;;:29;36646:11;;36676:29;36672:445;;36901:13;;36887:11;:27;36883:219;;;36971:18;;;36939:24;;;:11;:24;;;;;;;;:50;;37054:28;;;;-1:-1:-1;;;;;37012:70:0;-1:-1:-1;;;37012:70:0;-1:-1:-1;;;;;;37012:70:0;;;-1:-1:-1;;;;;36939:50:0;;;37012:70;;;;;;;36883:219;36149:979;37164:7;37160:2;-1:-1:-1;;;;;37145:27:0;37154:4;-1:-1:-1;;;;;37145:27:0;;;;;;;;;;;37183:42;35225:2008;;35121:2112;;;:::o;32566:104::-;32635:27;32645:2;32649:8;32635:27;;;;;;;;;;;;:9;:27::i;27624:1083::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;27790:13:0;;27734:7;;27783:20;;27779:861;;;27824:31;27858:17;;;:11;:17;;;;;;;;;27824:51;;;;;;;;;-1:-1:-1;;;;;27824:51:0;;;;-1:-1:-1;;;27824:51:0;;-1:-1:-1;;;;;27824:51:0;;;;;;;;-1:-1:-1;;;27824:51:0;;;;;;;;;;;;;;27894:731;;27944:14;;-1:-1:-1;;;;;27944:28:0;;27940:101;;28008:9;27624:1083;-1:-1:-1;;;27624:1083:0:o;27940:101::-;-1:-1:-1;;;28385:6:0;28430:17;;;;:11;:17;;;;;;;;;28418:29;;;;;;;;;-1:-1:-1;;;;;28418:29:0;;;;;-1:-1:-1;;;28418:29:0;;-1:-1:-1;;;;;28418:29:0;;;;;;;;-1:-1:-1;;;28418:29:0;;;;;;;;;;;;;28478:28;28474:109;;28546:9;27624:1083;-1:-1:-1;;;27624:1083:0:o;28474:109::-;28345:261;;;27805:835;27779:861;28668:31;;-1:-1:-1;;;28668:31:0;;;;;;;;;;;14815:173;14871:16;14890:6;;-1:-1:-1;;;;;14907:17:0;;;-1:-1:-1;;;;;;14907:17:0;;;;;;14940:40;;14890:6;;;;;;;14940:40;;14871:16;14940:40;14860:128;14815:173;:::o;26257:207::-;26318:7;-1:-1:-1;;;;;26342:19:0;;26338:59;;26370:27;;-1:-1:-1;;;26370:27:0;;;;;;;;;;;26338:59;-1:-1:-1;;;;;;26423:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;26423:32:0;;-1:-1:-1;;;;;26423:32:0;;26257:207::o;40381:790::-;40536:4;-1:-1:-1;;;;;40557:13:0;;4108:20;4156:8;40553:611;;40593:72;;-1:-1:-1;;;40593:72:0;;-1:-1:-1;;;;;40593:36:0;;;;;:72;;935:10;;40644:4;;40650:7;;40659:5;;40593:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40593:72:0;;;;;;;;-1:-1:-1;;40593:72:0;;;;;;;;;;;;:::i;:::-;;;40589:520;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40839:6;:13;40856:1;40839:18;40835:259;;40889:40;;-1:-1:-1;;;40889:40:0;;;;;;;;;;;40835:259;41044:6;41038:13;41029:6;41025:2;41021:15;41014:38;40589:520;-1:-1:-1;;;;;;40716:55:0;-1:-1:-1;;;40716:55:0;;-1:-1:-1;40709:62:0;;40553:611;-1:-1:-1;41148:4:0;40553:611;40381:790;;;;;;:::o;1320:723::-;1376:13;1597:5;1606:1;1597:10;1593:53;;-1:-1:-1;;1624:10:0;;;;;;;;;;;;-1:-1:-1;;;1624:10:0;;;;;1320:723::o;1593:53::-;1671:5;1656:12;1712:78;1719:9;;1712:78;;1745:8;;;;:::i;:::-;;-1:-1:-1;1768:10:0;;-1:-1:-1;1776:2:0;1768:10;;:::i;:::-;;;1712:78;;;1800:19;1832:6;-1:-1:-1;;;;;1822:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1822:17:0;;1800:39;;1850:154;1857:10;;1850:154;;1884:11;1894:1;1884:11;;:::i;:::-;;-1:-1:-1;1953:10:0;1961:2;1953:5;:10;:::i;:::-;1940:24;;:2;:24;:::i;:::-;1927:39;;1910:6;1917;1910:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1910:56:0;;;;;;;;-1:-1:-1;1981:11:0;1990:2;1981:11;;:::i;:::-;;;1850:154;;33033:163;33156:32;33162:2;33166:8;33176:5;33183:4;33617:13;;-1:-1:-1;;;;;33645:16:0;;33641:48;;33670:19;;-1:-1:-1;;;33670:19:0;;;;;;;;;;;33641:48;33704:8;33716:1;33704:13;33700:44;;33726:18;;-1:-1:-1;;;33726:18:0;;;;;;;;;;;33700:44;-1:-1:-1;;;;;34095:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;34154:49:0;;-1:-1:-1;;;;;34095:44:0;;;;;;;34154:49;;;-1:-1:-1;;;;;34095:44:0;;;;;;34154:49;;;;;;;;;;;;;;;;34220:25;;;:11;:25;;;;;:35;;-1:-1:-1;;;;;;34270:66:0;;;;-1:-1:-1;;;34320:15:0;34270:66;;;;;;;;;;;34220:25;;34405:328;34425:8;34421:1;:12;34405:328;;;34464:38;;34489:12;;-1:-1:-1;;;;;34464:38:0;;;34481:1;;34464:38;;34481:1;;34464:38;34525:4;:68;;;;;34534:59;34565:1;34569:2;34573:12;34587:5;34534:22;:59::i;:::-;34533:60;34525:68;34521:164;;;34625:40;;-1:-1:-1;;;34625:40:0;;;;;;;;;;;34521:164;34703:14;;;;;34435:3;34405:328;;;-1:-1:-1;34749:13:0;:28;34799:60;31817:342;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;:::-;384:5;150:245;-1:-1:-1;;;150:245:1:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:1;;1348:180;-1:-1:-1;1348:180:1:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:1;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:186::-;2752:6;2805:2;2793:9;2784:7;2780:23;2776:32;2773:52;;;2821:1;2818;2811:12;2773:52;2844:29;2863:9;2844:29;:::i;2884:127::-;2945:10;2940:3;2936:20;2933:1;2926:31;2976:4;2973:1;2966:15;3000:4;2997:1;2990:15;3016:632;3081:5;-1:-1:-1;;;;;3152:2:1;3144:6;3141:14;3138:40;;;3158:18;;:::i;:::-;3233:2;3227:9;3201:2;3287:15;;-1:-1:-1;;3283:24:1;;;3309:2;3279:33;3275:42;3263:55;;;3333:18;;;3353:22;;;3330:46;3327:72;;;3379:18;;:::i;:::-;3419:10;3415:2;3408:22;3448:6;3439:15;;3478:6;3470;3463:22;3518:3;3509:6;3504:3;3500:16;3497:25;3494:45;;;3535:1;3532;3525:12;3494:45;3585:6;3580:3;3573:4;3565:6;3561:17;3548:44;3640:1;3633:4;3624:6;3616;3612:19;3608:30;3601:41;;;;3016:632;;;;;:::o;3653:451::-;3722:6;3775:2;3763:9;3754:7;3750:23;3746:32;3743:52;;;3791:1;3788;3781:12;3743:52;3831:9;3818:23;-1:-1:-1;;;;;3856:6:1;3853:30;3850:50;;;3896:1;3893;3886:12;3850:50;3919:22;;3972:4;3964:13;;3960:27;-1:-1:-1;3950:55:1;;4001:1;3998;3991:12;3950:55;4024:74;4090:7;4085:2;4072:16;4067:2;4063;4059:11;4024:74;:::i;4553:347::-;4618:6;4626;4679:2;4667:9;4658:7;4654:23;4650:32;4647:52;;;4695:1;4692;4685:12;4647:52;4718:29;4737:9;4718:29;:::i;:::-;4708:39;;4797:2;4786:9;4782:18;4769:32;4844:5;4837:13;4830:21;4823:5;4820:32;4810:60;;4866:1;4863;4856:12;4810:60;4889:5;4879:15;;;4553:347;;;;;:::o;4905:667::-;5000:6;5008;5016;5024;5077:3;5065:9;5056:7;5052:23;5048:33;5045:53;;;5094:1;5091;5084:12;5045:53;5117:29;5136:9;5117:29;:::i;:::-;5107:39;;5165:38;5199:2;5188:9;5184:18;5165:38;:::i;:::-;5155:48;;5250:2;5239:9;5235:18;5222:32;5212:42;;5305:2;5294:9;5290:18;5277:32;-1:-1:-1;;;;;5324:6:1;5321:30;5318:50;;;5364:1;5361;5354:12;5318:50;5387:22;;5440:4;5432:13;;5428:27;-1:-1:-1;5418:55:1;;5469:1;5466;5459:12;5418:55;5492:74;5558:7;5553:2;5540:16;5535:2;5531;5527:11;5492:74;:::i;:::-;5482:84;;;4905:667;;;;;;;:::o;5577:260::-;5645:6;5653;5706:2;5694:9;5685:7;5681:23;5677:32;5674:52;;;5722:1;5719;5712:12;5674:52;5745:29;5764:9;5745:29;:::i;:::-;5735:39;;5793:38;5827:2;5816:9;5812:18;5793:38;:::i;:::-;5783:48;;5577:260;;;;;:::o;5842:380::-;5921:1;5917:12;;;;5964;;;5985:61;;6039:4;6031:6;6027:17;6017:27;;5985:61;6092:2;6084:6;6081:14;6061:18;6058:38;6055:161;;6138:10;6133:3;6129:20;6126:1;6119:31;6173:4;6170:1;6163:15;6201:4;6198:1;6191:15;6055:161;;5842:380;;;:::o;6227:356::-;6429:2;6411:21;;;6448:18;;;6441:30;6507:34;6502:2;6487:18;;6480:62;6574:2;6559:18;;6227:356::o;7357:398::-;7559:2;7541:21;;;7598:2;7578:18;;;7571:30;7637:34;7632:2;7617:18;;7610:62;-1:-1:-1;;;7703:2:1;7688:18;;7681:32;7745:3;7730:19;;7357:398::o;7760:127::-;7821:10;7816:3;7812:20;7809:1;7802:31;7852:4;7849:1;7842:15;7876:4;7873:1;7866:15;7892:125;7957:9;;;7978:10;;;7975:36;;;7991:18;;:::i;8022:343::-;8224:2;8206:21;;;8263:2;8243:18;;;8236:30;-1:-1:-1;;;8297:2:1;8282:18;;8275:49;8356:2;8341:18;;8022:343::o;8370:168::-;8443:9;;;8474;;8491:15;;;8485:22;;8471:37;8461:71;;8512:18;;:::i;9722:545::-;9824:2;9819:3;9816:11;9813:448;;;9860:1;9885:5;9881:2;9874:17;9930:4;9926:2;9916:19;10000:2;9988:10;9984:19;9981:1;9977:27;9971:4;9967:38;10036:4;10024:10;10021:20;10018:47;;;-1:-1:-1;10059:4:1;10018:47;10114:2;10109:3;10105:12;10102:1;10098:20;10092:4;10088:31;10078:41;;10169:82;10187:2;10180:5;10177:13;10169:82;;;10232:17;;;10213:1;10202:13;10169:82;;;10173:3;;;9722:545;;;:::o;10443:1352::-;10569:3;10563:10;-1:-1:-1;;;;;10588:6:1;10585:30;10582:56;;;10618:18;;:::i;:::-;10647:97;10737:6;10697:38;10729:4;10723:11;10697:38;:::i;:::-;10691:4;10647:97;:::i;:::-;10799:4;;10863:2;10852:14;;10880:1;10875:663;;;;11582:1;11599:6;11596:89;;;-1:-1:-1;11651:19:1;;;11645:26;11596:89;-1:-1:-1;;10400:1:1;10396:11;;;10392:24;10388:29;10378:40;10424:1;10420:11;;;10375:57;11698:81;;10845:944;;10875:663;9669:1;9662:14;;;9706:4;9693:18;;-1:-1:-1;;10911:20:1;;;11029:236;11043:7;11040:1;11037:14;11029:236;;;11132:19;;;11126:26;11111:42;;11224:27;;;;11192:1;11180:14;;;;11059:19;;11029:236;;;11033:3;11293:6;11284:7;11281:19;11278:201;;;11354:19;;;11348:26;-1:-1:-1;;11437:1:1;11433:14;;;11449:3;11429:24;11425:37;11421:42;11406:58;11391:74;;11278:201;-1:-1:-1;;;;;11525:1:1;11509:14;;;11505:22;11492:36;;-1:-1:-1;10443:1352:1:o;12621:722::-;12671:3;12712:5;12706:12;12741:36;12767:9;12741:36;:::i;:::-;12796:1;12813:18;;;12840:133;;;;12987:1;12982:355;;;;12806:531;;12840:133;-1:-1:-1;;12873:24:1;;12861:37;;12946:14;;12939:22;12927:35;;12918:45;;;-1:-1:-1;12840:133:1;;12982:355;13013:5;13010:1;13003:16;13042:4;13087:2;13084:1;13074:16;13112:1;13126:165;13140:6;13137:1;13134:13;13126:165;;;13218:14;;13205:11;;;13198:35;13261:16;;;;13155:10;;13126:165;;;13130:3;;;13320:6;13315:3;13311:16;13304:23;;12806:531;;;;;12621:722;;;;:::o;13348:469::-;13569:3;13597:38;13631:3;13623:6;13597:38;:::i;:::-;13664:6;13658:13;13680:65;13738:6;13734:2;13727:4;13719:6;13715:17;13680:65;:::i;:::-;13761:50;13803:6;13799:2;13795:15;13787:6;13761:50;:::i;:::-;13754:57;13348:469;-1:-1:-1;;;;;;;13348:469:1:o;14935:489::-;-1:-1:-1;;;;;15204:15:1;;;15186:34;;15256:15;;15251:2;15236:18;;15229:43;15303:2;15288:18;;15281:34;;;15351:3;15346:2;15331:18;;15324:31;;;15129:4;;15372:46;;15398:19;;15390:6;15372:46;:::i;:::-;15364:54;14935:489;-1:-1:-1;;;;;;14935:489:1:o;15429:249::-;15498:6;15551:2;15539:9;15530:7;15526:23;15522:32;15519:52;;;15567:1;15564;15557:12;15519:52;15599:9;15593:16;15618:30;15642:5;15618:30;:::i;15683:135::-;15722:3;15743:17;;;15740:43;;15763:18;;:::i;:::-;-1:-1:-1;15810:1:1;15799:13;;15683:135::o;15823:127::-;15884:10;15879:3;15875:20;15872:1;15865:31;15915:4;15912:1;15905:15;15939:4;15936:1;15929:15;15955:120;15995:1;16021;16011:35;;16026:18;;:::i;:::-;-1:-1:-1;16060:9:1;;15955:120::o;16080:128::-;16147:9;;;16168:11;;;16165:37;;;16182:18;;:::i;16213:112::-;16245:1;16271;16261:35;;16276:18;;:::i;:::-;-1:-1:-1;16310:9:1;;16213:112::o;16330:127::-;16391:10;16386:3;16382:20;16379:1;16372:31;16422:4;16419:1;16412:15;16446:4;16443:1;16436:15

Swarm Source

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