ETH Price: $2,624.65 (+0.53%)

Token

Kaizen (KAI)
 

Overview

Max Total Supply

2,056 KAI

Holders

1,398

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
investingaccount.eth
Balance
1 KAI
0xE85F001CD64669D40EC2eAc2d39464bDaf7b869F
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:
Kaizen

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
/*
  _  __          _____ ____________ _   _ 
 | |/ /    /\   |_   _|___  /  ____| \ | |
 | ' /    /  \    | |    / /| |__  |  \| |
 |  <    / /\ \   | |   / / |  __| | . ` |
 | . \  / ____ \ _| |_ / /__| |____| |\  |
 |_|\_\/_/    \_\_____/_____|______|_| \_|

           By Devko.dev#7286
*/
// File: @openzeppelin/contracts/utils/Address.sol


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: @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: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;









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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

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

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

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

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

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

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

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

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

// File: @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: contract.sol


pragma solidity ^0.8.4;




contract Kaizen is Ownable, ERC721A {
    string private _tokenBaseURI = "https://api.kaizen-nft.com/api/token/";
    uint256 public KAI_MAX_CLAIM = 2000;
    uint256 public KAI_MAX_TEAM = 222;
    uint256 public claimTokensMinted;
    uint256 public teamTokensMinted;
    bool public publicLive;
    bool public privateLive;
    address private PRIVATE_SIGNER = 0x9cf3870d4FCeE7B7B740A5d2782cb266eabD23aC;
    string private constant SIG_WORD = "KAIZEN_PRIVATE";
    mapping(address => uint256) public PRIVATE_MINT_LIST;
    
    using Strings for uint256;
    using ECDSA for bytes32;

    constructor() ERC721A("Kaizen", "KAI") {}

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

    function matchAddresSigner(bytes memory signature, uint256 allowedQuantity) private view returns (bool) {
        bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(msg.sender, SIG_WORD, allowedQuantity))));
        return PRIVATE_SIGNER == hash.recover(signature);
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(teamTokensMinted + receivers.length <= KAI_MAX_TEAM, "EXCEED_TEAM_MAX");
        teamTokensMinted = teamTokensMinted + receivers.length;
        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], 1);
        }
    }

    function founderMint(uint256 tokenQuantity) external onlyOwner {
        require(teamTokensMinted + tokenQuantity <= KAI_MAX_TEAM, "EXCEED_TEAM_MAX");
        teamTokensMinted = teamTokensMinted + tokenQuantity;
        _safeMint(msg.sender, tokenQuantity);
    }

    function mint() external callerIsUser {
        require(publicLive, "MINT_CLOSED");
        require(claimTokensMinted + 1 <= KAI_MAX_CLAIM, "EXCEED_MAX");
        claimTokensMinted++;
        _safeMint(msg.sender, 1);
    }

    function privateMint(bytes memory signature, uint256 tokenQuantity, uint256 allowedQuantity) external callerIsUser {
        require(privateLive, "MINT_CLOSED");
        require(matchAddresSigner(signature, allowedQuantity), "DIRECT_MINT_DISALLOWED");
        require(PRIVATE_MINT_LIST[msg.sender] + tokenQuantity <= allowedQuantity, "EXCEED_ALLOWED");
        require(claimTokensMinted + tokenQuantity <= KAI_MAX_CLAIM, "EXCEED_MAX");
        PRIVATE_MINT_LIST[msg.sender] = PRIVATE_MINT_LIST[msg.sender] + tokenQuantity;
        claimTokensMinted = claimTokensMinted + tokenQuantity;
        _safeMint(msg.sender, tokenQuantity);
    }

    function togglePublicMintStatus() external onlyOwner {
        publicLive = !publicLive;
    }

    function togglePrivateStatus() external onlyOwner {
        privateLive = !privateLive;
    }

    function setTeamReserve(uint256 newCount) external onlyOwner {
        KAI_MAX_TEAM = newCount;
    }
    
    function setClaim(uint256 newCount) external onlyOwner {
        KAI_MAX_CLAIM = newCount;
    }

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

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

    function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");
        return string(abi.encodePacked(_tokenBaseURI, tokenId.toString()));
    }

    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }
}

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"},{"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":"KAI_MAX_CLAIM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"KAI_MAX_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PRIVATE_MINT_LIST","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":"claimTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"founderMint","outputs":[],"stateMutability":"nonpayable","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":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"tokenQuantity","type":"uint256"},{"internalType":"uint256","name":"allowedQuantity","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicLive","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":"newCount","type":"uint256"}],"name":"setClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCount","type":"uint256"}],"name":"setTeamReserve","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":"teamTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePrivateStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405260256080818152906200245860a039805162000029916009916020909101906200014e565b506107d0600a5560de600b55600e805462010000600160b01b031916759cf3870d4fcee7b7b740a5d2782cb266eabd23ac00001790553480156200006c57600080fd5b506040518060400160405280600681526020016525b0b4bd32b760d11b815250604051806040016040528060038152602001624b414960e81b815250620000c2620000bc620000fa60201b60201c565b620000fe565b8151620000d79060039060208501906200014e565b508051620000ed9060049060208401906200014e565b5050600180555062000231565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200015c90620001f4565b90600052602060002090601f016020900481019282620001805760008555620001cb565b82601f106200019b57805160ff1916838001178555620001cb565b82800160010185558215620001cb579182015b82811115620001cb578251825591602001919060010190620001ae565b50620001d9929150620001dd565b5090565b5b80821115620001d95760008155600101620001de565b600181811c908216806200020957607f821691505b602082108114156200022b57634e487b7160e01b600052602260045260246000fd5b50919050565b61221780620002416000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a1ee0cba116100ad578063c46eb6851161007c578063c46eb68514610400578063c87b56dd14610408578063e985e9c51461041b578063f2fde38b14610457578063f42202e81461046a57600080fd5b8063a1ee0cba146103ba578063a22cb465146103cd578063b7f751d8146103e0578063b88d4fde146103ed57600080fd5b806397283d2f116100e957806397283d2f1461038457806397f5ec67146103965780639a86297c1461039e578063a0cd313a146103b157600080fd5b8063715018a61461035a5780638da5cb5b146103625780639445391d1461037357806395d89b411461037c57600080fd5b806322cb1ec8116101925780635062960811610161578063506296081461030157806355f804b3146103215780636352211e1461033457806370a082311461034757600080fd5b806322cb1ec8146102bf57806323b872dd146102c85780633a37fa24146102db57806342842e0e146102ee57600080fd5b8063095ea7b3116101ce578063095ea7b31461027f5780631249c58b14610294578063163e1e611461029c57806318160ddd146102af57600080fd5b806301ffc9a71461020057806306a8a6801461022857806306fdde031461023f578063081812fc14610254575b600080fd5b61021361020e366004611dd0565b61047d565b60405190151581526020015b60405180910390f35b610231600b5481565b60405190815260200161021f565b6102476104cf565b60405161021f919061203c565b610267610262366004611eb8565b610561565b6040516001600160a01b03909116815260200161021f565b61029261028d366004611d31565b6105a5565b005b610292610633565b6102926102aa366004611d5b565b610735565b6002546001540360001901610231565b610231600d5481565b6102926102d6366004611c51565b61080f565b6102926102e9366004611eb8565b61081a565b6102926102fc366004611c51565b610849565b61023161030f366004611bfc565b600f6020526000908152604090205481565b61029261032f366004611e58565b610864565b610267610342366004611eb8565b61089a565b610231610355366004611bfc565b6108ac565b6102926108fb565b6000546001600160a01b0316610267565b610231600a5481565b61024761092f565b600e5461021390610100900460ff1681565b61029261093e565b6102926103ac366004611eb8565b61097c565b610231600c5481565b6102926103c8366004611e0a565b6109ab565b6102926103db366004611cf5565b610b7c565b600e546102139060ff1681565b6102926103fb366004611c8d565b610c12565b610292610c63565b610247610416366004611eb8565b610caa565b610213610429366004611c1e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b610292610465366004611bfc565b610d33565b610292610478366004611eb8565b610dce565b60006001600160e01b031982166380ac58cd60e01b14806104ae57506001600160e01b03198216635b5e139f60e01b145b806104c957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104de906120f3565b80601f016020809104026020016040519081016040528092919081815260200182805461050a906120f3565b80156105575780601f1061052c57610100808354040283529160200191610557565b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b5050505050905090565b600061056c82610e64565b610589576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105b08261089a565b9050806001600160a01b0316836001600160a01b031614156105e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061060557506106038133610429565b155b15610623576040516367d9dca160e11b815260040160405180910390fd5b61062e838383610e9d565b505050565b3233146106875760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600e5460ff166106c75760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b604482015260640161067e565b600a54600c546106d8906001612084565b11156107135760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b604482015260640161067e565b600c80549060006107238361212e565b9190505550610733336001610ef9565b565b6000546001600160a01b0316331461075f5760405162461bcd60e51b815260040161067e9061204f565b600b54600d54610770908390612084565b11156107b05760405162461bcd60e51b815260206004820152600f60248201526e08ab0868a8a88bea88a829abe9a82b608b1b604482015260640161067e565b600d546107be908290612084565b600d5560005b8181101561062e576107fd8383838181106107e1576107e161219f565b90506020020160208101906107f69190611bfc565b6001610ef9565b806108078161212e565b9150506107c4565b61062e838383610f17565b6000546001600160a01b031633146108445760405162461bcd60e51b815260040161067e9061204f565b600b55565b61062e83838360405180602001604052806000815250610c12565b6000546001600160a01b0316331461088e5760405162461bcd60e51b815260040161067e9061204f565b61062e60098383611aba565b60006108a58261112d565b5192915050565b60006001600160a01b0382166108d5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146109255760405162461bcd60e51b815260040161067e9061204f565b6107336000611256565b6060600480546104de906120f3565b6000546001600160a01b031633146109685760405162461bcd60e51b815260040161067e9061204f565b600e805460ff19811660ff90911615179055565b6000546001600160a01b031633146109a65760405162461bcd60e51b815260040161067e9061204f565b600a55565b3233146109fa5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161067e565b600e54610100900460ff16610a3f5760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b604482015260640161067e565b610a4983826112a6565b610a8e5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b604482015260640161067e565b336000908152600f60205260409020548190610aab908490612084565b1115610aea5760405162461bcd60e51b815260206004820152600e60248201526d115610d1515117d0531313d5d15160921b604482015260640161067e565b600a5482600c54610afb9190612084565b1115610b365760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b604482015260640161067e565b336000908152600f6020526040902054610b51908390612084565b336000908152600f6020526040902055600c54610b6f908390612084565b600c5561062e3383610ef9565b6001600160a01b038216331415610ba65760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c1d848484610f17565b6001600160a01b0383163b15158015610c3f5750610c3d84848484611371565b155b15610c5d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610c8d5760405162461bcd60e51b815260040161067e9061204f565b600e805461ff001981166101009182900460ff1615909102179055565b6060610cb582610e64565b610d015760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161067e565b6009610d0c83611469565b604051602001610d1d929190611f58565b6040516020818303038152906040529050919050565b6000546001600160a01b03163314610d5d5760405162461bcd60e51b815260040161067e9061204f565b6001600160a01b038116610dc25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067e565b610dcb81611256565b50565b6000546001600160a01b03163314610df85760405162461bcd60e51b815260040161067e9061204f565b600b5481600d54610e099190612084565b1115610e495760405162461bcd60e51b815260206004820152600f60248201526e08ab0868a8a88bea88a829abe9a82b608b1b604482015260640161067e565b80600d54610e579190612084565b600d55610dcb3382610ef9565b600081600111158015610e78575060015482105b80156104c9575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610f13828260405180602001604052806000815250611567565b5050565b6000610f228261112d565b80519091506000906001600160a01b0316336001600160a01b03161480610f5057508151610f509033610429565b80610f6b575033610f6084610561565b6001600160a01b0316145b905080610f8b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610fc05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fe757604051633a954ecd60e21b815260040160405180910390fd5b610ff76000848460000151610e9d565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110e3576001548110156110e3578251600082815260056020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561115d575060015481105b1561123d57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061123b5780516001600160a01b0316156111d1579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611236579392505050565b6111d1565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080336040518060400160405280600e81526020016d4b41495a454e5f5052495641544560901b815250846040516020016112e493929190611f19565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506113518185611574565b600e546201000090046001600160a01b0390811691161491505092915050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113a6903390899088908890600401611fff565b602060405180830381600087803b1580156113c057600080fd5b505af19250505080156113f0575060408051601f3d908101601f191682019092526113ed91810190611ded565b60015b61144b573d80801561141e576040519150601f19603f3d011682016040523d82523d6000602084013e611423565b606091505b508051611443576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161148d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114b757806114a18161212e565b91506114b09050600a8361209c565b9150611491565b60008167ffffffffffffffff8111156114d2576114d26121b5565b6040519080825280601f01601f1916602001820160405280156114fc576020820181803683370190505b5090505b8415611461576115116001836120b0565b915061151e600a86612149565b611529906030612084565b60f81b81838151811061153e5761153e61219f565b60200101906001600160f81b031916908160001a905350611560600a8661209c565b9450611500565b61062e8383836001611598565b60008060006115838585611769565b91509150611590816117d9565b509392505050565b6001546001600160a01b0385166115c157604051622e076360e81b815260040160405180910390fd5b836115df5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561169157506001600160a01b0387163b15155b1561171a575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e26000888480600101955088611371565b6116ff576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561169757826001541461171557600080fd5b611760565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561171b575b50600155611126565b6000808251604114156117a05760208301516040840151606085015160001a61179487828585611994565b945094505050506117d2565b8251604014156117ca57602083015160408401516117bf868383611a81565b9350935050506117d2565b506000905060025b9250929050565b60008160048111156117ed576117ed612189565b14156117f65750565b600181600481111561180a5761180a612189565b14156118585760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161067e565b600281600481111561186c5761186c612189565b14156118ba5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161067e565b60038160048111156118ce576118ce612189565b14156119275760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161067e565b600481600481111561193b5761193b612189565b1415610dcb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161067e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156119cb5750600090506003611a78565b8460ff16601b141580156119e357508460ff16601c14155b156119f45750600090506004611a78565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611a48573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611a7157600060019250925050611a78565b9150600090505b94509492505050565b6000806001600160ff1b03831681611a9e60ff86901c601b612084565b9050611aac87828885611994565b935093505050935093915050565b828054611ac6906120f3565b90600052602060002090601f016020900481019282611ae85760008555611b2e565b82601f10611b015782800160ff19823516178555611b2e565b82800160010185558215611b2e579182015b82811115611b2e578235825591602001919060010190611b13565b50611b3a929150611b3e565b5090565b5b80821115611b3a5760008155600101611b3f565b80356001600160a01b0381168114611b6a57600080fd5b919050565b600082601f830112611b8057600080fd5b813567ffffffffffffffff80821115611b9b57611b9b6121b5565b604051601f8301601f19908116603f01168101908282118183101715611bc357611bc36121b5565b81604052838152866020858801011115611bdc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611c0e57600080fd5b611c1782611b53565b9392505050565b60008060408385031215611c3157600080fd5b611c3a83611b53565b9150611c4860208401611b53565b90509250929050565b600080600060608486031215611c6657600080fd5b611c6f84611b53565b9250611c7d60208501611b53565b9150604084013590509250925092565b60008060008060808587031215611ca357600080fd5b611cac85611b53565b9350611cba60208601611b53565b925060408501359150606085013567ffffffffffffffff811115611cdd57600080fd5b611ce987828801611b6f565b91505092959194509250565b60008060408385031215611d0857600080fd5b611d1183611b53565b915060208301358015158114611d2657600080fd5b809150509250929050565b60008060408385031215611d4457600080fd5b611d4d83611b53565b946020939093013593505050565b60008060208385031215611d6e57600080fd5b823567ffffffffffffffff80821115611d8657600080fd5b818501915085601f830112611d9a57600080fd5b813581811115611da957600080fd5b8660208260051b8501011115611dbe57600080fd5b60209290920196919550909350505050565b600060208284031215611de257600080fd5b8135611c17816121cb565b600060208284031215611dff57600080fd5b8151611c17816121cb565b600080600060608486031215611e1f57600080fd5b833567ffffffffffffffff811115611e3657600080fd5b611e4286828701611b6f565b9660208601359650604090950135949350505050565b60008060208385031215611e6b57600080fd5b823567ffffffffffffffff80821115611e8357600080fd5b818501915085601f830112611e9757600080fd5b813581811115611ea657600080fd5b866020828501011115611dbe57600080fd5b600060208284031215611eca57600080fd5b5035919050565b60008151808452611ee98160208601602086016120c7565b601f01601f19169290920160200192915050565b60008151611f0f8185602086016120c7565b9290920192915050565b6bffffffffffffffffffffffff198460601b16815260008351611f438160148501602088016120c7565b60149201918201929092526034019392505050565b600080845481600182811c915080831680611f7457607f831692505b6020808410821415611f9457634e487b7160e01b86526022600452602486fd5b818015611fa85760018114611fb957611fe6565b60ff19861689528489019650611fe6565b60008b81526020902060005b86811015611fde5781548b820152908501908301611fc5565b505084890196505b505050505050611ff68185611efd565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203290830184611ed1565b9695505050505050565b602081526000611c176020830184611ed1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120975761209761215d565b500190565b6000826120ab576120ab612173565b500490565b6000828210156120c2576120c261215d565b500390565b60005b838110156120e25781810151838201526020016120ca565b83811115610c5d5750506000910152565b600181811c9082168061210757607f821691505b6020821081141561212857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121425761214261215d565b5060010190565b60008261215857612158612173565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dcb57600080fdfea26469706673582212209e19b41ded12122e44dac25d93a11cd3d932bbc0d975aaf74a680b108aabfe1a64736f6c6343000807003368747470733a2f2f6170692e6b61697a656e2d6e66742e636f6d2f6170692f746f6b656e2f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a1ee0cba116100ad578063c46eb6851161007c578063c46eb68514610400578063c87b56dd14610408578063e985e9c51461041b578063f2fde38b14610457578063f42202e81461046a57600080fd5b8063a1ee0cba146103ba578063a22cb465146103cd578063b7f751d8146103e0578063b88d4fde146103ed57600080fd5b806397283d2f116100e957806397283d2f1461038457806397f5ec67146103965780639a86297c1461039e578063a0cd313a146103b157600080fd5b8063715018a61461035a5780638da5cb5b146103625780639445391d1461037357806395d89b411461037c57600080fd5b806322cb1ec8116101925780635062960811610161578063506296081461030157806355f804b3146103215780636352211e1461033457806370a082311461034757600080fd5b806322cb1ec8146102bf57806323b872dd146102c85780633a37fa24146102db57806342842e0e146102ee57600080fd5b8063095ea7b3116101ce578063095ea7b31461027f5780631249c58b14610294578063163e1e611461029c57806318160ddd146102af57600080fd5b806301ffc9a71461020057806306a8a6801461022857806306fdde031461023f578063081812fc14610254575b600080fd5b61021361020e366004611dd0565b61047d565b60405190151581526020015b60405180910390f35b610231600b5481565b60405190815260200161021f565b6102476104cf565b60405161021f919061203c565b610267610262366004611eb8565b610561565b6040516001600160a01b03909116815260200161021f565b61029261028d366004611d31565b6105a5565b005b610292610633565b6102926102aa366004611d5b565b610735565b6002546001540360001901610231565b610231600d5481565b6102926102d6366004611c51565b61080f565b6102926102e9366004611eb8565b61081a565b6102926102fc366004611c51565b610849565b61023161030f366004611bfc565b600f6020526000908152604090205481565b61029261032f366004611e58565b610864565b610267610342366004611eb8565b61089a565b610231610355366004611bfc565b6108ac565b6102926108fb565b6000546001600160a01b0316610267565b610231600a5481565b61024761092f565b600e5461021390610100900460ff1681565b61029261093e565b6102926103ac366004611eb8565b61097c565b610231600c5481565b6102926103c8366004611e0a565b6109ab565b6102926103db366004611cf5565b610b7c565b600e546102139060ff1681565b6102926103fb366004611c8d565b610c12565b610292610c63565b610247610416366004611eb8565b610caa565b610213610429366004611c1e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b610292610465366004611bfc565b610d33565b610292610478366004611eb8565b610dce565b60006001600160e01b031982166380ac58cd60e01b14806104ae57506001600160e01b03198216635b5e139f60e01b145b806104c957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546104de906120f3565b80601f016020809104026020016040519081016040528092919081815260200182805461050a906120f3565b80156105575780601f1061052c57610100808354040283529160200191610557565b820191906000526020600020905b81548152906001019060200180831161053a57829003601f168201915b5050505050905090565b600061056c82610e64565b610589576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006105b08261089a565b9050806001600160a01b0316836001600160a01b031614156105e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161480159061060557506106038133610429565b155b15610623576040516367d9dca160e11b815260040160405180910390fd5b61062e838383610e9d565b505050565b3233146106875760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064015b60405180910390fd5b600e5460ff166106c75760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b604482015260640161067e565b600a54600c546106d8906001612084565b11156107135760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b604482015260640161067e565b600c80549060006107238361212e565b9190505550610733336001610ef9565b565b6000546001600160a01b0316331461075f5760405162461bcd60e51b815260040161067e9061204f565b600b54600d54610770908390612084565b11156107b05760405162461bcd60e51b815260206004820152600f60248201526e08ab0868a8a88bea88a829abe9a82b608b1b604482015260640161067e565b600d546107be908290612084565b600d5560005b8181101561062e576107fd8383838181106107e1576107e161219f565b90506020020160208101906107f69190611bfc565b6001610ef9565b806108078161212e565b9150506107c4565b61062e838383610f17565b6000546001600160a01b031633146108445760405162461bcd60e51b815260040161067e9061204f565b600b55565b61062e83838360405180602001604052806000815250610c12565b6000546001600160a01b0316331461088e5760405162461bcd60e51b815260040161067e9061204f565b61062e60098383611aba565b60006108a58261112d565b5192915050565b60006001600160a01b0382166108d5576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b031633146109255760405162461bcd60e51b815260040161067e9061204f565b6107336000611256565b6060600480546104de906120f3565b6000546001600160a01b031633146109685760405162461bcd60e51b815260040161067e9061204f565b600e805460ff19811660ff90911615179055565b6000546001600160a01b031633146109a65760405162461bcd60e51b815260040161067e9061204f565b600a55565b3233146109fa5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604482015260640161067e565b600e54610100900460ff16610a3f5760405162461bcd60e51b815260206004820152600b60248201526a1352539517d0d313d4d15160aa1b604482015260640161067e565b610a4983826112a6565b610a8e5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b604482015260640161067e565b336000908152600f60205260409020548190610aab908490612084565b1115610aea5760405162461bcd60e51b815260206004820152600e60248201526d115610d1515117d0531313d5d15160921b604482015260640161067e565b600a5482600c54610afb9190612084565b1115610b365760405162461bcd60e51b815260206004820152600a60248201526908ab0868a8a88be9a82b60b31b604482015260640161067e565b336000908152600f6020526040902054610b51908390612084565b336000908152600f6020526040902055600c54610b6f908390612084565b600c5561062e3383610ef9565b6001600160a01b038216331415610ba65760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c1d848484610f17565b6001600160a01b0383163b15158015610c3f5750610c3d84848484611371565b155b15610c5d576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b03163314610c8d5760405162461bcd60e51b815260040161067e9061204f565b600e805461ff001981166101009182900460ff1615909102179055565b6060610cb582610e64565b610d015760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161067e565b6009610d0c83611469565b604051602001610d1d929190611f58565b6040516020818303038152906040529050919050565b6000546001600160a01b03163314610d5d5760405162461bcd60e51b815260040161067e9061204f565b6001600160a01b038116610dc25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067e565b610dcb81611256565b50565b6000546001600160a01b03163314610df85760405162461bcd60e51b815260040161067e9061204f565b600b5481600d54610e099190612084565b1115610e495760405162461bcd60e51b815260206004820152600f60248201526e08ab0868a8a88bea88a829abe9a82b608b1b604482015260640161067e565b80600d54610e579190612084565b600d55610dcb3382610ef9565b600081600111158015610e78575060015482105b80156104c9575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610f13828260405180602001604052806000815250611567565b5050565b6000610f228261112d565b80519091506000906001600160a01b0316336001600160a01b03161480610f5057508151610f509033610429565b80610f6b575033610f6084610561565b6001600160a01b0316145b905080610f8b57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614610fc05760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416610fe757604051633a954ecd60e21b815260040160405180910390fd5b610ff76000848460000151610e9d565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166110e3576001548110156110e3578251600082815260056020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561115d575060015481105b1561123d57600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061123b5780516001600160a01b0316156111d1579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611236579392505050565b6111d1565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080336040518060400160405280600e81526020016d4b41495a454e5f5052495641544560901b815250846040516020016112e493929190611f19565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506113518185611574565b600e546201000090046001600160a01b0390811691161491505092915050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113a6903390899088908890600401611fff565b602060405180830381600087803b1580156113c057600080fd5b505af19250505080156113f0575060408051601f3d908101601f191682019092526113ed91810190611ded565b60015b61144b573d80801561141e576040519150601f19603f3d011682016040523d82523d6000602084013e611423565b606091505b508051611443576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60608161148d5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114b757806114a18161212e565b91506114b09050600a8361209c565b9150611491565b60008167ffffffffffffffff8111156114d2576114d26121b5565b6040519080825280601f01601f1916602001820160405280156114fc576020820181803683370190505b5090505b8415611461576115116001836120b0565b915061151e600a86612149565b611529906030612084565b60f81b81838151811061153e5761153e61219f565b60200101906001600160f81b031916908160001a905350611560600a8661209c565b9450611500565b61062e8383836001611598565b60008060006115838585611769565b91509150611590816117d9565b509392505050565b6001546001600160a01b0385166115c157604051622e076360e81b815260040160405180910390fd5b836115df5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561169157506001600160a01b0387163b15155b1561171a575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46116e26000888480600101955088611371565b6116ff576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561169757826001541461171557600080fd5b611760565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082141561171b575b50600155611126565b6000808251604114156117a05760208301516040840151606085015160001a61179487828585611994565b945094505050506117d2565b8251604014156117ca57602083015160408401516117bf868383611a81565b9350935050506117d2565b506000905060025b9250929050565b60008160048111156117ed576117ed612189565b14156117f65750565b600181600481111561180a5761180a612189565b14156118585760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161067e565b600281600481111561186c5761186c612189565b14156118ba5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161067e565b60038160048111156118ce576118ce612189565b14156119275760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161067e565b600481600481111561193b5761193b612189565b1415610dcb5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161067e565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156119cb5750600090506003611a78565b8460ff16601b141580156119e357508460ff16601c14155b156119f45750600090506004611a78565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611a48573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611a7157600060019250925050611a78565b9150600090505b94509492505050565b6000806001600160ff1b03831681611a9e60ff86901c601b612084565b9050611aac87828885611994565b935093505050935093915050565b828054611ac6906120f3565b90600052602060002090601f016020900481019282611ae85760008555611b2e565b82601f10611b015782800160ff19823516178555611b2e565b82800160010185558215611b2e579182015b82811115611b2e578235825591602001919060010190611b13565b50611b3a929150611b3e565b5090565b5b80821115611b3a5760008155600101611b3f565b80356001600160a01b0381168114611b6a57600080fd5b919050565b600082601f830112611b8057600080fd5b813567ffffffffffffffff80821115611b9b57611b9b6121b5565b604051601f8301601f19908116603f01168101908282118183101715611bc357611bc36121b5565b81604052838152866020858801011115611bdc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611c0e57600080fd5b611c1782611b53565b9392505050565b60008060408385031215611c3157600080fd5b611c3a83611b53565b9150611c4860208401611b53565b90509250929050565b600080600060608486031215611c6657600080fd5b611c6f84611b53565b9250611c7d60208501611b53565b9150604084013590509250925092565b60008060008060808587031215611ca357600080fd5b611cac85611b53565b9350611cba60208601611b53565b925060408501359150606085013567ffffffffffffffff811115611cdd57600080fd5b611ce987828801611b6f565b91505092959194509250565b60008060408385031215611d0857600080fd5b611d1183611b53565b915060208301358015158114611d2657600080fd5b809150509250929050565b60008060408385031215611d4457600080fd5b611d4d83611b53565b946020939093013593505050565b60008060208385031215611d6e57600080fd5b823567ffffffffffffffff80821115611d8657600080fd5b818501915085601f830112611d9a57600080fd5b813581811115611da957600080fd5b8660208260051b8501011115611dbe57600080fd5b60209290920196919550909350505050565b600060208284031215611de257600080fd5b8135611c17816121cb565b600060208284031215611dff57600080fd5b8151611c17816121cb565b600080600060608486031215611e1f57600080fd5b833567ffffffffffffffff811115611e3657600080fd5b611e4286828701611b6f565b9660208601359650604090950135949350505050565b60008060208385031215611e6b57600080fd5b823567ffffffffffffffff80821115611e8357600080fd5b818501915085601f830112611e9757600080fd5b813581811115611ea657600080fd5b866020828501011115611dbe57600080fd5b600060208284031215611eca57600080fd5b5035919050565b60008151808452611ee98160208601602086016120c7565b601f01601f19169290920160200192915050565b60008151611f0f8185602086016120c7565b9290920192915050565b6bffffffffffffffffffffffff198460601b16815260008351611f438160148501602088016120c7565b60149201918201929092526034019392505050565b600080845481600182811c915080831680611f7457607f831692505b6020808410821415611f9457634e487b7160e01b86526022600452602486fd5b818015611fa85760018114611fb957611fe6565b60ff19861689528489019650611fe6565b60008b81526020902060005b86811015611fde5781548b820152908501908301611fc5565b505084890196505b505050505050611ff68185611efd565b95945050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203290830184611ed1565b9695505050505050565b602081526000611c176020830184611ed1565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156120975761209761215d565b500190565b6000826120ab576120ab612173565b500490565b6000828210156120c2576120c261215d565b500390565b60005b838110156120e25781810151838201526020016120ca565b83811115610c5d5750506000910152565b600181811c9082168061210757607f821691505b6020821081141561212857634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121425761214261215d565b5060010190565b60008261215857612158612173565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610dcb57600080fdfea26469706673582212209e19b41ded12122e44dac25d93a11cd3d932bbc0d975aaf74a680b108aabfe1a64736f6c63430008070033

