ETH Price: $3,358.73 (-2.23%)

Token

Round Table Knights (RTK)
 

Overview

Max Total Supply

1,513 RTK

Holders

1,216

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
itsmoma.eth
Balance
1 RTK
0xa86B1ab5bc759FB0B7fc8611e1705688b747f487
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:
RoundTableKnights

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-05
*/

// SPDX-License-Identifier: MIT

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

/*
__________                         .___ ___________     ___.   .__            ____  __.      .__       .__     __          
\______   \ ____  __ __  ____    __| _/ \__    ___/____ \_ |__ |  |   ____   |    |/ _| ____ |__| ____ |  |___/  |_  ______
 |       _//  _ \|  |  \/    \  / __ |    |    |  \__  \ | __ \|  | _/ __ \  |      <  /    \|  |/ ___\|  |  \   __\/  ___/
 |    |   (  <_> )  |  /   |  \/ /_/ |    |    |   / __ \| \_\ \  |_\  ___/  |    |  \|   |  \  / /_/  >   Y  \  |  \___ \ 
 |____|_  /\____/|____/|___|  /\____ |    |____|  (____  /___  /____/\___  > |____|__ \___|  /__\___  /|___|  /__| /____  >
        \/                  \/      \/                 \/    \/          \/          \/    \/  /_____/      \/          \/                                                        

*/

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




