ETH Price: $2,433.25 (+6.03%)

Token

Holiday 8SIAN Cards (H8C)
 

Overview

Max Total Supply

341 H8C

Holders

148

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 H8C
0x6d2e6151af6118378b654cb94a9f031a8d0c2275
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:
Holiday_8SIAN_Cards

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 2021-12-16
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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


// OpenZeppelin Contracts v4.4.0 (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 v4.4.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;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 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.0 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `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.0 (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.0 (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.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.0 (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/token/ERC721/ERC721.sol


// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @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 virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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 {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _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 {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @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 {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: contract.sol


pragma solidity ^0.8.7;

/*
 ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄▄▄▄▄▄▄▄▄▄  ▄▄        ▄ 
▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░▌      ▐░▌
▐░█▀▀▀▀▀▀▀█░▌▐░█▀▀▀▀▀▀▀▀▀  ▀▀▀▀█░█▀▀▀▀ ▐░█▀▀▀▀▀▀▀█░▌▐░▌░▌     ▐░▌
▐░▌       ▐░▌▐░▌               ▐░▌     ▐░▌       ▐░▌▐░▌▐░▌    ▐░▌
▐░█▄▄▄▄▄▄▄█░▌▐░█▄▄▄▄▄▄▄▄▄      ▐░▌     ▐░█▄▄▄▄▄▄▄█░▌▐░▌ ▐░▌   ▐░▌
 ▐░░░░░░░░░▌ ▐░░░░░░░░░░░▌     ▐░▌     ▐░░░░░░░░░░░▌▐░▌  ▐░▌  ▐░▌
▐░█▀▀▀▀▀▀▀█░▌ ▀▀▀▀▀▀▀▀▀█░▌     ▐░▌     ▐░█▀▀▀▀▀▀▀█░▌▐░▌   ▐░▌ ▐░▌
▐░▌       ▐░▌          ▐░▌     ▐░▌     ▐░▌       ▐░▌▐░▌    ▐░▌▐░▌
▐░█▄▄▄▄▄▄▄█░▌ ▄▄▄▄▄▄▄▄▄█░▌ ▄▄▄▄█░█▄▄▄▄ ▐░▌       ▐░▌▐░▌     ▐░▐░▌
▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░░░░░░░░░░░▌▐░▌       ▐░▌▐░▌      ▐░░▌
 ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀▀▀▀▀▀▀▀▀▀▀  ▀         ▀  ▀        ▀▀ 
                        By Devko.dev#7286 
*/

