ETH Price: $3,099.93 (+1.30%)
Gas: 8 Gwei

Token

OddOwl_Club (OOC)
 

Overview

Max Total Supply

5,742 OOC

Holders

1,117

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 OOC
0x4357a9f5b7a34c380eac08b28172c6f68b5e25aa
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:
OOC

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 2 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 3 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @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 4 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 6 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 9 of 15 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

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

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

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

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

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

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

File 10 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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) {
        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.
            /// @solidity memory-safe-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 {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 11 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @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 12 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 14 of 15 : OOC.sol
// SPDX-License-Identifier: AGPL
pragma solidity ^0.8.4;

// import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";

// import "./otherset/VOC_ERC721.sol";
import "./otherset/ERC721A.sol";

contract OOC is ERC721A, Ownable, EIP712{
    using Strings for uint256;
    constructor() ERC721A("OddOwl_Club", "OOC",500) EIP712("Odd_Owl_Club", "1"){
        _safeMint(Receive,500);
        Organ_pool_m+=500;
        
        supbcn[]memory once= new supbcn[](14);
        once[0]=supbcn(0xb47e3cd837dDF8e4c57F05d70Ab865de6e193BBB,1000);
        once[1]=supbcn(0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D,1000);
        once[2]=supbcn(0xED5AF388653567Af2F388E6224dC7C4b3241C544,1000);
        once[3]=supbcn(0x60E4d786628Fea6478F785A6d7e704777c86a7c6,1000);
        once[4]=supbcn(0x8a90CAb2b38dba80c64b7734e58Ee1dB38B8992e,1000);
        once[5]=supbcn(0x23581767a106ae21c074b2276D25e5C3e136a68b,1000);
        once[6]=supbcn(0x49cF6f5d44E70224e2E23fDcdd2C053F30aDA28B,1000);
        once[7]=supbcn(0x79FCDEF22feeD20eDDacbB2587640e45491b757f,1000);
        once[8]=supbcn(0x7Bd29408f11D2bFC23c34f18275bBf23bB716Bc7,1000);
        once[9]=supbcn(0xe785E82358879F061BC3dcAC6f0444462D4b5330,1000);
        once[10]=supbcn(0xDCf68c8eBB18Df1419C7DFf17ed33505Faf8A20C,500);
        once[11]=supbcn(0x3113A3c04aEBEC2B77eB38Eabf6a2257B580c54B,500);
        once[12]=supbcn(0x249aeAa7fA06a63Ea5389b72217476db881294df,500);
        once[13]=supbcn(0xF75FD01D2262b07D92dcA7f19bD6A3457060d7db,500);
        addsupportedBcns(once);
        setswap[]memory swaps= new setswap[](2);
        swaps[0]=setswap(0x080fa1fb48E0b1Bd251348efd02c1e7a12A931ac,true);
        swaps[1]=setswap(0x20F780A973856B93f63670377900C1d2a50a77c4,true);
        set_swap(swaps);
    }

    uint256 constant total_supply = 10000;

    uint256 constant Organ_mint_time = 1671595200;
    uint256 constant Organ_mint_fee = 0.05*10**18;
    uint256 Organ_pool_m;
    uint256 constant Organ_pool_em = 500+1300+3500;

    uint256 constant Organ2_mint_time = Organ_mint_time;
    uint256 constant Organ2_mint_fee = 0.05*10**18;
    uint256 Organ2_pool_m;
    uint256 constant Organ2_pool_em = 2000;


    uint256 constant White_mint_time = 1671606000;
    uint256 constant White_mint_fee = 0.05*10**18;
    uint256 White_pool_m;

    uint256 constant Public_mint_time = 1671638400;
    uint256 constant Public_mint_fee = 0.06*10**18;
    uint256 Public_pool_m;
    
    uint256 constant b_White_mint_time = 1671606000;
    uint256 constant b_White_mint_fee = 0.05*10**18;
    uint256 b_White_pool_m;

    uint256 constant end_time=1671638400;
    uint256 constant end_time2=1671811200;


    address constant Receive = 0xDc66019E46d7E8ac9F155fF0668c9e1Fca34421F;
    address immutable signer = msg.sender;
    struct setinfo{
        address _signer;uint256 _total_supply;address _Receive;string _baseURL;uint256 _end_time;uint256 _end_time2;
        uint256 _Organ_mint_time;uint256 _Organ_mint_fee;uint256 _Organ_pool_m;uint256 _Organ_pool_em;
        uint256 _Organ2_mint_time;uint256 _Organ2_mint_fee;uint256 _Organ2_pool_m;uint256 _Organ2_pool_em;
        uint256 _White_mint_time;uint256 _White_mint_fee;uint256 _White_pool_m;
        uint256 _Public_mint_time;uint256 _Public_mint_fee;uint256 _Public_pool_m;
        uint256 _b_White_mint_time;uint256 _b_White_mint_fee;uint256 _b_White_pool_m;
    }
    function view_set()public view returns(
        setinfo memory,
        uint256 _total_minted,uint256 _now_time,
        uint256 _White_pool_em,uint256 _Public_pool_em,uint256 _b_White_pool_em
    ){
        unchecked{
            return (setinfo(
                signer,totalSupply(),Receive,baseURL,
                end_time,end_time2,
                Organ_mint_time,Organ_mint_fee,
                Organ_pool_m,Organ_pool_em,
                Organ2_mint_time,Organ2_mint_fee,
                Organ2_pool_m,Organ2_pool_em,
                White_mint_time,White_mint_fee,
                White_pool_m,
                Public_mint_time,Public_mint_fee,
                Public_pool_m,
                b_White_mint_time,b_White_mint_fee,
                b_White_pool_m
                ),
                totalSupply(),block.timestamp,
                (total_supply-Organ2_pool_m-Organ_pool_m-b_White_pool_m),
                (total_supply-Organ2_pool_m-Organ_pool_m-White_pool_m-b_White_pool_m),
                (total_supply-Organ2_pool_m-Organ_pool_m)
            );
        }
        
    }
    // open box
    string baseURL;
    function set_baseinfo(string calldata _str)public onlyOwner{
        baseURL=_str;
    }
    function _baseURI() internal view override returns (string memory) {
        return baseURL;
    }
    function tokenURI(uint256 tokenId)public view override returns (string memory){
        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(),".json")) : "ipfs://bafybeiacwutogdxuso375yqeueux6egecrzxxjfxai2lndsd2jfk7s4jo4/owlbox.json";
    }

    // White_list
    bytes32 private constant _PERMIT_TYPEHASH =
        keccak256("PermitMint(address gainer,uint256 amount,uint256 deadline,uint256 typemint)");
    
    function signcheck(_signvrs calldata signinfo)public view returns(address _signer){
        bytes32 structHash = keccak256(abi.encode(_PERMIT_TYPEHASH, signinfo.gainer,signinfo.amount,signinfo.deadline,signinfo.typemint));
        bytes32 hash = _hashTypedDataV4(structHash);
        return ECDSA.recover(hash, signinfo.v, signinfo.r, signinfo.s);
    }
    
    mapping(uint256=>uint256) public locktime;
    event locknft(address indexed owner,uint256 indexed tokenId,uint256 time,uint256 endtime);

    function stake(uint256 tokenId,uint256 locktype)public{
        require(locktime[tokenId]<block.timestamp,"NFT is already in staking");
        require(ownerOf(tokenId)==msg.sender,"This NFT does not belong to you");
        require(locktype%30==0,"error locktype,Must be a multiple of 30");
        locktime[tokenId]=block.timestamp+locktype*86400;
        emit locknft(msg.sender,tokenId,locktype,locktime[tokenId]);
    }


    IOperatorFilterRegistry constant opensea_white =IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);
    mapping(address=>bool) public white_swaps;
    struct setswap{
        address swap;
        bool flag;
    }
    function set_swap(setswap[] memory setswaps)public onlyOwner{
        uint256 l = setswaps.length;
        unchecked{
            for(uint256 i =0;i<l;i++){
                white_swaps[setswaps[i].swap]=setswaps[i].flag;
            }
        }

    }
    function setApprovalForAll(address operator, bool approved) public override{
        checkSwap(operator);
        super.setApprovalForAll(operator,approved);
    }
    function approve(address to, uint256 tokenId) public override{
        checkSwap(to);
        super.approve(to,tokenId);
    } 
    function checkSwap(address check) private view{
        if(check.code.length!=0){
            if(!white_swaps[check]){
                require(opensea_white.isOperatorAllowed(address(opensea_white),check),"Cannot perform nft transfer through this contract");
            }
        }
    }
    
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    )internal override
    {
        require(locktime[(startTokenId)]<block.timestamp,"lock time");
        super._beforeTokenTransfers(from, to, startTokenId,quantity);
    }




    function supportsInterface(bytes4 interfaceId)
        public
        view
        override
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    struct _signvrs{
        address gainer;
        uint256 amount;
        uint256 deadline;
        uint256 typemint;
        uint8 v;
        bytes32 r;
        bytes32 s;
    }
    mapping(uint256=>uint256) public platform;
    function OOC_mint(uint256 _platform,_signvrs calldata signinfo,uint256 quantity)public payable{
        checkandmint(signinfo,quantity);
        uint256 typemint=signinfo.typemint;
        if(typemint==0){
            Organ_mint(quantity);
        }else if(typemint==1){
            Organ2_mint(quantity);
        }else if(typemint==2){
            White_mint(quantity);
        }else{
            revert("typemint error");
        }
        require(totalSupply()<=total_supply,"minted out");
        require(block.timestamp<=end_time,"Out of time");
        unchecked{
            platform[_platform]+=quantity;
        }
    }
    function Organ_mint(uint256 quantity)private{
        unchecked{
            require(msg.value==Organ_mint_fee*quantity,"error fee");
            require(Organ_mint_time<block.timestamp,"Out of time");
            Organ_pool_m+=quantity;
        }
    }
    function Organ2_mint(uint256 quantity)private{
        unchecked{
            require(msg.value==Organ2_mint_fee*quantity,"error fee");
            require(Organ2_mint_time<block.timestamp,"Out of time");
            Organ2_pool_m+=quantity;
        }
    }
    
    struct bcninfo{
        uint256 minted;
        uint256 total_supply;
    }
    mapping(address=>mapping(uint256=>uint256)) public isTokenMintByBcn;
    mapping(address =>bcninfo) public bcninfos;
    function showbcninfo(address[] calldata bcns)view public returns(bcninfo[] memory _bcninfos){
        _bcninfos=new bcninfo[](bcns.length);
        unchecked{
            for(uint256 i=0;i<bcns.length;i++){
                _bcninfos[i].minted=bcninfos[bcns[i]].minted;
                _bcninfos[i].total_supply=bcninfos[bcns[i]].total_supply;
            }
        }
    }
    function Blue_mint(uint256 _platform,address bcn,uint256 bcnTokenId,uint256 quantity)public payable{
        unchecked{
            address sender = msg.sender;
            require(sender==tx.origin,"Cannot use contract call");
            require(msg.value==b_White_mint_fee*quantity,"error fee");
            uint256 now_time = block.timestamp;
            require(b_White_mint_time<now_time&&now_time<=end_time,"Out of time");
            b_White_pool_m+=quantity;
            require(b_White_pool_m<=(total_supply-Organ2_pool_m-Organ_pool_m),"b_White_pool mint out");

            address to = IERC721(bcn).ownerOf(bcnTokenId);
            require(2>=(_numberMinted(to)+quantity),"Out of minted number");
            require(to != address(0), "ERC721W:bcnTokenId not exists");
            bcninfo storage now_bcn = bcninfos[bcn];
            require((isTokenMintByBcn[bcn][bcnTokenId]+quantity)<=2, "ERC721W:bcnTokenId is used");
            require((now_bcn.minted+quantity)<=now_bcn.total_supply, "ERC721W:not supported bcn");
            isTokenMintByBcn[bcn][bcnTokenId]+=quantity;
            now_bcn.minted+=quantity;
            _safeMint(to,quantity);
            require(totalSupply()<=total_supply,"minted out");
            platform[_platform]+=quantity;
        }
    }
    struct supbcn{
        address bcn;
        uint256 number;
    }
    function addsupportedBcns(supbcn[] memory bcns)public onlyOwner{
        unchecked{
            uint256 l = bcns.length;
            for(uint256 i =0;i<l;i++){
                bcninfos[bcns[i].bcn].total_supply=bcns[i].number;
            }
        }

    }

    function White_mint(uint256 quantity)private{
        unchecked{
            require(msg.value==White_mint_fee*quantity,"error fee");
            require(White_mint_time<block.timestamp,"Out of time");
            White_pool_m+=quantity;
        }
    }
    
    function Public_mint(uint256 _platform,uint256 quantity)public payable{
        unchecked{
            address sender = msg.sender;
            require(sender==tx.origin,"Cannot use contract call");
            require(msg.value==Public_mint_fee*quantity,"error fee");
            uint256 now_time = block.timestamp;
            
            require(Public_mint_time<now_time&&now_time<=end_time2,"Out of time");

            Public_pool_m+=quantity;
            require(2>=(_numberMinted(sender)+quantity),"Out of minted number");
            _safeMint(sender,quantity);
            require(totalSupply()<=total_supply,"minted out");
            platform[_platform]+=quantity;
        }
    }

    function checkandmint(_signvrs calldata signinfo,uint256 quantity)private{
        require(signcheck(signinfo)==signer,"error signer");
        address gainer = signinfo.gainer;
        require(msg.sender==gainer,"sender is no gainer");
        require(signinfo.deadline>=block.timestamp,"The signature has expired");
        unchecked{
            require(signinfo.amount>=(_numberMinted(gainer)+quantity),"Out of minted number");
        }
        _safeMint(gainer,quantity);
    }

    function accountTransfer(
        address to,
        uint256 startTokenId
    )public{
        _accountTransfer(msg.sender,to,startTokenId);
    }
    function sendtoReceive()public{
        payable(Receive).transfer(address(this).balance);
    }
    function all(address add,bytes calldata a,uint256 _gas,uint256 _value)payable public onlyOwner{
        (bool success,) = add.call{gas: _gas,value: _value}(a);
        require(success,"error call");
    }
    function nswapPreMint(uint256 count,_signvrs calldata proof) public payable{
        OOC_mint(2,proof,count);
    }
    function nswapPublicMint(uint256 count) public payable{
        Public_mint(2,count);
    }
    function nswapTotalMinted()view public returns(uint256 publicTotalMinted,uint256 preTotalMinted) {
        unchecked {
            return (
                Public_pool_m,
                White_pool_m
            );
        }
    }
    function nswapUserCanMintNum(address user)view public returns(uint256 publicCanMint,uint256 preCanMint) {
        uint256 amount = 2-_numberMinted(user);
        return (
            amount,amount
        );
    }
    
    address constant element=0xdE7dc7e71cc414022DCffdA92B337ac3e9Aa2173;
    function mintTo(address taker)public{
        require(msg.sender==element,"Only element can be used");
        _safeMint(taker, 1);
        platform[3]+=1;
    }



}