/*
__________                         .___ ___________     ___.   .__            ____  __.      .__       .__     __          
\______   \ ____  __ __  ____    __| _/ \__    ___/____ \_ |__ |  |   ____   |    |/ _| ____ |__| ____ |  |___/  |_  ______
 |       _//  _ \|  |  \/    \  / __ |    |    |  \__  \ | __ \|  | _/ __ \  |      <  /    \|  |/ ___\|  |  \   __\/  ___/
 |    |   (  <_> )  |  /   |  \/ /_/ |    |    |   / __ \| \_\ \  |_\  ___/  |    |  \|   |  \  / /_/  >   Y  \  |  \___ \ 
 |____|_  /\____/|____/|___|  /\____ |    |____|  (____  /___  /____/\___  > |____|__ \___|  /__\___  /|___|  /__| /____  >
        \/                  \/      \/                 \/    \/          \/          \/    \/  /_____/      \/          \/                                                        

*/
contract RoundTableKnights is ERC721A, Ownable {
    using ECDSA for bytes32;
    using Strings for uint256;

    address private constant TEAM_ADDRESS = 0x6Eb878d1b6cEe5Fb44F935250598F6080b7B9c33;

    uint256 public constant TOTAL_MAX_SUPPLY = 7777;
    uint256 public constant TOTAL_FREE_SUPPLY = 7777; 
    uint256 public constant MAX_FREE_MINT_PER_WALLET = 1;
    uint256 public constant MAX_PUBLIC_PER_TX = 10;
    uint256 public constant MAX_PUBLIC_MINT_PER_WALLET = 20;

    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("Round Table Knights", "RTK") {
        _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.");
        require(
            _numberMinted(msg.sender) + _quantity <= MAX_PUBLIC_MINT_PER_WALLET,
            "This purchase would exceed maximum allocation for public mints for this wallet"
        );

        _;
    }

    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_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"}]

6080604052660aa87bee538000600955600a805462ff0000191690553480156200002857600080fd5b50604080518082018252601381527f526f756e64205461626c65204b6e69676874730000000000000000000000000060208083019182528351808501909452600384526252544b60e81b908401528151919291620000899160029162000423565b5080516200009f90600390602084019062000423565b50506000805550620000b133620000c4565b620000be33600a62000116565b620005b4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001388282604051806020016040528060008152506200013c60201b60201c565b5050565b6200014b838383600162000150565b505050565b6000546001600160a01b0385166200017a57604051622e076360e81b815260040160405180910390fd5b83620001995760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801562000252575062000252876001600160a01b03166200031360201b620014781760201c565b15620002d2575b60405182906001600160a01b038916906000906000805160206200282f833981519152908290a46001820191620002969060009089908862000322565b620002b4576040516368d2bf6b60e11b815260040160405180910390fd5b8082141562000259578260005414620002cc57600080fd5b62000308565b5b6040516001830192906001600160a01b038916906000906000805160206200282f833981519152908290a480821415620002d3575b506000555050505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000359903390899088908890600401620004c9565b602060405180830381600087803b1580156200037457600080fd5b505af1925050508015620003a7575060408051601f3d908101601f19168201909252620003a49181019062000544565b60015b62000406573d808015620003d8576040519150601f19603f3d011682016040523d82523d6000602084013e620003dd565b606091505b508051620003fe576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b828054620004319062000577565b90600052602060002090601f016020900481019282620004555760008555620004a0565b82601f106200047057805160ff1916838001178555620004a0565b82800160010185558215620004a0579182015b82811115620004a057825182559160200191906001019062000483565b50620004ae929150620004b2565b5090565b5b80821115620004ae5760008155600101620004b3565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005185785810182015185820160a001528101620004fa565b828111156200052b57600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200055757600080fd5b81516001600160e01b0319811681146200057057600080fd5b9392505050565b600181811c908216806200058c57607f821691505b60208210811415620005ae57634e487b7160e01b600052602260045260246000fd5b50919050565b61226b80620005c46000396000f3fe6080604052600436106102515760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e55f58bb1161007a578063e55f58bb1461065f578063e834a83414610675578063e985e9c514610695578063f03c8891146106de578063f19e75d4146106f3578063f2fde38b1461071357600080fd5b8063c87b56dd146105be578063c8d5ed68146105de578063cb5bc2aa146105f3578063dc33e68114610612578063e0ec7c361461063257600080fd5b8063a0712d68116100fd578063a0712d681461053c578063a22cb4651461054f578063a6eb27e21461056f578063b88d4fde14610584578063bc8893b4146105a457600080fd5b80638da5cb5b146104bf5780638f430db0146104dd57806395d89b41146104f25780639aaf21f4146105075780639f55252e1461052757600080fd5b806342842e0e116101d257806365b1de201161019657806365b1de20146103945780636a61e5fc1461043f5780636ae146c21461045f57806370a0823114610474578063715018a6146104945780637b4fd96e146104a957600080fd5b806342842e0e146103aa5780634f7f8976146103ca57806355f804b3146103ea5780635b70ea9f1461040a5780636352211e1461041f57600080fd5b80631b5cb7f3116102195780631b5cb7f31461032a57806323b872dd1461033f57806324600fc31461035f578063253ca93414610374578063411c8daf1461039457600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806318160ddd14610307575b600080fd5b34801561026257600080fd5b50610276610271366004611d13565b610733565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610785565b6040516102829190611d88565b3480156102b957600080fd5b506102cd6102c8366004611d9b565b610817565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004611dd0565b61085b565b005b34801561031357600080fd5b50600154600054035b604051908152602001610282565b34801561033657600080fd5b506103056108e9565b34801561034b57600080fd5b5061030561035a366004611dfa565b610930565b34801561036b57600080fd5b5061030561093b565b34801561038057600080fd5b5061030561038f366004611d9b565b6109f3565b3480156103a057600080fd5b5061031c611e6181565b3480156103b657600080fd5b506103056103c5366004611dfa565b610a22565b3480156103d657600080fd5b506103056103e5366004611dd0565b610a3d565b3480156103f657600080fd5b50610305610405366004611e36565b610afd565b34801561041657600080fd5b50610305610b33565b34801561042b57600080fd5b506102cd61043a366004611d9b565b610d27565b34801561044b57600080fd5b5061030561045a366004611d9b565b610d39565b34801561046b57600080fd5b50610305610d68565b34801561048057600080fd5b5061031c61048f366004611ea8565b610e14565b3480156104a057600080fd5b50610305610e63565b3480156104b557600080fd5b5061031c60095481565b3480156104cb57600080fd5b506008546001600160a01b03166102cd565b3480156104e957600080fd5b50610305610e99565b3480156104fe57600080fd5b506102a0610ee0565b34801561051357600080fd5b50610305610522366004611dd0565b610eef565b34801561053357600080fd5b5061031c600a81565b61030561054a366004611d9b565b610f6b565b34801561055b57600080fd5b5061030561056a366004611ec3565b6111c5565b34801561057b57600080fd5b5061031c600181565b34801561059057600080fd5b5061030561059f366004611f15565b61125b565b3480156105b057600080fd5b50600a546102769060ff1681565b3480156105ca57600080fd5b506102a06105d9366004611d9b565b6112ac565b3480156105ea57600080fd5b5061031c601481565b3480156105ff57600080fd5b50600a5461027690610100900460ff1681565b34801561061e57600080fd5b5061031c61062d366004611ea8565b611331565b34801561063e57600080fd5b5061031c61064d366004611ea8565b600c6020526000908152604090205481565b34801561066b57600080fd5b5061031c600b5481565b34801561068157600080fd5b50600a546102769062010000900460ff1681565b3480156106a157600080fd5b506102766106b0366004611ff1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ea57600080fd5b5061031c601e81565b3480156106ff57600080fd5b5061030561070e366004611d9b565b611360565b34801561071f57600080fd5b5061030561072e366004611ea8565b6113e0565b60006001600160e01b031982166380ac58cd60e01b148061076457506001600160e01b03198216635b5e139f60e01b145b8061077f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461079490612024565b80601f01602080910402602001604051908101604052809291908181526020018280546107c090612024565b801561080d5780601f106107e25761010080835404028352916020019161080d565b820191906000526020600020905b8154815290600101906020018083116107f057829003601f168201915b5050505050905090565b600061082282611487565b61083f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061086682610d27565b9050806001600160a01b0316836001600160a01b0316141561089b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108bb57506108b981336106b0565b155b156108d9576040516367d9dca160e11b815260040160405180910390fd5b6108e48383836114b2565b505050565b6008546001600160a01b0316331461091c5760405162461bcd60e51b81526004016109139061205f565b60405180910390fd5b600a805460ff19811660ff90911615179055565b6108e483838361150e565b6008546001600160a01b031633146109655760405162461bcd60e51b81526004016109139061205f565b604051600090339047908381818185875af1925050503d80600081146109a7576040519150601f19603f3d011682016040523d82523d6000602084013e6109ac565b606091505b50509050806109f05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610913565b50565b6008546001600160a01b03163314610a1d5760405162461bcd60e51b81526004016109139061205f565b600b55565b6108e48383836040518060200160405280600081525061125b565b6008546001600160a01b03163314610a675760405162461bcd60e51b81526004016109139061205f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ab4576040519150601f19603f3d011682016040523d82523d6000602084013e610ab9565b606091505b50509050806108e45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610913565b6008546001600160a01b03163314610b275760405162461bcd60e51b81526004016109139061205f565b6108e4600d8383611c64565b323314610b825760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610913565b600a54610100900460ff16610bd95760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f742061637469766500000000000000006044820152606401610913565b611e61600b546001610beb91906120aa565b1115610c505760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b6064820152608401610913565b336000908152600c602052604090205415610cad5760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e74656400006044820152606401610913565b6001611e6181610cbc60005490565b610cc691906120aa565b1115610ce45760405162461bcd60e51b8152600401610913906120c2565b336000908152600c6020526040812060019055600b805491610d05836120f7565b91905055506109f03360016040518060200160405280600081525060006116fe565b6000610d32826118ca565b5192915050565b6008546001600160a01b03163314610d635760405162461bcd60e51b81526004016109139061205f565b600955565b6008546001600160a01b03163314610d925760405162461bcd60e51b81526004016109139061205f565b600a5462010000900460ff1615610de25760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b6044820152606401610913565b610e01736eb878d1b6cee5fb44f935250598f6080b7b9c33601e6119e6565b600a805462ff0000191662010000179055565b60006001600160a01b038216610e3d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e8d5760405162461bcd60e51b81526004016109139061205f565b610e976000611a00565b565b6008546001600160a01b03163314610ec35760405162461bcd60e51b81526004016109139061205f565b600a805461ff001981166101009182900460ff1615909102179055565b60606003805461079490612024565b6008546001600160a01b03163314610f195760405162461bcd60e51b81526004016109139061205f565b80611e6181610f2760005490565b610f3191906120aa565b1115610f4f5760405162461bcd60e51b8152600401610913906120c2565b6108e483836040518060200160405280600081525060006116fe565b323314610fba5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610913565b600a54819060ff1661100e5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610913565b8060095461101c9190612112565b3410156110645760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610913565b6000811180156110755750600a8111155b6110b85760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b6044820152606401610913565b336000908152600560205260409020546014908290600160401b900467ffffffffffffffff166110e891906120aa565b11156111735760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a401610913565b81611e618161118160005490565b61118b91906120aa565b11156111a95760405162461bcd60e51b8152600401610913906120c2565b6108e433846040518060200160405280600081525060006116fe565b6001600160a01b0382163314156111ef5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61126684848461150e565b6001600160a01b0383163b15158015611288575061128684848484611a52565b155b156112a6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112b782611487565b6112d457604051630a14c4b560e41b815260040160405180910390fd5b60006112de611b4a565b90508051600014156112ff576040518060200160405280600081525061132a565b8061130984611b59565b60405160200161131a929190612131565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff1661077f565b6008546001600160a01b0316331461138a5760405162461bcd60e51b81526004016109139061205f565b80611e618161139860005490565b6113a291906120aa565b11156113c05760405162461bcd60e51b8152600401610913906120c2565b6113dc33836040518060200160405280600081525060006116fe565b5050565b6008546001600160a01b0316331461140a5760405162461bcd60e51b81526004016109139061205f565b6001600160a01b03811661146f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610913565b6109f081611a00565b6001600160a01b03163b151590565b600080548210801561077f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611519826118ca565b9050836001600160a01b031681600001516001600160a01b0316146115505760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061156e575061156e85336106b0565b8061158957503361157e84610817565b6001600160a01b0316145b9050806115a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115d057604051633a954ecd60e21b815260040160405180910390fd5b6115dc600084876114b2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116b25760005482146116b2578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661172757604051622e076360e81b815260040160405180910390fd5b836117455760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156117f257506001600160a01b0387163b15155b1561187b575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118436000888480600101955088611a52565b611860576040516368d2bf6b60e11b815260040160405180910390fd5b808214156117f857826000541461187657600080fd5b6118c1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561187c575b506000556116f7565b6040805160608101825260008082526020820181905291810191909152816000548110156119cd57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119cb5780516001600160a01b031615611961579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119c6579392505050565b611961565b505b604051636f96cda160e11b815260040160405180910390fd5b6113dc828260405180602001604052806000815250611c57565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a87903390899088908890600401612170565b602060405180830381600087803b158015611aa157600080fd5b505af1925050508015611ad1575060408051601f3d908101601f19168201909252611ace918101906121ad565b60015b611b2c573d808015611aff576040519150601f19603f3d011682016040523d82523d6000602084013e611b04565b606091505b508051611b24576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461079490612024565b606081611b7d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ba75780611b91816120f7565b9150611ba09050600a836121e0565b9150611b81565b60008167ffffffffffffffff811115611bc257611bc2611eff565b6040519080825280601f01601f191660200182016040528015611bec576020820181803683370190505b5090505b8415611b4257611c016001836121f4565b9150611c0e600a8661220b565b611c199060306120aa565b60f81b818381518110611c2e57611c2e61221f565b60200101906001600160f81b031916908160001a905350611c50600a866121e0565b9450611bf0565b6108e483838360016116fe565b828054611c7090612024565b90600052602060002090601f016020900481019282611c925760008555611cd8565b82601f10611cab5782800160ff19823516178555611cd8565b82800160010185558215611cd8579182015b82811115611cd8578235825591602001919060010190611cbd565b50611ce4929150611ce8565b5090565b5b80821115611ce45760008155600101611ce9565b6001600160e01b0319811681146109f057600080fd5b600060208284031215611d2557600080fd5b813561132a81611cfd565b60005b83811015611d4b578181015183820152602001611d33565b838111156112a65750506000910152565b60008151808452611d74816020860160208601611d30565b601f01601f19169290920160200192915050565b60208152600061132a6020830184611d5c565b600060208284031215611dad57600080fd5b5035919050565b80356001600160a01b0381168114611dcb57600080fd5b919050565b60008060408385031215611de357600080fd5b611dec83611db4565b946020939093013593505050565b600080600060608486031215611e0f57600080fd5b611e1884611db4565b9250611e2660208501611db4565b9150604084013590509250925092565b60008060208385031215611e4957600080fd5b823567ffffffffffffffff80821115611e6157600080fd5b818501915085601f830112611e7557600080fd5b813581811115611e8457600080fd5b866020828501011115611e9657600080fd5b60209290920196919550909350505050565b600060208284031215611eba57600080fd5b61132a82611db4565b60008060408385031215611ed657600080fd5b611edf83611db4565b915060208301358015158114611ef457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611f2b57600080fd5b611f3485611db4565b9350611f4260208601611db4565b925060408501359150606085013567ffffffffffffffff80821115611f6657600080fd5b818701915087601f830112611f7a57600080fd5b813581811115611f8c57611f8c611eff565b604051601f8201601f19908116603f01168101908382118183101715611fb457611fb4611eff565b816040528281528a6020848701011115611fcd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561200457600080fd5b61200d83611db4565b915061201b60208401611db4565b90509250929050565b600181811c9082168061203857607f821691505b6020821081141561205957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120bd576120bd612094565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b600060001982141561210b5761210b612094565b5060010190565b600081600019048311821515161561212c5761212c612094565b500290565b60008351612143818460208801611d30565b835190830190612157818360208801611d30565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a390830184611d5c565b9695505050505050565b6000602082840312156121bf57600080fd5b815161132a81611cfd565b634e487b7160e01b600052601260045260246000fd5b6000826121ef576121ef6121ca565b500490565b60008282101561220657612206612094565b500390565b60008261221a5761221a6121ca565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122090ceddcc0051dcd39e52bc7cde16d9c0955bbdff2b95d6e5022c9dce95d32f8f64736f6c63430008090033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef

Deployed Bytecode

0x6080604052600436106102515760003560e01c80638da5cb5b11610139578063c87b56dd116100b6578063e55f58bb1161007a578063e55f58bb1461065f578063e834a83414610675578063e985e9c514610695578063f03c8891146106de578063f19e75d4146106f3578063f2fde38b1461071357600080fd5b8063c87b56dd146105be578063c8d5ed68146105de578063cb5bc2aa146105f3578063dc33e68114610612578063e0ec7c361461063257600080fd5b8063a0712d68116100fd578063a0712d681461053c578063a22cb4651461054f578063a6eb27e21461056f578063b88d4fde14610584578063bc8893b4146105a457600080fd5b80638da5cb5b146104bf5780638f430db0146104dd57806395d89b41146104f25780639aaf21f4146105075780639f55252e1461052757600080fd5b806342842e0e116101d257806365b1de201161019657806365b1de20146103945780636a61e5fc1461043f5780636ae146c21461045f57806370a0823114610474578063715018a6146104945780637b4fd96e146104a957600080fd5b806342842e0e146103aa5780634f7f8976146103ca57806355f804b3146103ea5780635b70ea9f1461040a5780636352211e1461041f57600080fd5b80631b5cb7f3116102195780631b5cb7f31461032a57806323b872dd1461033f57806324600fc31461035f578063253ca93414610374578063411c8daf1461039457600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806318160ddd14610307575b600080fd5b34801561026257600080fd5b50610276610271366004611d13565b610733565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a0610785565b6040516102829190611d88565b3480156102b957600080fd5b506102cd6102c8366004611d9b565b610817565b6040516001600160a01b039091168152602001610282565b3480156102f157600080fd5b50610305610300366004611dd0565b61085b565b005b34801561031357600080fd5b50600154600054035b604051908152602001610282565b34801561033657600080fd5b506103056108e9565b34801561034b57600080fd5b5061030561035a366004611dfa565b610930565b34801561036b57600080fd5b5061030561093b565b34801561038057600080fd5b5061030561038f366004611d9b565b6109f3565b3480156103a057600080fd5b5061031c611e6181565b3480156103b657600080fd5b506103056103c5366004611dfa565b610a22565b3480156103d657600080fd5b506103056103e5366004611dd0565b610a3d565b3480156103f657600080fd5b50610305610405366004611e36565b610afd565b34801561041657600080fd5b50610305610b33565b34801561042b57600080fd5b506102cd61043a366004611d9b565b610d27565b34801561044b57600080fd5b5061030561045a366004611d9b565b610d39565b34801561046b57600080fd5b50610305610d68565b34801561048057600080fd5b5061031c61048f366004611ea8565b610e14565b3480156104a057600080fd5b50610305610e63565b3480156104b557600080fd5b5061031c60095481565b3480156104cb57600080fd5b506008546001600160a01b03166102cd565b3480156104e957600080fd5b50610305610e99565b3480156104fe57600080fd5b506102a0610ee0565b34801561051357600080fd5b50610305610522366004611dd0565b610eef565b34801561053357600080fd5b5061031c600a81565b61030561054a366004611d9b565b610f6b565b34801561055b57600080fd5b5061030561056a366004611ec3565b6111c5565b34801561057b57600080fd5b5061031c600181565b34801561059057600080fd5b5061030561059f366004611f15565b61125b565b3480156105b057600080fd5b50600a546102769060ff1681565b3480156105ca57600080fd5b506102a06105d9366004611d9b565b6112ac565b3480156105ea57600080fd5b5061031c601481565b3480156105ff57600080fd5b50600a5461027690610100900460ff1681565b34801561061e57600080fd5b5061031c61062d366004611ea8565b611331565b34801561063e57600080fd5b5061031c61064d366004611ea8565b600c6020526000908152604090205481565b34801561066b57600080fd5b5061031c600b5481565b34801561068157600080fd5b50600a546102769062010000900460ff1681565b3480156106a157600080fd5b506102766106b0366004611ff1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106ea57600080fd5b5061031c601e81565b3480156106ff57600080fd5b5061030561070e366004611d9b565b611360565b34801561071f57600080fd5b5061030561072e366004611ea8565b6113e0565b60006001600160e01b031982166380ac58cd60e01b148061076457506001600160e01b03198216635b5e139f60e01b145b8061077f57506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461079490612024565b80601f01602080910402602001604051908101604052809291908181526020018280546107c090612024565b801561080d5780601f106107e25761010080835404028352916020019161080d565b820191906000526020600020905b8154815290600101906020018083116107f057829003601f168201915b5050505050905090565b600061082282611487565b61083f576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061086682610d27565b9050806001600160a01b0316836001600160a01b0316141561089b5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906108bb57506108b981336106b0565b155b156108d9576040516367d9dca160e11b815260040160405180910390fd5b6108e48383836114b2565b505050565b6008546001600160a01b0316331461091c5760405162461bcd60e51b81526004016109139061205f565b60405180910390fd5b600a805460ff19811660ff90911615179055565b6108e483838361150e565b6008546001600160a01b031633146109655760405162461bcd60e51b81526004016109139061205f565b604051600090339047908381818185875af1925050503d80600081146109a7576040519150601f19603f3d011682016040523d82523d6000602084013e6109ac565b606091505b50509050806109f05760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610913565b50565b6008546001600160a01b03163314610a1d5760405162461bcd60e51b81526004016109139061205f565b600b55565b6108e48383836040518060200160405280600081525061125b565b6008546001600160a01b03163314610a675760405162461bcd60e51b81526004016109139061205f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610ab4576040519150601f19603f3d011682016040523d82523d6000602084013e610ab9565b606091505b50509050806108e45760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610913565b6008546001600160a01b03163314610b275760405162461bcd60e51b81526004016109139061205f565b6108e4600d8383611c64565b323314610b825760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610913565b600a54610100900460ff16610bd95760405162461bcd60e51b815260206004820152601860248201527f6672656520636c61696d206973206e6f742061637469766500000000000000006044820152606401610913565b611e61600b546001610beb91906120aa565b1115610c505760405162461bcd60e51b815260206004820152602e60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526d206f662066726565206d696e747360901b6064820152608401610913565b336000908152600c602052604090205415610cad5760405162461bcd60e51b815260206004820152601e60248201527f77616c6c65742068617320616c72656164792066726565206d696e74656400006044820152606401610913565b6001611e6181610cbc60005490565b610cc691906120aa565b1115610ce45760405162461bcd60e51b8152600401610913906120c2565b336000908152600c6020526040812060019055600b805491610d05836120f7565b91905055506109f03360016040518060200160405280600081525060006116fe565b6000610d32826118ca565b5192915050565b6008546001600160a01b03163314610d635760405162461bcd60e51b81526004016109139061205f565b600955565b6008546001600160a01b03163314610d925760405162461bcd60e51b81526004016109139061205f565b600a5462010000900460ff1615610de25760405162461bcd60e51b81526020600482015260146024820152731519585b48185b1c9958591e4818db185a5b595960621b6044820152606401610913565b610e01736eb878d1b6cee5fb44f935250598f6080b7b9c33601e6119e6565b600a805462ff0000191662010000179055565b60006001600160a01b038216610e3d576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610e8d5760405162461bcd60e51b81526004016109139061205f565b610e976000611a00565b565b6008546001600160a01b03163314610ec35760405162461bcd60e51b81526004016109139061205f565b600a805461ff001981166101009182900460ff1615909102179055565b60606003805461079490612024565b6008546001600160a01b03163314610f195760405162461bcd60e51b81526004016109139061205f565b80611e6181610f2760005490565b610f3191906120aa565b1115610f4f5760405162461bcd60e51b8152600401610913906120c2565b6108e483836040518060200160405280600081525060006116fe565b323314610fba5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610913565b600a54819060ff1661100e5760405162461bcd60e51b815260206004820152601960248201527f7075626c69632073616c65206973206e6f7420616374697665000000000000006044820152606401610913565b8060095461101c9190612112565b3410156110645760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610913565b6000811180156110755750600a8111155b6110b85760405162461bcd60e51b815260206004820152601460248201527324b73b30b634b21036b4b73a1030b6b7bab73a1760611b6044820152606401610913565b336000908152600560205260409020546014908290600160401b900467ffffffffffffffff166110e891906120aa565b11156111735760405162461bcd60e51b815260206004820152604e60248201527f5468697320707572636861736520776f756c6420657863656564206d6178696d60448201527f756d20616c6c6f636174696f6e20666f72207075626c6963206d696e7473206660648201526d1bdc881d1a1a5cc81dd85b1b195d60921b608482015260a401610913565b81611e618161118160005490565b61118b91906120aa565b11156111a95760405162461bcd60e51b8152600401610913906120c2565b6108e433846040518060200160405280600081525060006116fe565b6001600160a01b0382163314156111ef5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61126684848461150e565b6001600160a01b0383163b15158015611288575061128684848484611a52565b155b156112a6576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606112b782611487565b6112d457604051630a14c4b560e41b815260040160405180910390fd5b60006112de611b4a565b90508051600014156112ff576040518060200160405280600081525061132a565b8061130984611b59565b60405160200161131a929190612131565b6040516020818303038152906040525b9392505050565b6001600160a01b038116600090815260056020526040812054600160401b900467ffffffffffffffff1661077f565b6008546001600160a01b0316331461138a5760405162461bcd60e51b81526004016109139061205f565b80611e618161139860005490565b6113a291906120aa565b11156113c05760405162461bcd60e51b8152600401610913906120c2565b6113dc33836040518060200160405280600081525060006116fe565b5050565b6008546001600160a01b0316331461140a5760405162461bcd60e51b81526004016109139061205f565b6001600160a01b03811661146f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610913565b6109f081611a00565b6001600160a01b03163b151590565b600080548210801561077f575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611519826118ca565b9050836001600160a01b031681600001516001600160a01b0316146115505760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b038616148061156e575061156e85336106b0565b8061158957503361157e84610817565b6001600160a01b0316145b9050806115a957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166115d057604051633a954ecd60e21b815260040160405180910390fd5b6115dc600084876114b2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166116b25760005482146116b2578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000546001600160a01b03851661172757604051622e076360e81b815260040160405180910390fd5b836117455760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156117f257506001600160a01b0387163b15155b1561187b575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46118436000888480600101955088611a52565b611860576040516368d2bf6b60e11b815260040160405180910390fd5b808214156117f857826000541461187657600080fd5b6118c1565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561187c575b506000556116f7565b6040805160608101825260008082526020820181905291810191909152816000548110156119cd57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906119cb5780516001600160a01b031615611961579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff16151592810192909252156119c6579392505050565b611961565b505b604051636f96cda160e11b815260040160405180910390fd5b6113dc828260405180602001604052806000815250611c57565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611a87903390899088908890600401612170565b602060405180830381600087803b158015611aa157600080fd5b505af1925050508015611ad1575060408051601f3d908101601f19168201909252611ace918101906121ad565b60015b611b2c573d808015611aff576040519150601f19603f3d011682016040523d82523d6000602084013e611b04565b606091505b508051611b24576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461079490612024565b606081611b7d5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ba75780611b91816120f7565b9150611ba09050600a836121e0565b9150611b81565b60008167ffffffffffffffff811115611bc257611bc2611eff565b6040519080825280601f01601f191660200182016040528015611bec576020820181803683370190505b5090505b8415611b4257611c016001836121f4565b9150611c0e600a8661220b565b611c199060306120aa565b60f81b818381518110611c2e57611c2e61221f565b60200101906001600160f81b031916908160001a905350611c50600a866121e0565b9450611bf0565b6108e483838360016116fe565b828054611c7090612024565b90600052602060002090601f016020900481019282611c925760008555611cd8565b82601f10611cab5782800160ff19823516178555611cd8565b82800160010185558215611cd8579182015b82811115611cd8578235825591602001919060010190611cbd565b50611ce4929150611ce8565b5090565b5b80821115611ce45760008155600101611ce9565b6001600160e01b0319811681146109f057600080fd5b600060208284031215611d2557600080fd5b813561132a81611cfd565b60005b83811015611d4b578181015183820152602001611d33565b838111156112a65750506000910152565b60008151808452611d74816020860160208601611d30565b601f01601f19169290920160200192915050565b60208152600061132a6020830184611d5c565b600060208284031215611dad57600080fd5b5035919050565b80356001600160a01b0381168114611dcb57600080fd5b919050565b60008060408385031215611de357600080fd5b611dec83611db4565b946020939093013593505050565b600080600060608486031215611e0f57600080fd5b611e1884611db4565b9250611e2660208501611db4565b9150604084013590509250925092565b60008060208385031215611e4957600080fd5b823567ffffffffffffffff80821115611e6157600080fd5b818501915085601f830112611e7557600080fd5b813581811115611e8457600080fd5b866020828501011115611e9657600080fd5b60209290920196919550909350505050565b600060208284031215611eba57600080fd5b61132a82611db4565b60008060408385031215611ed657600080fd5b611edf83611db4565b915060208301358015158114611ef457600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215611f2b57600080fd5b611f3485611db4565b9350611f4260208601611db4565b925060408501359150606085013567ffffffffffffffff80821115611f6657600080fd5b818701915087601f830112611f7a57600080fd5b813581811115611f8c57611f8c611eff565b604051601f8201601f19908116603f01168101908382118183101715611fb457611fb4611eff565b816040528281528a6020848701011115611fcd57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561200457600080fd5b61200d83611db4565b915061201b60208401611db4565b90509250929050565b600181811c9082168061203857607f821691505b6020821081141561205957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156120bd576120bd612094565b500190565b6020808252818101527f507572636861736520776f756c6420657863656564206d617820737570706c79604082015260600190565b600060001982141561210b5761210b612094565b5060010190565b600081600019048311821515161561212c5761212c612094565b500290565b60008351612143818460208801611d30565b835190830190612157818360208801611d30565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906121a390830184611d5c565b9695505050505050565b6000602082840312156121bf57600080fd5b815161132a81611cfd565b634e487b7160e01b600052601260045260246000fd5b6000826121ef576121ef6121ca565b500490565b60008282101561220657612206612094565b500390565b60008261221a5761221a6121ca565b500690565b634e487b7160e01b600052603260045260246000fdfea264697066735822122090ceddcc0051dcd39e52bc7cde16d9c0955bbdff2b95d6e5022c9dce95d32f8f64736f6c63430008090033

Deployed Bytecode Sourcemap

57173:4850:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35988:305;;;;;;;;;;-1:-1:-1;35988:305:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;35988:305:0;;;;;;;;39101:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;40604:204::-;;;;;;;;;;-1:-1:-1;40604:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;40604:204:0;1528:203:1;40167:371:0;;;;;;;;;;-1:-1:-1;40167:371:0;;;;;:::i;:::-;;:::i;:::-;;35237:303;;;;;;;;;;-1:-1:-1;35491:12:0;;35281:7;35475:13;:28;35237:303;;;2319:25:1;;;2307:2;2292:18;35237:303:0;2173:177:1;61912:106:0;;;;;;;;;;;;;:::i;41469:170::-;;;;;;;;;;-1:-1:-1;41469:170:0;;;;;:::i;:::-;;:::i;61405:178::-;;;;;;;;;;;;;:::i;60998:102::-;;;;;;;;;;-1:-1:-1;60998:102:0;;;;;:::i;:::-;;:::i;57436:48::-;;;;;;;;;;;;57480:4;57436:48;;41710:185;;;;;;;;;;-1:-1:-1;41710:185:0;;;;;:::i;:::-;;:::i;61591:201::-;;;;;;;;;;-1:-1:-1;61591:201:0;;;;;:::i;:::-;;:::i;61291:106::-;;;;;;;;;;-1:-1:-1;61291:106:0;;;;;:::i;:::-;;:::i;59309:247::-;;;;;;;;;;;;;:::i;38909:125::-;;;;;;;;;;-1:-1:-1;38909:125:0;;;;;:::i;:::-;;:::i;61108:175::-;;;;;;;;;;-1:-1:-1;61108:175:0;;;;;:::i;:::-;;:::i;60574:194::-;;;;;;;;;;;;;:::i;36357:206::-;;;;;;;;;;-1:-1:-1;36357:206:0;;;;;:::i;:::-;;:::i;55457:103::-;;;;;;;;;;;;;:::i;57729:40::-;;;;;;;;;;;;;;;;54806:87;;;;;;;;;;-1:-1:-1;54879:6:0;;-1:-1:-1;;;;;54879:6:0;54806:87;;61804:100;;;;;;;;;;;;;:::i;39270:104::-;;;;;;;;;;;;;:::i;60776:214::-;;;;;;;;;;-1:-1:-1;60776:214:0;;;;;:::i;:::-;;:::i;57551:46::-;;;;;;;;;;;;57595:2;57551:46;;59564:229;;;;;;:::i;:::-;;:::i;40880:287::-;;;;;;;;;;-1:-1:-1;40880:287:0;;;;;:::i;:::-;;:::i;57492:52::-;;;;;;;;;;;;57543:1;57492:52;;41966:369;;;;;;;;;;-1:-1:-1;41966:369:0;;;;;:::i;:::-;;:::i;57776:28::-;;;;;;;;;;-1:-1:-1;57776:28:0;;;;;;;;59923:327;;;;;;;;;;-1:-1:-1;59923:327:0;;;;;:::i;:::-;;:::i;57604:55::-;;;;;;;;;;;;57657:2;57604:55;;57811:26;;;;;;;;;;-1:-1:-1;57811:26:0;;;;;;;;;;;60258:113;;;;;;;;;;-1:-1:-1;60258:113:0;;;;;:::i;:::-;;:::i;57915:50::-;;;;;;;;;;-1:-1:-1;57915:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;57878:28;;;;;;;;;;;;;;;;57844:27;;;;;;;;;;-1:-1:-1;57844:27:0;;;;;;;;;;;41238:164;;;;;;;;;;-1:-1:-1;41238:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;41359:25:0;;;41335:4;41359:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41238:164;57668:46;;;;;;;;;;;;57712:2;57668:46;;60379:185;;;;;;;;;;-1:-1:-1;60379:185:0;;;;;:::i;:::-;;:::i;55715:201::-;;;;;;;;;;-1:-1:-1;55715:201:0;;;;;:::i;:::-;;:::i;35988:305::-;36090:4;-1:-1:-1;;;;;;36127:40:0;;-1:-1:-1;;;36127:40:0;;:105;;-1:-1:-1;;;;;;;36184:48:0;;-1:-1:-1;;;36184:48:0;36127:105;:158;;;-1:-1:-1;;;;;;;;;;12298:40:0;;;36249:36;36107:178;35988:305;-1:-1:-1;;35988:305:0:o;39101:100::-;39155:13;39188:5;39181:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39101:100;:::o;40604:204::-;40672:7;40697:16;40705:7;40697;:16::i;:::-;40692:64;;40722:34;;-1:-1:-1;;;40722:34:0;;;;;;;;;;;40692:64;-1:-1:-1;40776:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;40776:24:0;;40604:204::o;40167:371::-;40240:13;40256:24;40272:7;40256:15;:24::i;:::-;40240:40;;40301:5;-1:-1:-1;;;;;40295:11:0;:2;-1:-1:-1;;;;;40295:11:0;;40291:48;;;40315:24;;-1:-1:-1;;;40315:24:0;;;;;;;;;;;40291:48;31540:10;-1:-1:-1;;;;;40356:21:0;;;;;;:63;;-1:-1:-1;40382:37:0;40399:5;31540:10;41238:164;:::i;40382:37::-;40381:38;40356:63;40352:138;;;40443:35;;-1:-1:-1;;;40443:35:0;;;;;;;;;;;40352:138;40502:28;40511:2;40515:7;40524:5;40502:8;:28::i;:::-;40229:309;40167:371;;:::o;61912:106::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;;;;;;;;;61994:16:::1;::::0;;-1:-1:-1;;61974:36:0;::::1;61994:16;::::0;;::::1;61993:17;61974:36;::::0;;61912:106::o;41469:170::-;41603:28;41613:4;41619:2;41623:7;41603:9;:28::i;61405:178::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61479:49:::1;::::0;61461:12:::1;::::0;61479:10:::1;::::0;61502:21:::1;::::0;61461:12;61479:49;61461:12;61479:49;61502:21;61479:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61460:68;;;61547:7;61539:36;;;::::0;-1:-1:-1;;;61539:36:0;;6526:2:1;61539: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;;61539:36:0::1;6324:340:1::0;61539:36:0::1;61449:134;61405:178::o:0;60998:102::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61070:13:::1;:22:::0;60998:102::o;41710:185::-;41848:39;41865:4;41871:2;41875:7;41848:39;;;;;;;;;;;;:16;:39::i;61591:201::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61688:12:::1;61705:8;-1:-1:-1::0;;;;;61705:13:0::1;61726:6;61705:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61687:50;;;61756:7;61748:36;;;::::0;-1:-1:-1;;;61748:36:0;;6526:2:1;61748: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;;61748:36:0::1;6324:340:1::0;61291:106:0;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61366:23:::1;:13;61382:7:::0;;61366:23:::1;:::i;59309:247::-:0;58160:9;58173:10;58160:23;58152:66;;;;-1:-1:-1;;;58152:66:0;;6871:2:1;58152:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;58152:66:0;6669:354:1;58152:66:0;58511:14:::1;::::0;::::1;::::0;::::1;;;58503:51;;;::::0;-1:-1:-1;;;58503:51:0;;7230:2:1;58503:51:0::1;::::0;::::1;7212:21:1::0;7269:2;7249:18;;;7242:30;7308:26;7288:18;;;7281:54;7352:18;;58503:51:0::1;7028:348:1::0;58503:51:0::1;57480:4;58573:13;;58589:1;58573:17;;;;:::i;:::-;:38;;58565:97;;;::::0;-1:-1:-1;;;58565:97:0;;7848:2:1;58565: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;;58565:97:0::1;7646:410:1::0;58565:97:0::1;58697:10;58681:27;::::0;;;:15:::1;:27;::::0;;;;;:32;58673:75:::1;;;::::0;-1:-1:-1;;;58673:75:0;;8263:2:1;58673:75:0::1;::::0;::::1;8245:21:1::0;8302:2;8282:18;;;8275:30;8341:32;8321:18;;;8314:60;8391:18;;58673:75:0::1;8061:354:1::0;58673:75:0::1;59428:1:::2;57425:4;58339:9;58322:14;35680:7:::0;35866:13;;35633:283;58322:14:::2;:26;;;;:::i;:::-;:46;;58300:128;;;;-1:-1:-1::0;;;58300:128:0::2;;;;;;;:::i;:::-;59463:10:::3;59447:27;::::0;;;:15:::3;:27;::::0;;;;59477:1:::3;59447:31:::0;;59489:13:::3;:15:::0;;;::::3;::::0;::::3;:::i;:::-;;;;;;59517:31;59523:10;59535:1;59517:31;;;;;;;;;;;::::0;59542:5:::3;59517;:31::i;38909:125::-:0;38973:7;39000:21;39013:7;39000:12;:21::i;:::-;:26;;38909:125;-1:-1:-1;;38909:125:0:o;61108:175::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61253:11:::1;:22:::0;61108:175::o;60574:194::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;60634:7:::1;::::0;;;::::1;;;60633:8;60625:41;;;::::0;-1:-1:-1;;;60625:41:0;;9529:2:1;60625: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;;60625:41:0::1;9327:344:1::0;60625:41:0::1;60695:42;57331;57712:2;60695:9;:42::i;:::-;60748:7;:14:::0;;-1:-1:-1;;60748:14:0::1;::::0;::::1;::::0;;60574:194::o;36357:206::-;36421:7;-1:-1:-1;;;;;36445:19:0;;36441:60;;36473:28;;-1:-1:-1;;;36473:28:0;;;;;;;;;;;36441:60;-1:-1:-1;;;;;;36527:19:0;;;;;:12;:19;;;;;:27;;;;36357:206::o;55457:103::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;55522:30:::1;55549:1;55522:18;:30::i;:::-;55457:103::o:0;61804:100::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;61882:14:::1;::::0;;-1:-1:-1;;61864:32:0;::::1;61882:14;::::0;;;::::1;;;61881:15;61864:32:::0;;::::1;;::::0;;61804:100::o;39270:104::-;39326:13;39359:7;39352:14;;;;;:::i;60776:214::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;60908:13:::1;57425:4;58339:9;58322:14;35680:7:::0;35866:13;;35633:283;58322:14:::1;:26;;;;:::i;:::-;:46;;58300:128;;;;-1:-1:-1::0;;;58300:128:0::1;;;;;;;:::i;:::-;60939:43:::2;60945:10;60957:13;60939:43;;;;;;;;;;;::::0;60976:5:::2;60939;:43::i;59564:229::-:0;58160:9;58173:10;58160:23;58152:66;;;;-1:-1:-1;;;58152:66:0;;6871:2:1;58152:66:0;;;6853:21:1;6910:2;6890:18;;;6883:30;6949:32;6929:18;;;6922:60;6999:18;;58152:66:0;6669:354:1;58152:66:0;58854:16:::1;::::0;59684:9;;58854:16:::1;;58846:54;;;::::0;-1:-1:-1;;;58846:54:0;;9878:2:1;58846:54:0::1;::::0;::::1;9860:21:1::0;9917:2;9897:18;;;9890:30;9956:27;9936:18;;;9929:55;10001:18;;58846:54:0::1;9676:349:1::0;58846:54:0::1;58946:9;58932:11;;:23;;;;:::i;:::-;58919:9;:36;;58911:71;;;::::0;-1:-1:-1;;;58911:71:0;;10405:2:1;58911: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;;58911:71:0::1;10203:346:1::0;58911:71:0::1;59013:1;59001:9;:13;:47;;;;;57595:2;59018:9;:30;;59001:47;58993:80;;;::::0;-1:-1:-1;;;58993:80:0;;10756:2:1;58993: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;;58993:80:0::1;10554:344:1::0;58993:80:0::1;59120:10;36706:7:::0;36741:19;;;:12;:19;;;;;:32;57657:2:::1;::::0;59134:9;;-1:-1:-1;;;36741:32:0;;;;59106:37:::1;;;;:::i;:::-;:67;;59084:195;;;::::0;-1:-1:-1;;;59084:195:0;;11105:2:1;59084:195:0::1;::::0;::::1;11087:21:1::0;11144:2;11124:18;;;11117:30;11183:34;11163:18;;;11156:62;11254:34;11234:18;;;11227:62;-1:-1:-1;;;11305:19:1;;;11298:45;11360:19;;59084:195:0::1;10903:482:1::0;59084:195:0::1;59719:9:::2;57425:4;58339:9;58322:14;35680:7:::0;35866:13;;35633:283;58322:14:::2;:26;;;;:::i;:::-;:46;;58300:128;;;;-1:-1:-1::0;;;58300:128:0::2;;;;;;;:::i;:::-;59746:39:::3;59752:10;59764:9;59746:39;;;;;;;;;;;::::0;59779:5:::3;59746;:39::i;40880:287::-:0;-1:-1:-1;;;;;40979:24:0;;31540:10;40979:24;40975:54;;;41012:17;;-1:-1:-1;;;41012:17:0;;;;;;;;;;;40975:54;31540:10;41042:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;41042:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;41042:53:0;;;;;;;;;;41111:48;;540:41:1;;;41042:42:0;;31540:10;41111:48;;513:18:1;41111:48:0;;;;;;;40880:287;;:::o;41966:369::-;42133:28;42143:4;42149:2;42153:7;42133:9;:28::i;:::-;-1:-1:-1;;;;;42176:13:0;;2378:19;:23;;42176:76;;;;;42196:56;42227:4;42233:2;42237:7;42246:5;42196:30;:56::i;:::-;42195:57;42176:76;42172:156;;;42276:40;;-1:-1:-1;;;42276:40:0;;;;;;;;;;;42172:156;41966:369;;;;:::o;59923:327::-;59996:13;60027:16;60035:7;60027;:16::i;:::-;60022:59;;60052:29;;-1:-1:-1;;;60052:29:0;;;;;;;;;;;60022:59;60094:21;60118:10;:8;:10::i;:::-;60094:34;;60152:7;60146:21;60171:1;60146:26;;:96;;;;;;;;;;;;;;;;;60199:7;60208:18;:7;:16;:18::i;:::-;60182:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60146:96;60139:103;59923:327;-1:-1:-1;;;59923:327:0:o;60258:113::-;-1:-1:-1;;;;;36741:19:0;;60316:7;36741:19;;;:12;:19;;;;;:32;-1:-1:-1;;;36741:32:0;;;;60343:20;36645:137;60379:185;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;60482:13:::1;57425:4;58339:9;58322:14;35680:7:::0;35866:13;;35633:283;58322:14:::1;:26;;;;:::i;:::-;:46;;58300:128;;;;-1:-1:-1::0;;;58300:128:0::1;;;;;;;:::i;:::-;60513:43:::2;60519:10;60531:13;60513:43;;;;;;;;;;;::::0;60550:5:::2;60513;:43::i;:::-;55097:1:::1;60379:185:::0;:::o;55715:201::-;54879:6;;-1:-1:-1;;;;;54879:6:0;31540:10;55026:23;55018:68;;;;-1:-1:-1;;;55018:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55804:22:0;::::1;55796:73;;;::::0;-1:-1:-1;;;55796:73:0;;12234:2:1;55796:73:0::1;::::0;::::1;12216:21:1::0;12273:2;12253:18;;;12246:30;12312:34;12292:18;;;12285:62;-1:-1:-1;;;12363:18:1;;;12356:36;12409:19;;55796:73:0::1;12032:402:1::0;55796:73:0::1;55880:28;55899:8;55880:18;:28::i;2083:326::-:0;-1:-1:-1;;;;;2378:19:0;;:23;;;2083:326::o;42590:187::-;42647:4;42711:13;;42701:7;:23;42671:98;;;;-1:-1:-1;;42742:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;42742:27:0;;;;42741:28;;42590:187::o;50760:196::-;50875:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;50875:29:0;-1:-1:-1;;;;;50875:29:0;;;;;;;;;50920:28;;50875:24;;50920:28;;;;;;;50760:196;;;:::o;45703:2130::-;45818:35;45856:21;45869:7;45856:12;:21::i;:::-;45818:59;;45916:4;-1:-1:-1;;;;;45894:26:0;:13;:18;;;-1:-1:-1;;;;;45894:26:0;;45890:67;;45929:28;;-1:-1:-1;;;45929:28:0;;;;;;;;;;;45890:67;45970:22;31540:10;-1:-1:-1;;;;;45996:20:0;;;;:73;;-1:-1:-1;46033:36:0;46050:4;31540:10;41238:164;:::i;46033:36::-;45996:126;;;-1:-1:-1;31540:10:0;46086:20;46098:7;46086:11;:20::i;:::-;-1:-1:-1;;;;;46086:36:0;;45996:126;45970:153;;46141:17;46136:66;;46167:35;;-1:-1:-1;;;46167:35:0;;;;;;;;;;;46136:66;-1:-1:-1;;;;;46217:16:0;;46213:52;;46242:23;;-1:-1:-1;;;46242:23:0;;;;;;;;;;;46213:52;46386:35;46403:1;46407:7;46416:4;46386:8;:35::i;:::-;-1:-1:-1;;;;;46717:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;46717:31:0;;;;;;;-1:-1:-1;;46717:31:0;;;;;;;46763:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;46763:29:0;;;;;;;;;;;46843:20;;;:11;:20;;;;;;46878:18;;-1:-1:-1;;;;;;46911:49:0;;;;-1:-1:-1;;;46944:15:0;46911:49;;;;;;;;;;47234:11;;47294:24;;;;;47337:13;;46843:20;;47294:24;;47337:13;47333:384;;47547:13;;47532:11;:28;47528:174;;47585:20;;47654:28;;;;47628:54;;-1:-1:-1;;;47628:54:0;-1:-1:-1;;;;;;47628:54:0;;;-1:-1:-1;;;;;47585:20:0;;47628:54;;;;47528:174;46692:1036;;;47764:7;47760:2;-1:-1:-1;;;;;47745:27:0;47754:4;-1:-1:-1;;;;;47745:27:0;;;;;;;;;;;47783:42;45807:2026;;45703:2130;;;:::o;43674:1775::-;43813:20;43836:13;-1:-1:-1;;;;;43864:16:0;;43860:48;;43889:19;;-1:-1:-1;;;43889:19:0;;;;;;;;;;;43860:48;43923:13;43919:44;;43945:18;;-1:-1:-1;;;43945:18:0;;;;;;;;;;;43919:44;-1:-1:-1;;;;;44314:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;44373:49:0;;44314:44;;;;;;;;44373:49;;;-1:-1:-1;;;;;44314:44:0;;;;;;44373:49;;;;;;;;;;;;;;;;44439:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;44489:66:0;;;;-1:-1:-1;;;44539:15:0;44489:66;;;;;;;;;;44439:25;44636:23;;;44680:4;:23;;;;-1:-1:-1;;;;;;44688:13:0;;2378:19;:23;;44688:15;44676:641;;;44724:314;44755:38;;44780:12;;-1:-1:-1;;;;;44755:38:0;;;44772:1;;44755:38;;44772:1;;44755:38;44821:69;44860:1;44864:2;44868:14;;;;;;44884:5;44821:30;:69::i;:::-;44816:174;;44926:40;;-1:-1:-1;;;44926:40:0;;;;;;;;;;;44816:174;45033:3;45017:12;:19;;44724:314;;45119:12;45102:13;;:29;45098:43;;45133:8;;;45098:43;44676:641;;;45182:120;45213:40;;45238:14;;;;;-1:-1:-1;;;;;45213:40:0;;;45230:1;;45213:40;;45230:1;;45213:40;45297:3;45281:12;:19;;45182:120;;44676:641;-1:-1:-1;45331:13:0;:28;45381:60;41966:369;37738:1109;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;37849:7:0;37932:13;;37925:4;:20;37894:886;;;37966:31;38000:17;;;:11;:17;;;;;;;;;37966:51;;;;;;;;;-1:-1:-1;;;;;37966:51:0;;;;-1:-1:-1;;;37966:51:0;;;;;;;;;;;-1:-1:-1;;;37966:51:0;;;;;;;;;;;;;;38036:729;;38086:14;;-1:-1:-1;;;;;38086:28:0;;38082:101;;38150:9;37738:1109;-1:-1:-1;;;37738:1109:0:o;38082:101::-;-1:-1:-1;;;38525:6:0;38570:17;;;;:11;:17;;;;;;;;;38558:29;;;;;;;;;-1:-1:-1;;;;;38558:29:0;;;;;-1:-1:-1;;;38558:29:0;;;;;;;;;;;-1:-1:-1;;;38558:29:0;;;;;;;;;;;;;38618:28;38614:109;;38686:9;37738:1109;-1:-1:-1;;;37738:1109:0:o;38614:109::-;38485:261;;;37947:833;37894:886;38808:31;;-1:-1:-1;;;38808:31:0;;;;;;;;;;;42785:104;42854:27;42864:2;42868:8;42854:27;;;;;;;;;;;;:9;:27::i;56076:191::-;56169:6;;;-1:-1:-1;;;;;56186:17:0;;;-1:-1:-1;;;;;;56186:17:0;;;;;;;56219:40;;56169:6;;;56186:17;56169:6;;56219:40;;56150:16;;56219:40;56139:128;56076:191;:::o;51448:667::-;51632:72;;-1:-1:-1;;;51632:72:0;;51611:4;;-1:-1:-1;;;;;51632:36:0;;;;;:72;;31540:10;;51683:4;;51689:7;;51698:5;;51632:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51632:72:0;;;;;;;;-1:-1:-1;;51632:72:0;;;;;;;;;;;;:::i;:::-;;;51628:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51866:13:0;;51862:235;;51912:40;;-1:-1:-1;;;51912:40:0;;;;;;;;;;;51862:235;52055:6;52049:13;52040:6;52036:2;52032:15;52025:38;51628:480;-1:-1:-1;;;;;;51751:55:0;-1:-1:-1;;;51751:55:0;;-1:-1:-1;51628:480:0;51448:667;;;;;;:::o;59801:114::-;59861:13;59894;59887:20;;;;;:::i;19488:723::-;19544:13;19765:10;19761:53;;-1:-1:-1;;19792:10:0;;;;;;;;;;;;-1:-1:-1;;;19792:10:0;;;;;19488:723::o;19761:53::-;19839:5;19824:12;19880:78;19887:9;;19880:78;;19913:8;;;;:::i;:::-;;-1:-1:-1;19936:10:0;;-1:-1:-1;19944:2:0;19936:10;;:::i;:::-;;;19880:78;;;19968:19;20000:6;19990:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19990:17:0;;19968:39;;20018:154;20025:10;;20018:154;;20052:11;20062:1;20052:11;;:::i;:::-;;-1:-1:-1;20121:10:0;20129:2;20121:5;:10;:::i;:::-;20108:24;;:2;:24;:::i;:::-;20095:39;;20078:6;20085;20078:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;20078:56:0;;;;;;;;-1:-1:-1;20149:11:0;20158:2;20149:11;;:::i;:::-;;;20018:154;;43252:163;43375:32;43381:2;43385:8;43395:5;43402:4;43375: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;11390:637::-;11670:3;11708:6;11702:13;11724:53;11770:6;11765:3;11758:4;11750:6;11746:17;11724:53;:::i;:::-;11840:13;;11799:16;;;;11862:57;11840:13;11799:16;11896:4;11884:17;;11862:57;:::i;:::-;-1:-1:-1;;;11941:20:1;;11970:22;;;12019:1;12008:13;;11390:637;-1:-1:-1;;;;11390:637:1:o;12439:489::-;-1:-1:-1;;;;;12708:15:1;;;12690:34;;12760:15;;12755:2;12740:18;;12733:43;12807:2;12792:18;;12785:34;;;12855:3;12850:2;12835:18;;12828:31;;;12633:4;;12876:46;;12902:19;;12894:6;12876:46;:::i;:::-;12868:54;12439:489;-1:-1:-1;;;;;;12439:489:1:o;12933:249::-;13002:6;13055:2;13043:9;13034:7;13030:23;13026:32;13023:52;;;13071:1;13068;13061:12;13023:52;13103:9;13097:16;13122:30;13146:5;13122:30;:::i;13187:127::-;13248:10;13243:3;13239:20;13236:1;13229:31;13279:4;13276:1;13269:15;13303:4;13300:1;13293:15;13319:120;13359:1;13385;13375:35;;13390:18;;:::i;:::-;-1:-1:-1;13424:9:1;;13319:120::o;13444:125::-;13484:4;13512:1;13509;13506:8;13503:34;;;13517:18;;:::i;:::-;-1:-1:-1;13554:9:1;;13444:125::o;13574:112::-;13606:1;13632;13622:35;;13637:18;;:::i;:::-;-1:-1:-1;13671:9:1;;13574:112::o;13691:127::-;13752:10;13747:3;13743:20;13740:1;13733:31;13783:4;13780:1;13773:15;13807:4;13804:1;13797:15

Swarm Source

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