contract Holiday_8SIAN_Cards is ERC721, Ownable {
    using Strings for uint256;
    using ECDSA for bytes32;
    using Counters for Counters.Counter;
    Counters.Counter private _tokensMinted;
    uint256 public H8C_MAX = 2664;
    uint256 public H8C_PER_MINT = 3;
    uint256 public H8C_PER_WALLET = 3;
    uint256 public H8C_PRICE = 0.03 ether;
    string private _tokenBaseURI = "https://gateway.pinata.cloud/ipfs/QmePTNbJyavGW7taQz3opu3zUD3CcBfcS65t321jAdVqsy/";
    string private constant _sigWord = "8SIAN_CHRISTMAS";
    address private _signerAddress = 0xc5Fd6244D817534a2E2b503296d6187092327cA3;
    mapping(address => uint256) public buyersList;
    bool public privateLive;
    bool public publicLive;
    bool public paidLive;
    
    constructor() ERC721("Holiday 8SIAN Cards", "H8C") {}
    
    function matchAddresSigner(bytes memory signature) private view returns(bool) {
         bytes32 hash = keccak256(abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            keccak256(abi.encodePacked(msg.sender, _sigWord)))
          );
        return _signerAddress == hash.recover(signature);
    }      
        
    function gift(address[] calldata receivers) external onlyOwner {
        require(_tokensMinted.current() + receivers.length <= H8C_MAX, "EXCEED_MAX");
        for (uint256 i = 0; i < receivers.length; i++) {
             _tokensMinted.increment();
            _safeMint(receivers[i], _tokensMinted.current());
        }
    }

    function founderMint(uint256 tokenQuantity) external onlyOwner {
        require(_tokensMinted.current() + tokenQuantity <= H8C_MAX, "EXCEED_MAX");
        for(uint256 i = 0; i < tokenQuantity; i++) {
             _tokensMinted.increment();
            _safeMint(msg.sender, _tokensMinted.current());
        }
    }

    function privateMint(bytes memory signature, uint256 tokenQuantity) external {
        require(privateLive, "MINT_CLOSED");
        require(matchAddresSigner(signature), "DIRECT_MINT_DISALLOWED");
        require(_tokensMinted.current() + tokenQuantity <= H8C_MAX, "EXCEED_MAX");
        require(tokenQuantity <= H8C_PER_MINT, "EXCEED_H8C_PER_MINT");
        require(buyersList[msg.sender] + tokenQuantity <= H8C_PER_WALLET, "EXCEED_PER_WALLET");

        for (uint256 i = 0; i < tokenQuantity; i++) {
            buyersList[msg.sender]++;
            _tokensMinted.increment();
            _safeMint(msg.sender, _tokensMinted.current());
        }
    }

    function publicMint(uint256 tokenQuantity) external {
        require(publicLive, "MINT_CLOSED");
        require(_tokensMinted.current() + tokenQuantity <= H8C_MAX, "EXCEED_MAX");
        require(tokenQuantity <= H8C_PER_MINT, "EXCEED_H8C_PER_MINT");

        for (uint256 i = 0; i < tokenQuantity; i++) {
            _tokensMinted.increment();
            _safeMint(msg.sender, _tokensMinted.current());
        }
    }

    function buy(uint256 tokenQuantity) external payable {
        require(paidLive, "MINT_CLOSED");
        require(_tokensMinted.current() + tokenQuantity <= H8C_MAX, "EXCEED_MAX");
        require(tokenQuantity <= H8C_PER_MINT, "EXCEED_H8C_PER_MINT");
        require(H8C_PRICE * tokenQuantity <= msg.value, "INSUFFICIENT_ETH");

        for (uint256 i = 0; i < tokenQuantity; i++) {
            _tokensMinted.increment();
            _safeMint(msg.sender, _tokensMinted.current());
        }
    }
    
    function togglePrivateMintStatus() external onlyOwner {
        privateLive = !privateLive;
    }
    
    function togglePublicMintStatus() external onlyOwner {
        publicLive = !publicLive;
    }

    function togglePaidMintStatus() external onlyOwner {
        paidLive = !paidLive;
    }

    function setPrice(uint256 price) external onlyOwner {
        H8C_PRICE = price;
    }

    function setMax(uint256 count) external onlyOwner {
        H8C_MAX = count;
    }
    
    function setBaseURI(string calldata URI) external onlyOwner {
        _tokenBaseURI = URI;
    }
    
    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        require(_exists(tokenId), "Cannot query non-existent token");
        return string(abi.encodePacked(_tokenBaseURI, tokenId.toString()));
    }

    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }

    function totalSupply() public view returns (uint256) {
        return _tokensMinted.current();
    }

    receive() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"H8C_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"H8C_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"H8C_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"H8C_PRICE","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":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"buyersList","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":"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":"paidLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenQuantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"setMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","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":"togglePaidMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePrivateMintStatus","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"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610a6860085560036009819055600a55666a94d74f430000600b556101006040526051608081815290620029af60a03980516200004591600c9160209091019062000169565b50600d80546001600160a01b03191673c5fd6244d817534a2e2b503296d6187092327ca31790553480156200007957600080fd5b50604080518082018252601381527f486f6c6964617920385349414e2043617264730000000000000000000000000060208083019182528351808501909452600384526248384360e81b908401528151919291620000da9160009162000169565b508051620000f090600190602084019062000169565b5050506200010d620001076200011360201b60201c565b62000117565b6200024c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000177906200020f565b90600052602060002090601f0160209004810192826200019b5760008555620001e6565b82601f10620001b657805160ff1916838001178555620001e6565b82800160010185558215620001e6579182015b82811115620001e6578251825591602001919060010190620001c9565b50620001f4929150620001f8565b5090565b5b80821115620001f45760008155600101620001f9565b600181811c908216806200022457607f821691505b602082108114156200024657634e487b7160e01b600052602260045260246000fd5b50919050565b612753806200025c6000396000f3fe60806040526004361061021e5760003560e01c8063715018a611610123578063b7f751d8116100ab578063e5da932a1161006f578063e5da932a146105f6578063e985e9c51461060b578063f2fde38b14610654578063f42202e814610674578063fd3d3ad21461069457600080fd5b8063b7f751d814610557578063b88d4fde14610576578063c87b56dd14610596578063cc6c41e6146105b6578063d96a094a146105e357600080fd5b806397283d2f116100f257806397283d2f146104dc57806397f5ec67146104f6578063a22cb4651461050b578063afb2cfc51461052b578063b348beec1461054157600080fd5b8063715018a6146104745780638da5cb5b1461048957806391b7f5ed146104a757806395d89b41146104c757600080fd5b80632db11544116101a6578063519b6ea611610175578063519b6ea6146103df57806355f804b3146103ff578063615f1eb11461041f5780636352211e1461043457806370a082311461045457600080fd5b80632db11544146103745780633ccfd60b146103945780633ffb7805146103a957806342842e0e146103bf57600080fd5b8063095ea7b3116101ed578063095ea7b3146102dd578063163e1e61146102ff57806318160ddd1461031f5780631fe9eabc1461033457806323b872dd1461035457600080fd5b806301ffc9a71461022a57806305eb58a01461025f57806306fdde0314610283578063081812fc146102a557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a6102453660046121e4565b6106b4565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560085481565b604051908152602001610256565b34801561028f57600080fd5b50610298610706565b6040516102569190612440565b3480156102b157600080fd5b506102c56102c03660046122c3565b610798565b6040516001600160a01b039091168152602001610256565b3480156102e957600080fd5b506102fd6102f8366004612145565b610832565b005b34801561030b57600080fd5b506102fd61031a36600461216f565b610948565b34801561032b57600080fd5b50610275610a09565b34801561034057600080fd5b506102fd61034f3660046122c3565b610a19565b34801561036057600080fd5b506102fd61036f366004612065565b610a48565b34801561038057600080fd5b506102fd61038f3660046122c3565b610a79565b3480156103a057600080fd5b506102fd610b33565b3480156103b557600080fd5b50610275600b5481565b3480156103cb57600080fd5b506102fd6103da366004612065565b610b8c565b3480156103eb57600080fd5b50600f5461024a9062010000900460ff1681565b34801561040b57600080fd5b506102fd61041a366004612263565b610ba7565b34801561042b57600080fd5b506102fd610bdd565b34801561044057600080fd5b506102c561044f3660046122c3565b610c26565b34801561046057600080fd5b5061027561046f366004612010565b610c9d565b34801561048057600080fd5b506102fd610d24565b34801561049557600080fd5b506006546001600160a01b03166102c5565b3480156104b357600080fd5b506102fd6104c23660046122c3565b610d5a565b3480156104d357600080fd5b50610298610d89565b3480156104e857600080fd5b50600f5461024a9060ff1681565b34801561050257600080fd5b506102fd610d98565b34801561051757600080fd5b506102fd610526366004612109565b610ddf565b34801561053757600080fd5b50610275600a5481565b34801561054d57600080fd5b5061027560095481565b34801561056357600080fd5b50600f5461024a90610100900460ff1681565b34801561058257600080fd5b506102fd6105913660046120a1565b610dea565b3480156105a257600080fd5b506102986105b13660046122c3565b610e22565b3480156105c257600080fd5b506102756105d1366004612010565b600e6020526000908152604090205481565b6102fd6105f13660046122c3565b610ebb565b34801561060257600080fd5b506102fd610fc2565b34801561061757600080fd5b5061024a610626366004612032565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561066057600080fd5b506102fd61066f366004612010565b611000565b34801561068057600080fd5b506102fd61068f3660046122c3565b611098565b3480156106a057600080fd5b506102fd6106af36600461221e565b61112f565b60006001600160e01b031982166380ac58cd60e01b14806106e557506001600160e01b03198216635b5e139f60e01b145b8061070057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546107159061262f565b80601f01602080910402602001604051908101604052809291908181526020018280546107419061262f565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061083d82610c26565b9050806001600160a01b0316836001600160a01b031614156108ab5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161080d565b336001600160a01b03821614806108c757506108c78133610626565b6109395760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161080d565b61094383836112ae565b505050565b6006546001600160a01b031633146109725760405162461bcd60e51b815260040161080d906124f7565b6008548161097f60075490565b61098991906125a1565b11156109a75760405162461bcd60e51b815260040161080d9061252c565b60005b81811015610943576109c0600780546001019055565b6109f78383838181106109d5576109d56126db565b90506020020160208101906109ea9190612010565b60075461131c565b61131c565b80610a018161266a565b9150506109aa565b6000610a1460075490565b905090565b6006546001600160a01b03163314610a435760405162461bcd60e51b815260040161080d906124f7565b600855565b610a523382611336565b610a6e5760405162461bcd60e51b815260040161080d90612550565b61094383838361142d565b600f54610100900460ff16610aa05760405162461bcd60e51b815260040161080d906124a5565b60085481610aad60075490565b610ab791906125a1565b1115610ad55760405162461bcd60e51b815260040161080d9061252c565b600954811115610af75760405162461bcd60e51b815260040161080d906124ca565b60005b81811015610b2f57610b10600780546001019055565b610b1d336109f260075490565b80610b278161266a565b915050610afa565b5050565b6006546001600160a01b03163314610b5d5760405162461bcd60e51b815260040161080d906124f7565b60405133904780156108fc02916000818181858888f19350505050158015610b89573d6000803e3d6000fd5b50565b61094383838360405180602001604052806000815250610dea565b6006546001600160a01b03163314610bd15760405162461bcd60e51b815260040161080d906124f7565b610943600c8383611ece565b6006546001600160a01b03163314610c075760405162461bcd60e51b815260040161080d906124f7565b600f805462ff0000198116620100009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b0316806107005760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161080d565b60006001600160a01b038216610d085760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161080d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b815260040161080d906124f7565b610d5860006115cd565b565b6006546001600160a01b03163314610d845760405162461bcd60e51b815260040161080d906124f7565b600b55565b6060600180546107159061262f565b6006546001600160a01b03163314610dc25760405162461bcd60e51b815260040161080d906124f7565b600f805461ff001981166101009182900460ff1615909102179055565b610b2f33838361161f565b610df43383611336565b610e105760405162461bcd60e51b815260040161080d90612550565b610e1c848484846116ee565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e895760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161080d565b600c610e9483611721565b604051602001610ea592919061235c565b6040516020818303038152906040529050919050565b600f5462010000900460ff16610ee35760405162461bcd60e51b815260040161080d906124a5565b60085481610ef060075490565b610efa91906125a1565b1115610f185760405162461bcd60e51b815260040161080d9061252c565b600954811115610f3a5760405162461bcd60e51b815260040161080d906124ca565b3481600b54610f4991906125cd565b1115610f8a5760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b604482015260640161080d565b60005b81811015610b2f57610fa3600780546001019055565b610fb0336109f260075490565b80610fba8161266a565b915050610f8d565b6006546001600160a01b03163314610fec5760405162461bcd60e51b815260040161080d906124f7565b600f805460ff19811660ff90911615179055565b6006546001600160a01b0316331461102a5760405162461bcd60e51b815260040161080d906124f7565b6001600160a01b03811661108f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161080d565b610b89816115cd565b6006546001600160a01b031633146110c25760405162461bcd60e51b815260040161080d906124f7565b600854816110cf60075490565b6110d991906125a1565b11156110f75760405162461bcd60e51b815260040161080d9061252c565b60005b81811015610b2f57611110600780546001019055565b61111d336109f260075490565b806111278161266a565b9150506110fa565b600f5460ff166111515760405162461bcd60e51b815260040161080d906124a5565b61115a8261181f565b61119f5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b604482015260640161080d565b600854816111ac60075490565b6111b691906125a1565b11156111d45760405162461bcd60e51b815260040161080d9061252c565b6009548111156111f65760405162461bcd60e51b815260040161080d906124ca565b600a54336000908152600e60205260409020546112149083906125a1565b11156112565760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d4115497d5d053131155607a1b604482015260640161080d565b60005b8181101561094357336000908152600e6020526040812080549161127c8361266a565b919050555061128f600780546001019055565b61129c336109f260075490565b806112a68161266a565b915050611259565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112e382610c26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610b2f8282604051806020016040528060008152506118e1565b6000818152600260205260408120546001600160a01b03166113af5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161080d565b60006113ba83610c26565b9050806001600160a01b0316846001600160a01b031614806113f55750836001600160a01b03166113ea84610798565b6001600160a01b0316145b8061142557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661144082610c26565b6001600160a01b0316146114a85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161080d565b6001600160a01b03821661150a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161080d565b6115156000826112ae565b6001600160a01b038316600090815260036020526040812080546001929061153e9084906125ec565b90915550506001600160a01b038216600090815260036020526040812080546001929061156c9084906125a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156116815760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161080d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116f984848461142d565b61170584848484611914565b610e1c5760405162461bcd60e51b815260040161080d90612453565b6060816117455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561176f57806117598161266a565b91506117689050600a836125b9565b9150611749565b60008167ffffffffffffffff81111561178a5761178a6126f1565b6040519080825280601f01601f1916602001820160405280156117b4576020820181803683370190505b5090505b8415611425576117c96001836125ec565b91506117d6600a86612685565b6117e19060306125a1565b60f81b8183815181106117f6576117f66126db565b60200101906001600160f81b031916908160001a905350611818600a866125b9565b94506117b8565b600080336040518060400160405280600f81526020016e385349414e5f4348524953544d415360881b81525060405160200161185c929190612324565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506118c98184611a21565b600d546001600160a01b039081169116149392505050565b6118eb8383611a45565b6118f86000848484611914565b6109435760405162461bcd60e51b815260040161080d90612453565b60006001600160a01b0384163b15611a1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611958903390899088908890600401612403565b602060405180830381600087803b15801561197257600080fd5b505af19250505080156119a2575060408051601f3d908101601f1916820190925261199f91810190612201565b60015b6119fc573d8080156119d0576040519150601f19603f3d011682016040523d82523d6000602084013e6119d5565b606091505b5080516119f45760405162461bcd60e51b815260040161080d90612453565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611425565b506001949350505050565b6000806000611a308585611b87565b91509150611a3d81611bf7565b509392505050565b6001600160a01b038216611a9b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161080d565b6000818152600260205260409020546001600160a01b031615611b005760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161080d565b6001600160a01b0382166000908152600360205260408120805460019290611b299084906125a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080825160411415611bbe5760208301516040840151606085015160001a611bb287828585611db2565b94509450505050611bf0565b825160401415611be85760208301516040840151611bdd868383611e9f565b935093505050611bf0565b506000905060025b9250929050565b6000816004811115611c0b57611c0b6126c5565b1415611c145750565b6001816004811115611c2857611c286126c5565b1415611c765760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161080d565b6002816004811115611c8a57611c8a6126c5565b1415611cd85760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080d565b6003816004811115611cec57611cec6126c5565b1415611d455760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080d565b6004816004811115611d5957611d596126c5565b1415610b895760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611de95750600090506003611e96565b8460ff16601b14158015611e0157508460ff16601c14155b15611e125750600090506004611e96565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e66573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e8f57600060019250925050611e96565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01611ec087828885611db2565b935093505050935093915050565b828054611eda9061262f565b90600052602060002090601f016020900481019282611efc5760008555611f42565b82601f10611f155782800160ff19823516178555611f42565b82800160010185558215611f42579182015b82811115611f42578235825591602001919060010190611f27565b50611f4e929150611f52565b5090565b5b80821115611f4e5760008155600101611f53565b80356001600160a01b0381168114611f7e57600080fd5b919050565b600082601f830112611f9457600080fd5b813567ffffffffffffffff80821115611faf57611faf6126f1565b604051601f8301601f19908116603f01168101908282118183101715611fd757611fd76126f1565b81604052838152866020858801011115611ff057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561202257600080fd5b61202b82611f67565b9392505050565b6000806040838503121561204557600080fd5b61204e83611f67565b915061205c60208401611f67565b90509250929050565b60008060006060848603121561207a57600080fd5b61208384611f67565b925061209160208501611f67565b9150604084013590509250925092565b600080600080608085870312156120b757600080fd5b6120c085611f67565b93506120ce60208601611f67565b925060408501359150606085013567ffffffffffffffff8111156120f157600080fd5b6120fd87828801611f83565b91505092959194509250565b6000806040838503121561211c57600080fd5b61212583611f67565b91506020830135801515811461213a57600080fd5b809150509250929050565b6000806040838503121561215857600080fd5b61216183611f67565b946020939093013593505050565b6000806020838503121561218257600080fd5b823567ffffffffffffffff8082111561219a57600080fd5b818501915085601f8301126121ae57600080fd5b8135818111156121bd57600080fd5b8660208260051b85010111156121d257600080fd5b60209290920196919550909350505050565b6000602082840312156121f657600080fd5b813561202b81612707565b60006020828403121561221357600080fd5b815161202b81612707565b6000806040838503121561223157600080fd5b823567ffffffffffffffff81111561224857600080fd5b61225485828601611f83565b95602094909401359450505050565b6000806020838503121561227657600080fd5b823567ffffffffffffffff8082111561228e57600080fd5b818501915085601f8301126122a257600080fd5b8135818111156122b157600080fd5b8660208285010111156121d257600080fd5b6000602082840312156122d557600080fd5b5035919050565b600081518084526122f4816020860160208601612603565b601f01601f19169290920160200192915050565b6000815161231a818560208601612603565b9290920192915050565b6bffffffffffffffffffffffff198360601b1681526000825161234e816014850160208701612603565b919091016014019392505050565b600080845481600182811c91508083168061237857607f831692505b602080841082141561239857634e487b7160e01b86526022600452602486fd5b8180156123ac57600181146123bd576123ea565b60ff198616895284890196506123ea565b60008b81526020902060005b868110156123e25781548b8201529085019083016123c9565b505084890196505b5050505050506123fa8185612308565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612436908301846122dc565b9695505050505050565b60208152600061202b60208301846122dc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600b908201526a1352539517d0d313d4d15160aa1b604082015260600190565b602080825260139082015272115610d1515117d20e10d7d4115497d3525395606a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600a908201526908ab0868a8a88be9a82b60b31b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125b4576125b4612699565b500190565b6000826125c8576125c86126af565b500490565b60008160001904831182151516156125e7576125e7612699565b500290565b6000828210156125fe576125fe612699565b500390565b60005b8381101561261e578181015183820152602001612606565b83811115610e1c5750506000910152565b600181811c9082168061264357607f821691505b6020821081141561266457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561267e5761267e612699565b5060010190565b600082612694576126946126af565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b8957600080fdfea2646970667358221220c8f3cf898d26739ec9ca1e07b6d55439d77be9b2d2e719eddcc86b97ca76188c64736f6c6343000807003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6550544e624a7961764757377461517a336f7075337a5544334363426663533635743332316a4164567173792f