Deployed Bytecode Sourcemap

55666:3650:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35613:305;;;;;;:::i;:::-;;:::i;:::-;;;8593:14:1;;8586:22;8568:41;;8556:2;8541:18;35613:305:0;;;;;;;;55828:33;;;;;;;;;14116:25:1;;;14104:2;14089:18;55828:33:0;13970:177:1;38998:100:0;;;:::i;:::-;;;;;;;:::i;40501:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7891:32:1;;;7873:51;;7861:2;7846:18;40501:204:0;7727:203:1;40064:371:0;;;;;;:::i;:::-;;:::i;:::-;;57406:228;;;:::i;56787:336::-;;;;;;:::i;:::-;;:::i;34862:303::-;35116:12;;59304:1;35100:13;:28;-1:-1:-1;;35100:46:0;34862:303;;55907:31;;;;;;41358:170;;;;;;:::i;:::-;;:::i;58502:103::-;;;;;;:::i;:::-;;:::i;41599:185::-;;;;;;:::i;:::-;;:::i;56144:52::-;;;;;;:::i;:::-;;;;;;;;;;;;;;58845:106;;;;;;:::i;:::-;;:::i;38807:124::-;;;;;;:::i;:::-;;:::i;35982:206::-;;;;;;:::i;:::-;;:::i;54789:103::-;;;:::i;54138:87::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;54138:87;;55786:35;;;;;;39167:104;;;:::i;55974:23::-;;;;;;;;;;;;58295:96;;;:::i;58617:98::-;;;;;;:::i;:::-;;:::i;55868:32::-;;;;;;57642:645;;;;;;:::i;:::-;;:::i;40777:279::-;;;;;;:::i;:::-;;:::i;55945:22::-;;;;;;;;;41855:369;;;;;;:::i;:::-;;:::i;58399:95::-;;;:::i;58959:245::-;;;;;;:::i;:::-;;:::i;41127:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;41248:25:0;;;41224:4;41248:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;41127:164;55047:201;;;;;;:::i;:::-;;:::i;57131:267::-;;;;;;:::i;:::-;;:::i;35613:305::-;35715:4;-1:-1:-1;;;;;;35752:40:0;;-1:-1:-1;;;35752:40:0;;:105;;-1:-1:-1;;;;;;;35809:48:0;;-1:-1:-1;;;35809:48:0;35752:105;:158;;;-1:-1:-1;;;;;;;;;;11762:40:0;;;35874:36;35732:178;35613:305;-1:-1:-1;;35613:305:0:o;38998:100::-;39052:13;39085:5;39078:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38998:100;:::o;40501:204::-;40569:7;40594:16;40602:7;40594;:16::i;:::-;40589:64;;40619:34;;-1:-1:-1;;;40619:34:0;;;;;;;;;;;40589:64;-1:-1:-1;40673:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;40673:24:0;;40501:204::o;40064:371::-;40137:13;40153:24;40169:7;40153:15;:24::i;:::-;40137:40;;40198:5;-1:-1:-1;;;;;40192:11:0;:2;-1:-1:-1;;;;;40192:11:0;;40188:48;;;40212:24;;-1:-1:-1;;;40212:24:0;;;;;;;;;;;40188:48;30989:10;-1:-1:-1;;;;;40253:21:0;;;;;;:63;;-1:-1:-1;40279:37:0;40296:5;30989:10;41127:164;:::i;40279:37::-;40278:38;40253:63;40249:138;;;40340:35;;-1:-1:-1;;;40340:35:0;;;;;;;;;;;40249:138;40399:28;40408:2;40412:7;40421:5;40399:8;:28::i;:::-;40126:309;40064:371;;:::o;57406:228::-;56365:9;56378:10;56365:23;56357:66;;;;-1:-1:-1;;;56357:66:0;;12350:2:1;56357:66:0;;;12332:21:1;12389:2;12369:18;;;12362:30;12428:32;12408:18;;;12401:60;12478:18;;56357:66:0;;;;;;;;;57463:10:::1;::::0;::::1;;57455:34;;;::::0;-1:-1:-1;;;57455:34:0;;11263:2:1;57455:34:0::1;::::0;::::1;11245:21:1::0;11302:2;11282:18;;;11275:30;-1:-1:-1;;;11321:18:1;;;11314:41;11372:18;;57455:34:0::1;11061:335:1::0;57455:34:0::1;57533:13;::::0;57508:17:::1;::::0;:21:::1;::::0;57528:1:::1;57508:21;:::i;:::-;:38;;57500:61;;;::::0;-1:-1:-1;;;57500:61:0;;13833:2:1;57500:61:0::1;::::0;::::1;13815:21:1::0;13872:2;13852:18;;;13845:30;-1:-1:-1;;;13891:18:1;;;13884:40;13941:18;;57500:61:0::1;13631:334:1::0;57500:61:0::1;57572:17;:19:::0;;;:17:::1;:19;::::0;::::1;:::i;:::-;;;;;;57602:24;57612:10;57624:1;57602:9;:24::i;:::-;57406:228::o:0;56787:336::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;56908:12:::1;::::0;56869:16:::1;::::0;:35:::1;::::0;56888:9;;56869:35:::1;:::i;:::-;:51;;56861:79;;;::::0;-1:-1:-1;;;56861:79:0;;11603:2:1;56861:79:0::1;::::0;::::1;11585:21:1::0;11642:2;11622:18;;;11615:30;-1:-1:-1;;;11661:18:1;;;11654:45;11716:18;;56861:79:0::1;11401:339:1::0;56861:79:0::1;56970:16;::::0;:35:::1;::::0;56989:9;;56970:35:::1;:::i;:::-;56951:16;:54:::0;57021:9:::1;57016:100;57036:20:::0;;::::1;57016:100;;;57078:26;57088:9;;57098:1;57088:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;57102:1;57078:9;:26::i;:::-;57058:3:::0;::::1;::::0;::::1;:::i;:::-;;;;57016:100;;41358:170:::0;41492:28;41502:4;41508:2;41512:7;41492:9;:28::i;58502:103::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;58574:12:::1;:23:::0;58502:103::o;41599:185::-;41737:39;41754:4;41760:2;41764:7;41737:39;;;;;;;;;;;;:16;:39::i;58845:106::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;58920:23:::1;:13;58936:7:::0;;58920:23:::1;:::i;38807:124::-:0;38871:7;38898:20;38910:7;38898:11;:20::i;:::-;:25;;38807:124;-1:-1:-1;;38807:124:0:o;35982:206::-;36046:7;-1:-1:-1;;;;;36070:19:0;;36066:60;;36098:28;;-1:-1:-1;;;36098:28:0;;;;;;;;;;;36066:60;-1:-1:-1;;;;;;36152:19:0;;;;;:12;:19;;;;;:27;;;;35982:206::o;54789:103::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;54854:30:::1;54881:1;54854:18;:30::i;39167:104::-:0;39223:13;39256:7;39249:14;;;;;:::i;58295:96::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;58373:10:::1;::::0;;-1:-1:-1;;58359:24:0;::::1;58373:10;::::0;;::::1;58372:11;58359:24;::::0;;58295:96::o;58617:98::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;58683:13:::1;:24:::0;58617:98::o;57642:645::-;56365:9;56378:10;56365:23;56357:66;;;;-1:-1:-1;;;56357:66:0;;12350:2:1;56357:66:0;;;12332:21:1;12389:2;12369:18;;;12362:30;12428:32;12408:18;;;12401:60;12478:18;;56357:66:0;12148:354:1;56357:66:0;57776:11:::1;::::0;::::1;::::0;::::1;;;57768:35;;;::::0;-1:-1:-1;;;57768:35:0;;11263:2:1;57768:35:0::1;::::0;::::1;11245:21:1::0;11302:2;11282:18;;;11275:30;-1:-1:-1;;;11321:18:1;;;11314:41;11372:18;;57768:35:0::1;11061:335:1::0;57768:35:0::1;57822:45;57840:9;57851:15;57822:17;:45::i;:::-;57814:80;;;::::0;-1:-1:-1;;;57814:80:0;;9802:2:1;57814:80:0::1;::::0;::::1;9784:21:1::0;9841:2;9821:18;;;9814:30;-1:-1:-1;;;9860:18:1;;;9853:52;9922:18;;57814:80:0::1;9600:346:1::0;57814:80:0::1;57931:10;57913:29;::::0;;;:17:::1;:29;::::0;;;;;57962:15;;57913:45:::1;::::0;57945:13;;57913:45:::1;:::i;:::-;:64;;57905:91;;;::::0;-1:-1:-1;;;57905:91:0;;10513:2:1;57905:91:0::1;::::0;::::1;10495:21:1::0;10552:2;10532:18;;;10525:30;-1:-1:-1;;;10571:18:1;;;10564:44;10625:18;;57905:91:0::1;10311:338:1::0;57905:91:0::1;58052:13;;58035;58015:17;;:33;;;;:::i;:::-;:50;;58007:73;;;::::0;-1:-1:-1;;;58007:73:0;;13833:2:1;58007:73:0::1;::::0;::::1;13815:21:1::0;13872:2;13852:18;;;13845:30;-1:-1:-1;;;13891:18:1;;;13884:40;13941:18;;58007:73:0::1;13631:334:1::0;58007:73:0::1;58141:10;58123:29;::::0;;;:17:::1;:29;::::0;;;;;:45:::1;::::0;58155:13;;58123:45:::1;:::i;:::-;58109:10;58091:29;::::0;;;:17:::1;:29;::::0;;;;:77;58199:17:::1;::::0;:33:::1;::::0;58219:13;;58199:33:::1;:::i;:::-;58179:17;:53:::0;58243:36:::1;58253:10;58265:13:::0;58243:9:::1;:36::i;40777:279::-:0;-1:-1:-1;;;;;40868:24:0;;30989:10;40868:24;40864:54;;;40901:17;;-1:-1:-1;;;40901:17:0;;;;;;;;;;;40864:54;30989:10;40931:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;40931:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;40931:53:0;;;;;;;;;;41000:48;;8568:41:1;;;40931:42:0;;30989:10;41000:48;;8541:18:1;41000:48:0;;;;;;;40777:279;;:::o;41855:369::-;42022:28;42032:4;42038:2;42042:7;42022:9;:28::i;:::-;-1:-1:-1;;;;;42065:13:0;;1865:19;:23;;42065:76;;;;;42085:56;42116:4;42122:2;42126:7;42135:5;42085:30;:56::i;:::-;42084:57;42065:76;42061:156;;;42165:40;;-1:-1:-1;;;42165:40:0;;;;;;;;;;;42061:156;41855:369;;;;:::o;58399:95::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;58475:11:::1;::::0;;-1:-1:-1;;58460:26:0;::::1;58475:11;::::0;;;::::1;;;58474:12;58460:26:::0;;::::1;;::::0;;58399:95::o;58959:245::-;59033:13;59067:16;59075:7;59067;:16::i;:::-;59059:60;;;;-1:-1:-1;;;59059:60:0;;13473:2:1;59059:60:0;;;13455:21:1;13512:2;13492:18;;;13485:30;13551:33;13531:18;;;13524:61;13602:18;;59059:60:0;13271:355:1;59059:60:0;59161:13;59176:18;:7;:16;:18::i;:::-;59144:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;59130:66;;58959:245;;;:::o;55047:201::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55136:22:0;::::1;55128:73;;;::::0;-1:-1:-1;;;55128:73:0;;10856:2:1;55128:73:0::1;::::0;::::1;10838:21:1::0;10895:2;10875:18;;;10868:30;10934:34;10914:18;;;10907:62;-1:-1:-1;;;10985:18:1;;;10978:36;11031:19;;55128:73:0::1;10654:402:1::0;55128:73:0::1;55212:28;55231:8;55212:18;:28::i;:::-;55047:201:::0;:::o;57131:267::-;54184:7;54211:6;-1:-1:-1;;;;;54211:6:0;30989:10;54358:23;54350:68;;;;-1:-1:-1;;;54350:68:0;;;;;;;:::i;:::-;57249:12:::1;;57232:13;57213:16;;:32;;;;:::i;:::-;:48;;57205:76;;;::::0;-1:-1:-1;;;57205:76:0;;11603:2:1;57205:76:0::1;::::0;::::1;11585:21:1::0;11642:2;11622:18;;;11615:30;-1:-1:-1;;;11661:18:1;;;11654:45;11716:18;;57205:76:0::1;11401:339:1::0;57205:76:0::1;57330:13;57311:16;;:32;;;;:::i;:::-;57292:16;:51:::0;57354:36:::1;57364:10;57376:13:::0;57354:9:::1;:36::i;42479:187::-:0;42536:4;42579:7;59304:1;42560:26;;:53;;;;;42600:13;;42590:7;:23;42560:53;:98;;;;-1:-1:-1;;42631:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;42631:27:0;;;;42630:28;;42479:187::o;50090:196::-;50205:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;50205:29:0;-1:-1:-1;;;;;50205:29:0;;;;;;;;;50250:28;;50205:24;;50250:28;;;;;;;50090:196;;;:::o;42674:104::-;42743:27;42753:2;42757:8;42743:27;;;;;;;;;;;;:9;:27::i;:::-;42674:104;;:::o;45592:2112::-;45707:35;45745:20;45757:7;45745:11;:20::i;:::-;45820:18;;45707:58;;-1:-1:-1;45778:22:0;;-1:-1:-1;;;;;45804:34:0;30989:10;-1:-1:-1;;;;;45804:34:0;;:101;;;-1:-1:-1;45872:18:0;;45855:50;;30989:10;41127:164;:::i;45855:50::-;45804:154;;;-1:-1:-1;30989:10:0;45922:20;45934:7;45922:11;:20::i;:::-;-1:-1:-1;;;;;45922:36:0;;45804:154;45778:181;;45977:17;45972:66;;46003:35;;-1:-1:-1;;;46003:35:0;;;;;;;;;;;45972:66;46075:4;-1:-1:-1;;;;;46053:26:0;:13;:18;;;-1:-1:-1;;;;;46053:26:0;;46049:67;;46088:28;;-1:-1:-1;;;46088:28:0;;;;;;;;;;;46049:67;-1:-1:-1;;;;;46131:16:0;;46127:52;;46156:23;;-1:-1:-1;;;46156:23:0;;;;;;;;;;;46127:52;46300:49;46317:1;46321:7;46330:13;:18;;;46300:8;:49::i;:::-;-1:-1:-1;;;;;46645:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;46645:31:0;;;;;;;-1:-1:-1;;46645:31:0;;;;;;;46691:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;46691:29:0;;;;;;;;;;;46737:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;46782:61:0;;;;-1:-1:-1;;;46827:15:0;46782:61;;;;;;;;;;;47117:11;;;47147:24;;;;;:29;47117:11;;47147:29;47143:445;;47372:13;;47358:11;:27;47354:219;;;47442:18;;;47410:24;;;:11;:24;;;;;;;;:50;;47525:28;;;;47483:70;;-1:-1:-1;;;47483:70:0;-1:-1:-1;;;;;;47483:70:0;;;-1:-1:-1;;;;;47410:50:0;;;47483:70;;;;;;;47354:219;46620:979;47635:7;47631:2;-1:-1:-1;;;;;47616:27:0;47625:4;-1:-1:-1;;;;;47616:27:0;;;;;;;;;;;47654:42;45696:2008;;45592:2112;;;:::o;37637:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;37747:7:0;;59304:1;37796:23;;:47;;;;;37830:13;;37823:4;:20;37796:47;37792:886;;;37864:31;37898:17;;;:11;:17;;;;;;;;;37864:51;;;;;;;;;-1:-1:-1;;;;;37864:51:0;;;;-1:-1:-1;;;37864:51:0;;;;;;;;;;;-1:-1:-1;;;37864:51:0;;;;;;;;;;;;;;37934:729;;37984:14;;-1:-1:-1;;;;;37984:28:0;;37980:101;;38048:9;37637:1108;-1:-1:-1;;;37637:1108:0:o;37980:101::-;-1:-1:-1;;;38423:6:0;38468:17;;;;:11;:17;;;;;;;;;38456:29;;;;;;;;;-1:-1:-1;;;;;38456:29:0;;;;;-1:-1:-1;;;38456:29:0;;;;;;;;;;;-1:-1:-1;;;38456:29:0;;;;;;;;;;;;;38516:28;38512:109;;38584:9;37637:1108;-1:-1:-1;;;37637:1108:0:o;38512:109::-;38383:261;;;37845:833;37792:886;38706:31;;-1:-1:-1;;;38706:31:0;;;;;;;;;;;55408:191;55482:16;55501:6;;-1:-1:-1;;;;;55518:17:0;;;-1:-1:-1;;;;;;55518:17:0;;;;;;55551:40;;55501:6;;;;;;;55551:40;;55482:16;55551:40;55471:128;55408:191;:::o;56451:328::-;56549:4;56566:12;56671:10;56683:8;;;;;;;;;;;;;-1:-1:-1;;;56683:8:0;;;56693:15;56654:55;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;56654:55:0;;;;;;;;;;56644:66;;56654:55;56644:66;;;;7584::1;56591:120:0;;;7572:79:1;;;;7667:12;;;7660:28;7704:12;;56591:120:0;;;-1:-1:-1;;56591:120:0;;;;;;;;;56581:131;;56591:120;56581:131;;;;;-1:-1:-1;56748:23:0;56581:131;56761:9;56748:12;:23::i;:::-;56730:14;;;;;-1:-1:-1;;;;;56730:14:0;;;:41;;;;-1:-1:-1;;56451:328:0;;;;:::o;50778:667::-;50962:72;;-1:-1:-1;;;50962:72:0;;50941:4;;-1:-1:-1;;;;;50962:36:0;;;;;:72;;30989:10;;51013:4;;51019:7;;51028:5;;50962:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50962:72:0;;;;;;;;-1:-1:-1;;50962:72:0;;;;;;;;;;;;:::i;:::-;;;50958:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51196:13:0;;51192:235;;51242:40;;-1:-1:-1;;;51242:40:0;;;;;;;;;;;51192:235;51385:6;51379:13;51370:6;51366:2;51362:15;51355:38;50958:480;-1:-1:-1;;;;;;51081:55:0;-1:-1:-1;;;51081:55:0;;-1:-1:-1;50958:480:0;50778:667;;;;;;:::o;18937:723::-;18993:13;19214:10;19210:53;;-1:-1:-1;;19241:10:0;;;;;;;;;;;;-1:-1:-1;;;19241:10:0;;;;;18937:723::o;19210:53::-;19288:5;19273:12;19329:78;19336:9;;19329:78;;19362:8;;;;:::i;:::-;;-1:-1:-1;19385:10:0;;-1:-1:-1;19393:2:0;19385:10;;:::i;:::-;;;19329:78;;;19417:19;19449:6;19439:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19439:17:0;;19417:39;;19467:154;19474:10;;19467:154;;19501:11;19511:1;19501:11;;:::i;:::-;;-1:-1:-1;19570:10:0;19578:2;19570:5;:10;:::i;:::-;19557:24;;:2;:24;:::i;:::-;19544:39;;19527:6;19534;19527:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;19527:56:0;;;;;;;;-1:-1:-1;19598:11:0;19607:2;19598:11;;:::i;:::-;;;19467:154;;43141:163;43264:32;43270:2;43274:8;43284:5;43291:4;43264:5;:32::i;25113:231::-;25191:7;25212:17;25231:18;25253:27;25264:4;25270:9;25253:10;:27::i;:::-;25211:69;;;;25291:18;25303:5;25291:11;:18::i;:::-;-1:-1:-1;25327:9:0;25113:231;-1:-1:-1;;;25113:231:0:o;43563:1775::-;43725:13;;-1:-1:-1;;;;;43753:16:0;;43749:48;;43778:19;;-1:-1:-1;;;43778:19:0;;;;;;;;;;;43749:48;43812:13;43808:44;;43834:18;;-1:-1:-1;;;43834:18:0;;;;;;;;;;;43808:44;-1:-1:-1;;;;;44203:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;44262:49:0;;44203:44;;;;;;;;44262:49;;;;-1:-1:-1;;44203:44:0;;;;;;44262:49;;;;;;;;;;;;;;;;44328:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;44378:66:0;;;;-1:-1:-1;;;44428:15:0;44378:66;;;;;;;;;;44328:25;44525:23;;;44569:4;:23;;;;-1:-1:-1;;;;;;44577:13:0;;1865:19;:23;;44577:15;44565:641;;;44613:314;44644:38;;44669:12;;-1:-1:-1;;;;;44644:38:0;;;44661:1;;44644:38;;44661:1;;44644:38;44710:69;44749:1;44753:2;44757:14;;;;;;44773:5;44710:30;:69::i;:::-;44705:174;;44815:40;;-1:-1:-1;;;44815:40:0;;;;;;;;;;;44705:174;44922:3;44906:12;:19;;44613:314;;45008:12;44991:13;;:29;44987:43;;45022:8;;;44987:43;44565:641;;;45071:120;45102:40;;45127:14;;;;;-1:-1:-1;;;;;45102:40:0;;;45119:1;;45102:40;;45119:1;;45102:40;45186:3;45170:12;:19;;45071:120;;44565:641;-1:-1:-1;45220:13:0;:28;45270:60;41855:369;23003:1308;23084:7;23093:12;23318:9;:16;23338:2;23318:22;23314:990;;;23614:4;23599:20;;23593:27;23664:4;23649:20;;23643:27;23722:4;23707:20;;23701:27;23357:9;23693:36;23765:25;23776:4;23693:36;23593:27;23643;23765:10;:25::i;:::-;23758:32;;;;;;;;;23314:990;23812:9;:16;23832:2;23812:22;23808:496;;;24087:4;24072:20;;24066:27;24138:4;24123:20;;24117:27;24180:23;24191:4;24066:27;24117;24180:10;:23::i;:::-;24173:30;;;;;;;;23808:496;-1:-1:-1;24252:1:0;;-1:-1:-1;24256:35:0;23808:496;23003:1308;;;;;:::o;21274:643::-;21352:20;21343:5;:29;;;;;;;;:::i;:::-;;21339:571;;;21274:643;:::o;21339:571::-;21450:29;21441:5;:38;;;;;;;;:::i;:::-;;21437:473;;;21496:34;;-1:-1:-1;;;21496:34:0;;9449:2:1;21496:34:0;;;9431:21:1;9488:2;9468:18;;;9461:30;9527:26;9507:18;;;9500:54;9571:18;;21496:34:0;9247:348:1;21437:473:0;21561:35;21552:5;:44;;;;;;;;:::i;:::-;;21548:362;;;21613:41;;-1:-1:-1;;;21613:41:0;;10153:2:1;21613:41:0;;;10135:21:1;10192:2;10172:18;;;10165:30;10231:33;10211:18;;;10204:61;10282:18;;21613:41:0;9951:355:1;21548:362:0;21685:30;21676:5;:39;;;;;;;;:::i;:::-;;21672:238;;;21732:44;;-1:-1:-1;;;21732:44:0;;11947:2:1;21732:44:0;;;11929:21:1;11986:2;11966:18;;;11959:30;12025:34;12005:18;;;11998:62;-1:-1:-1;;;12076:18:1;;;12069:32;12118:19;;21732:44:0;11745:398:1;21672:238:0;21807:30;21798:5;:39;;;;;;;;:::i;:::-;;21794:116;;;21854:44;;-1:-1:-1;;;21854:44:0;;12709:2:1;21854:44:0;;;12691:21:1;12748:2;12728:18;;;12721:30;12787:34;12767:18;;;12760:62;-1:-1:-1;;;12838:18:1;;;12831:32;12880:19;;21854:44:0;12507:398:1;26565:1632:0;26696:7;;27630:66;27617:79;;27613:163;;;-1:-1:-1;27729:1:0;;-1:-1:-1;27733:30:0;27713:51;;27613:163;27790:1;:7;;27795:2;27790:7;;:18;;;;;27801:1;:7;;27806:2;27801:7;;27790:18;27786:102;;;-1:-1:-1;27841:1:0;;-1:-1:-1;27845:30:0;27825:51;;27786:102;28002:24;;;27985:14;28002:24;;;;;;;;;8847:25:1;;;8920:4;8908:17;;8888:18;;;8881:45;;;;8942:18;;;8935:34;;;8985:18;;;8978:34;;;28002:24:0;;8819:19:1;;28002:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28002:24:0;;-1:-1:-1;;28002:24:0;;;-1:-1:-1;;;;;;;28041:20:0;;28037:103;;28094:1;28098:29;28078:50;;;;;;;28037:103;28160:6;-1:-1:-1;28168:20:0;;-1:-1:-1;26565:1632:0;;;;;;;;:::o;25607:344::-;25721:7;;-1:-1:-1;;;;;25767:80:0;;25721:7;25874:25;25890:3;25875:18;;;25897:2;25874:25;:::i;:::-;25858:42;;25918:25;25929:4;25935:1;25938;25941;25918:10;:25::i;:::-;25911:32;;;;;;25607:344;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:718::-;234:5;287:3;280:4;272:6;268:17;264:27;254:55;;305:1;302;295:12;254:55;341:6;328:20;367:18;404:2;400;397:10;394:36;;;410:18;;:::i;:::-;485:2;479:9;453:2;539:13;;-1:-1:-1;;535:22:1;;;559:2;531:31;527:40;515:53;;;583:18;;;603:22;;;580:46;577:72;;;629:18;;:::i;:::-;669:10;665:2;658:22;704:2;696:6;689:18;750:3;743:4;738:2;730:6;726:15;722:26;719:35;716:55;;;767:1;764;757:12;716:55;831:2;824:4;816:6;812:17;805:4;797:6;793:17;780:54;878:1;871:4;866:2;858:6;854:15;850:26;843:37;898:6;889:15;;;;;;192:718;;;;:::o;915:186::-;974:6;1027:2;1015:9;1006:7;1002:23;998:32;995:52;;;1043:1;1040;1033:12;995:52;1066:29;1085:9;1066:29;:::i;:::-;1056:39;915:186;-1:-1:-1;;;915:186:1:o;1106:260::-;1174:6;1182;1235:2;1223:9;1214:7;1210:23;1206:32;1203:52;;;1251:1;1248;1241:12;1203:52;1274:29;1293:9;1274:29;:::i;:::-;1264:39;;1322:38;1356:2;1345:9;1341:18;1322:38;:::i;:::-;1312:48;;1106:260;;;;;:::o;1371:328::-;1448:6;1456;1464;1517:2;1505:9;1496:7;1492:23;1488:32;1485:52;;;1533:1;1530;1523:12;1485:52;1556:29;1575:9;1556:29;:::i;:::-;1546:39;;1604:38;1638:2;1627:9;1623:18;1604:38;:::i;:::-;1594:48;;1689:2;1678:9;1674:18;1661:32;1651:42;;1371:328;;;;;:::o;1704:537::-;1799:6;1807;1815;1823;1876:3;1864:9;1855:7;1851:23;1847:33;1844:53;;;1893:1;1890;1883:12;1844:53;1916:29;1935:9;1916:29;:::i;:::-;1906:39;;1964:38;1998:2;1987:9;1983:18;1964:38;:::i;:::-;1954:48;;2049:2;2038:9;2034:18;2021:32;2011:42;;2104:2;2093:9;2089:18;2076:32;2131:18;2123:6;2120:30;2117:50;;;2163:1;2160;2153:12;2117:50;2186:49;2227:7;2218:6;2207:9;2203:22;2186:49;:::i;:::-;2176:59;;;1704:537;;;;;;;:::o;2246:347::-;2311:6;2319;2372:2;2360:9;2351:7;2347:23;2343:32;2340:52;;;2388:1;2385;2378:12;2340:52;2411:29;2430:9;2411:29;:::i;:::-;2401:39;;2490:2;2479:9;2475:18;2462:32;2537:5;2530:13;2523:21;2516:5;2513:32;2503:60;;2559:1;2556;2549:12;2503:60;2582:5;2572:15;;;2246:347;;;;;:::o;2598:254::-;2666:6;2674;2727:2;2715:9;2706:7;2702:23;2698:32;2695:52;;;2743:1;2740;2733:12;2695:52;2766:29;2785:9;2766:29;:::i;:::-;2756:39;2842:2;2827:18;;;;2814:32;;-1:-1:-1;;;2598:254:1:o;2857:615::-;2943:6;2951;3004:2;2992:9;2983:7;2979:23;2975:32;2972:52;;;3020:1;3017;3010:12;2972:52;3060:9;3047:23;3089:18;3130:2;3122:6;3119:14;3116:34;;;3146:1;3143;3136:12;3116:34;3184:6;3173:9;3169:22;3159:32;;3229:7;3222:4;3218:2;3214:13;3210:27;3200:55;;3251:1;3248;3241:12;3200:55;3291:2;3278:16;3317:2;3309:6;3306:14;3303:34;;;3333:1;3330;3323:12;3303:34;3386:7;3381:2;3371:6;3368:1;3364:14;3360:2;3356:23;3352:32;3349:45;3346:65;;;3407:1;3404;3397:12;3346:65;3438:2;3430:11;;;;;3460:6;;-1:-1:-1;2857:615:1;;-1:-1:-1;;;;2857:615:1:o;3477:245::-;3535:6;3588:2;3576:9;3567:7;3563:23;3559:32;3556:52;;;3604:1;3601;3594:12;3556:52;3643:9;3630:23;3662:30;3686:5;3662:30;:::i;3727:249::-;3796:6;3849:2;3837:9;3828:7;3824:23;3820:32;3817:52;;;3865:1;3862;3855:12;3817:52;3897:9;3891:16;3916:30;3940:5;3916:30;:::i;3981:456::-;4067:6;4075;4083;4136:2;4124:9;4115:7;4111:23;4107:32;4104:52;;;4152:1;4149;4142:12;4104:52;4192:9;4179:23;4225:18;4217:6;4214:30;4211:50;;;4257:1;4254;4247:12;4211:50;4280:49;4321:7;4312:6;4301:9;4297:22;4280:49;:::i;:::-;4270:59;4376:2;4361:18;;4348:32;;-1:-1:-1;4427:2:1;4412:18;;;4399:32;;3981:456;-1:-1:-1;;;;3981:456:1:o;4442:592::-;4513:6;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;4630:9;4617:23;4659:18;4700:2;4692:6;4689:14;4686:34;;;4716:1;4713;4706:12;4686:34;4754:6;4743:9;4739:22;4729:32;;4799:7;4792:4;4788:2;4784:13;4780:27;4770:55;;4821:1;4818;4811:12;4770:55;4861:2;4848:16;4887:2;4879:6;4876:14;4873:34;;;4903:1;4900;4893:12;4873:34;4948:7;4943:2;4934:6;4930:2;4926:15;4922:24;4919:37;4916:57;;;4969:1;4966;4959:12;5039:180;5098:6;5151:2;5139:9;5130:7;5126:23;5122:32;5119:52;;;5167:1;5164;5157:12;5119:52;-1:-1:-1;5190:23:1;;5039:180;-1:-1:-1;5039:180:1:o;5224:257::-;5265:3;5303:5;5297:12;5330:6;5325:3;5318:19;5346:63;5402:6;5395:4;5390:3;5386:14;5379:4;5372:5;5368:16;5346:63;:::i;:::-;5463:2;5442:15;-1:-1:-1;;5438:29:1;5429:39;;;;5470:4;5425:50;;5224:257;-1:-1:-1;;5224:257:1:o;5486:185::-;5528:3;5566:5;5560:12;5581:52;5626:6;5621:3;5614:4;5607:5;5603:16;5581:52;:::i;:::-;5649:16;;;;;5486:185;-1:-1:-1;;5486:185:1:o;5676:482::-;5918:26;5914:31;5905:6;5901:2;5897:15;5893:53;5888:3;5881:66;5863:3;5976:6;5970:13;5992:62;6047:6;6042:2;6037:3;6033:12;6026:4;6018:6;6014:17;5992:62;:::i;:::-;6113:2;6073:16;;6105:11;;;6098:27;;;;6149:2;6141:11;;5676:482;-1:-1:-1;;;5676:482:1:o;6163:1174::-;6339:3;6368:1;6401:6;6395:13;6431:3;6453:1;6481:9;6477:2;6473:18;6463:28;;6541:2;6530:9;6526:18;6563;6553:61;;6607:4;6599:6;6595:17;6585:27;;6553:61;6633:2;6681;6673:6;6670:14;6650:18;6647:38;6644:165;;;-1:-1:-1;;;6708:33:1;;6764:4;6761:1;6754:15;6794:4;6715:3;6782:17;6644:165;6825:18;6852:104;;;;6970:1;6965:320;;;;6818:467;;6852:104;-1:-1:-1;;6885:24:1;;6873:37;;6930:16;;;;-1:-1:-1;6852:104:1;;6965:320;14225:1;14218:14;;;14262:4;14249:18;;7060:1;7074:165;7088:6;7085:1;7082:13;7074:165;;;7166:14;;7153:11;;;7146:35;7209:16;;;;7103:10;;7074:165;;;7078:3;;7268:6;7263:3;7259:16;7252:23;;6818:467;;;;;;;7301:30;7327:3;7319:6;7301:30;:::i;:::-;7294:37;6163:1174;-1:-1:-1;;;;;6163:1174:1:o;7935:488::-;-1:-1:-1;;;;;8204:15:1;;;8186:34;;8256:15;;8251:2;8236:18;;8229:43;8303:2;8288:18;;8281:34;;;8351:3;8346:2;8331:18;;8324:31;;;8129:4;;8372:45;;8397:19;;8389:6;8372:45;:::i;:::-;8364:53;7935:488;-1:-1:-1;;;;;;7935:488:1:o;9023:219::-;9172:2;9161:9;9154:21;9135:4;9192:44;9232:2;9221:9;9217:18;9209:6;9192:44;:::i;12910:356::-;13112:2;13094:21;;;13131:18;;;13124:30;13190:34;13185:2;13170:18;;13163:62;13257:2;13242:18;;12910:356::o;14278:128::-;14318:3;14349:1;14345:6;14342:1;14339:13;14336:39;;;14355:18;;:::i;:::-;-1:-1:-1;14391:9:1;;14278:128::o;14411:120::-;14451:1;14477;14467:35;;14482:18;;:::i;:::-;-1:-1:-1;14516:9:1;;14411:120::o;14536:125::-;14576:4;14604:1;14601;14598:8;14595:34;;;14609:18;;:::i;:::-;-1:-1:-1;14646:9:1;;14536:125::o;14666:258::-;14738:1;14748:113;14762:6;14759:1;14756:13;14748:113;;;14838:11;;;14832:18;14819:11;;;14812:39;14784:2;14777:10;14748:113;;;14879:6;14876:1;14873:13;14870:48;;;-1:-1:-1;;14914:1:1;14896:16;;14889:27;14666:258::o;14929:380::-;15008:1;15004:12;;;;15051;;;15072:61;;15126:4;15118:6;15114:17;15104:27;;15072:61;15179:2;15171:6;15168:14;15148:18;15145:38;15142:161;;;15225:10;15220:3;15216:20;15213:1;15206:31;15260:4;15257:1;15250:15;15288:4;15285:1;15278:15;15142:161;;14929:380;;;:::o;15314:135::-;15353:3;-1:-1:-1;;15374:17:1;;15371:43;;;15394:18;;:::i;:::-;-1:-1:-1;15441:1:1;15430:13;;15314:135::o;15454:112::-;15486:1;15512;15502:35;;15517:18;;:::i;:::-;-1:-1:-1;15551:9:1;;15454:112::o;15571:127::-;15632:10;15627:3;15623:20;15620:1;15613:31;15663:4;15660:1;15653:15;15687:4;15684:1;15677:15;15703:127;15764:10;15759:3;15755:20;15752:1;15745:31;15795:4;15792:1;15785:15;15819:4;15816:1;15809:15;15835:127;15896:10;15891:3;15887:20;15884:1;15877:31;15927:4;15924:1;15917:15;15951:4;15948:1;15941:15;15967:127;16028:10;16023:3;16019:20;16016:1;16009:31;16059:4;16056:1;16049:15;16083:4;16080:1;16073:15;16099:127;16160:10;16155:3;16151:20;16148:1;16141:31;16191:4;16188:1;16181:15;16215:4;16212:1;16205:15;16231:131;-1:-1:-1;;;;;;16305:32:1;;16295:43;;16285:71;;16352:1;16349;16342:12

Swarm Source

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