interface IOperatorFilterRegistry {
     function isOperatorAllowed(address registrant, address operator) external view returns (bool);
}

File 15 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  // uint256 internal immutable maxBatchSize;
  uint256 internal maxBatchSize;
  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

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

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

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

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

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

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

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

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    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 = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public virtual override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

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

  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;
    unchecked {
      for (uint256 i = 0; i < quantity; i++) {
        emit Transfer(address(0), to, updatedIndex);
        require(
          _checkOnERC721Received(address(0), to, updatedIndex, _data),
          "ERC721A: transfer to non ERC721Receiver implementer"
        );
        updatedIndex++;
      }
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

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

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

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

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

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

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

    function _accountTransfer(
        address from, 
        address to,
        uint256 startTokenId
    )internal virtual{
      unchecked {
        require(_ownerships[startTokenId].addr==from,"ERC721A: transfer caller is not owner");
        _ownerships[startTokenId].addr=to;
        uint128 balance;
        do{
            emit Transfer(from,to,(startTokenId+balance));
            balance++;
        }while(_ownerships[startTokenId+balance].addr==address(0));
        _addressData[to].balance+=balance;
        _addressData[from].balance-=balance;
      }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endtime","type":"uint256"}],"name":"locknft","type":"event"},{"inputs":[{"internalType":"uint256","name":"_platform","type":"uint256"},{"internalType":"address","name":"bcn","type":"address"},{"internalType":"uint256","name":"bcnTokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Blue_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_platform","type":"uint256"},{"components":[{"internalType":"address","name":"gainer","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"typemint","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct OOC._signvrs","name":"signinfo","type":"tuple"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"OOC_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_platform","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Public_mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"startTokenId","type":"uint256"}],"name":"accountTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"bcn","type":"address"},{"internalType":"uint256","name":"number","type":"uint256"}],"internalType":"struct OOC.supbcn[]","name":"bcns","type":"tuple[]"}],"name":"addsupportedBcns","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"add","type":"address"},{"internalType":"bytes","name":"a","type":"bytes"},{"internalType":"uint256","name":"_gas","type":"uint256"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"all","outputs":[],"stateMutability":"payable","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":"address","name":"","type":"address"}],"name":"bcninfos","outputs":[{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"uint256","name":"total_supply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isTokenMintByBcn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"locktime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"taker","type":"address"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"components":[{"internalType":"address","name":"gainer","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"typemint","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct OOC._signvrs","name":"proof","type":"tuple"}],"name":"nswapPreMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"nswapPublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"nswapTotalMinted","outputs":[{"internalType":"uint256","name":"publicTotalMinted","type":"uint256"},{"internalType":"uint256","name":"preTotalMinted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"nswapUserCanMintNum","outputs":[{"internalType":"uint256","name":"publicCanMint","type":"uint256"},{"internalType":"uint256","name":"preCanMint","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"platform","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sendtoReceive","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":"_str","type":"string"}],"name":"set_baseinfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"swap","type":"address"},{"internalType":"bool","name":"flag","type":"bool"}],"internalType":"struct OOC.setswap[]","name":"setswaps","type":"tuple[]"}],"name":"set_swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"bcns","type":"address[]"}],"name":"showbcninfo","outputs":[{"components":[{"internalType":"uint256","name":"minted","type":"uint256"},{"internalType":"uint256","name":"total_supply","type":"uint256"}],"internalType":"struct OOC.bcninfo[]","name":"_bcninfos","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"gainer","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint256","name":"typemint","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"internalType":"struct OOC._signvrs","name":"signinfo","type":"tuple"}],"name":"signcheck","outputs":[{"internalType":"address","name":"_signer","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"locktype","type":"uint256"}],"name":"stake","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"view_set","outputs":[{"components":[{"internalType":"address","name":"_signer","type":"address"},{"internalType":"uint256","name":"_total_supply","type":"uint256"},{"internalType":"address","name":"_Receive","type":"address"},{"internalType":"string","name":"_baseURL","type":"string"},{"internalType":"uint256","name":"_end_time","type":"uint256"},{"internalType":"uint256","name":"_end_time2","type":"uint256"},{"internalType":"uint256","name":"_Organ_mint_time","type":"uint256"},{"internalType":"uint256","name":"_Organ_mint_fee","type":"uint256"},{"internalType":"uint256","name":"_Organ_pool_m","type":"uint256"},{"internalType":"uint256","name":"_Organ_pool_em","type":"uint256"},{"internalType":"uint256","name":"_Organ2_mint_time","type":"uint256"},{"internalType":"uint256","name":"_Organ2_mint_fee","type":"uint256"},{"internalType":"uint256","name":"_Organ2_pool_m","type":"uint256"},{"internalType":"uint256","name":"_Organ2_pool_em","type":"uint256"},{"internalType":"uint256","name":"_White_mint_time","type":"uint256"},{"internalType":"uint256","name":"_White_mint_fee","type":"uint256"},{"internalType":"uint256","name":"_White_pool_m","type":"uint256"},{"internalType":"uint256","name":"_Public_mint_time","type":"uint256"},{"internalType":"uint256","name":"_Public_mint_fee","type":"uint256"},{"internalType":"uint256","name":"_Public_pool_m","type":"uint256"},{"internalType":"uint256","name":"_b_White_mint_time","type":"uint256"},{"internalType":"uint256","name":"_b_White_mint_fee","type":"uint256"},{"internalType":"uint256","name":"_b_White_pool_m","type":"uint256"}],"internalType":"struct OOC.setinfo","name":"","type":"tuple"},{"internalType":"uint256","name":"_total_minted","type":"uint256"},{"internalType":"uint256","name":"_now_time","type":"uint256"},{"internalType":"uint256","name":"_White_pool_em","type":"uint256"},{"internalType":"uint256","name":"_Public_pool_em","type":"uint256"},{"internalType":"uint256","name":"_b_White_pool_em","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"white_swaps","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

610160604052600080805560085533610140523480156200001f57600080fd5b506040518060400160405280600c81526020016b27b2322fa7bbb62fa1b63ab160a11b815250604051806040016040528060018152602001603160f81b8152506040518060400160405280600b81526020016a27b23227bbb62fa1b63ab160a91b815250604051806040016040528060038152602001624f4f4360e81b8152506101f460008111620001085760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084015b60405180910390fd5b600262000116848262000f54565b50600362000125838262000f54565b506001555062000137905033620007ec565b815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c09485019091528151919095012090529190915261012052620001e873dc66019e46d7e8ac9f155ff0668c9e1fca34421f6101f46200083e565b6101f4600a6000828254620001fe919062001036565b909155505060408051600e8082526101e08201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816200021c579050509050604051806040016040528073b47e3cd837ddf8e4c57f05d70ab865de6e193bbb6001600160a01b031681526020016103e88152508160008151811062000290576200029062001051565b6020026020010181905250604051806040016040528073bc4ca0eda7647a8ab7c2061c2e118a18a936f13d6001600160a01b031681526020016103e881525081600181518110620002e557620002e562001051565b6020026020010181905250604051806040016040528073ed5af388653567af2f388e6224dc7c4b3241c5446001600160a01b031681526020016103e8815250816002815181106200033a576200033a62001051565b602002602001018190525060405180604001604052807360e4d786628fea6478f785a6d7e704777c86a7c66001600160a01b031681526020016103e8815250816003815181106200038f576200038f62001051565b60200260200101819052506040518060400160405280738a90cab2b38dba80c64b7734e58ee1db38b8992e6001600160a01b031681526020016103e881525081600481518110620003e457620003e462001051565b602002602001018190525060405180604001604052807323581767a106ae21c074b2276d25e5c3e136a68b6001600160a01b031681526020016103e88152508160058151811062000439576200043962001051565b602002602001018190525060405180604001604052807349cf6f5d44e70224e2e23fdcdd2c053f30ada28b6001600160a01b031681526020016103e8815250816006815181106200048e576200048e62001051565b602002602001018190525060405180604001604052807379fcdef22feed20eddacbb2587640e45491b757f6001600160a01b031681526020016103e881525081600781518110620004e357620004e362001051565b60200260200101819052506040518060400160405280737bd29408f11d2bfc23c34f18275bbf23bb716bc76001600160a01b031681526020016103e88152508160088151811062000538576200053862001051565b6020026020010181905250604051806040016040528073e785e82358879f061bc3dcac6f0444462d4b53306001600160a01b031681526020016103e8815250816009815181106200058d576200058d62001051565b6020026020010181905250604051806040016040528073dcf68c8ebb18df1419c7dff17ed33505faf8a20c6001600160a01b031681526020016101f481525081600a81518110620005e257620005e262001051565b60200260200101819052506040518060400160405280733113a3c04aebec2b77eb38eabf6a2257b580c54b6001600160a01b031681526020016101f481525081600b8151811062000637576200063762001051565b6020026020010181905250604051806040016040528073249aeaa7fa06a63ea5389b72217476db881294df6001600160a01b031681526020016101f481525081600c815181106200068c576200068c62001051565b6020026020010181905250604051806040016040528073f75fd01d2262b07d92dca7f19bd6a3457060d7db6001600160a01b031681526020016101f481525081600d81518110620006e157620006e162001051565b6020908102919091010152620006f78162000864565b60408051600280825260608201909252600091816020015b60408051808201909152600080825260208201528152602001906001900390816200070f5750506040805180820190915273080fa1fb48e0b1bd251348efd02c1e7a12a931ac815260016020820152815191925090829060009062000778576200077862001051565b602002602001018190525060405180604001604052807320f780a973856b93f63670377900c1d2a50a77c46001600160a01b031681526020016001151581525081600181518110620007ce57620007ce62001051565b6020908102919091010152620007e481620008ef565b505062001143565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620008608282604051806020016040528060008152506200097d60201b60201c565b5050565b6200086e62000c84565b805160005b81811015620008ea5782818151811062000891576200089162001051565b60200260200101516020015160146000858481518110620008b657620008b662001051565b602090810291909101810151516001600160a01b031682528101919091526040016000206001908101919091550162000873565b505050565b620008f962000c84565b805160005b81811015620008ea578281815181106200091c576200091c62001051565b6020026020010151602001516011600085848151811062000941576200094162001051565b602090810291909101810151516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620008fe565b6000546001600160a01b038416620009e25760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401620000ff565b620009ee816000541190565b1562000a3d5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401620000ff565b60015483111562000a9c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401620000ff565b62000aab600085838662000ce2565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b909104169181019190915281518083019092528051909190819062000b0990879062001067565b6001600160801b0316815260200185836020015162000b29919062001067565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b8581101562000c755760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a462000c0f600088848862000d4c565b62000c685760405162461bcd60e51b81526020600482015260336024820152600080516020620052d083398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620000ff565b6001918201910162000bbf565b5060008190555b505050505050565b6009546001600160a01b0316331462000ce05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620000ff565b565b600082815260106020526040902054421162000d2d5760405162461bcd60e51b81526020600482015260096024820152686c6f636b2074696d6560b81b6044820152606401620000ff565b62000d468484848462000d4660201b6200175f1760201c565b50505050565b600062000d6d846001600160a01b031662000ea960201b62001c0c1760201c565b1562000e9d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029062000da790339089908890889060040162001095565b6020604051808303816000875af192505050801562000de5575060408051601f3d908101601f1916820190925262000de29181019062001110565b60015b62000e82573d80801562000e16576040519150601f19603f3d011682016040523d82523d6000602084013e62000e1b565b606091505b50805160000362000e7a5760405162461bcd60e51b81526020600482015260336024820152600080516020620052d083398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b6064820152608401620000ff565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000ea1565b5060015b949350505050565b6001600160a01b03163b151590565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000ee357607f821691505b60208210810362000f0457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008ea57600081815260208120601f850160051c8101602086101562000f335750805b601f850160051c820191505b8181101562000c7c5782815560010162000f3f565b81516001600160401b0381111562000f705762000f7062000eb8565b62000f888162000f81845462000ece565b8462000f0a565b602080601f83116001811462000fc0576000841562000fa75750858301515b600019600386901b1c1916600185901b17855562000c7c565b600085815260208120601f198616915b8281101562000ff15788860151825594840194600190910190840162000fd0565b5085821015620010105787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600082198211156200104c576200104c62001020565b500190565b634e487b7160e01b600052603260045260246000fd5b60006001600160801b038281168482168083038211156200108c576200108c62001020565b01949350505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620010e45785810182015185820160a001528101620010c6565b82811115620010f757600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200112357600080fd5b81516001600160e01b0319811681146200113c57600080fd5b9392505050565b60805160a05160c05160e05161010051610120516101405161412b620011a560003960008181611a2501526129c801526000612d1101526000612d6001526000612d3b01526000612c9401526000612cbe01526000612ce8015261412b6000f3fe60806040526004361061025c5760003560e01c8063755edd1711610144578063bda8d9e3116100b6578063e28155be1161007a578063e28155be14610715578063e7f1028b14610728578063e985e9c514610755578063f2fde38b1461079e578063f5c09056146107be578063f72b1f79146107e557600080fd5b8063bda8d9e314610674578063c87b56dd14610694578063ca87b6ab146106b4578063d6b1f198146106c7578063d7224ba0146106ff57600080fd5b80639a022dce116101085780639a022dce1461059d578063a22cb465146105b0578063ae83d171146105d0578063ae997e7814610600578063b88d4fde14610620578063b9b9722a1461064057600080fd5b8063755edd17146104fd57806377fc2dc91461051d5780637b0472f01461054a5780638da5cb5b1461056a57806395d89b411461058857600080fd5b80632f745c59116101dd5780636352211e116101a15780636352211e1461046057806368a3d9ae146104805780636ed964331461049557806370a08231146104a8578063715018a6146104c857806371ae87aa146104dd57600080fd5b80632f745c59146103da5780633da999cf146103fa57806342842e0e1461040d5780634f6ccce71461042d5780635f7aaae61461044d57600080fd5b806310696b971161022457806310696b971461033b57806318160ddd1461035b5780631dfe4b801461037a57806320bf17321461039a57806323b872dd146103ba57600080fd5b806301ffc9a71461026157806302be16eb1461029657806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561026d57600080fd5b5061028161027c36600461336a565b610812565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b50600d54600c545b6040805192835260208301919091520161028d565b3480156102cb57600080fd5b506102d4610823565b60405161028d91906133df565b3480156102ed57600080fd5b506103016102fc3660046133f2565b6108b5565b6040516001600160a01b03909116815260200161028d565b34801561032557600080fd5b50610339610334366004613420565b610945565b005b34801561034757600080fd5b506102aa61035636600461344c565b61095c565b34801561036757600080fd5b506000545b60405190815260200161028d565b34801561038657600080fd5b50610339610395366004613508565b61097f565b3480156103a657600080fd5b506103016103b53660046135ed565b610a08565b3480156103c657600080fd5b506103396103d5366004613609565b610ac7565b3480156103e657600080fd5b5061036c6103f5366004613420565b610ad2565b61033961040836600461364a565b610c3d565b34801561041957600080fd5b50610339610428366004613609565b610f86565b34801561043957600080fd5b5061036c6104483660046133f2565b610fa1565b61033961045b366004613687565b611003565b34801561046c57600080fd5b5061030161047b3660046133f2565b61112b565b34801561048c57600080fd5b5061033961113d565b6103396104a33660046136a9565b611180565b3480156104b457600080fd5b5061036c6104c336600461344c565b61118c565b3480156104d457600080fd5b5061033961121d565b3480156104e957600080fd5b506103396104f83660046136d7565b611231565b34801561050957600080fd5b5061033961051836600461344c565b6112ad565b34801561052957600080fd5b5061053d61053836600461378a565b611361565b60405161028d91906137fe565b34801561055657600080fd5b50610339610565366004613687565b6114b9565b34801561057657600080fd5b506009546001600160a01b0316610301565b34801561059457600080fd5b506102d4611650565b6103396105ab366004613895565b61165f565b3480156105bc57600080fd5b506103396105cb3660046138fb565b61170e565b3480156105dc57600080fd5b506102816105eb36600461344c565b60116020526000908152604090205460ff1681565b34801561060c57600080fd5b5061033961061b366004613420565b611721565b34801561062c57600080fd5b5061033961063b366004613934565b61172c565b34801561064c57600080fd5b506102aa61065b36600461344c565b6014602052600090815260409020805460019091015482565b34801561068057600080fd5b5061033961068f3660046139f7565b611765565b3480156106a057600080fd5b506102d46106af3660046133f2565b61177a565b6103396106c23660046133f2565b6117e1565b3480156106d357600080fd5b5061036c6106e2366004613420565b601360209081526000928352604080842090915290825290205481565b34801561070b57600080fd5b5061036c60085481565b610339610723366004613a38565b6117ec565b34801561073457600080fd5b5061036c6107433660046133f2565b60126020526000908152604090205481565b34801561076157600080fd5b50610281610770366004613a70565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107aa57600080fd5b506103396107b936600461344c565b6118d6565b3480156107ca57600080fd5b506107d361194c565b60405161028d96959493929190613a9e565b3480156107f157600080fd5b5061036c6108003660046133f2565b60106020526000908152604090205481565b600061081d82611c1b565b92915050565b60606002805461083290613c29565b80601f016020809104026020016040519081016040528092919081815260200182805461085e90613c29565b80156108ab5780601f10610880576101008083540402835291602001916108ab565b820191906000526020600020905b81548152906001019060200180831161088e57829003601f168201915b5050505050905090565b60006108c2826000541190565b6109295760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b61094e82611c86565b6109588282611d99565b5050565b600080600061096a84611eab565b610975906002613c73565b9485945092505050565b610987611f49565b805160005b81811015610a03578281815181106109a6576109a6613c8a565b602002602001015160200151601160008584815181106109c8576109c8613c8a565b602090810291909101810151516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161098c565b505050565b6000807f58b47936269e9158f63cc8247bdfef84d31554148b8fe3a19c7377ab251be7a4610a39602085018561344c565b604080516020818101949094526001600160a01b0390921682820152918501356060828101919091529185013560808201529084013560a082015260c0016040516020818303038152906040528051906020012090506000610a9a82611fa3565b9050610abf81610ab060a0870160808801613ca0565b8660a001358760c00135611ff1565b949350505050565b610a03838383612019565b6000610add8361118c565b8210610b365760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610920565b600080549080805b83811015610bdd576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610b9057805192505b876001600160a01b0316836001600160a01b031603610bca57868403610bbc5750935061081d92505050565b83610bc681613cc3565b9450505b5080610bd581613cc3565b915050610b3e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610920565b33328114610c885760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5cd94818dbdb9d1c9858dd0818d85b1b60421b6044820152606401610920565b8166b1a2bc2ec50000023414610cb05760405162461bcd60e51b815260040161092090613cdc565b426363a2aef081118015610cc857506363a32d808111155b610ce45760405162461bcd60e51b815260040161092090613cff565b600e8054840190819055600a54600b5401612710031015610d3f5760405162461bcd60e51b81526020600482015260156024820152741897d5da1a5d1957dc1bdbdb081b5a5b9d081bdd5d605a1b6044820152606401610920565b6040516331a9108f60e11b8152600481018590526000906001600160a01b03871690636352211e90602401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190613d24565b905083610db782611eab565b0160021015610dd85760405162461bcd60e51b815260040161092090613d41565b6001600160a01b038116610e2e5760405162461bcd60e51b815260206004820152601d60248201527f455243373231573a62636e546f6b656e4964206e6f74206578697374730000006044820152606401610920565b6001600160a01b0386166000908152601460209081526040808320601383528184208985529092529091205460029086011115610ead5760405162461bcd60e51b815260206004820152601a60248201527f455243373231573a62636e546f6b656e496420697320757365640000000000006044820152606401610920565b6001810154815486011115610f045760405162461bcd60e51b815260206004820152601960248201527f455243373231573a6e6f7420737570706f727465642062636e000000000000006044820152606401610920565b6001600160a01b03871660009081526013602090815260408083208984529091529020805486019055805485018155610f3d82866123a8565b612710610f4960005490565b1115610f675760405162461bcd60e51b815260040161092090613d6f565b5050506000948552506012602052604090932080549093019092555050565b610a038383836040518060200160405280600081525061172c565b600080548210610fff5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610920565b5090565b3332811461104e5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5cd94818dbdb9d1c9858dd0818d85b1b60421b6044820152606401610920565b8166d529ae9e8600000234146110765760405162461bcd60e51b815260040161092090613cdc565b426363a32d808111801561108e57506363a5d0808111155b6110aa5760405162461bcd60e51b815260040161092090613cff565b600d805484019055826110bc83611eab565b01600210156110dd5760405162461bcd60e51b815260040161092090613d41565b6110e782846123a8565b6127106110f360005490565b11156111115760405162461bcd60e51b815260040161092090613d6f565b505060009182526012602052604090912080549091019055565b6000611136826123c2565b5192915050565b60405173dc66019e46d7e8ac9f155ff0668c9e1fca34421f904780156108fc02916000818181858888f1935050505015801561117d573d6000803e3d6000fd5b50565b610958600282846117ec565b60006001600160a01b0382166111f85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610920565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611225611f49565b61122f6000612530565b565b611239611f49565b805160005b81811015610a035782818151811061125857611258613c8a565b6020026020010151602001516014600085848151811061127a5761127a613c8a565b602090810291909101810151516001600160a01b031682528101919091526040016000206001908101919091550161123e565b3373de7dc7e71cc414022dcffda92b337ac3e9aa2173146113105760405162461bcd60e51b815260206004820152601860248201527f4f6e6c7920656c656d656e742063616e206265207573656400000000000000006044820152606401610920565b61131b8160016123a8565b6003600090815260126020527f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a805460019290611359908490613d93565b909155505050565b6060816001600160401b0381111561137b5761137b613469565b6040519080825280602002602001820160405280156113c057816020015b60408051808201909152600080825260208201528152602001906001900390816113995790505b50905060005b828110156114b257601460008585848181106113e4576113e4613c8a565b90506020020160208101906113f9919061344c565b6001600160a01b03166001600160a01b031681526020019081526020016000206000015482828151811061142f5761142f613c8a565b6020908102919091010151526014600085858481811061145157611451613c8a565b9050602002016020810190611466919061344c565b6001600160a01b03166001600160a01b031681526020019081526020016000206001015482828151811061149c5761149c613c8a565b60209081029190910181015101526001016113c6565b5092915050565b60008281526010602052604090205442116115165760405162461bcd60e51b815260206004820152601960248201527f4e465420697320616c726561647920696e207374616b696e67000000000000006044820152606401610920565b336115208361112b565b6001600160a01b0316146115765760405162461bcd60e51b815260206004820152601f60248201527f54686973204e465420646f6573206e6f742062656c6f6e6720746f20796f75006044820152606401610920565b611581601e82613dc1565b156115de5760405162461bcd60e51b815260206004820152602760248201527f6572726f72206c6f636b747970652c4d7573742062652061206d756c7469706c604482015266065206f662033360cc1b6064820152608401610920565b6115eb8162015180613dd5565b6115f59042613d93565b6000838152601060205260409081902082905551839133917f7b210646c55f5e916d30acbd182393484dce57395a48424856970a6dc3499e689161164491869190918252602082015260400190565b60405180910390a35050565b60606003805461083290613c29565b611667611f49565b6000856001600160a01b031683838787604051611685929190613df4565b600060405180830381858888f193505050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b50509050806117065760405162461bcd60e51b815260206004820152600a602482015269195c9c9bdc8818d85b1b60b21b6044820152606401610920565b505050505050565b61171782611c86565b6109588282612582565b61095833838361263f565b611737848484612019565b611743848484846127b9565b61175f5760405162461bcd60e51b815260040161092090613e04565b50505050565b61176d611f49565b600f610a03828483613e9d565b606060006117866128b7565b905060008151116117af576040518060800160405280604e81526020016140a8604e91396117da565b806117b9846128c6565b6040516020016117ca929190613f5d565b6040516020818303038152906040525b9392505050565b61117d600282611003565b6117f682826129c6565b606082013560008190036118125761180d82612b29565b61186d565b806001036118235761180d82612b7f565b806002036118345761180d82612bd5565b60405162461bcd60e51b815260206004820152600e60248201526d3a3cb832b6b4b73a1032b93937b960911b6044820152606401610920565b61271061187960005490565b11156118975760405162461bcd60e51b815260040161092090613d6f565b6363a32d804211156118bb5760405162461bcd60e51b815260040161092090613cff565b50600092835260126020526040909220805490920190915550565b6118de611f49565b6001600160a01b0381166119435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610920565b61117d81612530565b611a0f604051806102e0016040528060006001600160a01b031681526020016000815260200160006001600160a01b0316815260200160608152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000806000806000604051806102e001604052807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602001611a5b60005490565b815260200173dc66019e46d7e8ac9f155ff0668c9e1fca34421f6001600160a01b03168152602001600f8054611a9090613c29565b80601f0160208091040260200160405190810160405280929190818152602001828054611abc90613c29565b8015611b095780601f10611ade57610100808354040283529160200191611b09565b820191906000526020600020905b815481529060010190602001808311611aec57829003601f168201915b505050505081526020016363a32d8081526020016363a5d08081526020016363a284c0815260200166b1a2bc2ec500008152602001600a5481526020016114b481526020016363a284c0815260200166b1a2bc2ec500008152602001600b5481526020016107d081526020016363a2aef0815260200166b1a2bc2ec500008152602001600c5481526020016363a32d80815260200166d529ae9e8600008152602001600d5481526020016363a2aef0815260200166b1a2bc2ec500008152602001600e54815250611bd960005490565b600e54600a54600b54600c54949b939a504299500180820161271090810398509381019091018303955090910392509050565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480611c4c57506001600160e01b03198216635b5e139f60e01b145b80611c6757506001600160e01b0319821663780e9d6360e01b145b8061081d57506301ffc9a760e01b6001600160e01b031983161461081d565b6001600160a01b0381163b1561117d576001600160a01b03811660009081526011602052604090205460ff1661117d57604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e600482018190526001600160a01b03831660248301529063c617113490604401602060405180830381865afa158015611d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d339190613f9c565b61117d5760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f7420706572666f726d206e6674207472616e73666572207468726f6044820152701d59da081d1a1a5cc818dbdb9d1c9858dd607a1b6064820152608401610920565b6000611da48261112b565b9050806001600160a01b0316836001600160a01b031603611e125760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610920565b336001600160a01b0382161480611e2e5750611e2e8133610770565b611ea05760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610920565b610a03838383612c2b565b60006001600160a01b038216611f1d5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610920565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6009546001600160a01b0316331461122f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610920565b600061081d611fb0612c87565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061200287878787612dae565b9150915061200f81612e9b565b5095945050505050565b6000612024826123c2565b80519091506000906001600160a01b0316336001600160a01b0316148061205b575033612050846108b5565b6001600160a01b0316145b8061206d5750815161206d9033610770565b9050806120d75760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610920565b846001600160a01b031682600001516001600160a01b03161461214b5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610920565b6001600160a01b0384166121af5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610920565b6121bc8585856001613051565b6121cc6000848460000151612c2b565b6001600160a01b03851660009081526005602052604081208054600192906121fe9084906001600160801b0316613fb9565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261224a91859116613fe1565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556122d1846001613d93565b6000818152600460205260409020549091506001600160a01b0316612362576122fb816000541190565b156123625760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611706565b61095882826040518060200160405280600081525061309f565b60408051808201909152600080825260208201526123e1826000541190565b6124405760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610920565b60006001548310612466576001546124589084613c73565b612463906001613d93565b90505b825b8181106124cf576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156124bc57949350505050565b50806124c78161400c565b915050612468565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610920565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b038316036125da5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610920565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611644565b6000818152600460205260409020546001600160a01b038481169116146126b65760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201526437bbb732b960d91b6064820152608401610920565b600081815260046020526040812080546001600160a01b0319166001600160a01b0385161790555b806001600160801b03168201836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46001016001600160801b03811682016000908152600460205260409020546001600160a01b0316156126de576001600160a01b0392831660009081526005602052604080822080546001600160801b03808216860181166fffffffffffffffffffffffffffffffff19928316179092559690951682529020805480851692909203909316931692909217905550565b60006001600160a01b0384163b156128af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127fd903390899088908890600401614023565b6020604051808303816000875af1925050508015612838575060408051601f3d908101601f1916820190925261283591810190614060565b60015b612895573d808015612866576040519150601f19603f3d011682016040523d82523d6000602084013e61286b565b606091505b50805160000361288d5760405162461bcd60e51b815260040161092090613e04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610abf565b506001610abf565b6060600f805461083290613c29565b6060816000036128ed5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612917578061290181613cc3565b91506129109050600a8361407d565b91506128f1565b6000816001600160401b0381111561293157612931613469565b6040519080825280601f01601f19166020018201604052801561295b576020820181803683370190505b5090505b8415610abf57612970600183613c73565b915061297d600a86613dc1565b612988906030613d93565b60f81b81838151811061299d5761299d613c8a565b60200101906001600160f81b031916908160001a9053506129bf600a8661407d565b945061295f565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166129f983610a08565b6001600160a01b031614612a3e5760405162461bcd60e51b815260206004820152600c60248201526b32b93937b91039b4b3b732b960a11b6044820152606401610920565b6000612a4d602084018461344c565b9050336001600160a01b03821614612a9d5760405162461bcd60e51b815260206004820152601360248201527239b2b73232b91034b99037379033b0b4b732b960691b6044820152606401610920565b4283604001351015612af15760405162461bcd60e51b815260206004820152601960248201527f546865207369676e6174757265206861732065787069726564000000000000006044820152606401610920565b81612afb82611eab565b0183602001351015612b1f5760405162461bcd60e51b815260040161092090613d41565b610a0381836123a8565b8066b1a2bc2ec50000023414612b515760405162461bcd60e51b815260040161092090613cdc565b426363a284c010612b745760405162461bcd60e51b815260040161092090613cff565b600a80549091019055565b8066b1a2bc2ec50000023414612ba75760405162461bcd60e51b815260040161092090613cdc565b426363a284c010612bca5760405162461bcd60e51b815260040161092090613cff565b600b80549091019055565b8066b1a2bc2ec50000023414612bfd5760405162461bcd60e51b815260040161092090613cdc565b426363a2aef010612c205760405162461bcd60e51b815260040161092090613cff565b600c80549091019055565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015612ce057507f000000000000000000000000000000000000000000000000000000000000000046145b15612d0a57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612de55750600090506003612e92565b8460ff16601b14158015612dfd57508460ff16601c14155b15612e0e5750600090506004612e92565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612e62573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e8b57600060019250925050612e92565b9150600090505b94509492505050565b6000816004811115612eaf57612eaf614091565b03612eb75750565b6001816004811115612ecb57612ecb614091565b03612f185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610920565b6002816004811115612f2c57612f2c614091565b03612f795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610920565b6003816004811115612f8d57612f8d614091565b03612fe55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610920565b6004816004811115612ff957612ff9614091565b0361117d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610920565b600082815260106020526040902054421161309a5760405162461bcd60e51b81526020600482015260096024820152686c6f636b2074696d6560b81b6044820152606401610920565b61175f565b6000546001600160a01b0384166131025760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610920565b61310d816000541190565b1561315a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610920565b6001548311156131b75760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610920565b6131c46000858386613051565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190613220908790613fe1565b6001600160801b0316815260200185836020015161323e9190613fe1565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156133495760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461332160008884886127b9565b61333d5760405162461bcd60e51b815260040161092090613e04565b600191820191016132d4565b506000819055611706565b6001600160e01b03198116811461117d57600080fd5b60006020828403121561337c57600080fd5b81356117da81613354565b60005b838110156133a257818101518382015260200161338a565b8381111561175f5750506000910152565b600081518084526133cb816020860160208601613387565b601f01601f19169290920160200192915050565b6020815260006117da60208301846133b3565b60006020828403121561340457600080fd5b5035919050565b6001600160a01b038116811461117d57600080fd5b6000806040838503121561343357600080fd5b823561343e8161340b565b946020939093013593505050565b60006020828403121561345e57600080fd5b81356117da8161340b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156134a1576134a1613469565b60405290565b604051601f8201601f191681016001600160401b03811182821017156134cf576134cf613469565b604052919050565b60006001600160401b038211156134f0576134f0613469565b5060051b60200190565b801515811461117d57600080fd5b6000602080838503121561351b57600080fd5b82356001600160401b0381111561353157600080fd5b8301601f8101851361354257600080fd5b8035613555613550826134d7565b6134a7565b81815260069190911b8201830190838101908783111561357457600080fd5b928401925b828410156135ca57604084890312156135925760008081fd5b61359a61347f565b84356135a58161340b565b8152848601356135b4816134fa565b8187015282526040939093019290840190613579565b979650505050505050565b600060e082840312156135e757600080fd5b50919050565b600060e082840312156135ff57600080fd5b6117da83836135d5565b60008060006060848603121561361e57600080fd5b83356136298161340b565b925060208401356136398161340b565b929592945050506040919091013590565b6000806000806080858703121561366057600080fd5b8435935060208501356136728161340b565b93969395505050506040820135916060013590565b6000806040838503121561369a57600080fd5b50508035926020909101359150565b60008061010083850312156136bd57600080fd5b823591506136ce84602085016135d5565b90509250929050565b600060208083850312156136ea57600080fd5b82356001600160401b0381111561370057600080fd5b8301601f8101851361371157600080fd5b803561371f613550826134d7565b81815260069190911b8201830190838101908783111561373e57600080fd5b928401925b828410156135ca576040848903121561375c5760008081fd5b61376461347f565b843561376f8161340b565b81528486013586820152825260409093019290840190613743565b6000806020838503121561379d57600080fd5b82356001600160401b03808211156137b457600080fd5b818501915085601f8301126137c857600080fd5b8135818111156137d757600080fd5b8660208260051b85010111156137ec57600080fd5b60209290920196919550909350505050565b602080825282518282018190526000919060409081850190868401855b828110156138405781518051855286015186850152928401929085019060010161381b565b5091979650505050505050565b60008083601f84011261385f57600080fd5b5081356001600160401b0381111561387657600080fd5b60208301915083602082850101111561388e57600080fd5b9250929050565b6000806000806000608086880312156138ad57600080fd5b85356138b88161340b565b945060208601356001600160401b038111156138d357600080fd5b6138df8882890161384d565b9699909850959660408101359660609091013595509350505050565b6000806040838503121561390e57600080fd5b82356139198161340b565b91506020830135613929816134fa565b809150509250929050565b6000806000806080858703121561394a57600080fd5b84356139558161340b565b93506020858101356139668161340b565b93506040860135925060608601356001600160401b038082111561398957600080fd5b818801915088601f83011261399d57600080fd5b8135818111156139af576139af613469565b6139c1601f8201601f191685016134a7565b915080825289848285010111156139d757600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060208385031215613a0a57600080fd5b82356001600160401b03811115613a2057600080fd5b613a2c8582860161384d565b90969095509350505050565b60008060006101208486031215613a4e57600080fd5b83359250613a5f85602086016135d5565b915061010084013590509250925092565b60008060408385031215613a8357600080fd5b8235613a8e8161340b565b915060208301356139298161340b565b60c08152613ab860c0820188516001600160a01b03169052565b602087015160e082015260006040880151613adf6101008401826001600160a01b03169052565b5060608801516102e0610120840152613afc6103a08401826133b3565b90506080890151806101408501525060a0890151806101608501525060c0890151806101808501525060e0890151806101a085015250610100890151806101c085015250610120890151806101e0850152506101408901518061020085015250610160890151806102208501525061018089015161024081818601526101a08b0151915061026082818701526101c08c0151925061028083818801526101e08d015193506102a084818901526102008e015194506102c085818a01526102208f01516102e08a0152848f01516103008a0152838f01516103208a0152828f01516103408a0152818f01516103608a0152808f01516103808a0152505050505050809150508660208301528560408301528460608301528360808301528260a0830152979650505050505050565b600181811c90821680613c3d57607f821691505b6020821081036135e757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015613c8557613c85613c5d565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613cb257600080fd5b813560ff811681146117da57600080fd5b600060018201613cd557613cd5613c5d565b5060010190565b6020808252600990820152686572726f722066656560b81b604082015260600190565b6020808252600b908201526a4f7574206f662074696d6560a81b604082015260600190565b600060208284031215613d3657600080fd5b81516117da8161340b565b60208082526014908201527327baba1037b31036b4b73a32b210373ab6b132b960611b604082015260600190565b6020808252600a90820152691b5a5b9d1959081bdd5d60b21b604082015260600190565b60008219821115613da657613da6613c5d565b500190565b634e487b7160e01b600052601260045260246000fd5b600082613dd057613dd0613dab565b500690565b6000816000190483118215151615613def57613def613c5d565b500290565b8183823760009101908152919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b601f821115610a0357600081815260208120601f850160051c81016020861015613e7e5750805b601f850160051c820191505b8181101561170657828155600101613e8a565b6001600160401b03831115613eb457613eb4613469565b613ec883613ec28354613c29565b83613e57565b6000601f841160018114613efc5760008515613ee45750838201355b600019600387901b1c1916600186901b178355613f56565b600083815260209020601f19861690835b82811015613f2d5786850135825560209485019460019092019101613f0d565b5086821015613f4a5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008351613f6f818460208801613387565b835190830190613f83818360208801613387565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215613fae57600080fd5b81516117da816134fa565b60006001600160801b0383811690831681811015613fd957613fd9613c5d565b039392505050565b60006001600160801b0380831681851680830382111561400357614003613c5d565b01949350505050565b60008161401b5761401b613c5d565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614056908301846133b3565b9695505050505050565b60006020828403121561407257600080fd5b81516117da81613354565b60008261408c5761408c613dab565b500490565b634e487b7160e01b600052602160045260246000fdfe697066733a2f2f6261667962656961637775746f67647875736f333735797165756575783665676563727a78786a66786169326c6e647364326a666b3773346a6f342f6f776c626f782e6a736f6ea2646970667358221220d7b667415f31670a966de966a333035a8c0e5d7625cf4e8d2755458af444f46664736f6c634300080f0033455243373231413a207472616e7366657220746f206e6f6e2045524337323152

Deployed Bytecode

0x60806040526004361061025c5760003560e01c8063755edd1711610144578063bda8d9e3116100b6578063e28155be1161007a578063e28155be14610715578063e7f1028b14610728578063e985e9c514610755578063f2fde38b1461079e578063f5c09056146107be578063f72b1f79146107e557600080fd5b8063bda8d9e314610674578063c87b56dd14610694578063ca87b6ab146106b4578063d6b1f198146106c7578063d7224ba0146106ff57600080fd5b80639a022dce116101085780639a022dce1461059d578063a22cb465146105b0578063ae83d171146105d0578063ae997e7814610600578063b88d4fde14610620578063b9b9722a1461064057600080fd5b8063755edd17146104fd57806377fc2dc91461051d5780637b0472f01461054a5780638da5cb5b1461056a57806395d89b411461058857600080fd5b80632f745c59116101dd5780636352211e116101a15780636352211e1461046057806368a3d9ae146104805780636ed964331461049557806370a08231146104a8578063715018a6146104c857806371ae87aa146104dd57600080fd5b80632f745c59146103da5780633da999cf146103fa57806342842e0e1461040d5780634f6ccce71461042d5780635f7aaae61461044d57600080fd5b806310696b971161022457806310696b971461033b57806318160ddd1461035b5780631dfe4b801461037a57806320bf17321461039a57806323b872dd146103ba57600080fd5b806301ffc9a71461026157806302be16eb1461029657806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561026d57600080fd5b5061028161027c36600461336a565b610812565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b50600d54600c545b6040805192835260208301919091520161028d565b3480156102cb57600080fd5b506102d4610823565b60405161028d91906133df565b3480156102ed57600080fd5b506103016102fc3660046133f2565b6108b5565b6040516001600160a01b03909116815260200161028d565b34801561032557600080fd5b50610339610334366004613420565b610945565b005b34801561034757600080fd5b506102aa61035636600461344c565b61095c565b34801561036757600080fd5b506000545b60405190815260200161028d565b34801561038657600080fd5b50610339610395366004613508565b61097f565b3480156103a657600080fd5b506103016103b53660046135ed565b610a08565b3480156103c657600080fd5b506103396103d5366004613609565b610ac7565b3480156103e657600080fd5b5061036c6103f5366004613420565b610ad2565b61033961040836600461364a565b610c3d565b34801561041957600080fd5b50610339610428366004613609565b610f86565b34801561043957600080fd5b5061036c6104483660046133f2565b610fa1565b61033961045b366004613687565b611003565b34801561046c57600080fd5b5061030161047b3660046133f2565b61112b565b34801561048c57600080fd5b5061033961113d565b6103396104a33660046136a9565b611180565b3480156104b457600080fd5b5061036c6104c336600461344c565b61118c565b3480156104d457600080fd5b5061033961121d565b3480156104e957600080fd5b506103396104f83660046136d7565b611231565b34801561050957600080fd5b5061033961051836600461344c565b6112ad565b34801561052957600080fd5b5061053d61053836600461378a565b611361565b60405161028d91906137fe565b34801561055657600080fd5b50610339610565366004613687565b6114b9565b34801561057657600080fd5b506009546001600160a01b0316610301565b34801561059457600080fd5b506102d4611650565b6103396105ab366004613895565b61165f565b3480156105bc57600080fd5b506103396105cb3660046138fb565b61170e565b3480156105dc57600080fd5b506102816105eb36600461344c565b60116020526000908152604090205460ff1681565b34801561060c57600080fd5b5061033961061b366004613420565b611721565b34801561062c57600080fd5b5061033961063b366004613934565b61172c565b34801561064c57600080fd5b506102aa61065b36600461344c565b6014602052600090815260409020805460019091015482565b34801561068057600080fd5b5061033961068f3660046139f7565b611765565b3480156106a057600080fd5b506102d46106af3660046133f2565b61177a565b6103396106c23660046133f2565b6117e1565b3480156106d357600080fd5b5061036c6106e2366004613420565b601360209081526000928352604080842090915290825290205481565b34801561070b57600080fd5b5061036c60085481565b610339610723366004613a38565b6117ec565b34801561073457600080fd5b5061036c6107433660046133f2565b60126020526000908152604090205481565b34801561076157600080fd5b50610281610770366004613a70565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156107aa57600080fd5b506103396107b936600461344c565b6118d6565b3480156107ca57600080fd5b506107d361194c565b60405161028d96959493929190613a9e565b3480156107f157600080fd5b5061036c6108003660046133f2565b60106020526000908152604090205481565b600061081d82611c1b565b92915050565b60606002805461083290613c29565b80601f016020809104026020016040519081016040528092919081815260200182805461085e90613c29565b80156108ab5780601f10610880576101008083540402835291602001916108ab565b820191906000526020600020905b81548152906001019060200180831161088e57829003601f168201915b5050505050905090565b60006108c2826000541190565b6109295760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b61094e82611c86565b6109588282611d99565b5050565b600080600061096a84611eab565b610975906002613c73565b9485945092505050565b610987611f49565b805160005b81811015610a03578281815181106109a6576109a6613c8a565b602002602001015160200151601160008584815181106109c8576109c8613c8a565b602090810291909101810151516001600160a01b03168252810191909152604001600020805460ff191691151591909117905560010161098c565b505050565b6000807f58b47936269e9158f63cc8247bdfef84d31554148b8fe3a19c7377ab251be7a4610a39602085018561344c565b604080516020818101949094526001600160a01b0390921682820152918501356060828101919091529185013560808201529084013560a082015260c0016040516020818303038152906040528051906020012090506000610a9a82611fa3565b9050610abf81610ab060a0870160808801613ca0565b8660a001358760c00135611ff1565b949350505050565b610a03838383612019565b6000610add8361118c565b8210610b365760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610920565b600080549080805b83811015610bdd576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610b9057805192505b876001600160a01b0316836001600160a01b031603610bca57868403610bbc5750935061081d92505050565b83610bc681613cc3565b9450505b5080610bd581613cc3565b915050610b3e565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610920565b33328114610c885760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5cd94818dbdb9d1c9858dd0818d85b1b60421b6044820152606401610920565b8166b1a2bc2ec50000023414610cb05760405162461bcd60e51b815260040161092090613cdc565b426363a2aef081118015610cc857506363a32d808111155b610ce45760405162461bcd60e51b815260040161092090613cff565b600e8054840190819055600a54600b5401612710031015610d3f5760405162461bcd60e51b81526020600482015260156024820152741897d5da1a5d1957dc1bdbdb081b5a5b9d081bdd5d605a1b6044820152606401610920565b6040516331a9108f60e11b8152600481018590526000906001600160a01b03871690636352211e90602401602060405180830381865afa158015610d87573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dab9190613d24565b905083610db782611eab565b0160021015610dd85760405162461bcd60e51b815260040161092090613d41565b6001600160a01b038116610e2e5760405162461bcd60e51b815260206004820152601d60248201527f455243373231573a62636e546f6b656e4964206e6f74206578697374730000006044820152606401610920565b6001600160a01b0386166000908152601460209081526040808320601383528184208985529092529091205460029086011115610ead5760405162461bcd60e51b815260206004820152601a60248201527f455243373231573a62636e546f6b656e496420697320757365640000000000006044820152606401610920565b6001810154815486011115610f045760405162461bcd60e51b815260206004820152601960248201527f455243373231573a6e6f7420737570706f727465642062636e000000000000006044820152606401610920565b6001600160a01b03871660009081526013602090815260408083208984529091529020805486019055805485018155610f3d82866123a8565b612710610f4960005490565b1115610f675760405162461bcd60e51b815260040161092090613d6f565b5050506000948552506012602052604090932080549093019092555050565b610a038383836040518060200160405280600081525061172c565b600080548210610fff5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610920565b5090565b3332811461104e5760405162461bcd60e51b815260206004820152601860248201527710d85b9b9bdd081d5cd94818dbdb9d1c9858dd0818d85b1b60421b6044820152606401610920565b8166d529ae9e8600000234146110765760405162461bcd60e51b815260040161092090613cdc565b426363a32d808111801561108e57506363a5d0808111155b6110aa5760405162461bcd60e51b815260040161092090613cff565b600d805484019055826110bc83611eab565b01600210156110dd5760405162461bcd60e51b815260040161092090613d41565b6110e782846123a8565b6127106110f360005490565b11156111115760405162461bcd60e51b815260040161092090613d6f565b505060009182526012602052604090912080549091019055565b6000611136826123c2565b5192915050565b60405173dc66019e46d7e8ac9f155ff0668c9e1fca34421f904780156108fc02916000818181858888f1935050505015801561117d573d6000803e3d6000fd5b50565b610958600282846117ec565b60006001600160a01b0382166111f85760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610920565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b611225611f49565b61122f6000612530565b565b611239611f49565b805160005b81811015610a035782818151811061125857611258613c8a565b6020026020010151602001516014600085848151811061127a5761127a613c8a565b602090810291909101810151516001600160a01b031682528101919091526040016000206001908101919091550161123e565b3373de7dc7e71cc414022dcffda92b337ac3e9aa2173146113105760405162461bcd60e51b815260206004820152601860248201527f4f6e6c7920656c656d656e742063616e206265207573656400000000000000006044820152606401610920565b61131b8160016123a8565b6003600090815260126020527f0f36ad39aee03e7108cc48f54934702a5f0d4066f10344cebf8198978d86976a805460019290611359908490613d93565b909155505050565b6060816001600160401b0381111561137b5761137b613469565b6040519080825280602002602001820160405280156113c057816020015b60408051808201909152600080825260208201528152602001906001900390816113995790505b50905060005b828110156114b257601460008585848181106113e4576113e4613c8a565b90506020020160208101906113f9919061344c565b6001600160a01b03166001600160a01b031681526020019081526020016000206000015482828151811061142f5761142f613c8a565b6020908102919091010151526014600085858481811061145157611451613c8a565b9050602002016020810190611466919061344c565b6001600160a01b03166001600160a01b031681526020019081526020016000206001015482828151811061149c5761149c613c8a565b60209081029190910181015101526001016113c6565b5092915050565b60008281526010602052604090205442116115165760405162461bcd60e51b815260206004820152601960248201527f4e465420697320616c726561647920696e207374616b696e67000000000000006044820152606401610920565b336115208361112b565b6001600160a01b0316146115765760405162461bcd60e51b815260206004820152601f60248201527f54686973204e465420646f6573206e6f742062656c6f6e6720746f20796f75006044820152606401610920565b611581601e82613dc1565b156115de5760405162461bcd60e51b815260206004820152602760248201527f6572726f72206c6f636b747970652c4d7573742062652061206d756c7469706c604482015266065206f662033360cc1b6064820152608401610920565b6115eb8162015180613dd5565b6115f59042613d93565b6000838152601060205260409081902082905551839133917f7b210646c55f5e916d30acbd182393484dce57395a48424856970a6dc3499e689161164491869190918252602082015260400190565b60405180910390a35050565b60606003805461083290613c29565b611667611f49565b6000856001600160a01b031683838787604051611685929190613df4565b600060405180830381858888f193505050503d80600081146116c3576040519150601f19603f3d011682016040523d82523d6000602084013e6116c8565b606091505b50509050806117065760405162461bcd60e51b815260206004820152600a602482015269195c9c9bdc8818d85b1b60b21b6044820152606401610920565b505050505050565b61171782611c86565b6109588282612582565b61095833838361263f565b611737848484612019565b611743848484846127b9565b61175f5760405162461bcd60e51b815260040161092090613e04565b50505050565b61176d611f49565b600f610a03828483613e9d565b606060006117866128b7565b905060008151116117af576040518060800160405280604e81526020016140a8604e91396117da565b806117b9846128c6565b6040516020016117ca929190613f5d565b6040516020818303038152906040525b9392505050565b61117d600282611003565b6117f682826129c6565b606082013560008190036118125761180d82612b29565b61186d565b806001036118235761180d82612b7f565b806002036118345761180d82612bd5565b60405162461bcd60e51b815260206004820152600e60248201526d3a3cb832b6b4b73a1032b93937b960911b6044820152606401610920565b61271061187960005490565b11156118975760405162461bcd60e51b815260040161092090613d6f565b6363a32d804211156118bb5760405162461bcd60e51b815260040161092090613cff565b50600092835260126020526040909220805490920190915550565b6118de611f49565b6001600160a01b0381166119435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610920565b61117d81612530565b611a0f604051806102e0016040528060006001600160a01b031681526020016000815260200160006001600160a01b0316815260200160608152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6000806000806000604051806102e001604052807f000000000000000000000000786327ca99c6462ad509b786a24d57c20070aea06001600160a01b03168152602001611a5b60005490565b815260200173dc66019e46d7e8ac9f155ff0668c9e1fca34421f6001600160a01b03168152602001600f8054611a9090613c29565b80601f0160208091040260200160405190810160405280929190818152602001828054611abc90613c29565b8015611b095780601f10611ade57610100808354040283529160200191611b09565b820191906000526020600020905b815481529060010190602001808311611aec57829003601f168201915b505050505081526020016363a32d8081526020016363a5d08081526020016363a284c0815260200166b1a2bc2ec500008152602001600a5481526020016114b481526020016363a284c0815260200166b1a2bc2ec500008152602001600b5481526020016107d081526020016363a2aef0815260200166b1a2bc2ec500008152602001600c5481526020016363a32d80815260200166d529ae9e8600008152602001600d5481526020016363a2aef0815260200166b1a2bc2ec500008152602001600e54815250611bd960005490565b600e54600a54600b54600c54949b939a504299500180820161271090810398509381019091018303955090910392509050565b6001600160a01b03163b151590565b60006001600160e01b031982166380ac58cd60e01b1480611c4c57506001600160e01b03198216635b5e139f60e01b145b80611c6757506001600160e01b0319821663780e9d6360e01b145b8061081d57506301ffc9a760e01b6001600160e01b031983161461081d565b6001600160a01b0381163b1561117d576001600160a01b03811660009081526011602052604090205460ff1661117d57604051633185c44d60e21b81526daaeb6d7670e522a718067333cd4e600482018190526001600160a01b03831660248301529063c617113490604401602060405180830381865afa158015611d0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d339190613f9c565b61117d5760405162461bcd60e51b815260206004820152603160248201527f43616e6e6f7420706572666f726d206e6674207472616e73666572207468726f6044820152701d59da081d1a1a5cc818dbdb9d1c9858dd607a1b6064820152608401610920565b6000611da48261112b565b9050806001600160a01b0316836001600160a01b031603611e125760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610920565b336001600160a01b0382161480611e2e5750611e2e8133610770565b611ea05760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610920565b610a03838383612c2b565b60006001600160a01b038216611f1d5760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610920565b506001600160a01b0316600090815260056020526040902054600160801b90046001600160801b031690565b6009546001600160a01b0316331461122f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610920565b600061081d611fb0612c87565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061200287878787612dae565b9150915061200f81612e9b565b5095945050505050565b6000612024826123c2565b80519091506000906001600160a01b0316336001600160a01b0316148061205b575033612050846108b5565b6001600160a01b0316145b8061206d5750815161206d9033610770565b9050806120d75760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610920565b846001600160a01b031682600001516001600160a01b03161461214b5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610920565b6001600160a01b0384166121af5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610920565b6121bc8585856001613051565b6121cc6000848460000151612c2b565b6001600160a01b03851660009081526005602052604081208054600192906121fe9084906001600160801b0316613fb9565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b0386166000908152600560205260408120805460019450909261224a91859116613fe1565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556122d1846001613d93565b6000818152600460205260409020549091506001600160a01b0316612362576122fb816000541190565b156123625760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611706565b61095882826040518060200160405280600081525061309f565b60408051808201909152600080825260208201526123e1826000541190565b6124405760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610920565b60006001548310612466576001546124589084613c73565b612463906001613d93565b90505b825b8181106124cf576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b031691830191909152156124bc57949350505050565b50806124c78161400c565b915050612468565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610920565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b336001600160a01b038316036125da5760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610920565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611644565b6000818152600460205260409020546001600160a01b038481169116146126b65760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201526437bbb732b960d91b6064820152608401610920565b600081815260046020526040812080546001600160a01b0319166001600160a01b0385161790555b806001600160801b03168201836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46001016001600160801b03811682016000908152600460205260409020546001600160a01b0316156126de576001600160a01b0392831660009081526005602052604080822080546001600160801b03808216860181166fffffffffffffffffffffffffffffffff19928316179092559690951682529020805480851692909203909316931692909217905550565b60006001600160a01b0384163b156128af57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127fd903390899088908890600401614023565b6020604051808303816000875af1925050508015612838575060408051601f3d908101601f1916820190925261283591810190614060565b60015b612895573d808015612866576040519150601f19603f3d011682016040523d82523d6000602084013e61286b565b606091505b50805160000361288d5760405162461bcd60e51b815260040161092090613e04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610abf565b506001610abf565b6060600f805461083290613c29565b6060816000036128ed5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612917578061290181613cc3565b91506129109050600a8361407d565b91506128f1565b6000816001600160401b0381111561293157612931613469565b6040519080825280601f01601f19166020018201604052801561295b576020820181803683370190505b5090505b8415610abf57612970600183613c73565b915061297d600a86613dc1565b612988906030613d93565b60f81b81838151811061299d5761299d613c8a565b60200101906001600160f81b031916908160001a9053506129bf600a8661407d565b945061295f565b7f000000000000000000000000786327ca99c6462ad509b786a24d57c20070aea06001600160a01b03166129f983610a08565b6001600160a01b031614612a3e5760405162461bcd60e51b815260206004820152600c60248201526b32b93937b91039b4b3b732b960a11b6044820152606401610920565b6000612a4d602084018461344c565b9050336001600160a01b03821614612a9d5760405162461bcd60e51b815260206004820152601360248201527239b2b73232b91034b99037379033b0b4b732b960691b6044820152606401610920565b4283604001351015612af15760405162461bcd60e51b815260206004820152601960248201527f546865207369676e6174757265206861732065787069726564000000000000006044820152606401610920565b81612afb82611eab565b0183602001351015612b1f5760405162461bcd60e51b815260040161092090613d41565b610a0381836123a8565b8066b1a2bc2ec50000023414612b515760405162461bcd60e51b815260040161092090613cdc565b426363a284c010612b745760405162461bcd60e51b815260040161092090613cff565b600a80549091019055565b8066b1a2bc2ec50000023414612ba75760405162461bcd60e51b815260040161092090613cdc565b426363a284c010612bca5760405162461bcd60e51b815260040161092090613cff565b600b80549091019055565b8066b1a2bc2ec50000023414612bfd5760405162461bcd60e51b815260040161092090613cdc565b426363a2aef010612c205760405162461bcd60e51b815260040161092090613cff565b600c80549091019055565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000306001600160a01b037f000000000000000000000000f7767231aec17c4ce5f630edc45f8159433a44a316148015612ce057507f000000000000000000000000000000000000000000000000000000000000000146145b15612d0a57507fa424e6d3a7e03bb3ed0e035825857d8cdaaad1c3cf0780d6488a5634f7d491cf90565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f23ea7d8523be40baa95884224fc2bfe392c985706c73bb319303170920f62210828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115612de55750600090506003612e92565b8460ff16601b14158015612dfd57508460ff16601c14155b15612e0e5750600090506004612e92565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612e62573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612e8b57600060019250925050612e92565b9150600090505b94509492505050565b6000816004811115612eaf57612eaf614091565b03612eb75750565b6001816004811115612ecb57612ecb614091565b03612f185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610920565b6002816004811115612f2c57612f2c614091565b03612f795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610920565b6003816004811115612f8d57612f8d614091565b03612fe55760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610920565b6004816004811115612ff957612ff9614091565b0361117d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610920565b600082815260106020526040902054421161309a5760405162461bcd60e51b81526020600482015260096024820152686c6f636b2074696d6560b81b6044820152606401610920565b61175f565b6000546001600160a01b0384166131025760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610920565b61310d816000541190565b1561315a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610920565b6001548311156131b75760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610920565b6131c46000858386613051565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190613220908790613fe1565b6001600160801b0316815260200185836020015161323e9190613fe1565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156133495760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461332160008884886127b9565b61333d5760405162461bcd60e51b815260040161092090613e04565b600191820191016132d4565b506000819055611706565b6001600160e01b03198116811461117d57600080fd5b60006020828403121561337c57600080fd5b81356117da81613354565b60005b838110156133a257818101518382015260200161338a565b8381111561175f5750506000910152565b600081518084526133cb816020860160208601613387565b601f01601f19169290920160200192915050565b6020815260006117da60208301846133b3565b60006020828403121561340457600080fd5b5035919050565b6001600160a01b038116811461117d57600080fd5b6000806040838503121561343357600080fd5b823561343e8161340b565b946020939093013593505050565b60006020828403121561345e57600080fd5b81356117da8161340b565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b03811182821017156134a1576134a1613469565b60405290565b604051601f8201601f191681016001600160401b03811182821017156134cf576134cf613469565b604052919050565b60006001600160401b038211156134f0576134f0613469565b5060051b60200190565b801515811461117d57600080fd5b6000602080838503121561351b57600080fd5b82356001600160401b0381111561353157600080fd5b8301601f8101851361354257600080fd5b8035613555613550826134d7565b6134a7565b81815260069190911b8201830190838101908783111561357457600080fd5b928401925b828410156135ca57604084890312156135925760008081fd5b61359a61347f565b84356135a58161340b565b8152848601356135b4816134fa565b8187015282526040939093019290840190613579565b979650505050505050565b600060e082840312156135e757600080fd5b50919050565b600060e082840312156135ff57600080fd5b6117da83836135d5565b60008060006060848603121561361e57600080fd5b83356136298161340b565b925060208401356136398161340b565b929592945050506040919091013590565b6000806000806080858703121561366057600080fd5b8435935060208501356136728161340b565b93969395505050506040820135916060013590565b6000806040838503121561369a57600080fd5b50508035926020909101359150565b60008061010083850312156136bd57600080fd5b823591506136ce84602085016135d5565b90509250929050565b600060208083850312156136ea57600080fd5b82356001600160401b0381111561370057600080fd5b8301601f8101851361371157600080fd5b803561371f613550826134d7565b81815260069190911b8201830190838101908783111561373e57600080fd5b928401925b828410156135ca576040848903121561375c5760008081fd5b61376461347f565b843561376f8161340b565b81528486013586820152825260409093019290840190613743565b6000806020838503121561379d57600080fd5b82356001600160401b03808211156137b457600080fd5b818501915085601f8301126137c857600080fd5b8135818111156137d757600080fd5b8660208260051b85010111156137ec57600080fd5b60209290920196919550909350505050565b602080825282518282018190526000919060409081850190868401855b828110156138405781518051855286015186850152928401929085019060010161381b565b5091979650505050505050565b60008083601f84011261385f57600080fd5b5081356001600160401b0381111561387657600080fd5b60208301915083602082850101111561388e57600080fd5b9250929050565b6000806000806000608086880312156138ad57600080fd5b85356138b88161340b565b945060208601356001600160401b038111156138d357600080fd5b6138df8882890161384d565b9699909850959660408101359660609091013595509350505050565b6000806040838503121561390e57600080fd5b82356139198161340b565b91506020830135613929816134fa565b809150509250929050565b6000806000806080858703121561394a57600080fd5b84356139558161340b565b93506020858101356139668161340b565b93506040860135925060608601356001600160401b038082111561398957600080fd5b818801915088601f83011261399d57600080fd5b8135818111156139af576139af613469565b6139c1601f8201601f191685016134a7565b915080825289848285010111156139d757600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060208385031215613a0a57600080fd5b82356001600160401b03811115613a2057600080fd5b613a2c8582860161384d565b90969095509350505050565b60008060006101208486031215613a4e57600080fd5b83359250613a5f85602086016135d5565b915061010084013590509250925092565b60008060408385031215613a8357600080fd5b8235613a8e8161340b565b915060208301356139298161340b565b60c08152613ab860c0820188516001600160a01b03169052565b602087015160e082015260006040880151613adf6101008401826001600160a01b03169052565b5060608801516102e0610120840152613afc6103a08401826133b3565b90506080890151806101408501525060a0890151806101608501525060c0890151806101808501525060e0890151806101a085015250610100890151806101c085015250610120890151806101e0850152506101408901518061020085015250610160890151806102208501525061018089015161024081818601526101a08b0151915061026082818701526101c08c0151925061028083818801526101e08d015193506102a084818901526102008e015194506102c085818a01526102208f01516102e08a0152848f01516103008a0152838f01516103208a0152828f01516103408a0152818f01516103608a0152808f01516103808a0152505050505050809150508660208301528560408301528460608301528360808301528260a0830152979650505050505050565b600181811c90821680613c3d57607f821691505b6020821081036135e757634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082821015613c8557613c85613c5d565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215613cb257600080fd5b813560ff811681146117da57600080fd5b600060018201613cd557613cd5613c5d565b5060010190565b6020808252600990820152686572726f722066656560b81b604082015260600190565b6020808252600b908201526a4f7574206f662074696d6560a81b604082015260600190565b600060208284031215613d3657600080fd5b81516117da8161340b565b60208082526014908201527327baba1037b31036b4b73a32b210373ab6b132b960611b604082015260600190565b6020808252600a90820152691b5a5b9d1959081bdd5d60b21b604082015260600190565b60008219821115613da657613da6613c5d565b500190565b634e487b7160e01b600052601260045260246000fd5b600082613dd057613dd0613dab565b500690565b6000816000190483118215151615613def57613def613c5d565b500290565b8183823760009101908152919050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b601f821115610a0357600081815260208120601f850160051c81016020861015613e7e5750805b601f850160051c820191505b8181101561170657828155600101613e8a565b6001600160401b03831115613eb457613eb4613469565b613ec883613ec28354613c29565b83613e57565b6000601f841160018114613efc5760008515613ee45750838201355b600019600387901b1c1916600186901b178355613f56565b600083815260209020601f19861690835b82811015613f2d5786850135825560209485019460019092019101613f0d565b5086821015613f4a5760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b60008351613f6f818460208801613387565b835190830190613f83818360208801613387565b64173539b7b760d91b9101908152600501949350505050565b600060208284031215613fae57600080fd5b81516117da816134fa565b60006001600160801b0383811690831681811015613fd957613fd9613c5d565b039392505050565b60006001600160801b0380831681851680830382111561400357614003613c5d565b01949350505050565b60008161401b5761401b613c5d565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090614056908301846133b3565b9695505050505050565b60006020828403121561407257600080fd5b81516117da81613354565b60008261408c5761408c613dab565b500490565b634e487b7160e01b600052602160045260246000fdfe697066733a2f2f6261667962656961637775746f67647875736f333735797165756575783665676563727a78786a66786169326c6e647364326a666b3773346a6f342f6f776c626f782e6a736f6ea2646970667358221220d7b667415f31670a966de966a333035a8c0e5d7625cf4e8d2755458af444f46664736f6c634300080f0033

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.