ETH Price: $3,390.47 (+1.27%)

Token

Wanna Help but I SUCK (IHBS)
 

Overview

Max Total Supply

2,535 IHBS

Holders

1,343

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
222112.eth
Balance
1 IHBS
0xA0cbE4Fa67BDA88E1e3f0084762Bb00ab0691d02
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:
IHBS

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

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

/*
     .->    (`-')  _ <-. (`-')_ <-. (`-')_ (`-')  _      (`-').-> (`-')  _         _  (`-')    <-.(`-')            (`-')           _          (`-').->                     <-.(`-')  
 (`(`-')/`) (OO ).-/    \( OO) )   \( OO) )(OO ).-/      (OO )__  ( OO).-/  <-.    \-.(OO )     __( OO)      .->   ( OO).->       (_)         ( OO)_       .->    _         __( OO)  
,-`( OO).', / ,---.  ,--./ ,--/ ,--./ ,--/ / ,---.      ,--. ,'-'(,------.,--. )   _.'    \    '-'---.\ ,--.(,--.  /    '._       ,-(`-')    (_)--\_) ,--.(,--.   \-,-----.'-'. ,--. 
|  |\  |  | | \ /`.\ |   \ |  | |   \ |  | | \ /`.\     |  | |  | |  .---'|  (`-')(_...--''    | .-. (/ |  | |(`-')|'--...__)     | ( OO)    /    _ / |  | |(`-')  |  .--./|  .'   / 
|  | '.|  | '-'|_.' ||  . '|  |)|  . '|  |)'-'|_.' |    |  `-'  |(|  '--. |  |OO )|  |_.' |    | '-' `.)|  | |(OO )`--.  .--'     |  |  )    \_..`--. |  | |(OO ) /_) (`-')|      /) 
|  |.'.|  |(|  .-.  ||  |\    | |  |\    |(|  .-.  |    |  .-.  | |  .--'(|  '__ ||  .___.'    | /`'.  ||  | | |  \   |  |       (|  |_/     .-._)   \|  | | |  \ ||  |OO )|  .   '  
|   ,'.   | |  | |  ||  | \   | |  | \   | |  | |  |    |  | |  | |  `---.|     |'|  |         | '--'  /\  '-'(_ .'   |  |        |  |'->    \       /\  '-'(_ .'(_'  '--'\|  |\   \ 
`--'   '--' `--' `--'`--'  `--' `--'  `--' `--' `--'    `--' `--' `------'`-----' `--'         `------'  `-----'      `--'        `--'        `-----'  `-----'      `-----'`--' '--' 
*/

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

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


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

pragma solidity ^0.8.0;


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

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


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
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));
    }
}

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


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

pragma solidity ^0.8.0;

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

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

// File: contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;