Deployed Bytecode

0x60806040526004361061021e5760003560e01c8063715018a611610123578063b7f751d8116100ab578063e5da932a1161006f578063e5da932a146105f6578063e985e9c51461060b578063f2fde38b14610654578063f42202e814610674578063fd3d3ad21461069457600080fd5b8063b7f751d814610557578063b88d4fde14610576578063c87b56dd14610596578063cc6c41e6146105b6578063d96a094a146105e357600080fd5b806397283d2f116100f257806397283d2f146104dc57806397f5ec67146104f6578063a22cb4651461050b578063afb2cfc51461052b578063b348beec1461054157600080fd5b8063715018a6146104745780638da5cb5b1461048957806391b7f5ed146104a757806395d89b41146104c757600080fd5b80632db11544116101a6578063519b6ea611610175578063519b6ea6146103df57806355f804b3146103ff578063615f1eb11461041f5780636352211e1461043457806370a082311461045457600080fd5b80632db11544146103745780633ccfd60b146103945780633ffb7805146103a957806342842e0e146103bf57600080fd5b8063095ea7b3116101ed578063095ea7b3146102dd578063163e1e61146102ff57806318160ddd1461031f5780631fe9eabc1461033457806323b872dd1461035457600080fd5b806301ffc9a71461022a57806305eb58a01461025f57806306fdde0314610283578063081812fc146102a557600080fd5b3661022557005b600080fd5b34801561023657600080fd5b5061024a6102453660046121e4565b6106b4565b60405190151581526020015b60405180910390f35b34801561026b57600080fd5b5061027560085481565b604051908152602001610256565b34801561028f57600080fd5b50610298610706565b6040516102569190612440565b3480156102b157600080fd5b506102c56102c03660046122c3565b610798565b6040516001600160a01b039091168152602001610256565b3480156102e957600080fd5b506102fd6102f8366004612145565b610832565b005b34801561030b57600080fd5b506102fd61031a36600461216f565b610948565b34801561032b57600080fd5b50610275610a09565b34801561034057600080fd5b506102fd61034f3660046122c3565b610a19565b34801561036057600080fd5b506102fd61036f366004612065565b610a48565b34801561038057600080fd5b506102fd61038f3660046122c3565b610a79565b3480156103a057600080fd5b506102fd610b33565b3480156103b557600080fd5b50610275600b5481565b3480156103cb57600080fd5b506102fd6103da366004612065565b610b8c565b3480156103eb57600080fd5b50600f5461024a9062010000900460ff1681565b34801561040b57600080fd5b506102fd61041a366004612263565b610ba7565b34801561042b57600080fd5b506102fd610bdd565b34801561044057600080fd5b506102c561044f3660046122c3565b610c26565b34801561046057600080fd5b5061027561046f366004612010565b610c9d565b34801561048057600080fd5b506102fd610d24565b34801561049557600080fd5b506006546001600160a01b03166102c5565b3480156104b357600080fd5b506102fd6104c23660046122c3565b610d5a565b3480156104d357600080fd5b50610298610d89565b3480156104e857600080fd5b50600f5461024a9060ff1681565b34801561050257600080fd5b506102fd610d98565b34801561051757600080fd5b506102fd610526366004612109565b610ddf565b34801561053757600080fd5b50610275600a5481565b34801561054d57600080fd5b5061027560095481565b34801561056357600080fd5b50600f5461024a90610100900460ff1681565b34801561058257600080fd5b506102fd6105913660046120a1565b610dea565b3480156105a257600080fd5b506102986105b13660046122c3565b610e22565b3480156105c257600080fd5b506102756105d1366004612010565b600e6020526000908152604090205481565b6102fd6105f13660046122c3565b610ebb565b34801561060257600080fd5b506102fd610fc2565b34801561061757600080fd5b5061024a610626366004612032565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561066057600080fd5b506102fd61066f366004612010565b611000565b34801561068057600080fd5b506102fd61068f3660046122c3565b611098565b3480156106a057600080fd5b506102fd6106af36600461221e565b61112f565b60006001600160e01b031982166380ac58cd60e01b14806106e557506001600160e01b03198216635b5e139f60e01b145b8061070057506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546107159061262f565b80601f01602080910402602001604051908101604052809291908181526020018280546107419061262f565b801561078e5780601f106107635761010080835404028352916020019161078e565b820191906000526020600020905b81548152906001019060200180831161077157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108165760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061083d82610c26565b9050806001600160a01b0316836001600160a01b031614156108ab5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161080d565b336001600160a01b03821614806108c757506108c78133610626565b6109395760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161080d565b61094383836112ae565b505050565b6006546001600160a01b031633146109725760405162461bcd60e51b815260040161080d906124f7565b6008548161097f60075490565b61098991906125a1565b11156109a75760405162461bcd60e51b815260040161080d9061252c565b60005b81811015610943576109c0600780546001019055565b6109f78383838181106109d5576109d56126db565b90506020020160208101906109ea9190612010565b60075461131c565b61131c565b80610a018161266a565b9150506109aa565b6000610a1460075490565b905090565b6006546001600160a01b03163314610a435760405162461bcd60e51b815260040161080d906124f7565b600855565b610a523382611336565b610a6e5760405162461bcd60e51b815260040161080d90612550565b61094383838361142d565b600f54610100900460ff16610aa05760405162461bcd60e51b815260040161080d906124a5565b60085481610aad60075490565b610ab791906125a1565b1115610ad55760405162461bcd60e51b815260040161080d9061252c565b600954811115610af75760405162461bcd60e51b815260040161080d906124ca565b60005b81811015610b2f57610b10600780546001019055565b610b1d336109f260075490565b80610b278161266a565b915050610afa565b5050565b6006546001600160a01b03163314610b5d5760405162461bcd60e51b815260040161080d906124f7565b60405133904780156108fc02916000818181858888f19350505050158015610b89573d6000803e3d6000fd5b50565b61094383838360405180602001604052806000815250610dea565b6006546001600160a01b03163314610bd15760405162461bcd60e51b815260040161080d906124f7565b610943600c8383611ece565b6006546001600160a01b03163314610c075760405162461bcd60e51b815260040161080d906124f7565b600f805462ff0000198116620100009182900460ff1615909102179055565b6000818152600260205260408120546001600160a01b0316806107005760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161080d565b60006001600160a01b038216610d085760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161080d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610d4e5760405162461bcd60e51b815260040161080d906124f7565b610d5860006115cd565b565b6006546001600160a01b03163314610d845760405162461bcd60e51b815260040161080d906124f7565b600b55565b6060600180546107159061262f565b6006546001600160a01b03163314610dc25760405162461bcd60e51b815260040161080d906124f7565b600f805461ff001981166101009182900460ff1615909102179055565b610b2f33838361161f565b610df43383611336565b610e105760405162461bcd60e51b815260040161080d90612550565b610e1c848484846116ee565b50505050565b6000818152600260205260409020546060906001600160a01b0316610e895760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00604482015260640161080d565b600c610e9483611721565b604051602001610ea592919061235c565b6040516020818303038152906040529050919050565b600f5462010000900460ff16610ee35760405162461bcd60e51b815260040161080d906124a5565b60085481610ef060075490565b610efa91906125a1565b1115610f185760405162461bcd60e51b815260040161080d9061252c565b600954811115610f3a5760405162461bcd60e51b815260040161080d906124ca565b3481600b54610f4991906125cd565b1115610f8a5760405162461bcd60e51b815260206004820152601060248201526f0929ca6aa8c8c9286928a9ca8be8aa8960831b604482015260640161080d565b60005b81811015610b2f57610fa3600780546001019055565b610fb0336109f260075490565b80610fba8161266a565b915050610f8d565b6006546001600160a01b03163314610fec5760405162461bcd60e51b815260040161080d906124f7565b600f805460ff19811660ff90911615179055565b6006546001600160a01b0316331461102a5760405162461bcd60e51b815260040161080d906124f7565b6001600160a01b03811661108f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161080d565b610b89816115cd565b6006546001600160a01b031633146110c25760405162461bcd60e51b815260040161080d906124f7565b600854816110cf60075490565b6110d991906125a1565b11156110f75760405162461bcd60e51b815260040161080d9061252c565b60005b81811015610b2f57611110600780546001019055565b61111d336109f260075490565b806111278161266a565b9150506110fa565b600f5460ff166111515760405162461bcd60e51b815260040161080d906124a5565b61115a8261181f565b61119f5760405162461bcd60e51b81526020600482015260166024820152751112549150d517d352539517d11254d0531313d5d15160521b604482015260640161080d565b600854816111ac60075490565b6111b691906125a1565b11156111d45760405162461bcd60e51b815260040161080d9061252c565b6009548111156111f65760405162461bcd60e51b815260040161080d906124ca565b600a54336000908152600e60205260409020546112149083906125a1565b11156112565760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d4115497d5d053131155607a1b604482015260640161080d565b60005b8181101561094357336000908152600e6020526040812080549161127c8361266a565b919050555061128f600780546001019055565b61129c336109f260075490565b806112a68161266a565b915050611259565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906112e382610c26565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610b2f8282604051806020016040528060008152506118e1565b6000818152600260205260408120546001600160a01b03166113af5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161080d565b60006113ba83610c26565b9050806001600160a01b0316846001600160a01b031614806113f55750836001600160a01b03166113ea84610798565b6001600160a01b0316145b8061142557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661144082610c26565b6001600160a01b0316146114a85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161080d565b6001600160a01b03821661150a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161080d565b6115156000826112ae565b6001600160a01b038316600090815260036020526040812080546001929061153e9084906125ec565b90915550506001600160a01b038216600090815260036020526040812080546001929061156c9084906125a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156116815760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161080d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116f984848461142d565b61170584848484611914565b610e1c5760405162461bcd60e51b815260040161080d90612453565b6060816117455750506040805180820190915260018152600360fc1b602082015290565b8160005b811561176f57806117598161266a565b91506117689050600a836125b9565b9150611749565b60008167ffffffffffffffff81111561178a5761178a6126f1565b6040519080825280601f01601f1916602001820160405280156117b4576020820181803683370190505b5090505b8415611425576117c96001836125ec565b91506117d6600a86612685565b6117e19060306125a1565b60f81b8183815181106117f6576117f66126db565b60200101906001600160f81b031916908160001a905350611818600a866125b9565b94506117b8565b600080336040518060400160405280600f81526020016e385349414e5f4348524953544d415360881b81525060405160200161185c929190612324565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160408051601f19818403018152919052805160209091012090506118c98184611a21565b600d546001600160a01b039081169116149392505050565b6118eb8383611a45565b6118f86000848484611914565b6109435760405162461bcd60e51b815260040161080d90612453565b60006001600160a01b0384163b15611a1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611958903390899088908890600401612403565b602060405180830381600087803b15801561197257600080fd5b505af19250505080156119a2575060408051601f3d908101601f1916820190925261199f91810190612201565b60015b6119fc573d8080156119d0576040519150601f19603f3d011682016040523d82523d6000602084013e6119d5565b606091505b5080516119f45760405162461bcd60e51b815260040161080d90612453565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611425565b506001949350505050565b6000806000611a308585611b87565b91509150611a3d81611bf7565b509392505050565b6001600160a01b038216611a9b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161080d565b6000818152600260205260409020546001600160a01b031615611b005760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161080d565b6001600160a01b0382166000908152600360205260408120805460019290611b299084906125a1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080825160411415611bbe5760208301516040840151606085015160001a611bb287828585611db2565b94509450505050611bf0565b825160401415611be85760208301516040840151611bdd868383611e9f565b935093505050611bf0565b506000905060025b9250929050565b6000816004811115611c0b57611c0b6126c5565b1415611c145750565b6001816004811115611c2857611c286126c5565b1415611c765760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161080d565b6002816004811115611c8a57611c8a6126c5565b1415611cd85760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161080d565b6003816004811115611cec57611cec6126c5565b1415611d455760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161080d565b6004816004811115611d5957611d596126c5565b1415610b895760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161080d565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611de95750600090506003611e96565b8460ff16601b14158015611e0157508460ff16601c14155b15611e125750600090506004611e96565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611e66573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611e8f57600060019250925050611e96565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01611ec087828885611db2565b935093505050935093915050565b828054611eda9061262f565b90600052602060002090601f016020900481019282611efc5760008555611f42565b82601f10611f155782800160ff19823516178555611f42565b82800160010185558215611f42579182015b82811115611f42578235825591602001919060010190611f27565b50611f4e929150611f52565b5090565b5b80821115611f4e5760008155600101611f53565b80356001600160a01b0381168114611f7e57600080fd5b919050565b600082601f830112611f9457600080fd5b813567ffffffffffffffff80821115611faf57611faf6126f1565b604051601f8301601f19908116603f01168101908282118183101715611fd757611fd76126f1565b81604052838152866020858801011115611ff057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60006020828403121561202257600080fd5b61202b82611f67565b9392505050565b6000806040838503121561204557600080fd5b61204e83611f67565b915061205c60208401611f67565b90509250929050565b60008060006060848603121561207a57600080fd5b61208384611f67565b925061209160208501611f67565b9150604084013590509250925092565b600080600080608085870312156120b757600080fd5b6120c085611f67565b93506120ce60208601611f67565b925060408501359150606085013567ffffffffffffffff8111156120f157600080fd5b6120fd87828801611f83565b91505092959194509250565b6000806040838503121561211c57600080fd5b61212583611f67565b91506020830135801515811461213a57600080fd5b809150509250929050565b6000806040838503121561215857600080fd5b61216183611f67565b946020939093013593505050565b6000806020838503121561218257600080fd5b823567ffffffffffffffff8082111561219a57600080fd5b818501915085601f8301126121ae57600080fd5b8135818111156121bd57600080fd5b8660208260051b85010111156121d257600080fd5b60209290920196919550909350505050565b6000602082840312156121f657600080fd5b813561202b81612707565b60006020828403121561221357600080fd5b815161202b81612707565b6000806040838503121561223157600080fd5b823567ffffffffffffffff81111561224857600080fd5b61225485828601611f83565b95602094909401359450505050565b6000806020838503121561227657600080fd5b823567ffffffffffffffff8082111561228e57600080fd5b818501915085601f8301126122a257600080fd5b8135818111156122b157600080fd5b8660208285010111156121d257600080fd5b6000602082840312156122d557600080fd5b5035919050565b600081518084526122f4816020860160208601612603565b601f01601f19169290920160200192915050565b6000815161231a818560208601612603565b9290920192915050565b6bffffffffffffffffffffffff198360601b1681526000825161234e816014850160208701612603565b919091016014019392505050565b600080845481600182811c91508083168061237857607f831692505b602080841082141561239857634e487b7160e01b86526022600452602486fd5b8180156123ac57600181146123bd576123ea565b60ff198616895284890196506123ea565b60008b81526020902060005b868110156123e25781548b8201529085019083016123c9565b505084890196505b5050505050506123fa8185612308565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612436908301846122dc565b9695505050505050565b60208152600061202b60208301846122dc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600b908201526a1352539517d0d313d4d15160aa1b604082015260600190565b602080825260139082015272115610d1515117d20e10d7d4115497d3525395606a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600a908201526908ab0868a8a88be9a82b60b31b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125b4576125b4612699565b500190565b6000826125c8576125c86126af565b500490565b60008160001904831182151516156125e7576125e7612699565b500290565b6000828210156125fe576125fe612699565b500390565b60005b8381101561261e578181015183820152602001612606565b83811115610e1c5750506000910152565b600181811c9082168061264357607f821691505b6020821081141561266457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561267e5761267e612699565b5060010190565b600082612694576126946126af565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610b8957600080fdfea2646970667358221220c8f3cf898d26739ec9ca1e07b6d55439d77be9b2d2e719eddcc86b97ca76188c64736f6c63430008070033

Deployed Bytecode Sourcemap

49103:4606:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34806:305;;;;;;;;;;-1:-1:-1;34806:305:0;;;;;:::i;:::-;;:::i;:::-;;;8440:14:1;;8433:22;8415:41;;8403:2;8388:18;34806:305:0;;;;;;;;49307:29;;;;;;;;;;;;;;;;;;;19154:25:1;;;19142:2;19127:18;49307:29:0;19008:177:1;35751:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37310:221::-;;;;;;;;;;-1:-1:-1;37310:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7738:32:1;;;7720:51;;7708:2;7693:18;37310:221:0;7574:203:1;36833:411:0;;;;;;;;;;-1:-1:-1;36833:411:0;;;;;:::i;:::-;;:::i;:::-;;50283:331;;;;;;;;;;-1:-1:-1;50283:331:0;;;;;:::i;:::-;;:::i;53567:102::-;;;;;;;;;;;;;:::i;52992:84::-;;;;;;;;;;-1:-1:-1;52992:84:0;;;;;:::i;:::-;;:::i;38060:339::-;;;;;;;;;;-1:-1:-1;38060:339:0;;;;;:::i;:::-;;:::i;51626:430::-;;;;;;;;;;-1:-1:-1;51626:430:0;;;;;:::i;:::-;;:::i;53450:109::-;;;;;;;;;;;;;:::i;49421:37::-;;;;;;;;;;;;;;;;38470:185;;;;;;;;;;-1:-1:-1;38470:185:0;;;;;:::i;:::-;;:::i;49838:20::-;;;;;;;;;;-1:-1:-1;49838:20:0;;;;;;;;;;;53088:98;;;;;;;;;;-1:-1:-1;53088:98:0;;;;;:::i;:::-;;:::i;52798:90::-;;;;;;;;;;;;;:::i;35445:239::-;;;;;;;;;;-1:-1:-1;35445:239:0;;;;;:::i;:::-;;:::i;35175:208::-;;;;;;;;;;-1:-1:-1;35175:208:0;;;;;:::i;:::-;;:::i;15794:103::-;;;;;;;;;;;;;:::i;15143:87::-;;;;;;;;;;-1:-1:-1;15216:6:0;;-1:-1:-1;;;;;15216:6:0;15143:87;;52896:88;;;;;;;;;;-1:-1:-1;52896:88:0;;;;;:::i;:::-;;:::i;35920:104::-;;;;;;;;;;;;;:::i;49779:23::-;;;;;;;;;;-1:-1:-1;49779:23:0;;;;;;;;52694:96;;;;;;;;;;;;;:::i;37603:155::-;;;;;;;;;;-1:-1:-1;37603:155:0;;;;;:::i;:::-;;:::i;49381:33::-;;;;;;;;;;;;;;;;49343:31;;;;;;;;;;;;;;;;49809:22;;;;;;;;;;-1:-1:-1;49809:22:0;;;;;;;;;;;38726:328;;;;;;;;;;-1:-1:-1;38726:328:0;;;;;:::i;:::-;;:::i;53198:244::-;;;;;;;;;;-1:-1:-1;53198:244:0;;;;;:::i;:::-;;:::i;49727:45::-;;;;;;;;;;-1:-1:-1;49727:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;52064:507;;;;;;:::i;:::-;;:::i;52583:99::-;;;;;;;;;;;;;:::i;37829:164::-;;;;;;;;;;-1:-1:-1;37829:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;37950:25:0;;;37926:4;37950:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37829:164;16052:201;;;;;;;;;;-1:-1:-1;16052:201:0;;;;;:::i;:::-;;:::i;50622:322::-;;;;;;;;;;-1:-1:-1;50622:322:0;;;;;:::i;:::-;;:::i;50952:666::-;;;;;;;;;;-1:-1:-1;50952:666:0;;;;;:::i;:::-;;:::i;34806:305::-;34908:4;-1:-1:-1;;;;;;34945:40:0;;-1:-1:-1;;;34945:40:0;;:105;;-1:-1:-1;;;;;;;35002:48:0;;-1:-1:-1;;;35002:48:0;34945:105;:158;;;-1:-1:-1;;;;;;;;;;27684:40:0;;;35067:36;34925:178;34806:305;-1:-1:-1;;34806:305:0:o;35751:100::-;35805:13;35838:5;35831:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35751:100;:::o;37310:221::-;37386:7;40653:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40653:16:0;37406:73;;;;-1:-1:-1;;;37406:73:0;;15816:2:1;37406:73:0;;;15798:21:1;15855:2;15835:18;;;15828:30;15894:34;15874:18;;;15867:62;-1:-1:-1;;;15945:18:1;;;15938:42;15997:19;;37406:73:0;;;;;;;;;-1:-1:-1;37499:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37499:24:0;;37310:221::o;36833:411::-;36914:13;36930:23;36945:7;36930:14;:23::i;:::-;36914:39;;36978:5;-1:-1:-1;;;;;36972:11:0;:2;-1:-1:-1;;;;;36972:11:0;;;36964:57;;;;-1:-1:-1;;;36964:57:0;;17706:2:1;36964:57:0;;;17688:21:1;17745:2;17725:18;;;17718:30;17784:34;17764:18;;;17757:62;-1:-1:-1;;;17835:18:1;;;17828:31;17876:19;;36964:57:0;17504:397:1;36964:57:0;13947:10;-1:-1:-1;;;;;37056:21:0;;;;:62;;-1:-1:-1;37081:37:0;37098:5;13947:10;37829:164;:::i;37081:37::-;37034:168;;;;-1:-1:-1;;;37034:168:0;;13806:2:1;37034:168:0;;;13788:21:1;13845:2;13825:18;;;13818:30;13884:34;13864:18;;;13857:62;13955:26;13935:18;;;13928:54;13999:19;;37034:168:0;13604:420:1;37034:168:0;37215:21;37224:2;37228:7;37215:8;:21::i;:::-;36903:341;36833:411;;:::o;50283:331::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;50411:7:::1;::::0;50391:9;50365:23:::1;:13;997:14:::0;;905:114;50365:23:::1;:42;;;;:::i;:::-;:53;;50357:76;;;;-1:-1:-1::0;;;50357:76:0::1;;;;;;;:::i;:::-;50449:9;50444:163;50464:20:::0;;::::1;50444:163;;;50507:25;:13;1116:19:::0;;1134:1;1116:19;;;1027:127;50507:25:::1;50547:48;50557:9;;50567:1;50557:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;50571:13;997:14:::0;50547:9:::1;:48::i;50571:23::-;50547:9;:48::i;:::-;50486:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50444:163;;53567:102:::0;53611:7;53638:23;:13;997:14;;905:114;53638:23;53631:30;;53567:102;:::o;52992:84::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;53053:7:::1;:15:::0;52992:84::o;38060:339::-;38255:41;13947:10;38288:7;38255:18;:41::i;:::-;38247:103;;;;-1:-1:-1;;;38247:103:0;;;;;;;:::i;:::-;38363:28;38373:4;38379:2;38383:7;38363:9;:28::i;51626:430::-;51697:10;;;;;;;51689:34;;;;-1:-1:-1;;;51689:34:0;;;;;;;:::i;:::-;51785:7;;51768:13;51742:23;:13;997:14;;905:114;51742:23;:39;;;;:::i;:::-;:50;;51734:73;;;;-1:-1:-1;;;51734:73:0;;;;;;;:::i;:::-;51843:12;;51826:13;:29;;51818:61;;;;-1:-1:-1;;;51818:61:0;;;;;;;:::i;:::-;51897:9;51892:157;51916:13;51912:1;:17;51892:157;;;51951:25;:13;1116:19;;1134:1;1116:19;;;1027:127;51951:25;51991:46;52001:10;52013:23;:13;997:14;;905:114;51991:46;51931:3;;;;:::i;:::-;;;;51892:157;;;;51626:430;:::o;53450:109::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;53500:51:::1;::::0;53508:10:::1;::::0;53529:21:::1;53500:51:::0;::::1;;;::::0;::::1;::::0;;;53529:21;53508:10;53500:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;53450:109::o:0;38470:185::-;38608:39;38625:4;38631:2;38635:7;38608:39;;;;;;;;;;;;:16;:39::i;53088:98::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;53159:19:::1;:13;53175:3:::0;;53159:19:::1;:::i;52798:90::-:0;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;52872:8:::1;::::0;;-1:-1:-1;;52860:20:0;::::1;52872:8:::0;;;;::::1;;;52871:9;52860:20:::0;;::::1;;::::0;;52798:90::o;35445:239::-;35517:7;35553:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35553:16:0;35588:19;35580:73;;;;-1:-1:-1;;;35580:73:0;;14642:2:1;35580:73:0;;;14624:21:1;14681:2;14661:18;;;14654:30;14720:34;14700:18;;;14693:62;-1:-1:-1;;;14771:18:1;;;14764:39;14820:19;;35580:73:0;14440:405:1;35175:208:0;35247:7;-1:-1:-1;;;;;35275:19:0;;35267:74;;;;-1:-1:-1;;;35267:74:0;;14231:2:1;35267:74:0;;;14213:21:1;14270:2;14250:18;;;14243:30;14309:34;14289:18;;;14282:62;-1:-1:-1;;;14360:18:1;;;14353:40;14410:19;;35267:74:0;14029:406:1;35267:74:0;-1:-1:-1;;;;;;35359:16:0;;;;;:9;:16;;;;;;;35175:208::o;15794:103::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;15859:30:::1;15886:1;15859:18;:30::i;:::-;15794:103::o:0;52896:88::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;52959:9:::1;:17:::0;52896:88::o;35920:104::-;35976:13;36009:7;36002:14;;;;;:::i;52694:96::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;52772:10:::1;::::0;;-1:-1:-1;;52758:24:0;::::1;52772:10;::::0;;;::::1;;;52771:11;52758:24:::0;;::::1;;::::0;;52694:96::o;37603:155::-;37698:52;13947:10;37731:8;37741;37698:18;:52::i;38726:328::-;38901:41;13947:10;38934:7;38901:18;:41::i;:::-;38893:103;;;;-1:-1:-1;;;38893:103:0;;;;;;;:::i;:::-;39007:39;39021:4;39027:2;39031:7;39040:5;39007:13;:39::i;:::-;38726:328;;;;:::o;53198:244::-;40629:4;40653:16;;;:7;:16;;;;;;53271:13;;-1:-1:-1;;;;;40653:16:0;53297:60;;;;-1:-1:-1;;;53297:60:0;;17346:2:1;53297:60:0;;;17328:21:1;17385:2;17365:18;;;17358:30;17424:33;17404:18;;;17397:61;17475:18;;53297:60:0;17144:355:1;53297:60:0;53399:13;53414:18;:7;:16;:18::i;:::-;53382:51;;;;;;;;;:::i;:::-;;;;;;;;;;;;;53368:66;;53198:244;;;:::o;52064:507::-;52136:8;;;;;;;52128:32;;;;-1:-1:-1;;;52128:32:0;;;;;;;:::i;:::-;52222:7;;52205:13;52179:23;:13;997:14;;905:114;52179:23;:39;;;;:::i;:::-;:50;;52171:73;;;;-1:-1:-1;;;52171:73:0;;;;;;;:::i;:::-;52280:12;;52263:13;:29;;52255:61;;;;-1:-1:-1;;;52255:61:0;;;;;;;:::i;:::-;52364:9;52347:13;52335:9;;:25;;;;:::i;:::-;:38;;52327:67;;;;-1:-1:-1;;;52327:67:0;;18865:2:1;52327:67:0;;;18847:21:1;18904:2;18884:18;;;18877:30;-1:-1:-1;;;18923:18:1;;;18916:46;18979:18;;52327:67:0;18663:340:1;52327:67:0;52412:9;52407:157;52431:13;52427:1;:17;52407:157;;;52466:25;:13;1116:19;;1134:1;1116:19;;;1027:127;52466:25;52506:46;52516:10;52528:23;:13;997:14;;905:114;52506:46;52446:3;;;;:::i;:::-;;;;52407:157;;52583:99;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;52663:11:::1;::::0;;-1:-1:-1;;52648:26:0;::::1;52663:11;::::0;;::::1;52662:12;52648:26;::::0;;52583:99::o;16052:201::-;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;16141:22:0;::::1;16133:73;;;::::0;-1:-1:-1;;;16133:73:0;;10779:2:1;16133:73:0::1;::::0;::::1;10761:21:1::0;10818:2;10798:18;;;10791:30;10857:34;10837:18;;;10830:62;-1:-1:-1;;;10908:18:1;;;10901:36;10954:19;;16133:73:0::1;10577:402:1::0;16133:73:0::1;16217:28;16236:8;16217:18;:28::i;50622:322::-:0;15216:6;;-1:-1:-1;;;;;15216:6:0;13947:10;15363:23;15355:68;;;;-1:-1:-1;;;15355:68:0;;;;;;;:::i;:::-;50747:7:::1;;50730:13;50704:23;:13;997:14:::0;;905:114;50704:23:::1;:39;;;;:::i;:::-;:50;;50696:73;;;;-1:-1:-1::0;;;50696:73:0::1;;;;;;;:::i;:::-;50784:9;50780:157;50803:13;50799:1;:17;50780:157;;;50839:25;:13;1116:19:::0;;1134:1;1116:19;;;1027:127;50839:25:::1;50879:46;50889:10;50901:23;:13;997:14:::0;;905:114;50879:46:::1;50818:3:::0;::::1;::::0;::::1;:::i;:::-;;;;50780:157;;50952:666:::0;51048:11;;;;51040:35;;;;-1:-1:-1;;;51040:35:0;;;;;;;:::i;:::-;51094:28;51112:9;51094:17;:28::i;:::-;51086:63;;;;-1:-1:-1;;;51086:63:0;;9649:2:1;51086:63:0;;;9631:21:1;9688:2;9668:18;;;9661:30;-1:-1:-1;;;9707:18:1;;;9700:52;9769:18;;51086:63:0;9447:346:1;51086:63:0;51211:7;;51194:13;51168:23;:13;997:14;;905:114;51168:23;:39;;;;:::i;:::-;:50;;51160:73;;;;-1:-1:-1;;;51160:73:0;;;;;;;:::i;:::-;51269:12;;51252:13;:29;;51244:61;;;;-1:-1:-1;;;51244:61:0;;;;;;;:::i;:::-;51366:14;;51335:10;51324:22;;;;:10;:22;;;;;;:38;;51349:13;;51324:38;:::i;:::-;:56;;51316:86;;;;-1:-1:-1;;;51316:86:0;;17000:2:1;51316:86:0;;;16982:21:1;17039:2;17019:18;;;17012:30;-1:-1:-1;;;17058:18:1;;;17051:47;17115:18;;51316:86:0;16798:341:1;51316:86:0;51420:9;51415:196;51439:13;51435:1;:17;51415:196;;;51485:10;51474:22;;;;:10;:22;;;;;:24;;;;;;:::i;:::-;;;;;;51513:25;:13;1116:19;;1134:1;1116:19;;;1027:127;51513:25;51553:46;51563:10;51575:23;:13;997:14;;905:114;51553:46;51454:3;;;;:::i;:::-;;;;51415:196;;44546:174;44621:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;44621:29:0;-1:-1:-1;;;;;44621:29:0;;;;;;;;:24;;44675:23;44621:24;44675:14;:23::i;:::-;-1:-1:-1;;;;;44666:46:0;;;;;;;;;;;44546:174;;:::o;41548:110::-;41624:26;41634:2;41638:7;41624:26;;;;;;;;;;;;:9;:26::i;40858:348::-;40951:4;40653:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40653:16:0;40968:73;;;;-1:-1:-1;;;40968:73:0;;13393:2:1;40968:73:0;;;13375:21:1;13432:2;13412:18;;;13405:30;13471:34;13451:18;;;13444:62;-1:-1:-1;;;13522:18:1;;;13515:42;13574:19;;40968:73:0;13191:408:1;40968:73:0;41052:13;41068:23;41083:7;41068:14;:23::i;:::-;41052:39;;41121:5;-1:-1:-1;;;;;41110:16:0;:7;-1:-1:-1;;;;;41110:16:0;;:51;;;;41154:7;-1:-1:-1;;;;;41130:31:0;:20;41142:7;41130:11;:20::i;:::-;-1:-1:-1;;;;;41130:31:0;;41110:51;:87;;;-1:-1:-1;;;;;;37950:25:0;;;37926:4;37950:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;41165:32;41102:96;40858:348;-1:-1:-1;;;;40858:348:0:o;43850:578::-;44009:4;-1:-1:-1;;;;;43982:31:0;:23;43997:7;43982:14;:23::i;:::-;-1:-1:-1;;;;;43982:31:0;;43974:85;;;;-1:-1:-1;;;43974:85:0;;16590:2:1;43974:85:0;;;16572:21:1;16629:2;16609:18;;;16602:30;16668:34;16648:18;;;16641:62;-1:-1:-1;;;16719:18:1;;;16712:39;16768:19;;43974:85:0;16388:405:1;43974:85:0;-1:-1:-1;;;;;44078:16:0;;44070:65;;;;-1:-1:-1;;;44070:65:0;;11883:2:1;44070:65:0;;;11865:21:1;11922:2;11902:18;;;11895:30;11961:34;11941:18;;;11934:62;-1:-1:-1;;;12012:18:1;;;12005:34;12056:19;;44070:65:0;11681:400:1;44070:65:0;44252:29;44269:1;44273:7;44252:8;:29::i;:::-;-1:-1:-1;;;;;44294:15:0;;;;;;:9;:15;;;;;:20;;44313:1;;44294:15;:20;;44313:1;;44294:20;:::i;:::-;;;;-1:-1:-1;;;;;;;44325:13:0;;;;;;:9;:13;;;;;:18;;44342:1;;44325:13;:18;;44342:1;;44325:18;:::i;:::-;;;;-1:-1:-1;;44354:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;44354:21:0;-1:-1:-1;;;;;44354:21:0;;;;;;;;;44393:27;;44354:16;;44393:27;;;;;;;43850:578;;;:::o;16413:191::-;16506:6;;;-1:-1:-1;;;;;16523:17:0;;;-1:-1:-1;;;;;;16523:17:0;;;;;;;16556:40;;16506:6;;;16523:17;16506:6;;16556:40;;16487:16;;16556:40;16476:128;16413:191;:::o;44862:315::-;45017:8;-1:-1:-1;;;;;45008:17:0;:5;-1:-1:-1;;;;;45008:17:0;;;45000:55;;;;-1:-1:-1;;;45000:55:0;;12288:2:1;45000:55:0;;;12270:21:1;12327:2;12307:18;;;12300:30;12366:27;12346:18;;;12339:55;12411:18;;45000:55:0;12086:349:1;45000:55:0;-1:-1:-1;;;;;45066:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;45066:46:0;;;;;;;;;;45128:41;;8415::1;;;45128::0;;8388:18:1;45128:41:0;;;;;;;44862:315;;;:::o;39936:::-;40093:28;40103:4;40109:2;40113:7;40093:9;:28::i;:::-;40140:48;40163:4;40169:2;40173:7;40182:5;40140:22;:48::i;:::-;40132:111;;;;-1:-1:-1;;;40132:111:0;;;;;;;:::i;1863:723::-;1919:13;2140:10;2136:53;;-1:-1:-1;;2167:10:0;;;;;;;;;;;;-1:-1:-1;;;2167:10:0;;;;;1863:723::o;2136:53::-;2214:5;2199:12;2255:78;2262:9;;2255:78;;2288:8;;;;:::i;:::-;;-1:-1:-1;2311:10:0;;-1:-1:-1;2319:2:0;2311:10;;:::i;:::-;;;2255:78;;;2343:19;2375:6;2365:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2365:17:0;;2343:39;;2393:154;2400:10;;2393:154;;2427:11;2437:1;2427:11;;:::i;:::-;;-1:-1:-1;2496:10:0;2504:2;2496:5;:10;:::i;:::-;2483:24;;:2;:24;:::i;:::-;2470:39;;2453:6;2460;2453:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2453:56:0;;;;;;;;-1:-1:-1;2524:11:0;2533:2;2524:11;;:::i;:::-;;;2393:154;;49936:325;50008:4;50026:12;50158:10;50170:8;;;;;;;;;;;;;-1:-1:-1;;;50170:8:0;;;50141:38;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;50141:38:0;;;;;;;;;;50131:49;;50141:38;50131:49;;;;7431:66:1;50051:130:0;;;7419:79:1;;;;7514:12;;;7507:28;7551:12;;50051:130:0;;;-1:-1:-1;;50051:130:0;;;;;;;;;50041:153;;50051:130;50041:153;;;;;-1:-1:-1;50230:23:0;50041:153;50243:9;50230:12;:23::i;:::-;50212:14;;-1:-1:-1;;;;;50212:14:0;;;:41;;;;49936:325;-1:-1:-1;;;49936:325:0:o;41885:321::-;42015:18;42021:2;42025:7;42015:5;:18::i;:::-;42066:54;42097:1;42101:2;42105:7;42114:5;42066:22;:54::i;:::-;42044:154;;;;-1:-1:-1;;;42044:154:0;;;;;;;:::i;45742:799::-;45897:4;-1:-1:-1;;;;;45918:13:0;;17754:20;17802:8;45914:620;;45954:72;;-1:-1:-1;;;45954:72:0;;-1:-1:-1;;;;;45954:36:0;;;;;:72;;13947:10;;46005:4;;46011:7;;46020:5;;45954:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45954:72:0;;;;;;;;-1:-1:-1;;45954:72:0;;;;;;;;;;;;:::i;:::-;;;45950:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46196:13:0;;46192:272;;46239:60;;-1:-1:-1;;;46239:60:0;;;;;;;:::i;46192:272::-;46414:6;46408:13;46399:6;46395:2;46391:15;46384:38;45950:529;-1:-1:-1;;;;;;46077:51:0;-1:-1:-1;;;46077:51:0;;-1:-1:-1;46070:58:0;;45914:620;-1:-1:-1;46518:4:0;45742:799;;;;;;:::o;8024:231::-;8102:7;8123:17;8142:18;8164:27;8175:4;8181:9;8164:10;:27::i;:::-;8122:69;;;;8202:18;8214:5;8202:11;:18::i;:::-;-1:-1:-1;8238:9:0;8024:231;-1:-1:-1;;;8024:231:0:o;42542:382::-;-1:-1:-1;;;;;42622:16:0;;42614:61;;;;-1:-1:-1;;;42614:61:0;;15455:2:1;42614:61:0;;;15437:21:1;;;15474:18;;;15467:30;15533:34;15513:18;;;15506:62;15585:18;;42614:61:0;15253:356:1;42614:61:0;40629:4;40653:16;;;:7;:16;;;;;;-1:-1:-1;;;;;40653:16:0;:30;42686:58;;;;-1:-1:-1;;;42686:58:0;;11186:2:1;42686:58:0;;;11168:21:1;11225:2;11205:18;;;11198:30;11264;11244:18;;;11237:58;11312:18;;42686:58:0;10984:352:1;42686:58:0;-1:-1:-1;;;;;42815:13:0;;;;;;:9;:13;;;;;:18;;42832:1;;42815:13;:18;;42832:1;;42815:18;:::i;:::-;;;;-1:-1:-1;;42844:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;42844:21:0;-1:-1:-1;;;;;42844:21:0;;;;;;;;42883:33;;42844:16;;;42883:33;;42844:16;;42883:33;42542:382;;:::o;5914:1308::-;5995:7;6004:12;6229:9;:16;6249:2;6229:22;6225:990;;;6525:4;6510:20;;6504:27;6575:4;6560:20;;6554:27;6633:4;6618:20;;6612:27;6268:9;6604:36;6676:25;6687:4;6604:36;6504:27;6554;6676:10;:25::i;:::-;6669:32;;;;;;;;;6225:990;6723:9;:16;6743:2;6723:22;6719:496;;;6998:4;6983:20;;6977:27;7049:4;7034:20;;7028:27;7091:23;7102:4;6977:27;7028;7091:10;:23::i;:::-;7084:30;;;;;;;;6719:496;-1:-1:-1;7163:1:0;;-1:-1:-1;7167:35:0;6719:496;5914:1308;;;;;:::o;4185:643::-;4263:20;4254:5;:29;;;;;;;;:::i;:::-;;4250:571;;;4185:643;:::o;4250:571::-;4361:29;4352:5;:38;;;;;;;;:::i;:::-;;4348:473;;;4407:34;;-1:-1:-1;;;4407:34:0;;9296:2:1;4407:34:0;;;9278:21:1;9335:2;9315:18;;;9308:30;9374:26;9354:18;;;9347:54;9418:18;;4407:34:0;9094:348:1;4348:473:0;4472:35;4463:5;:44;;;;;;;;:::i;:::-;;4459:362;;;4524:41;;-1:-1:-1;;;4524:41:0;;10000:2:1;4524:41:0;;;9982:21:1;10039:2;10019:18;;;10012:30;10078:33;10058:18;;;10051:61;10129:18;;4524:41:0;9798:355:1;4459:362:0;4596:30;4587:5;:39;;;;;;;;:::i;:::-;;4583:238;;;4643:44;;-1:-1:-1;;;4643:44:0;;12990:2:1;4643:44:0;;;12972:21:1;13029:2;13009:18;;;13002:30;13068:34;13048:18;;;13041:62;-1:-1:-1;;;13119:18:1;;;13112:32;13161:19;;4643:44:0;12788:398:1;4583:238:0;4718:30;4709:5;:39;;;;;;;;:::i;:::-;;4705:116;;;4765:44;;-1:-1:-1;;;4765:44:0;;15052:2:1;4765:44:0;;;15034:21:1;15091:2;15071:18;;;15064:30;15130:34;15110:18;;;15103:62;-1:-1:-1;;;15181:18:1;;;15174:32;15223:19;;4765:44:0;14850:398:1;9523:1632:0;9654:7;;10588:66;10575:79;;10571:163;;;-1:-1:-1;10687:1:0;;-1:-1:-1;10691:30:0;10671:51;;10571:163;10748:1;:7;;10753:2;10748:7;;:18;;;;;10759:1;:7;;10764:2;10759:7;;10748:18;10744:102;;;-1:-1:-1;10799:1:0;;-1:-1:-1;10803:30:0;10783:51;;10744:102;10960:24;;;10943:14;10960:24;;;;;;;;;8694:25:1;;;8767:4;8755:17;;8735:18;;;8728:45;;;;8789:18;;;8782:34;;;8832:18;;;8825:34;;;10960:24:0;;8666:19:1;;10960:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10960:24:0;;-1:-1:-1;;10960:24:0;;;-1:-1:-1;;;;;;;10999:20:0;;10995:103;;11052:1;11056:29;11036:50;;;;;;;10995:103;11118:6;-1:-1:-1;11126:20:0;;-1:-1:-1;9523:1632:0;;;;;;;;:::o;8518:391::-;8632:7;;-1:-1:-1;;;;;8733:75:0;;8835:3;8831:12;;;8845:2;8827:21;8876:25;8887:4;8827:21;8896:1;8733:75;8876:10;:25::i;:::-;8869:32;;;;;;8518:391;;;;;;:::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:388::-;4058:6;4066;4119:2;4107:9;4098:7;4094:23;4090:32;4087:52;;;4135:1;4132;4125:12;4087:52;4175:9;4162:23;4208:18;4200:6;4197:30;4194:50;;;4240:1;4237;4230:12;4194:50;4263:49;4304:7;4295:6;4284:9;4280:22;4263:49;:::i;:::-;4253:59;4359:2;4344:18;;;;4331:32;;-1:-1:-1;;;;3981:388:1:o;4374:592::-;4445:6;4453;4506:2;4494:9;4485:7;4481:23;4477:32;4474:52;;;4522:1;4519;4512:12;4474:52;4562:9;4549:23;4591:18;4632:2;4624:6;4621:14;4618:34;;;4648:1;4645;4638:12;4618:34;4686:6;4675:9;4671:22;4661:32;;4731:7;4724:4;4720:2;4716:13;4712:27;4702:55;;4753:1;4750;4743:12;4702:55;4793:2;4780:16;4819:2;4811:6;4808:14;4805:34;;;4835:1;4832;4825:12;4805:34;4880:7;4875:2;4866:6;4862:2;4858:15;4854:24;4851:37;4848:57;;;4901:1;4898;4891:12;4971:180;5030:6;5083:2;5071:9;5062:7;5058:23;5054:32;5051:52;;;5099:1;5096;5089:12;5051:52;-1:-1:-1;5122:23:1;;4971:180;-1:-1:-1;4971:180:1:o;5156:257::-;5197:3;5235:5;5229:12;5262:6;5257:3;5250:19;5278:63;5334:6;5327:4;5322:3;5318:14;5311:4;5304:5;5300:16;5278:63;:::i;:::-;5395:2;5374:15;-1:-1:-1;;5370:29:1;5361:39;;;;5402:4;5357:50;;5156:257;-1:-1:-1;;5156:257:1:o;5418:185::-;5460:3;5498:5;5492:12;5513:52;5558:6;5553:3;5546:4;5539:5;5535:16;5513:52;:::i;:::-;5581:16;;;;;5418:185;-1:-1:-1;;5418:185:1:o;5608:397::-;5822:26;5818:31;5809:6;5805:2;5801:15;5797:53;5792:3;5785:66;5767:3;5880:6;5874:13;5896:62;5951:6;5946:2;5941:3;5937:12;5930:4;5922:6;5918:17;5896:62;:::i;:::-;5978:16;;;;5996:2;5974:25;;5608:397;-1:-1:-1;;;5608:397:1:o;6010:1174::-;6186:3;6215:1;6248:6;6242:13;6278:3;6300:1;6328:9;6324:2;6320:18;6310:28;;6388:2;6377:9;6373:18;6410;6400:61;;6454:4;6446:6;6442:17;6432:27;;6400:61;6480:2;6528;6520:6;6517:14;6497:18;6494:38;6491:165;;;-1:-1:-1;;;6555:33:1;;6611:4;6608:1;6601:15;6641:4;6562:3;6629:17;6491:165;6672:18;6699:104;;;;6817:1;6812:320;;;;6665:467;;6699:104;-1:-1:-1;;6732:24:1;;6720:37;;6777:16;;;;-1:-1:-1;6699:104:1;;6812:320;19263:1;19256:14;;;19300:4;19287:18;;6907:1;6921:165;6935:6;6932:1;6929:13;6921:165;;;7013:14;;7000:11;;;6993:35;7056:16;;;;6950:10;;6921:165;;;6925:3;;7115:6;7110:3;7106:16;7099:23;;6665:467;;;;;;;7148:30;7174:3;7166:6;7148:30;:::i;:::-;7141:37;6010:1174;-1:-1:-1;;;;;6010:1174:1:o;7782:488::-;-1:-1:-1;;;;;8051:15:1;;;8033:34;;8103:15;;8098:2;8083:18;;8076:43;8150:2;8135:18;;8128:34;;;8198:3;8193:2;8178:18;;8171:31;;;7976:4;;8219:45;;8244:19;;8236:6;8219:45;:::i;:::-;8211:53;7782:488;-1:-1:-1;;;;;;7782:488:1:o;8870:219::-;9019:2;9008:9;9001:21;8982:4;9039:44;9079:2;9068:9;9064:18;9056:6;9039:44;:::i;10158:414::-;10360:2;10342:21;;;10399:2;10379:18;;;10372:30;10438:34;10433:2;10418:18;;10411:62;-1:-1:-1;;;10504:2:1;10489:18;;10482:48;10562:3;10547:19;;10158:414::o;11341:335::-;11543:2;11525:21;;;11582:2;11562:18;;;11555:30;-1:-1:-1;;;11616:2:1;11601:18;;11594:41;11667:2;11652:18;;11341:335::o;12440:343::-;12642:2;12624:21;;;12681:2;12661:18;;;12654:30;-1:-1:-1;;;12715:2:1;12700:18;;12693:49;12774:2;12759:18;;12440:343::o;16027:356::-;16229:2;16211:21;;;16248:18;;;16241:30;16307:34;16302:2;16287:18;;16280:62;16374:2;16359:18;;16027:356::o;17906:334::-;18108:2;18090:21;;;18147:2;18127:18;;;18120:30;-1:-1:-1;;;18181:2:1;18166:18;;18159:40;18231:2;18216:18;;17906:334::o;18245:413::-;18447:2;18429:21;;;18486:2;18466:18;;;18459:30;18525:34;18520:2;18505:18;;18498:62;-1:-1:-1;;;18591:2:1;18576:18;;18569:47;18648:3;18633:19;;18245:413::o;19316:128::-;19356:3;19387:1;19383:6;19380:1;19377:13;19374:39;;;19393:18;;:::i;:::-;-1:-1:-1;19429:9:1;;19316:128::o;19449:120::-;19489:1;19515;19505:35;;19520:18;;:::i;:::-;-1:-1:-1;19554:9:1;;19449:120::o;19574:168::-;19614:7;19680:1;19676;19672:6;19668:14;19665:1;19662:21;19657:1;19650:9;19643:17;19639:45;19636:71;;;19687:18;;:::i;:::-;-1:-1:-1;19727:9:1;;19574:168::o;19747:125::-;19787:4;19815:1;19812;19809:8;19806:34;;;19820:18;;:::i;:::-;-1:-1:-1;19857:9:1;;19747:125::o;19877:258::-;19949:1;19959:113;19973:6;19970:1;19967:13;19959:113;;;20049:11;;;20043:18;20030:11;;;20023:39;19995:2;19988:10;19959:113;;;20090:6;20087:1;20084:13;20081:48;;;-1:-1:-1;;20125:1:1;20107:16;;20100:27;19877:258::o;20140:380::-;20219:1;20215:12;;;;20262;;;20283:61;;20337:4;20329:6;20325:17;20315:27;;20283:61;20390:2;20382:6;20379:14;20359:18;20356:38;20353:161;;;20436:10;20431:3;20427:20;20424:1;20417:31;20471:4;20468:1;20461:15;20499:4;20496:1;20489:15;20353:161;;20140:380;;;:::o;20525:135::-;20564:3;-1:-1:-1;;20585:17:1;;20582:43;;;20605:18;;:::i;:::-;-1:-1:-1;20652:1:1;20641:13;;20525:135::o;20665:112::-;20697:1;20723;20713:35;;20728:18;;:::i;:::-;-1:-1:-1;20762:9:1;;20665:112::o;20782:127::-;20843:10;20838:3;20834:20;20831:1;20824:31;20874:4;20871:1;20864:15;20898:4;20895:1;20888:15;20914:127;20975:10;20970:3;20966:20;20963:1;20956:31;21006:4;21003:1;20996:15;21030:4;21027:1;21020:15;21046:127;21107:10;21102:3;21098:20;21095:1;21088:31;21138:4;21135:1;21128:15;21162:4;21159:1;21152:15;21178:127;21239:10;21234:3;21230:20;21227:1;21220:31;21270:4;21267:1;21260:15;21294:4;21291:1;21284:15;21310:127;21371:10;21366:3;21362:20;21359:1;21352:31;21402:4;21399:1;21392:15;21426:4;21423:1;21416:15;21442:131;-1:-1:-1;;;;;;21516:32:1;;21506:43;;21496:71;;21563:1;21560;21553:12

Swarm Source

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