error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

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

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

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

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

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        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) {
        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) {
        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 {
        _addressData[owner].aux = aux;
    }

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

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

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

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

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

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

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

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // 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 storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.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;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

// File: contracts/knightsoftheroundtable.sol


pragma solidity ^0.8.9;




/*
 _     _  _______  __    _  __    _  _______    __   __  _______  ___      _______    _______  __   __  _______    ___     _______  __   __  _______  ___   _ 
| | _ | ||   _   ||  |  | ||  |  | ||   _   |  |  | |  ||       ||   |    |       |  |  _    ||  | |  ||       |  |   |   |       ||  | |  ||       ||   | | |
| || || ||  |_|  ||   |_| ||   |_| ||  |_|  |  |  |_|  ||    ___||   |    |    _  |  | |_|   ||  | |  ||_     _|  |   |   |  _____||  | |  ||       ||   |_| |
|       ||       ||       ||       ||       |  |       ||   |___ |   |    |   |_| |  |       ||  |_|  |  |   |    |   |   | |_____ |  |_|  ||       ||      _|
|       ||       ||  _    ||  _    ||       |  |       ||    ___||   |___ |    ___|  |  _   | |       |  |   |    |   |   |_____  ||       ||      _||     |_ 
|   _   ||   _   || | |   || | |   ||   _   |  |   _   ||   |___ |       ||   |      | |_|   ||       |  |   |    |   |    _____| ||       ||     |_ |    _  |
|__| |__||__| |__||_|  |__||_|  |__||__| |__|  |__| |__||_______||_______||___|      |_______||_______|  |___|    |___|   |_______||_______||_______||___| |_|
*/
contract IHBS is ERC721A, Ownable {
    using ECDSA for bytes32;
    using Strings for uint256;

    address private constant TEAM_ADDRESS = 0xD91eF02C7a0BdafBcffC5E80bEbc18f7169c61c0;

    uint256 public constant TOTAL_MAX_SUPPLY = 9999;
    uint256 public constant TOTAL_FREE_SUPPLY = 9999; 
    uint256 public constant MAX_FREE_MINT_PER_WALLET = 1;
    uint256 public constant MAX_PUBLIC_PER_TX = 10;

    uint256 public constant TEAM_CLAIM_AMOUNT = 30;
    

    uint256 public token_price = 0.003 ether;
    bool public publicSaleActive;
    bool public freeMintActive;
    bool public claimed = false;
    uint256 public freeMintCount;

    mapping(address => uint256) public freeMintClaimed;

    string private _baseTokenURI;


    constructor() ERC721A("Wanna Help but I SUCK", "IHBS") {
        _safeMint(msg.sender, 10);
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    modifier underMaxSupply(uint256 _quantity) {
        require(
            _totalMinted() + _quantity <= TOTAL_MAX_SUPPLY,
            "Purchase would exceed max supply"
        );

        _;
    }

    modifier validateFreeMintStatus() {
        require(freeMintActive, "free claim is not active");
        require(freeMintCount + 1 <= TOTAL_FREE_SUPPLY, "Purchase would exceed max supply of free mints");
        require(freeMintClaimed[msg.sender] == 0, "wallet has already free minted");
        
        _;
    }

    modifier validatePublicStatus(uint256 _quantity) {
        require(publicSaleActive, "public sale is not active");
        require(msg.value >= token_price * _quantity, "Need to send more ETH.");
        require(_quantity > 0 && _quantity <= MAX_PUBLIC_PER_TX, "Invalid mint amount.");

        _;
    }

    function freeMint() 
        external 
        callerIsUser 
        validateFreeMintStatus
        underMaxSupply(1)
    {
        freeMintClaimed[msg.sender] = 1;
        freeMintCount++;

        _mint(msg.sender, 1, "", false);
    }

    function mint(uint256 _quantity)
        external
        payable
        callerIsUser
        validatePublicStatus(_quantity)
        underMaxSupply(_quantity)
    {
        _mint(msg.sender, _quantity, "", false);
    }

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

    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(), ".json")) : '';
    }

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

    function ownerMint(uint256 _numberToMint)
        external
        onlyOwner
        underMaxSupply(_numberToMint)
    {
        _mint(msg.sender, _numberToMint, "", false);
    }

      function teamClaim() external onlyOwner {
        require(!claimed, "Team already claimed");
        // claim
        _safeMint(TEAM_ADDRESS, TEAM_CLAIM_AMOUNT);
        claimed = true;
  }

    function ownerMintToAddress(address _recipient, uint256 _numberToMint)
        external
        onlyOwner
        underMaxSupply(_numberToMint)
    {
        _mint(_recipient, _numberToMint, "", false);
    }

    function setFreeMintCount(uint256 _count) external onlyOwner {
        freeMintCount = _count;
    }

    function setTokenPrice(uint256 newPrice) external onlyOwner {
        require(newPrice >= 0, "Token price must be greater than zero");
        token_price = newPrice;
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdrawFunds() external onlyOwner {
        (bool success, ) = msg.sender.call{value: address(this).balance}("");
        require(success, "Transfer failed.");
    }

    function withdrawFundsToAddress(address _address, uint256 amount) external onlyOwner {
        (bool success, ) =_address.call{value: amount}("");
        require(success, "Transfer failed.");
    }
    
    function flipFreeMintActive() external onlyOwner {
        freeMintActive = !freeMintActive;
    }

    function flipPublicSaleActive() external onlyOwner {
        publicSaleActive = !publicSaleActive;
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_MINT_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_CLAIM_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_FREE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFreeMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"setFreeMintCount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTokenPrice","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":"teamClaim","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":"token_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawFundsToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052660aa87bee538000600955600a805462ff0000191690553480156200002857600080fd5b50604080518082018252601581527f57616e6e612048656c70206275742049205355434b00000000000000000000006020808301918252835180850190945260048452634948425360e01b9084015281519192916200008a9160029162000424565b508051620000a090600390602084019062000424565b50506000805550620000b233620000c5565b620000bf33600a62000117565b620005b5565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001398282604051806020016040528060008152506200013d60201b60201c565b5050565b6200014c838383600162000151565b505050565b6000546001600160a01b0385166200017b57604051622e076360e81b815260040160405180910390fd5b836200019a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801562000253575062000253876001600160a01b03166200031460201b6200139d1760201c565b15620002d3575b60405182906001600160a01b0389169060009060008051602062002755833981519152908290a46001820191620002979060009089908862000323565b620002b5576040516368d2bf6b60e11b815260040160405180910390fd5b808214156200025a578260005414620002cd57600080fd5b62000309565b5b6040516001830192906001600160a01b0389169060009060008051602062002755833981519152908290a480821415620002d4575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200035a903390899088908890600401620004ca565b602060405180830381600087803b1580156200037557600080fd5b505af1925050508015620003a8575060408051601f3d908101601f19168201909252620003a59181019062000545565b60015b62000407573d808015620003d9576040519150601f19603f3d011682016040523d82523d6000602084013e620003de565b606091505b508051620003ff576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004329062000578565b90600052602060002090601f016020900481019282620004565760008555620004a1565b82601f106200047157805160ff1916838001178555620004a1565b82800160010185558215620004a1579182015b82811115620004a157825182559160200191906001019062000484565b50620004af929150620004b3565b5090565b5b80821115620004af5760008155600101620004b4565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005195785810182015185820160a001528101620004fb565b828111156200052c57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200055857600080fd5b81516001600160e01b0319811681146200057157600080fd5b9392505050565b600181811c908216806200058d57607f821691505b60208210811415620005af57634e487b7160e01b600052602260045260246000fd5b50919050565b61219080620005c56000396000f3fe6080604052600436106102465760003560e01c80637b4fd96e11610139578063bc8893b4116100b6578063e55f58bb1161007a578063e55f58bb1461063f578063e834a83414610655578063e985e9c514610675578063f03c8891146106be578063f19e75d4146106d3578063f2fde38b146106f357600080fd5b8063bc8893b414610599578063c87b56dd146105b3578063cb5bc2aa146105d3578063dc33e681146105f2578063e0ec7c361461061257600080fd5b80639f55252e116100fd5780639f55252e1461051c578063a0712d6814610531578063a22cb46514610544578063a6eb27e214610564578063b88d4fde1461057957600080fd5b80637b4fd96e1461049e5780638da5cb5b146104b45780638f430db0146104d257806395d89b41146104e75780639aaf21f4146104fc57600080fd5b806342842e0e116101c757806365b1de201161018b57806365b1de20146103895780636a61e5fc146104345780636ae146c21461045457806370a0823114610469578063715018a61461048957600080fd5b806342842e0e1461039f5780634f7f8976146103bf57806355f804b3146103df5780635b70ea9f146103ff5780636352211e1461041457600080fd5b80631b5cb7f31161020e5780631b5cb7f31461031f57806323b872dd1461033457806324600fc314610354578063253ca93414610369578063411c8daf1461038957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806318160ddd146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611c38565b610713565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610765565b6040516102779190611cad565b3480156102ae57600080fd5b506102c26102bd366004611cc0565b6107f7565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611cf5565b61083b565b005b34801561030857600080fd5b50600154600054035b604051908152602001610277565b34801561032b57600080fd5b506102fa6108c9565b34801561034057600080fd5b506102fa61034f366004611d1f565b610910565b34801561036057600080fd5b506102fa61091b565b34801561037557600080fd5b506102fa610384366004611cc0565b6109d3565b34801561039557600080fd5b5061031161270f81565b3480156103ab57600080fd5b506102fa6103ba366004611d1f565b610a02565b3480156103cb57600080fd5b506102fa6103da366004611cf5565b610a1d565b3480156103eb57600080fd5b506102fa6103fa366004611d5b565b610add565b34801561040b57600080fd5b506102fa610b13565b34801561042057600080fd5b506102c261042f366004611cc0565b610d07565b34801561044057600080fd5b506102fa61044f366004611cc0565b610d19565b34801561046057600080fd5b506102fa610d48565b34801561047557600080fd5b50610311610484366004611dcd565b610df4565b34801561049557600080fd5b506102fa610e43565b3480156104aa57600080fd5b5061031160095481565b3480156104c057600080fd5b506008546001600160a01b03166102c2565b3480156104de57600080fd5b506102fa610e79565b3480156104f357600080fd5b50610295610ec0565b34801561050857600080fd5b506102fa610517366004611cf5565b610ecf565b34801561052857600080fd5b50610311600a81565b6102fa61053f366004611cc0565b610f4b565b34801561055057600080fd5b506102fa61055f366004611de8565b6110ea565b34801561057057600080fd5b50610311600181565b34801561058557600080fd5b506102fa610594366004611e3a565b611180565b3480156105a557600080fd5b50600a5461026b9060ff1681565b3480156105bf57600080fd5b506102956105ce366004611cc0565b6111d1565b3480156105df57600080fd5b50600a5461026b90610100900460ff1681565b3480156105fe57600080fd5b5061031161060d366004611dcd565b611256565b34801561061e57600080fd5b5061031161062d366004611dcd565b600c6020526000908152604090205481565b34801561064b57600080fd5b50610311600b5481565b34801561066157600080fd5b50600a5461026b9062010000900460ff1681565b34801561068157600080fd5b5061026b610690366004611f16565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b50610311601e81565b3480156106df57600080fd5b506102fa6106ee366004611cc0565b611285565b3480156106ff57600080fd5b506102fa61070e366004611dcd565b611305565b60006001600160e01b031982166380ac58cd60e01b148061074457506001600160e01b03198216635b5e139f60e01b145b8061075f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461077490611f49565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090611f49565b80156107ed5780601f106107c2576101008083540402835291602001916107ed565b820191906000526020600020905b8154815290600101906020018083116107d057829003601f168201915b5050505050905090565b6000610802826113ac565b61081f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084682610d07565b9050806001600160a01b0316836001600160a01b0316141561087b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061089b57506108998133610690565b155b156108b9576040516367d9dca160e11b815260040160405180910390fd5b6108c48383836113d7565b505050565b6008546001600160a01b031633146108fc5760405162461bcd60e51b81526004016108f390611f84565b60405180910390fd5b600a805460ff19811660ff90911615179055565b6108c4838383611433565b6008546001600160a01b031633146109455760405162461bcd60e51b81526004016108f390611f84565b604051600090339047908381818185875af1925050503d8060008114610987576040519150601f19603f3d011682016040523d82523d6000602084013e61098c565b606091505b50509050806109d05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108f3565b50565b6008546001600160a01b031633146109fd5760405162461bcd60e51b81526004016108f390611f84565b600b55565b6108c483838360405180602001604052806000815250611180565b6008546001600160a01b03163314610a475760405162461bcd60e51b81526004016108f390611f84565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610a94576040519150601f19603f3d011682016040523d82523d6000602084013e610a99565b606091505b50509050806108c45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108f3565b6008546001600160a01b03163314610b075760405162461bcd60e51b81526004016108f390611f84565b6108c4600d8383611b89565b323314610b625760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016108f3565b600a54610100900460ff16610bb95760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f7420616374697665000000000000000060448201526064016108f3565b61270f600b546001610bcb9190611fcf565b1115610c305760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b60648201526084016108f3565b336000908152600c602052604090205415610c8d5760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e746564000060448201526064016108f3565b600161270f81610c9c60005490565b610ca69190611fcf565b1115610cc45760405162461bcd60e51b81526004016108f390611fe7565b336000908152600c6020526040812060019055600b805491610ce58361201c565b91905055506109d0336001604051806020016040528060008152506000611623565b6000610d12826117ef565b5192915050565b6008546001600160a01b03163314610d435760405162461bcd60e51b81526004016108f390611f84565b600955565b6008546001600160a01b03163314610d725760405162461bcd60e51b81526004016108f390611f84565b600a5462010000900460ff1615610dc25760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b60448201526064016108f3565b610de173d91ef02c7a0bdafbcffc5e80bebc18f7169c61c0601e61190b565b600a805462ff0000191662010000179055565b60006001600160a01b038216610e1d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e6d5760405162461bcd60e51b81526004016108f390611f84565b610e776000611925565b565b6008546001600160a01b03163314610ea35760405162461bcd60e51b81526004016108f390611f84565b600a805461ff001981166101009182900460ff1615909102179055565b60606003805461077490611f49565b6008546001600160a01b03163314610ef95760405162461bcd60e51b81526004016108f390611f84565b8061270f81610f0760005490565b610f119190611fcf565b1115610f2f5760405162461bcd60e51b81526004016108f390611fe7565b6108c48383604051806020016040528060008152506000611623565b323314610f9a5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016108f3565b600a54819060ff16610fee5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016108f3565b80600954610ffc9190612037565b3410156110445760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016108f3565b6000811180156110555750600a8111155b6110985760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b60448201526064016108f3565b8161270f816110a660005490565b6110b09190611fcf565b11156110ce5760405162461bcd60e51b81526004016108f390611fe7565b6108c43384604051806020016040528060008152506000611623565b6001600160a01b0382163314156111145760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61118b848484611433565b6001600160a01b0383163b151580156111ad57506111ab84848484611977565b155b156111cb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606111dc826113ac565b6111f957604051630a14c4b560e41b815260040160405180910390fd5b6000611203611a6f565b9050805160001415611224576040518060200160405280600081525061124f565b8061122e84611a7e565b60405160200161123f929190612056565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff1661075f565b6008546001600160a01b031633146112af5760405162461bcd60e51b81526004016108f390611f84565b8061270f816112bd60005490565b6112c79190611fcf565b11156112e55760405162461bcd60e51b81526004016108f390611fe7565b6113013383604051806020016040528060008152506000611623565b5050565b6008546001600160a01b0316331461132f5760405162461bcd60e51b81526004016108f390611f84565b6001600160a01b0381166113945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f3565b6109d081611925565b6001600160a01b03163b151590565b600080548210801561075f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061143e826117ef565b9050836001600160a01b031681600001516001600160a01b0316146114755760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061149357506114938533610690565b806114ae5750336114a3846107f7565b6001600160a01b0316145b9050806114ce57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166114f557604051633a954ecd60e21b815260040160405180910390fd5b611501600084876113d7565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166115d75760005482146115d7578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661164c57604051622e076360e81b815260040160405180910390fd5b8361166a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561171757506001600160a01b0387163b15155b156117a0575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117686000888480600101955088611977565b611785576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561171d57826000541461179b57600080fd5b6117e6565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156117a1575b5060005561161c565b6040805160608101825260008082526020820181905291810191909152816000548110156118f257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118f05780516001600160a01b031615611886579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118eb579392505050565b611886565b505b604051636f96cda160e11b815260040160405180910390fd5b611301828260405180602001604052806000815250611b7c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ac903390899088908890600401612095565b602060405180830381600087803b1580156119c657600080fd5b505af19250505080156119f6575060408051601f3d908101601f191682019092526119f3918101906120d2565b60015b611a51573d808015611a24576040519150601f19603f3d011682016040523d82523d6000602084013e611a29565b606091505b508051611a49576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461077490611f49565b606081611aa25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611acc5780611ab68161201c565b9150611ac59050600a83612105565b9150611aa6565b60008167ffffffffffffffff811115611ae757611ae7611e24565b6040519080825280601f01601f191660200182016040528015611b11576020820181803683370190505b5090505b8415611a6757611b26600183612119565b9150611b33600a86612130565b611b3e906030611fcf565b60f81b818381518110611b5357611b53612144565b60200101906001600160f81b031916908160001a905350611b75600a86612105565b9450611b15565b6108c48383836001611623565b828054611b9590611f49565b90600052602060002090601f016020900481019282611bb75760008555611bfd565b82601f10611bd05782800160ff19823516178555611bfd565b82800160010185558215611bfd579182015b82811115611bfd578235825591602001919060010190611be2565b50611c09929150611c0d565b5090565b5b80821115611c095760008155600101611c0e565b6001600160e01b0319811681146109d057600080fd5b600060208284031215611c4a57600080fd5b813561124f81611c22565b60005b83811015611c70578181015183820152602001611c58565b838111156111cb5750506000910152565b60008151808452611c99816020860160208601611c55565b601f01601f19169290920160200192915050565b60208152600061124f6020830184611c81565b600060208284031215611cd257600080fd5b5035919050565b80356001600160a01b0381168114611cf057600080fd5b919050565b60008060408385031215611d0857600080fd5b611d1183611cd9565b946020939093013593505050565b600080600060608486031215611d3457600080fd5b611d3d84611cd9565b9250611d4b60208501611cd9565b9150604084013590509250925092565b60008060208385031215611d6e57600080fd5b823567ffffffffffffffff80821115611d8657600080fd5b818501915085601f830112611d9a57600080fd5b813581811115611da957600080fd5b866020828501011115611dbb57600080fd5b60209290920196919550909350505050565b600060208284031215611ddf57600080fd5b61124f82611cd9565b60008060408385031215611dfb57600080fd5b611e0483611cd9565b915060208301358015158114611e1957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611e5057600080fd5b611e5985611cd9565b9350611e6760208601611cd9565b925060408501359150606085013567ffffffffffffffff80821115611e8b57600080fd5b818701915087601f830112611e9f57600080fd5b813581811115611eb157611eb1611e24565b604051601f8201601f19908116603f01168101908382118183101715611ed957611ed9611e24565b816040528281528a6020848701011115611ef257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611f2957600080fd5b611f3283611cd9565b9150611f4060208401611cd9565b90509250929050565b600181811c90821680611f5d57607f821691505b60208210811415611f7e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fe257611fe2611fb9565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b600060001982141561203057612030611fb9565b5060010190565b600081600019048311821515161561205157612051611fb9565b500290565b60008351612068818460208801611c55565b83519083019061207c818360208801611c55565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120c890830184611c81565b9695505050505050565b6000602082840312156120e457600080fd5b815161124f81611c22565b634e487b7160e01b600052601260045260246000fd5b600082612114576121146120ef565b500490565b60008282101561212b5761212b611fb9565b500390565b60008261213f5761213f6120ef565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220b88456b6357340b6198a7a98fc4d99737ef3ecc73c6500c484fdec167a4d12d464736f6c63430008090033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102465760003560e01c80637b4fd96e11610139578063bc8893b4116100b6578063e55f58bb1161007a578063e55f58bb1461063f578063e834a83414610655578063e985e9c514610675578063f03c8891146106be578063f19e75d4146106d3578063f2fde38b146106f357600080fd5b8063bc8893b414610599578063c87b56dd146105b3578063cb5bc2aa146105d3578063dc33e681146105f2578063e0ec7c361461061257600080fd5b80639f55252e116100fd5780639f55252e1461051c578063a0712d6814610531578063a22cb46514610544578063a6eb27e214610564578063b88d4fde1461057957600080fd5b80637b4fd96e1461049e5780638da5cb5b146104b45780638f430db0146104d257806395d89b41146104e75780639aaf21f4146104fc57600080fd5b806342842e0e116101c757806365b1de201161018b57806365b1de20146103895780636a61e5fc146104345780636ae146c21461045457806370a0823114610469578063715018a61461048957600080fd5b806342842e0e1461039f5780634f7f8976146103bf57806355f804b3146103df5780635b70ea9f146103ff5780636352211e1461041457600080fd5b80631b5cb7f31161020e5780631b5cb7f31461031f57806323b872dd1461033457806324600fc314610354578063253ca93414610369578063411c8daf1461038957600080fd5b806301ffc9a71461024b57806306fdde0314610280578063081812fc146102a2578063095ea7b3146102da57806318160ddd146102fc575b600080fd5b34801561025757600080fd5b5061026b610266366004611c38565b610713565b60405190151581526020015b60405180910390f35b34801561028c57600080fd5b50610295610765565b6040516102779190611cad565b3480156102ae57600080fd5b506102c26102bd366004611cc0565b6107f7565b6040516001600160a01b039091168152602001610277565b3480156102e657600080fd5b506102fa6102f5366004611cf5565b61083b565b005b34801561030857600080fd5b50600154600054035b604051908152602001610277565b34801561032b57600080fd5b506102fa6108c9565b34801561034057600080fd5b506102fa61034f366004611d1f565b610910565b34801561036057600080fd5b506102fa61091b565b34801561037557600080fd5b506102fa610384366004611cc0565b6109d3565b34801561039557600080fd5b5061031161270f81565b3480156103ab57600080fd5b506102fa6103ba366004611d1f565b610a02565b3480156103cb57600080fd5b506102fa6103da366004611cf5565b610a1d565b3480156103eb57600080fd5b506102fa6103fa366004611d5b565b610add565b34801561040b57600080fd5b506102fa610b13565b34801561042057600080fd5b506102c261042f366004611cc0565b610d07565b34801561044057600080fd5b506102fa61044f366004611cc0565b610d19565b34801561046057600080fd5b506102fa610d48565b34801561047557600080fd5b50610311610484366004611dcd565b610df4565b34801561049557600080fd5b506102fa610e43565b3480156104aa57600080fd5b5061031160095481565b3480156104c057600080fd5b506008546001600160a01b03166102c2565b3480156104de57600080fd5b506102fa610e79565b3480156104f357600080fd5b50610295610ec0565b34801561050857600080fd5b506102fa610517366004611cf5565b610ecf565b34801561052857600080fd5b50610311600a81565b6102fa61053f366004611cc0565b610f4b565b34801561055057600080fd5b506102fa61055f366004611de8565b6110ea565b34801561057057600080fd5b50610311600181565b34801561058557600080fd5b506102fa610594366004611e3a565b611180565b3480156105a557600080fd5b50600a5461026b9060ff1681565b3480156105bf57600080fd5b506102956105ce366004611cc0565b6111d1565b3480156105df57600080fd5b50600a5461026b90610100900460ff1681565b3480156105fe57600080fd5b5061031161060d366004611dcd565b611256565b34801561061e57600080fd5b5061031161062d366004611dcd565b600c6020526000908152604090205481565b34801561064b57600080fd5b50610311600b5481565b34801561066157600080fd5b50600a5461026b9062010000900460ff1681565b34801561068157600080fd5b5061026b610690366004611f16565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ca57600080fd5b50610311601e81565b3480156106df57600080fd5b506102fa6106ee366004611cc0565b611285565b3480156106ff57600080fd5b506102fa61070e366004611dcd565b611305565b60006001600160e01b031982166380ac58cd60e01b148061074457506001600160e01b03198216635b5e139f60e01b145b8061075f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461077490611f49565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090611f49565b80156107ed5780601f106107c2576101008083540402835291602001916107ed565b820191906000526020600020905b8154815290600101906020018083116107d057829003601f168201915b5050505050905090565b6000610802826113ac565b61081f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061084682610d07565b9050806001600160a01b0316836001600160a01b0316141561087b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061089b57506108998133610690565b155b156108b9576040516367d9dca160e11b815260040160405180910390fd5b6108c48383836113d7565b505050565b6008546001600160a01b031633146108fc5760405162461bcd60e51b81526004016108f390611f84565b60405180910390fd5b600a805460ff19811660ff90911615179055565b6108c4838383611433565b6008546001600160a01b031633146109455760405162461bcd60e51b81526004016108f390611f84565b604051600090339047908381818185875af1925050503d8060008114610987576040519150601f19603f3d011682016040523d82523d6000602084013e61098c565b606091505b50509050806109d05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108f3565b50565b6008546001600160a01b031633146109fd5760405162461bcd60e51b81526004016108f390611f84565b600b55565b6108c483838360405180602001604052806000815250611180565b6008546001600160a01b03163314610a475760405162461bcd60e51b81526004016108f390611f84565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610a94576040519150601f19603f3d011682016040523d82523d6000602084013e610a99565b606091505b50509050806108c45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b60448201526064016108f3565b6008546001600160a01b03163314610b075760405162461bcd60e51b81526004016108f390611f84565b6108c4600d8383611b89565b323314610b625760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016108f3565b600a54610100900460ff16610bb95760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f7420616374697665000000000000000060448201526064016108f3565b61270f600b546001610bcb9190611fcf565b1115610c305760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b60648201526084016108f3565b336000908152600c602052604090205415610c8d5760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e746564000060448201526064016108f3565b600161270f81610c9c60005490565b610ca69190611fcf565b1115610cc45760405162461bcd60e51b81526004016108f390611fe7565b336000908152600c6020526040812060019055600b805491610ce58361201c565b91905055506109d0336001604051806020016040528060008152506000611623565b6000610d12826117ef565b5192915050565b6008546001600160a01b03163314610d435760405162461bcd60e51b81526004016108f390611f84565b600955565b6008546001600160a01b03163314610d725760405162461bcd60e51b81526004016108f390611f84565b600a5462010000900460ff1615610dc25760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b60448201526064016108f3565b610de173d91ef02c7a0bdafbcffc5e80bebc18f7169c61c0601e61190b565b600a805462ff0000191662010000179055565b60006001600160a01b038216610e1d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e6d5760405162461bcd60e51b81526004016108f390611f84565b610e776000611925565b565b6008546001600160a01b03163314610ea35760405162461bcd60e51b81526004016108f390611f84565b600a805461ff001981166101009182900460ff1615909102179055565b60606003805461077490611f49565b6008546001600160a01b03163314610ef95760405162461bcd60e51b81526004016108f390611f84565b8061270f81610f0760005490565b610f119190611fcf565b1115610f2f5760405162461bcd60e51b81526004016108f390611fe7565b6108c48383604051806020016040528060008152506000611623565b323314610f9a5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016108f3565b600a54819060ff16610fee5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016108f3565b80600954610ffc9190612037565b3410156110445760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b60448201526064016108f3565b6000811180156110555750600a8111155b6110985760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b60448201526064016108f3565b8161270f816110a660005490565b6110b09190611fcf565b11156110ce5760405162461bcd60e51b81526004016108f390611fe7565b6108c43384604051806020016040528060008152506000611623565b6001600160a01b0382163314156111145760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61118b848484611433565b6001600160a01b0383163b151580156111ad57506111ab84848484611977565b155b156111cb576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606111dc826113ac565b6111f957604051630a14c4b560e41b815260040160405180910390fd5b6000611203611a6f565b9050805160001415611224576040518060200160405280600081525061124f565b8061122e84611a7e565b60405160200161123f929190612056565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff1661075f565b6008546001600160a01b031633146112af5760405162461bcd60e51b81526004016108f390611f84565b8061270f816112bd60005490565b6112c79190611fcf565b11156112e55760405162461bcd60e51b81526004016108f390611fe7565b6113013383604051806020016040528060008152506000611623565b5050565b6008546001600160a01b0316331461132f5760405162461bcd60e51b81526004016108f390611f84565b6001600160a01b0381166113945760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108f3565b6109d081611925565b6001600160a01b03163b151590565b600080548210801561075f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061143e826117ef565b9050836001600160a01b031681600001516001600160a01b0316146114755760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061149357506114938533610690565b806114ae5750336114a3846107f7565b6001600160a01b0316145b9050806114ce57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166114f557604051633a954ecd60e21b815260040160405180910390fd5b611501600084876113d7565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166115d75760005482146115d7578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661164c57604051622e076360e81b815260040160405180910390fd5b8361166a5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561171757506001600160a01b0387163b15155b156117a0575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117686000888480600101955088611977565b611785576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561171d57826000541461179b57600080fd5b6117e6565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156117a1575b5060005561161c565b6040805160608101825260008082526020820181905291810191909152816000548110156118f257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906118f05780516001600160a01b031615611886579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156118eb579392505050565b611886565b505b604051636f96cda160e11b815260040160405180910390fd5b611301828260405180602001604052806000815250611b7c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906119ac903390899088908890600401612095565b602060405180830381600087803b1580156119c657600080fd5b505af19250505080156119f6575060408051601f3d908101601f191682019092526119f3918101906120d2565b60015b611a51573d808015611a24576040519150601f19603f3d011682016040523d82523d6000602084013e611a29565b606091505b508051611a49576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461077490611f49565b606081611aa25750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611acc5780611ab68161201c565b9150611ac59050600a83612105565b9150611aa6565b60008167ffffffffffffffff811115611ae757611ae7611e24565b6040519080825280601f01601f191660200182016040528015611b11576020820181803683370190505b5090505b8415611a6757611b26600183612119565b9150611b33600a86612130565b611b3e906030611fcf565b60f81b818381518110611b5357611b53612144565b60200101906001600160f81b031916908160001a905350611b75600a86612105565b9450611b15565b6108c48383836001611623565b828054611b9590611f49565b90600052602060002090601f016020900481019282611bb75760008555611bfd565b82601f10611bd05782800160ff19823516178555611bfd565b82800160010185558215611bfd579182015b82811115611bfd578235825591602001919060010190611be2565b50611c09929150611c0d565b5090565b5b80821115611c095760008155600101611c0e565b6001600160e01b0319811681146109d057600080fd5b600060208284031215611c4a57600080fd5b813561124f81611c22565b60005b83811015611c70578181015183820152602001611c58565b838111156111cb5750506000910152565b60008151808452611c99816020860160208601611c55565b601f01601f19169290920160200192915050565b60208152600061124f6020830184611c81565b600060208284031215611cd257600080fd5b5035919050565b80356001600160a01b0381168114611cf057600080fd5b919050565b60008060408385031215611d0857600080fd5b611d1183611cd9565b946020939093013593505050565b600080600060608486031215611d3457600080fd5b611d3d84611cd9565b9250611d4b60208501611cd9565b9150604084013590509250925092565b60008060208385031215611d6e57600080fd5b823567ffffffffffffffff80821115611d8657600080fd5b818501915085601f830112611d9a57600080fd5b813581811115611da957600080fd5b866020828501011115611dbb57600080fd5b60209290920196919550909350505050565b600060208284031215611ddf57600080fd5b61124f82611cd9565b60008060408385031215611dfb57600080fd5b611e0483611cd9565b915060208301358015158114611e1957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611e5057600080fd5b611e5985611cd9565b9350611e6760208601611cd9565b925060408501359150606085013567ffffffffffffffff80821115611e8b57600080fd5b818701915087601f830112611e9f57600080fd5b813581811115611eb157611eb1611e24565b604051601f8201601f19908116603f01168101908382118183101715611ed957611ed9611e24565b816040528281528a6020848701011115611ef257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611f2957600080fd5b611f3283611cd9565b9150611f4060208401611cd9565b90509250929050565b600181811c90821680611f5d57607f821691505b60208210811415611f7e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008219821115611fe257611fe2611fb9565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b600060001982141561203057612030611fb9565b5060010190565b600081600019048311821515161561205157612051611fb9565b500290565b60008351612068818460208801611c55565b83519083019061207c818360208801611c55565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120c890830184611c81565b9695505050505050565b6000602082840312156120e457600080fd5b815161124f81611c22565b634e487b7160e01b600052601260045260246000fd5b600082612114576121146120ef565b500490565b60008282101561212b5761212b611fb9565b500390565b60008261213f5761213f6120ef565b500690565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220b88456b6357340b6198a7a98fc4d99737ef3ecc73c6500c484fdec167a4d12d464736f6c63430008090033

Deployed Bytecode Sourcemap

58143:4572:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36645:305;;;;;;;;;;-1:-1:-1;36645:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;36645:305:0;;;;;;;;39758:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;41261:204::-;;;;;;;;;;-1:-1:-1;41261:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;41261:204:0;1528:203:1;40824:371:0;;;;;;;;;;-1:-1:-1;40824:371:0;;;;;:::i;:::-;;:::i;:::-;;35894:303;;;;;;;;;;-1:-1:-1;36148:12:0;;35938:7;36132:13;:28;35894:303;;;2319:25:1;;;2307:2;2292:18;35894:303:0;2173:177:1;62604:106:0;;;;;;;;;;;;;:::i;42126:170::-;;;;;;;;;;-1:-1:-1;42126:170:0;;;;;:::i;:::-;;:::i;62097:178::-;;;;;;;;;;;;;:::i;61690:102::-;;;;;;;;;;-1:-1:-1;61690:102:0;;;;;:::i;:::-;;:::i;58393:48::-;;;;;;;;;;;;58437:4;58393:48;;42367:185;;;;;;;;;;-1:-1:-1;42367:185:0;;;;;:::i;:::-;;:::i;62283:201::-;;;;;;;;;;-1:-1:-1;62283:201:0;;;;;:::i;:::-;;:::i;61983:106::-;;;;;;;;;;-1:-1:-1;61983:106:0;;;;;:::i;:::-;;:::i;60001:247::-;;;;;;;;;;;;;:::i;39566:125::-;;;;;;;;;;-1:-1:-1;39566:125:0;;;;;:::i;:::-;;:::i;61800:175::-;;;;;;;;;;-1:-1:-1;61800:175:0;;;;;:::i;:::-;;:::i;61266:194::-;;;;;;;;;;;;;:::i;37014:206::-;;;;;;;;;;-1:-1:-1;37014:206:0;;;;;:::i;:::-;;:::i;56114:103::-;;;;;;;;;;;;;:::i;58624:40::-;;;;;;;;;;;;;;;;55463:87;;;;;;;;;;-1:-1:-1;55536:6:0;;-1:-1:-1;;;;;55536:6:0;55463:87;;62496:100;;;;;;;;;;;;;:::i;39927:104::-;;;;;;;;;;;;;:::i;61468:214::-;;;;;;;;;;-1:-1:-1;61468:214:0;;;;;:::i;:::-;;:::i;58508:46::-;;;;;;;;;;;;58552:2;58508:46;;60256:229;;;;;;:::i;:::-;;:::i;41537:287::-;;;;;;;;;;-1:-1:-1;41537:287:0;;;;;:::i;:::-;;:::i;58449:52::-;;;;;;;;;;;;58500:1;58449:52;;42623:369;;;;;;;;;;-1:-1:-1;42623:369:0;;;;;:::i;:::-;;:::i;58671:28::-;;;;;;;;;;-1:-1:-1;58671:28:0;;;;;;;;60615:327;;;;;;;;;;-1:-1:-1;60615:327:0;;;;;:::i;:::-;;:::i;58706:26::-;;;;;;;;;;-1:-1:-1;58706:26:0;;;;;;;;;;;60950:113;;;;;;;;;;-1:-1:-1;60950:113:0;;;;;:::i;:::-;;:::i;58810:50::-;;;;;;;;;;-1:-1:-1;58810:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;58773:28;;;;;;;;;;;;;;;;58739:27;;;;;;;;;;-1:-1:-1;58739:27:0;;;;;;;;;;;41895:164;;;;;;;;;;-1:-1:-1;41895:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;42016:25:0;;;41992:4;42016:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41895:164;58563:46;;;;;;;;;;;;58607:2;58563:46;;61071:185;;;;;;;;;;-1:-1:-1;61071:185:0;;;;;:::i;:::-;;:::i;56372:201::-;;;;;;;;;;-1:-1:-1;56372:201:0;;;;;:::i;:::-;;:::i;36645:305::-;36747:4;-1:-1:-1;;;;;;36784:40:0;;-1:-1:-1;;;36784:40:0;;:105;;-1:-1:-1;;;;;;;36841:48:0;;-1:-1:-1;;;36841:48:0;36784:105;:158;;;-1:-1:-1;;;;;;;;;;12955:40:0;;;36906:36;36764:178;36645:305;-1:-1:-1;;36645:305:0:o;39758:100::-;39812:13;39845:5;39838:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39758:100;:::o;41261:204::-;41329:7;41354:16;41362:7;41354;:16::i;:::-;41349:64;;41379:34;;-1:-1:-1;;;41379:34:0;;;;;;;;;;;41349:64;-1:-1:-1;41433:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;41433:24:0;;41261:204::o;40824:371::-;40897:13;40913:24;40929:7;40913:15;:24::i;:::-;40897:40;;40958:5;-1:-1:-1;;;;;40952:11:0;:2;-1:-1:-1;;;;;40952:11:0;;40948:48;;;40972:24;;-1:-1:-1;;;40972:24:0;;;;;;;;;;;40948:48;32197:10;-1:-1:-1;;;;;41013:21:0;;;;;;:63;;-1:-1:-1;41039:37:0;41056:5;32197:10;41895:164;:::i;41039:37::-;41038:38;41013:63;41009:138;;;41100:35;;-1:-1:-1;;;41100:35:0;;;;;;;;;;;41009:138;41159:28;41168:2;41172:7;41181:5;41159:8;:28::i;:::-;40886:309;40824:371;;:::o;62604:106::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;;;;;;;;;62686:16:::1;::::0;;-1:-1:-1;;62666:36:0;::::1;62686:16;::::0;;::::1;62685:17;62666:36;::::0;;62604:106::o;42126:170::-;42260:28;42270:4;42276:2;42280:7;42260:9;:28::i;62097:178::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;62171:49:::1;::::0;62153:12:::1;::::0;62171:10:::1;::::0;62194:21:::1;::::0;62153:12;62171:49;62153:12;62171:49;62194:21;62171:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62152:68;;;62239:7;62231:36;;;::::0;-1:-1:-1;;;62231:36:0;;6526:2:1;62231:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;62231:36:0::1;6324:340:1::0;62231:36:0::1;62141:134;62097:178::o:0;61690:102::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;61762:13:::1;:22:::0;61690:102::o;42367:185::-;42505:39;42522:4;42528:2;42532:7;42505:39;;;;;;;;;;;;:16;:39::i;62283:201::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;62380:12:::1;62397:8;-1:-1:-1::0;;;;;62397:13:0::1;62418:6;62397:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62379:50;;;62448:7;62440:36;;;::::0;-1:-1:-1;;;62440:36:0;;6526:2:1;62440:36:0::1;::::0;::::1;6508:21:1::0;6565:2;6545:18;;;6538:30;-1:-1:-1;;;6584:18:1;;;6577:46;6640:18;;62440:36:0::1;6324:340:1::0;61983:106:0;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;62058:23:::1;:13;62074:7:::0;;62058:23:::1;:::i;60001:247::-:0;59058:9;59071:10;59058:23;59050:66;;;;-1:-1:-1;;;59050:66:0;;6871:2:1;59050:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;59050:66:0;6669:354:1;59050:66:0;59409:14:::1;::::0;::::1;::::0;::::1;;;59401:51;;;::::0;-1:-1:-1;;;59401:51:0;;7230:2:1;59401:51:0::1;::::0;::::1;7212:21:1::0;7269:2;7249:18;;;7242:30;7308:26;7288:18;;;7281:54;7352:18;;59401:51:0::1;7028:348:1::0;59401:51:0::1;58437:4;59471:13;;59487:1;59471:17;;;;:::i;:::-;:38;;59463:97;;;::::0;-1:-1:-1;;;59463:97:0;;7848:2:1;59463:97:0::1;::::0;::::1;7830:21:1::0;7887:2;7867:18;;;7860:30;7926:34;7906:18;;;7899:62;-1:-1:-1;;;7977:18:1;;;7970:44;8031:19;;59463:97:0::1;7646:410:1::0;59463:97:0::1;59595:10;59579:27;::::0;;;:15:::1;:27;::::0;;;;;:32;59571:75:::1;;;::::0;-1:-1:-1;;;59571:75:0;;8263:2:1;59571:75:0::1;::::0;::::1;8245:21:1::0;8302:2;8282:18;;;8275:30;8341:32;8321:18;;;8314:60;8391:18;;59571:75:0::1;8061:354:1::0;59571:75:0::1;60120:1:::2;58382:4;59237:9;59220:14;36337:7:::0;36523:13;;36290:283;59220:14:::2;:26;;;;:::i;:::-;:46;;59198:128;;;;-1:-1:-1::0;;;59198:128:0::2;;;;;;;:::i;:::-;60155:10:::3;60139:27;::::0;;;:15:::3;:27;::::0;;;;60169:1:::3;60139:31:::0;;60181:13:::3;:15:::0;;;::::3;::::0;::::3;:::i;:::-;;;;;;60209:31;60215:10;60227:1;60209:31;;;;;;;;;;;::::0;60234:5:::3;60209;:31::i;39566:125::-:0;39630:7;39657:21;39670:7;39657:12;:21::i;:::-;:26;;39566:125;-1:-1:-1;;39566:125:0:o;61800:175::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;61945:11:::1;:22:::0;61800:175::o;61266:194::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;61326:7:::1;::::0;;;::::1;;;61325:8;61317:41;;;::::0;-1:-1:-1;;;61317:41:0;;9529:2:1;61317:41:0::1;::::0;::::1;9511:21:1::0;9568:2;9548:18;;;9541:30;-1:-1:-1;;;9587:18:1;;;9580:50;9647:18;;61317:41:0::1;9327:344:1::0;61317:41:0::1;61387:42;58288;58607:2;61387:9;:42::i;:::-;61440:7;:14:::0;;-1:-1:-1;;61440:14:0::1;::::0;::::1;::::0;;61266:194::o;37014:206::-;37078:7;-1:-1:-1;;;;;37102:19:0;;37098:60;;37130:28;;-1:-1:-1;;;37130:28:0;;;;;;;;;;;37098:60;-1:-1:-1;;;;;;37184:19:0;;;;;:12;:19;;;;;:27;;;;37014:206::o;56114:103::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;56179:30:::1;56206:1;56179:18;:30::i;:::-;56114:103::o:0;62496:100::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;62574:14:::1;::::0;;-1:-1:-1;;62556:32:0;::::1;62574:14;::::0;;;::::1;;;62573:15;62556:32:::0;;::::1;;::::0;;62496:100::o;39927:104::-;39983:13;40016:7;40009:14;;;;;:::i;61468:214::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;61600:13:::1;58382:4;59237:9;59220:14;36337:7:::0;36523:13;;36290:283;59220:14:::1;:26;;;;:::i;:::-;:46;;59198:128;;;;-1:-1:-1::0;;;59198:128:0::1;;;;;;;:::i;:::-;61631:43:::2;61637:10;61649:13;61631:43;;;;;;;;;;;::::0;61668:5:::2;61631;:43::i;60256:229::-:0;59058:9;59071:10;59058:23;59050:66;;;;-1:-1:-1;;;59050:66:0;;6871:2:1;59050:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;59050:66:0;6669:354:1;59050:66:0;59752:16:::1;::::0;60376:9;;59752:16:::1;;59744:54;;;::::0;-1:-1:-1;;;59744:54:0;;9878:2:1;59744:54:0::1;::::0;::::1;9860:21:1::0;9917:2;9897:18;;;9890:30;9956:27;9936:18;;;9929:55;10001:18;;59744:54:0::1;9676:349:1::0;59744:54:0::1;59844:9;59830:11;;:23;;;;:::i;:::-;59817:9;:36;;59809:71;;;::::0;-1:-1:-1;;;59809:71:0;;10405:2:1;59809:71:0::1;::::0;::::1;10387:21:1::0;10444:2;10424:18;;;10417:30;-1:-1:-1;;;10463:18:1;;;10456:52;10525:18;;59809:71:0::1;10203:346:1::0;59809:71:0::1;59911:1;59899:9;:13;:47;;;;;58552:2;59916:9;:30;;59899:47;59891:80;;;::::0;-1:-1:-1;;;59891:80:0;;10756:2:1;59891:80:0::1;::::0;::::1;10738:21:1::0;10795:2;10775:18;;;10768:30;-1:-1:-1;;;10814:18:1;;;10807:50;10874:18;;59891:80:0::1;10554:344:1::0;59891:80:0::1;60411:9:::2;58382:4;59237:9;59220:14;36337:7:::0;36523:13;;36290:283;59220:14:::2;:26;;;;:::i;:::-;:46;;59198:128;;;;-1:-1:-1::0;;;59198:128:0::2;;;;;;;:::i;:::-;60438:39:::3;60444:10;60456:9;60438:39;;;;;;;;;;;::::0;60471:5:::3;60438;:39::i;41537:287::-:0;-1:-1:-1;;;;;41636:24:0;;32197:10;41636:24;41632:54;;;41669:17;;-1:-1:-1;;;41669:17:0;;;;;;;;;;;41632:54;32197:10;41699:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;41699:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;41699:53:0;;;;;;;;;;41768:48;;540:41:1;;;41699:42:0;;32197:10;41768:48;;513:18:1;41768:48:0;;;;;;;41537:287;;:::o;42623:369::-;42790:28;42800:4;42806:2;42810:7;42790:9;:28::i;:::-;-1:-1:-1;;;;;42833:13:0;;3035:19;:23;;42833:76;;;;;42853:56;42884:4;42890:2;42894:7;42903:5;42853:30;:56::i;:::-;42852:57;42833:76;42829:156;;;42933:40;;-1:-1:-1;;;42933:40:0;;;;;;;;;;;42829:156;42623:369;;;;:::o;60615:327::-;60688:13;60719:16;60727:7;60719;:16::i;:::-;60714:59;;60744:29;;-1:-1:-1;;;60744:29:0;;;;;;;;;;;60714:59;60786:21;60810:10;:8;:10::i;:::-;60786:34;;60844:7;60838:21;60863:1;60838:26;;:96;;;;;;;;;;;;;;;;;60891:7;60900:18;:7;:16;:18::i;:::-;60874:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60838:96;60831:103;60615:327;-1:-1:-1;;;60615:327:0:o;60950:113::-;-1:-1:-1;;;;;37398:19:0;;61008:7;37398:19;;;:12;:19;;;;;:32;-1:-1:-1;;;37398:32:0;;;;61035:20;37302:137;61071:185;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;61174:13:::1;58382:4;59237:9;59220:14;36337:7:::0;36523:13;;36290:283;59220:14:::1;:26;;;;:::i;:::-;:46;;59198:128;;;;-1:-1:-1::0;;;59198:128:0::1;;;;;;;:::i;:::-;61205:43:::2;61211:10;61223:13;61205:43;;;;;;;;;;;::::0;61242:5:::2;61205;:43::i;:::-;55754:1:::1;61071:185:::0;:::o;56372:201::-;55536:6;;-1:-1:-1;;;;;55536:6:0;32197:10;55683:23;55675:68;;;;-1:-1:-1;;;55675:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;56461:22:0;::::1;56453:73;;;::::0;-1:-1:-1;;;56453:73:0;;11747:2:1;56453:73:0::1;::::0;::::1;11729:21:1::0;11786:2;11766:18;;;11759:30;11825:34;11805:18;;;11798:62;-1:-1:-1;;;11876:18:1;;;11869:36;11922:19;;56453:73:0::1;11545:402:1::0;56453:73:0::1;56537:28;56556:8;56537:18;:28::i;2740:326::-:0;-1:-1:-1;;;;;3035:19:0;;:23;;;2740:326::o;43247:187::-;43304:4;43368:13;;43358:7;:23;43328:98;;;;-1:-1:-1;;43399:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;43399:27:0;;;;43398:28;;43247:187::o;51417:196::-;51532:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;51532:29:0;-1:-1:-1;;;;;51532:29:0;;;;;;;;;51577:28;;51532:24;;51577:28;;;;;;;51417:196;;;:::o;46360:2130::-;46475:35;46513:21;46526:7;46513:12;:21::i;:::-;46475:59;;46573:4;-1:-1:-1;;;;;46551:26:0;:13;:18;;;-1:-1:-1;;;;;46551:26:0;;46547:67;;46586:28;;-1:-1:-1;;;46586:28:0;;;;;;;;;;;46547:67;46627:22;32197:10;-1:-1:-1;;;;;46653:20:0;;;;:73;;-1:-1:-1;46690:36:0;46707:4;32197:10;41895:164;:::i;46690:36::-;46653:126;;;-1:-1:-1;32197:10:0;46743:20;46755:7;46743:11;:20::i;:::-;-1:-1:-1;;;;;46743:36:0;;46653:126;46627:153;;46798:17;46793:66;;46824:35;;-1:-1:-1;;;46824:35:0;;;;;;;;;;;46793:66;-1:-1:-1;;;;;46874:16:0;;46870:52;;46899:23;;-1:-1:-1;;;46899:23:0;;;;;;;;;;;46870:52;47043:35;47060:1;47064:7;47073:4;47043:8;:35::i;:::-;-1:-1:-1;;;;;47374:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;47374:31:0;;;;;;;-1:-1:-1;;47374:31:0;;;;;;;47420:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;47420:29:0;;;;;;;;;;;47500:20;;;:11;:20;;;;;;47535:18;;-1:-1:-1;;;;;;47568:49:0;;;;-1:-1:-1;;;47601:15:0;47568:49;;;;;;;;;;47891:11;;47951:24;;;;;47994:13;;47500:20;;47951:24;;47994:13;47990:384;;48204:13;;48189:11;:28;48185:174;;48242:20;;48311:28;;;;48285:54;;-1:-1:-1;;;48285:54:0;-1:-1:-1;;;;;;48285:54:0;;;-1:-1:-1;;;;;48242:20:0;;48285:54;;;;48185:174;47349:1036;;;48421:7;48417:2;-1:-1:-1;;;;;48402:27:0;48411:4;-1:-1:-1;;;;;48402:27:0;;;;;;;;;;;48440:42;46464:2026;;46360:2130;;;:::o;44331:1775::-;44470:20;44493:13;-1:-1:-1;;;;;44521:16:0;;44517:48;;44546:19;;-1:-1:-1;;;44546:19:0;;;;;;;;;;;44517:48;44580:13;44576:44;;44602:18;;-1:-1:-1;;;44602:18:0;;;;;;;;;;;44576:44;-1:-1:-1;;;;;44971:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;45030:49:0;;44971:44;;;;;;;;45030:49;;;-1:-1:-1;;;;;44971:44:0;;;;;;45030:49;;;;;;;;;;;;;;;;45096:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;45146:66:0;;;;-1:-1:-1;;;45196:15:0;45146:66;;;;;;;;;;45096:25;45293:23;;;45337:4;:23;;;;-1:-1:-1;;;;;;45345:13:0;;3035:19;:23;;45345:15;45333:641;;;45381:314;45412:38;;45437:12;;-1:-1:-1;;;;;45412:38:0;;;45429:1;;45412:38;;45429:1;;45412:38;45478:69;45517:1;45521:2;45525:14;;;;;;45541:5;45478:30;:69::i;:::-;45473:174;;45583:40;;-1:-1:-1;;;45583:40:0;;;;;;;;;;;45473:174;45690:3;45674:12;:19;;45381:314;;45776:12;45759:13;;:29;45755:43;;45790:8;;;45755:43;45333:641;;;45839:120;45870:40;;45895:14;;;;;-1:-1:-1;;;;;45870:40:0;;;45887:1;;45870:40;;45887:1;;45870:40;45954:3;45938:12;:19;;45839:120;;45333:641;-1:-1:-1;45988:13:0;:28;46038:60;42623:369;38395:1109;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;38506:7:0;38589:13;;38582:4;:20;38551:886;;;38623:31;38657:17;;;:11;:17;;;;;;;;;38623:51;;;;;;;;;-1:-1:-1;;;;;38623:51:0;;;;-1:-1:-1;;;38623:51:0;;;;;;;;;;;-1:-1:-1;;;38623:51:0;;;;;;;;;;;;;;38693:729;;38743:14;;-1:-1:-1;;;;;38743:28:0;;38739:101;;38807:9;38395:1109;-1:-1:-1;;;38395:1109:0:o;38739:101::-;-1:-1:-1;;;39182:6:0;39227:17;;;;:11;:17;;;;;;;;;39215:29;;;;;;;;;-1:-1:-1;;;;;39215:29:0;;;;;-1:-1:-1;;;39215:29:0;;;;;;;;;;;-1:-1:-1;;;39215:29:0;;;;;;;;;;;;;39275:28;39271:109;;39343:9;38395:1109;-1:-1:-1;;;38395:1109:0:o;39271:109::-;39142:261;;;38604:833;38551:886;39465:31;;-1:-1:-1;;;39465:31:0;;;;;;;;;;;43442:104;43511:27;43521:2;43525:8;43511:27;;;;;;;;;;;;:9;:27::i;56733:191::-;56826:6;;;-1:-1:-1;;;;;56843:17:0;;;-1:-1:-1;;;;;;56843:17:0;;;;;;;56876:40;;56826:6;;;56843:17;56826:6;;56876:40;;56807:16;;56876:40;56796:128;56733:191;:::o;52105:667::-;52289:72;;-1:-1:-1;;;52289:72:0;;52268:4;;-1:-1:-1;;;;;52289:36:0;;;;;:72;;32197:10;;52340:4;;52346:7;;52355:5;;52289:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52289:72:0;;;;;;;;-1:-1:-1;;52289:72:0;;;;;;;;;;;;:::i;:::-;;;52285:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52523:13:0;;52519:235;;52569:40;;-1:-1:-1;;;52569:40:0;;;;;;;;;;;52519:235;52712:6;52706:13;52697:6;52693:2;52689:15;52682:38;52285:480;-1:-1:-1;;;;;;52408:55:0;-1:-1:-1;;;52408:55:0;;-1:-1:-1;52285:480:0;52105:667;;;;;;:::o;60493:114::-;60553:13;60586;60579:20;;;;;:::i;20145:723::-;20201:13;20422:10;20418:53;;-1:-1:-1;;20449:10:0;;;;;;;;;;;;-1:-1:-1;;;20449:10:0;;;;;20145:723::o;20418:53::-;20496:5;20481:12;20537:78;20544:9;;20537:78;;20570:8;;;;:::i;:::-;;-1:-1:-1;20593:10:0;;-1:-1:-1;20601:2:0;20593:10;;:::i;:::-;;;20537:78;;;20625:19;20657:6;20647:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20647:17:0;;20625:39;;20675:154;20682:10;;20675:154;;20709:11;20719:1;20709:11;;:::i;:::-;;-1:-1:-1;20778:10:0;20786:2;20778:5;:10;:::i;:::-;20765:24;;:2;:24;:::i;:::-;20752:39;;20735:6;20742;20735:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20735:56:0;;;;;;;;-1:-1:-1;20806:11:0;20815:2;20806:11;;:::i;:::-;;;20675:154;;43909:163;44032:32;44038:2;44042:8;44052:5;44059:4;44032:5;:32::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:1;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:1:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:592::-;2759:6;2767;2820:2;2808:9;2799:7;2795:23;2791:32;2788:52;;;2836:1;2833;2826:12;2788:52;2876:9;2863:23;2905:18;2946:2;2938:6;2935:14;2932:34;;;2962:1;2959;2952:12;2932:34;3000:6;2989:9;2985:22;2975:32;;3045:7;3038:4;3034:2;3030:13;3026:27;3016:55;;3067:1;3064;3057:12;3016:55;3107:2;3094:16;3133:2;3125:6;3122:14;3119:34;;;3149:1;3146;3139:12;3119:34;3194:7;3189:2;3180:6;3176:2;3172:15;3168:24;3165:37;3162:57;;;3215:1;3212;3205:12;3162:57;3246:2;3238:11;;;;;3268:6;;-1:-1:-1;2688:592:1;;-1:-1:-1;;;;2688:592:1:o;3285:186::-;3344:6;3397:2;3385:9;3376:7;3372:23;3368:32;3365:52;;;3413:1;3410;3403:12;3365:52;3436:29;3455:9;3436:29;:::i;3476:347::-;3541:6;3549;3602:2;3590:9;3581:7;3577:23;3573:32;3570:52;;;3618:1;3615;3608:12;3570:52;3641:29;3660:9;3641:29;:::i;:::-;3631:39;;3720:2;3709:9;3705:18;3692:32;3767:5;3760:13;3753:21;3746:5;3743:32;3733:60;;3789:1;3786;3779:12;3733:60;3812:5;3802:15;;;3476:347;;;;;:::o;3828:127::-;3889:10;3884:3;3880:20;3877:1;3870:31;3920:4;3917:1;3910:15;3944:4;3941:1;3934:15;3960:1138;4055:6;4063;4071;4079;4132:3;4120:9;4111:7;4107:23;4103:33;4100:53;;;4149:1;4146;4139:12;4100:53;4172:29;4191:9;4172:29;:::i;:::-;4162:39;;4220:38;4254:2;4243:9;4239:18;4220:38;:::i;:::-;4210:48;;4305:2;4294:9;4290:18;4277:32;4267:42;;4360:2;4349:9;4345:18;4332:32;4383:18;4424:2;4416:6;4413:14;4410:34;;;4440:1;4437;4430:12;4410:34;4478:6;4467:9;4463:22;4453:32;;4523:7;4516:4;4512:2;4508:13;4504:27;4494:55;;4545:1;4542;4535:12;4494:55;4581:2;4568:16;4603:2;4599;4596:10;4593:36;;;4609:18;;:::i;:::-;4684:2;4678:9;4652:2;4738:13;;-1:-1:-1;;4734:22:1;;;4758:2;4730:31;4726:40;4714:53;;;4782:18;;;4802:22;;;4779:46;4776:72;;;4828:18;;:::i;:::-;4868:10;4864:2;4857:22;4903:2;4895:6;4888:18;4943:7;4938:2;4933;4929;4925:11;4921:20;4918:33;4915:53;;;4964:1;4961;4954:12;4915:53;5020:2;5015;5011;5007:11;5002:2;4994:6;4990:15;4977:46;5065:1;5060:2;5055;5047:6;5043:15;5039:24;5032:35;5086:6;5076:16;;;;;;;3960:1138;;;;;;;:::o;5103:260::-;5171:6;5179;5232:2;5220:9;5211:7;5207:23;5203:32;5200:52;;;5248:1;5245;5238:12;5200:52;5271:29;5290:9;5271:29;:::i;:::-;5261:39;;5319:38;5353:2;5342:9;5338:18;5319:38;:::i;:::-;5309:48;;5103:260;;;;;:::o;5368:380::-;5447:1;5443:12;;;;5490;;;5511:61;;5565:4;5557:6;5553:17;5543:27;;5511:61;5618:2;5610:6;5607:14;5587:18;5584:38;5581:161;;;5664:10;5659:3;5655:20;5652:1;5645:31;5699:4;5696:1;5689:15;5727:4;5724:1;5717:15;5581:161;;5368:380;;;:::o;5753:356::-;5955:2;5937:21;;;5974:18;;;5967:30;6033:34;6028:2;6013:18;;6006:62;6100:2;6085:18;;5753:356::o;7381:127::-;7442:10;7437:3;7433:20;7430:1;7423:31;7473:4;7470:1;7463:15;7497:4;7494:1;7487:15;7513:128;7553:3;7584:1;7580:6;7577:1;7574:13;7571:39;;;7590:18;;:::i;:::-;-1:-1:-1;7626:9:1;;7513:128::o;8420:356::-;8622:2;8604:21;;;8641:18;;;8634:30;8700:34;8695:2;8680:18;;8673:62;8767:2;8752:18;;8420:356::o;8781:135::-;8820:3;-1:-1:-1;;8841:17:1;;8838:43;;;8861:18;;:::i;:::-;-1:-1:-1;8908:1:1;8897:13;;8781:135::o;10030:168::-;10070:7;10136:1;10132;10128:6;10124:14;10121:1;10118:21;10113:1;10106:9;10099:17;10095:45;10092:71;;;10143:18;;:::i;:::-;-1:-1:-1;10183:9:1;;10030:168::o;10903:637::-;11183:3;11221:6;11215:13;11237:53;11283:6;11278:3;11271:4;11263:6;11259:17;11237:53;:::i;:::-;11353:13;;11312:16;;;;11375:57;11353:13;11312:16;11409:4;11397:17;;11375:57;:::i;:::-;-1:-1:-1;;;11454:20:1;;11483:22;;;11532:1;11521:13;;10903:637;-1:-1:-1;;;;10903:637:1:o;11952:489::-;-1:-1:-1;;;;;12221:15:1;;;12203:34;;12273:15;;12268:2;12253:18;;12246:43;12320:2;12305:18;;12298:34;;;12368:3;12363:2;12348:18;;12341:31;;;12146:4;;12389:46;;12415:19;;12407:6;12389:46;:::i;:::-;12381:54;11952:489;-1:-1:-1;;;;;;11952:489:1:o;12446:249::-;12515:6;12568:2;12556:9;12547:7;12543:23;12539:32;12536:52;;;12584:1;12581;12574:12;12536:52;12616:9;12610:16;12635:30;12659:5;12635:30;:::i;12700:127::-;12761:10;12756:3;12752:20;12749:1;12742:31;12792:4;12789:1;12782:15;12816:4;12813:1;12806:15;12832:120;12872:1;12898;12888:35;;12903:18;;:::i;:::-;-1:-1:-1;12937:9:1;;12832:120::o;12957:125::-;12997:4;13025:1;13022;13019:8;13016:34;;;13030:18;;:::i;:::-;-1:-1:-1;13067:9:1;;12957:125::o;13087:112::-;13119:1;13145;13135:35;;13150:18;;:::i;:::-;-1:-1:-1;13184:9:1;;13087:112::o;13204:127::-;13265:10;13260:3;13256:20;13253:1;13246:31;13296:4;13293:1;13286:15;13320:4;13317:1;13310:15

Swarm Source

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