ETH Price: $2,633.81 (+1.24%)

Token

DeGodsYachtClub (DGYC)
 

Overview

Max Total Supply

2,589 DGYC

Holders

153

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 DGYC
0x9c36fb1f476104fbbc8a5f81f46e1a785f24ee47
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:
DeGodsYachtClub

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : DeGodsYachtClub.sol
// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}
// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol


// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}
// File: @openzeppelin/contracts/utils/Strings.sol


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

pragma solidity ^0.8.0;

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}
// File: @openzeppelin/contracts/access/Ownable.sol


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


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

pragma solidity ^0.8.0;

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


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

pragma solidity ^0.8.0;

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


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

pragma solidity ^0.8.0;


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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}
// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


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

pragma solidity ^0.8.0;


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

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

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


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;



/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A is IERC721, IERC721Metadata {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

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

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

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}
// File: erc721a/contracts/ERC721A.sol


// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;







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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

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

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

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

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

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

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

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

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

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

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

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

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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



pragma solidity >=0.8.9 <0.9.0;





contract DeGodsYachtClub is ERC721A, Ownable, ReentrancyGuard {
    using Strings for uint256;

    string public uriPrefix = "";
    string public uriSuffix = ".json";
    string public hiddenMetadataUri;

    uint256 public maxSupply=10000;
    uint256 public cost=0.009 ether;
    uint256 public maxFreeMintSupply=2000;
    uint256 public maxFreeMintAmountPerAddr=5;
    uint256 public maxMintAmountPerTx=5;

    bool public isFreeMintOpen = false;
    bool public paused = true;
    bool public revealed = false;

    constructor(

    ) ERC721A("DeGodsYachtClub", "DGYC") {
        setHiddenMetadataUri("ipfs://Qmd44FXUsQhWFSuZPhgFN2hM1jN1rw7Y9fxTqbMimxr9wM/hidden.json");
    }

    modifier mintCompliance(uint256 _mintAmount) {
        require(
            _mintAmount > 0 && _mintAmount <= maxMintAmountPerTx,
            "Invalid mint amount!"
        );
        require(
            totalSupply() + _mintAmount <= maxSupply,
            "Max supply exceeded!"
        );
        _;
    }

    modifier mintPriceCompliance(uint256 _mintAmount) {
        require(msg.value >= cost * _mintAmount, "Insufficient funds!");
        _;
    }

    function freeMint(uint256 _mintAmount) public mintCompliance(_mintAmount) {
        require(
            !paused && isFreeMintOpen,
            "DGYC: Free mint phase not open yet!"
        );

        require(
            totalSupply() + _mintAmount <= maxFreeMintSupply,
            "DGYC: Exceeds max free mint supply!"
        );
        require(
            _numberMinted(msg.sender) + _mintAmount <= maxFreeMintAmountPerAddr,
            "DGYC: Exceeds max free mint per wallet!"
        );
        _safeMint(_msgSender(), _mintAmount);
    }

    function mint(uint256 _mintAmount)
        public
        payable
        mintCompliance(_mintAmount)
        mintPriceCompliance(_mintAmount)
    {
        require(
            _numberMinted(msg.sender) + _mintAmount <= 100,
            "DGYC: Exceeds max mint per wallet!"
        );
        require(!paused, "The contract is paused!");

        _safeMint(_msgSender(), _mintAmount);
    }

    function walletOfOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = _startTokenId();
        uint256 ownedTokenIndex = 0;
        address latestOwnerAddress;

        while (
            ownedTokenIndex < ownerTokenCount && currentTokenId < _currentIndex
        ) {
            TokenOwnership memory ownership = _ownerships[currentTokenId];

            if (!ownership.burned) {
                if (ownership.addr != address(0)) {
                    latestOwnerAddress = ownership.addr;
                }

                if (latestOwnerAddress == _owner) {
                    ownedTokenIds[ownedTokenIndex] = currentTokenId;

                    ownedTokenIndex++;
                }
            }

            currentTokenId++;
        }

        return ownedTokenIds;
    }

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

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );

        if (revealed == false) {
            return hiddenMetadataUri;
        }

        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        _tokenId.toString(),
                        uriSuffix
                    )
                )
                : "";
    }

    function cutMaxSupply(uint256 _maxSupply) public onlyOwner {
        maxSupply -= _maxSupply;
    }

    function toggleIsFreeMintOpen() public onlyOwner {
        isFreeMintOpen = !isFreeMintOpen;
    }

    function setMaxFreeMintSupply(uint256 _maxFreeMintSupply) public onlyOwner {
        maxFreeMintSupply = _maxFreeMintSupply;
    }

    function setMaxFreeMintAmountPerAddr(uint256 _maxFreeMintAmountPerAddr)
        public
        onlyOwner
    {
        maxFreeMintAmountPerAddr = _maxFreeMintAmountPerAddr;
    }

    function mintForAddress(uint256 _mintAmount, address _receiver)
        public
        mintCompliance(_mintAmount)
        onlyOwner
    {
        _safeMint(_receiver, _mintAmount);
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    function setCost(uint256 _cost) public onlyOwner {
        cost = _cost;
    }

    function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx)
        public
        onlyOwner
    {
        maxMintAmountPerTx = _maxMintAmountPerTx;
    }

    function setHiddenMetadataUri(string memory _hiddenMetadataUri)
        public
        onlyOwner
    {
        hiddenMetadataUri = _hiddenMetadataUri;
    }

    function setUriPrefix(string memory _uriPrefix) public onlyOwner {
        uriPrefix = _uriPrefix;
    }

    function setUriSuffix(string memory _uriSuffix) public onlyOwner {
        uriSuffix = _uriSuffix;
    }

    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function withdraw() public onlyOwner nonReentrant {
        (bool os, ) = payable(owner()).call{value: address(this).balance}("");
        require(os, "Withdraw failed!");
    }

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"cutMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"isFreeMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintAmountPerAddr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintAmountPerAddr","type":"uint256"}],"name":"setMaxFreeMintAmountPerAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxFreeMintSupply","type":"uint256"}],"name":"setMaxFreeMintSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleIsFreeMintOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600a90805190602001906200002b929190620003b4565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b908051906020019062000079929190620003b4565b50612710600d55661ff973cafa8000600e556107d0600f55600560105560056011556000601260006101000a81548160ff0219169083151502179055506001601260016101000a81548160ff0219169083151502179055506000601260026101000a81548160ff021916908315150217905550348015620000f957600080fd5b506040518060400160405280600f81526020017f4465476f64735961636874436c756200000000000000000000000000000000008152506040518060400160405280600481526020017f444759430000000000000000000000000000000000000000000000000000000081525081600290805190602001906200017e929190620003b4565b50806003908051906020019062000197929190620003b4565b50620001a86200020860201b60201c565b6000819055505050620001d0620001c46200021160201b60201c565b6200021960201b60201c565b60016009819055506200020260405180608001604052806041815260200162004f8a60419139620002df60201b60201c565b6200054c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ef6200021160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003156200038a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200036e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200036590620004c5565b60405180910390fd5b80600c908051906020019062000386929190620003b4565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c29062000516565b90600052602060002090601f016020900481019282620003e6576000855562000432565b82601f106200040157805160ff191683800117855562000432565b8280016001018555821562000432579182015b828111156200043157825182559160200191906001019062000414565b5b50905062000441919062000445565b5090565b5b808211156200046057600081600090555060010162000446565b5090565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620004ad60208362000464565b9150620004ba8262000475565b602082019050919050565b60006020820190508181036000830152620004e0816200049e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200052f57607f821691505b60208210811415620005465762000545620004e7565b5b50919050565b614a2e806200055c6000396000f3fe6080604052600436106102675760003560e01c80636352211e11610144578063a45ba8e7116100b6578063d5abeb011161007a578063d5abeb01146108d1578063da66ec0c146108fc578063e0a8085314610927578063e985e9c514610950578063efbd73f41461098d578063f2fde38b146109b657610267565b8063a45ba8e7146107ec578063a6f5f01414610817578063b071401b14610842578063b88d4fde1461086b578063c87b56dd1461089457610267565b80638da5cb5b116101085780638da5cb5b146106fd57806390b266c31461072857806394354fd01461075157806395d89b411461077c578063a0712d68146107a7578063a22cb465146107c357610267565b80636352211e1461061a57806370a0823114610657578063715018a6146106945780637c928fe9146106ab5780637ec4a659146106d457610267565b806322d59d54116101dd57806344a0d68a116101a157806344a0d68a1461051c5780634fdd43cb14610545578063518302271461056e5780635503a0e8146105995780635c975abb146105c457806362b99ad4146105ef57610267565b806322d59d541461044b57806323b872dd146104765780633ccfd60b1461049f57806342842e0e146104b6578063438b6300146104df57610267565b806313faede61161022f57806313faede61461036357806316ba10e01461038e57806316c38b3c146103b757806318160ddd146103e05780631c3e88f61461040b578063206c6bdd1461043457610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780631141df201461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613763565b6109df565b6040516102a091906137ab565b60405180910390f35b3480156102b557600080fd5b506102be610ac1565b6040516102cb919061385f565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f691906138b7565b610b53565b6040516103089190613925565b60405180910390f35b34801561031d57600080fd5b506103386004803603810190610333919061396c565b610bcf565b005b34801561034657600080fd5b50610361600480360381019061035c91906138b7565b610cd4565b005b34801561036f57600080fd5b50610378610d6c565b60405161038591906139bb565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613b0b565b610d72565b005b3480156103c357600080fd5b506103de60048036038101906103d99190613b80565b610e08565b005b3480156103ec57600080fd5b506103f5610ea1565b60405161040291906139bb565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d91906138b7565b610eb8565b005b34801561044057600080fd5b50610449610f3e565b005b34801561045757600080fd5b50610460610fe6565b60405161046d91906139bb565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190613bad565b610fec565b005b3480156104ab57600080fd5b506104b4610ffc565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613bad565b611184565b005b3480156104eb57600080fd5b5061050660048036038101906105019190613c00565b6111a4565b6040516105139190613ceb565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e91906138b7565b6113b8565b005b34801561055157600080fd5b5061056c60048036038101906105679190613b0b565b61143e565b005b34801561057a57600080fd5b506105836114d4565b60405161059091906137ab565b60405180910390f35b3480156105a557600080fd5b506105ae6114e7565b6040516105bb919061385f565b60405180910390f35b3480156105d057600080fd5b506105d9611575565b6040516105e691906137ab565b60405180910390f35b3480156105fb57600080fd5b50610604611588565b604051610611919061385f565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c91906138b7565b611616565b60405161064e9190613925565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613c00565b61162c565b60405161068b91906139bb565b60405180910390f35b3480156106a057600080fd5b506106a96116fc565b005b3480156106b757600080fd5b506106d260048036038101906106cd91906138b7565b611784565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613b0b565b611959565b005b34801561070957600080fd5b506107126119ef565b60405161071f9190613925565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a91906138b7565b611a19565b005b34801561075d57600080fd5b50610766611a9f565b60405161077391906139bb565b60405180910390f35b34801561078857600080fd5b50610791611aa5565b60405161079e919061385f565b60405180910390f35b6107c160048036038101906107bc91906138b7565b611b37565b005b3480156107cf57600080fd5b506107ea60048036038101906107e59190613d0d565b611cee565b005b3480156107f857600080fd5b50610801611e66565b60405161080e919061385f565b60405180910390f35b34801561082357600080fd5b5061082c611ef4565b60405161083991906137ab565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906138b7565b611f07565b005b34801561087757600080fd5b50610892600480360381019061088d9190613dee565b611f8d565b005b3480156108a057600080fd5b506108bb60048036038101906108b691906138b7565b612005565b6040516108c8919061385f565b60405180910390f35b3480156108dd57600080fd5b506108e661215e565b6040516108f391906139bb565b60405180910390f35b34801561090857600080fd5b50610911612164565b60405161091e91906139bb565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613b80565b61216a565b005b34801561095c57600080fd5b5061097760048036038101906109729190613e71565b612203565b60405161098491906137ab565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190613eb1565b612297565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190613c00565b6123cb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aaa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aba5750610ab9826124c3565b5b9050919050565b606060028054610ad090613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90613f20565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e8261252d565b610b94576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bda82611616565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6161257b565b73ffffffffffffffffffffffffffffffffffffffff1614610cc457610c8d81610c8861257b565b612203565b610cc3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ccf838383612583565b505050565b610cdc61257b565b73ffffffffffffffffffffffffffffffffffffffff16610cfa6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790613f9e565b60405180910390fd5b80600d6000828254610d629190613fed565b9250508190555050565b600e5481565b610d7a61257b565b73ffffffffffffffffffffffffffffffffffffffff16610d986119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590613f9e565b60405180910390fd5b80600b9080519060200190610e04929190613611565b5050565b610e1061257b565b73ffffffffffffffffffffffffffffffffffffffff16610e2e6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613f9e565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b6000610eab612635565b6001546000540303905090565b610ec061257b565b73ffffffffffffffffffffffffffffffffffffffff16610ede6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90613f9e565b60405180910390fd5b80600f8190555050565b610f4661257b565b73ffffffffffffffffffffffffffffffffffffffff16610f646119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613f9e565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b600f5481565b610ff783838361263e565b505050565b61100461257b565b73ffffffffffffffffffffffffffffffffffffffff166110226119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90613f9e565b60405180910390fd5b600260095414156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b59061406d565b60405180910390fd5b600260098190555060006110d06119ef565b73ffffffffffffffffffffffffffffffffffffffff16476040516110f3906140be565b60006040518083038185875af1925050503d8060008114611130576040519150601f19603f3d011682016040523d82523d6000602084013e611135565b606091505b5050905080611179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111709061411f565b60405180910390fd5b506001600981905550565b61119f83838360405180602001604052806000815250611f8d565b505050565b606060006111b18361162c565b905060008167ffffffffffffffff8111156111cf576111ce6139e0565b5b6040519080825280602002602001820160405280156111fd5781602001602082028036833780820191505090505b509050600061120a612635565b90506000805b8482108015611220575060005483105b156113ab576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161139757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461133357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611396578385848151811061137b5761137a61413f565b5b60200260200101818152505082806113929061416e565b9350505b5b83806113a29061416e565b94505050611210565b8395505050505050919050565b6113c061257b565b73ffffffffffffffffffffffffffffffffffffffff166113de6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90613f9e565b60405180910390fd5b80600e8190555050565b61144661257b565b73ffffffffffffffffffffffffffffffffffffffff166114646119ef565b73ffffffffffffffffffffffffffffffffffffffff16146114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190613f9e565b60405180910390fd5b80600c90805190602001906114d0929190613611565b5050565b601260029054906101000a900460ff1681565b600b80546114f490613f20565b80601f016020809104026020016040519081016040528092919081815260200182805461152090613f20565b801561156d5780601f106115425761010080835404028352916020019161156d565b820191906000526020600020905b81548152906001019060200180831161155057829003601f168201915b505050505081565b601260019054906101000a900460ff1681565b600a805461159590613f20565b80601f01602080910402602001604051908101604052809291908181526020018280546115c190613f20565b801561160e5780601f106115e35761010080835404028352916020019161160e565b820191906000526020600020905b8154815290600101906020018083116115f157829003601f168201915b505050505081565b600061162182612af4565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611694576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61170461257b565b73ffffffffffffffffffffffffffffffffffffffff166117226119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90613f9e565b60405180910390fd5b6117826000612d7f565b565b8060008111801561179757506011548111155b6117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90614203565b60405180910390fd5b600d54816117e2610ea1565b6117ec9190614223565b111561182d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611824906142c5565b60405180910390fd5b601260019054906101000a900460ff161580156118565750601260009054906101000a900460ff165b611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614357565b60405180910390fd5b600f54826118a1610ea1565b6118ab9190614223565b11156118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e3906143e9565b60405180910390fd5b601054826118f933612e45565b6119039190614223565b1115611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b9061447b565b60405180910390fd5b61195561194f61257b565b83612eaf565b5050565b61196161257b565b73ffffffffffffffffffffffffffffffffffffffff1661197f6119ef565b73ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613f9e565b60405180910390fd5b80600a90805190602001906119eb929190613611565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a2161257b565b73ffffffffffffffffffffffffffffffffffffffff16611a3f6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90613f9e565b60405180910390fd5b8060108190555050565b60115481565b606060038054611ab490613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae090613f20565b8015611b2d5780601f10611b0257610100808354040283529160200191611b2d565b820191906000526020600020905b815481529060010190602001808311611b1057829003601f168201915b5050505050905090565b80600081118015611b4a57506011548111155b611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090614203565b60405180910390fd5b600d5481611b95610ea1565b611b9f9190614223565b1115611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd7906142c5565b60405180910390fd5b8180600e54611bef919061449b565b341015611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614541565b60405180910390fd5b606483611c3d33612e45565b611c479190614223565b1115611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f906145d3565b60405180910390fd5b601260019054906101000a900460ff1615611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf9061463f565b60405180910390fd5b611ce9611ce361257b565b84612eaf565b505050565b611cf661257b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d5b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d6861257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e1561257b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5a91906137ab565b60405180910390a35050565b600c8054611e7390613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9f90613f20565b8015611eec5780601f10611ec157610100808354040283529160200191611eec565b820191906000526020600020905b815481529060010190602001808311611ecf57829003601f168201915b505050505081565b601260009054906101000a900460ff1681565b611f0f61257b565b73ffffffffffffffffffffffffffffffffffffffff16611f2d6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a90613f9e565b60405180910390fd5b8060118190555050565b611f9884848461263e565b611fb78373ffffffffffffffffffffffffffffffffffffffff16612ecd565b15611fff57611fc884848484612ef0565b611ffe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606120108261252d565b61204f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612046906146d1565b60405180910390fd5b60001515601260029054906101000a900460ff16151514156120fd57600c805461207890613f20565b80601f01602080910402602001604051908101604052809291908181526020018280546120a490613f20565b80156120f15780601f106120c6576101008083540402835291602001916120f1565b820191906000526020600020905b8154815290600101906020018083116120d457829003601f168201915b50505050509050612159565b6000612107613050565b905060008151116121275760405180602001604052806000815250612155565b80612131846130e2565b600b604051602001612145939291906147c1565b6040516020818303038152906040525b9150505b919050565b600d5481565b60105481565b61217261257b565b73ffffffffffffffffffffffffffffffffffffffff166121906119ef565b73ffffffffffffffffffffffffffffffffffffffff16146121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90613f9e565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b816000811180156122aa57506011548111155b6122e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e090614203565b60405180910390fd5b600d54816122f5610ea1565b6122ff9190614223565b1115612340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612337906142c5565b60405180910390fd5b61234861257b565b73ffffffffffffffffffffffffffffffffffffffff166123666119ef565b73ffffffffffffffffffffffffffffffffffffffff16146123bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b390613f9e565b60405180910390fd5b6123c68284612eaf565b505050565b6123d361257b565b73ffffffffffffffffffffffffffffffffffffffff166123f16119ef565b73ffffffffffffffffffffffffffffffffffffffff1614612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90613f9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ae90614864565b60405180910390fd5b6124c081612d7f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612538612635565b11158015612547575060005482105b8015612574575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061264982612af4565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126b4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126d561257b565b73ffffffffffffffffffffffffffffffffffffffff1614806127045750612703856126fe61257b565b612203565b5b80612749575061271261257b565b73ffffffffffffffffffffffffffffffffffffffff1661273184610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612782576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127e9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f68585856001613243565b61280260008487612583565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a82576000548214612a8157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aed8585856001613249565b5050505050565b612afc613697565b600082905080612b0a612635565b11612d4857600054811015612d47576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d4557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c29578092505050612d7a565b5b600115612d4457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d3f578092505050612d7a565b612c2a565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612ec982826040518060200160405280600081525061324f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f1661257b565b8786866040518563ffffffff1660e01b8152600401612f3894939291906148d9565b602060405180830381600087803b158015612f5257600080fd5b505af1925050508015612f8357506040513d601f19601f82011682018060405250810190612f80919061493a565b60015b612ffd573d8060008114612fb3576040519150601f19603f3d011682016040523d82523d6000602084013e612fb8565b606091505b50600081511415612ff5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461305f90613f20565b80601f016020809104026020016040519081016040528092919081815260200182805461308b90613f20565b80156130d85780601f106130ad576101008083540402835291602001916130d8565b820191906000526020600020905b8154815290600101906020018083116130bb57829003601f168201915b5050505050905090565b6060600082141561312a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061323e565b600082905060005b6000821461315c5780806131459061416e565b915050600a826131559190614996565b9150613132565b60008167ffffffffffffffff811115613178576131776139e0565b5b6040519080825280601f01601f1916602001820160405280156131aa5781602001600182028036833780820191505090505b5090505b60008514613237576001826131c39190613fed565b9150600a856131d291906149c7565b60306131de9190614223565b60f81b8183815181106131f4576131f361413f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132309190614996565b94506131ae565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132bc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156132f7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133046000858386613243565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506134c58673ffffffffffffffffffffffffffffffffffffffff16612ecd565b1561358a575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461353a6000878480600101955087612ef0565b613570576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106134cb57826000541461358557600080fd5b6135f5565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061358b575b81600081905550505061360b6000858386613249565b50505050565b82805461361d90613f20565b90600052602060002090601f01602090048101928261363f5760008555613686565b82601f1061365857805160ff1916838001178555613686565b82800160010185558215613686579182015b8281111561368557825182559160200191906001019061366a565b5b50905061369391906136da565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136f35760008160009055506001016136db565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137408161370b565b811461374b57600080fd5b50565b60008135905061375d81613737565b92915050565b60006020828403121561377957613778613701565b5b60006137878482850161374e565b91505092915050565b60008115159050919050565b6137a581613790565b82525050565b60006020820190506137c0600083018461379c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138005780820151818401526020810190506137e5565b8381111561380f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613831826137c6565b61383b81856137d1565b935061384b8185602086016137e2565b61385481613815565b840191505092915050565b600060208201905081810360008301526138798184613826565b905092915050565b6000819050919050565b61389481613881565b811461389f57600080fd5b50565b6000813590506138b18161388b565b92915050565b6000602082840312156138cd576138cc613701565b5b60006138db848285016138a2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061390f826138e4565b9050919050565b61391f81613904565b82525050565b600060208201905061393a6000830184613916565b92915050565b61394981613904565b811461395457600080fd5b50565b60008135905061396681613940565b92915050565b6000806040838503121561398357613982613701565b5b600061399185828601613957565b92505060206139a2858286016138a2565b9150509250929050565b6139b581613881565b82525050565b60006020820190506139d060008301846139ac565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a1882613815565b810181811067ffffffffffffffff82111715613a3757613a366139e0565b5b80604052505050565b6000613a4a6136f7565b9050613a568282613a0f565b919050565b600067ffffffffffffffff821115613a7657613a756139e0565b5b613a7f82613815565b9050602081019050919050565b82818337600083830152505050565b6000613aae613aa984613a5b565b613a40565b905082815260208101848484011115613aca57613ac96139db565b5b613ad5848285613a8c565b509392505050565b600082601f830112613af257613af16139d6565b5b8135613b02848260208601613a9b565b91505092915050565b600060208284031215613b2157613b20613701565b5b600082013567ffffffffffffffff811115613b3f57613b3e613706565b5b613b4b84828501613add565b91505092915050565b613b5d81613790565b8114613b6857600080fd5b50565b600081359050613b7a81613b54565b92915050565b600060208284031215613b9657613b95613701565b5b6000613ba484828501613b6b565b91505092915050565b600080600060608486031215613bc657613bc5613701565b5b6000613bd486828701613957565b9350506020613be586828701613957565b9250506040613bf6868287016138a2565b9150509250925092565b600060208284031215613c1657613c15613701565b5b6000613c2484828501613957565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c6281613881565b82525050565b6000613c748383613c59565b60208301905092915050565b6000602082019050919050565b6000613c9882613c2d565b613ca28185613c38565b9350613cad83613c49565b8060005b83811015613cde578151613cc58882613c68565b9750613cd083613c80565b925050600181019050613cb1565b5085935050505092915050565b60006020820190508181036000830152613d058184613c8d565b905092915050565b60008060408385031215613d2457613d23613701565b5b6000613d3285828601613957565b9250506020613d4385828601613b6b565b9150509250929050565b600067ffffffffffffffff821115613d6857613d676139e0565b5b613d7182613815565b9050602081019050919050565b6000613d91613d8c84613d4d565b613a40565b905082815260208101848484011115613dad57613dac6139db565b5b613db8848285613a8c565b509392505050565b600082601f830112613dd557613dd46139d6565b5b8135613de5848260208601613d7e565b91505092915050565b60008060008060808587031215613e0857613e07613701565b5b6000613e1687828801613957565b9450506020613e2787828801613957565b9350506040613e38878288016138a2565b925050606085013567ffffffffffffffff811115613e5957613e58613706565b5b613e6587828801613dc0565b91505092959194509250565b60008060408385031215613e8857613e87613701565b5b6000613e9685828601613957565b9250506020613ea785828601613957565b9150509250929050565b60008060408385031215613ec857613ec7613701565b5b6000613ed6858286016138a2565b9250506020613ee785828601613957565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f3857607f821691505b60208210811415613f4c57613f4b613ef1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f886020836137d1565b9150613f9382613f52565b602082019050919050565b60006020820190508181036000830152613fb781613f7b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ff882613881565b915061400383613881565b92508282101561401657614015613fbe565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614057601f836137d1565b915061406282614021565b602082019050919050565b600060208201905081810360008301526140868161404a565b9050919050565b600081905092915050565b50565b60006140a860008361408d565b91506140b382614098565b600082019050919050565b60006140c98261409b565b9150819050919050565b7f5769746864726177206661696c65642100000000000000000000000000000000600082015250565b60006141096010836137d1565b9150614114826140d3565b602082019050919050565b60006020820190508181036000830152614138816140fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061417982613881565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ac576141ab613fbe565b5b600182019050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006141ed6014836137d1565b91506141f8826141b7565b602082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b600061422e82613881565b915061423983613881565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561426e5761426d613fbe565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006142af6014836137d1565b91506142ba82614279565b602082019050919050565b600060208201905081810360008301526142de816142a2565b9050919050565b7f444759433a2046726565206d696e74207068617365206e6f74206f70656e207960008201527f6574210000000000000000000000000000000000000000000000000000000000602082015250565b60006143416023836137d1565b915061434c826142e5565b604082019050919050565b6000602082019050818103600083015261437081614334565b9050919050565b7f444759433a2045786365656473206d61782066726565206d696e74207375707060008201527f6c79210000000000000000000000000000000000000000000000000000000000602082015250565b60006143d36023836137d1565b91506143de82614377565b604082019050919050565b60006020820190508181036000830152614402816143c6565b9050919050565b7f444759433a2045786365656473206d61782066726565206d696e74207065722060008201527f77616c6c65742100000000000000000000000000000000000000000000000000602082015250565b60006144656027836137d1565b915061447082614409565b604082019050919050565b6000602082019050818103600083015261449481614458565b9050919050565b60006144a682613881565b91506144b183613881565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144ea576144e9613fbe565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061452b6013836137d1565b9150614536826144f5565b602082019050919050565b6000602082019050818103600083015261455a8161451e565b9050919050565b7f444759433a2045786365656473206d6178206d696e74207065722077616c6c6560008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006145bd6022836137d1565b91506145c882614561565b604082019050919050565b600060208201905081810360008301526145ec816145b0565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006146296017836137d1565b9150614634826145f3565b602082019050919050565b600060208201905081810360008301526146588161461c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146bb602f836137d1565b91506146c68261465f565b604082019050919050565b600060208201905081810360008301526146ea816146ae565b9050919050565b600081905092915050565b6000614707826137c6565b61471181856146f1565b93506147218185602086016137e2565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461474f81613f20565b61475981866146f1565b945060018216600081146147745760018114614785576147b8565b60ff198316865281860193506147b8565b61478e8561472d565b60005b838110156147b057815481890152600182019150602081019050614791565b838801955050505b50505092915050565b60006147cd82866146fc565b91506147d982856146fc565b91506147e58284614742565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061484e6026836137d1565b9150614859826147f2565b604082019050919050565b6000602082019050818103600083015261487d81614841565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148ab82614884565b6148b5818561488f565b93506148c58185602086016137e2565b6148ce81613815565b840191505092915050565b60006080820190506148ee6000830187613916565b6148fb6020830186613916565b61490860408301856139ac565b818103606083015261491a81846148a0565b905095945050505050565b60008151905061493481613737565b92915050565b6000602082840312156149505761494f613701565b5b600061495e84828501614925565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149a182613881565b91506149ac83613881565b9250826149bc576149bb614967565b5b828204905092915050565b60006149d282613881565b91506149dd83613881565b9250826149ed576149ec614967565b5b82820690509291505056fea264697066735822122033cee2b9816b724daa31ea1947c8d29d9fbc274d17d8dd14aedc21bca1ccdffd64736f6c63430008090033697066733a2f2f516d643434465855735168574653755a506867464e32684d316a4e31727737593966785471624d696d787239774d2f68696464656e2e6a736f6e

Deployed Bytecode

0x6080604052600436106102675760003560e01c80636352211e11610144578063a45ba8e7116100b6578063d5abeb011161007a578063d5abeb01146108d1578063da66ec0c146108fc578063e0a8085314610927578063e985e9c514610950578063efbd73f41461098d578063f2fde38b146109b657610267565b8063a45ba8e7146107ec578063a6f5f01414610817578063b071401b14610842578063b88d4fde1461086b578063c87b56dd1461089457610267565b80638da5cb5b116101085780638da5cb5b146106fd57806390b266c31461072857806394354fd01461075157806395d89b411461077c578063a0712d68146107a7578063a22cb465146107c357610267565b80636352211e1461061a57806370a0823114610657578063715018a6146106945780637c928fe9146106ab5780637ec4a659146106d457610267565b806322d59d54116101dd57806344a0d68a116101a157806344a0d68a1461051c5780634fdd43cb14610545578063518302271461056e5780635503a0e8146105995780635c975abb146105c457806362b99ad4146105ef57610267565b806322d59d541461044b57806323b872dd146104765780633ccfd60b1461049f57806342842e0e146104b6578063438b6300146104df57610267565b806313faede61161022f57806313faede61461036357806316ba10e01461038e57806316c38b3c146103b757806318160ddd146103e05780631c3e88f61461040b578063206c6bdd1461043457610267565b806301ffc9a71461026c57806306fdde03146102a9578063081812fc146102d4578063095ea7b3146103115780631141df201461033a575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190613763565b6109df565b6040516102a091906137ab565b60405180910390f35b3480156102b557600080fd5b506102be610ac1565b6040516102cb919061385f565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f691906138b7565b610b53565b6040516103089190613925565b60405180910390f35b34801561031d57600080fd5b506103386004803603810190610333919061396c565b610bcf565b005b34801561034657600080fd5b50610361600480360381019061035c91906138b7565b610cd4565b005b34801561036f57600080fd5b50610378610d6c565b60405161038591906139bb565b60405180910390f35b34801561039a57600080fd5b506103b560048036038101906103b09190613b0b565b610d72565b005b3480156103c357600080fd5b506103de60048036038101906103d99190613b80565b610e08565b005b3480156103ec57600080fd5b506103f5610ea1565b60405161040291906139bb565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d91906138b7565b610eb8565b005b34801561044057600080fd5b50610449610f3e565b005b34801561045757600080fd5b50610460610fe6565b60405161046d91906139bb565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190613bad565b610fec565b005b3480156104ab57600080fd5b506104b4610ffc565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613bad565b611184565b005b3480156104eb57600080fd5b5061050660048036038101906105019190613c00565b6111a4565b6040516105139190613ceb565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e91906138b7565b6113b8565b005b34801561055157600080fd5b5061056c60048036038101906105679190613b0b565b61143e565b005b34801561057a57600080fd5b506105836114d4565b60405161059091906137ab565b60405180910390f35b3480156105a557600080fd5b506105ae6114e7565b6040516105bb919061385f565b60405180910390f35b3480156105d057600080fd5b506105d9611575565b6040516105e691906137ab565b60405180910390f35b3480156105fb57600080fd5b50610604611588565b604051610611919061385f565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c91906138b7565b611616565b60405161064e9190613925565b60405180910390f35b34801561066357600080fd5b5061067e60048036038101906106799190613c00565b61162c565b60405161068b91906139bb565b60405180910390f35b3480156106a057600080fd5b506106a96116fc565b005b3480156106b757600080fd5b506106d260048036038101906106cd91906138b7565b611784565b005b3480156106e057600080fd5b506106fb60048036038101906106f69190613b0b565b611959565b005b34801561070957600080fd5b506107126119ef565b60405161071f9190613925565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a91906138b7565b611a19565b005b34801561075d57600080fd5b50610766611a9f565b60405161077391906139bb565b60405180910390f35b34801561078857600080fd5b50610791611aa5565b60405161079e919061385f565b60405180910390f35b6107c160048036038101906107bc91906138b7565b611b37565b005b3480156107cf57600080fd5b506107ea60048036038101906107e59190613d0d565b611cee565b005b3480156107f857600080fd5b50610801611e66565b60405161080e919061385f565b60405180910390f35b34801561082357600080fd5b5061082c611ef4565b60405161083991906137ab565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906138b7565b611f07565b005b34801561087757600080fd5b50610892600480360381019061088d9190613dee565b611f8d565b005b3480156108a057600080fd5b506108bb60048036038101906108b691906138b7565b612005565b6040516108c8919061385f565b60405180910390f35b3480156108dd57600080fd5b506108e661215e565b6040516108f391906139bb565b60405180910390f35b34801561090857600080fd5b50610911612164565b60405161091e91906139bb565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613b80565b61216a565b005b34801561095c57600080fd5b5061097760048036038101906109729190613e71565b612203565b60405161098491906137ab565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190613eb1565b612297565b005b3480156109c257600080fd5b506109dd60048036038101906109d89190613c00565b6123cb565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aaa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610aba5750610ab9826124c3565b5b9050919050565b606060028054610ad090613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054610afc90613f20565b8015610b495780601f10610b1e57610100808354040283529160200191610b49565b820191906000526020600020905b815481529060010190602001808311610b2c57829003601f168201915b5050505050905090565b6000610b5e8261252d565b610b94576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bda82611616565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c42576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c6161257b565b73ffffffffffffffffffffffffffffffffffffffff1614610cc457610c8d81610c8861257b565b612203565b610cc3576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610ccf838383612583565b505050565b610cdc61257b565b73ffffffffffffffffffffffffffffffffffffffff16610cfa6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610d50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4790613f9e565b60405180910390fd5b80600d6000828254610d629190613fed565b9250508190555050565b600e5481565b610d7a61257b565b73ffffffffffffffffffffffffffffffffffffffff16610d986119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610dee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de590613f9e565b60405180910390fd5b80600b9080519060200190610e04929190613611565b5050565b610e1061257b565b73ffffffffffffffffffffffffffffffffffffffff16610e2e6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613f9e565b60405180910390fd5b80601260016101000a81548160ff02191690831515021790555050565b6000610eab612635565b6001546000540303905090565b610ec061257b565b73ffffffffffffffffffffffffffffffffffffffff16610ede6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b90613f9e565b60405180910390fd5b80600f8190555050565b610f4661257b565b73ffffffffffffffffffffffffffffffffffffffff16610f646119ef565b73ffffffffffffffffffffffffffffffffffffffff1614610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190613f9e565b60405180910390fd5b601260009054906101000a900460ff1615601260006101000a81548160ff021916908315150217905550565b600f5481565b610ff783838361263e565b505050565b61100461257b565b73ffffffffffffffffffffffffffffffffffffffff166110226119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611078576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161106f90613f9e565b60405180910390fd5b600260095414156110be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b59061406d565b60405180910390fd5b600260098190555060006110d06119ef565b73ffffffffffffffffffffffffffffffffffffffff16476040516110f3906140be565b60006040518083038185875af1925050503d8060008114611130576040519150601f19603f3d011682016040523d82523d6000602084013e611135565b606091505b5050905080611179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111709061411f565b60405180910390fd5b506001600981905550565b61119f83838360405180602001604052806000815250611f8d565b505050565b606060006111b18361162c565b905060008167ffffffffffffffff8111156111cf576111ce6139e0565b5b6040519080825280602002602001820160405280156111fd5781602001602082028036833780820191505090505b509050600061120a612635565b90506000805b8482108015611220575060005483105b156113ab576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161139757600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461133357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611396578385848151811061137b5761137a61413f565b5b60200260200101818152505082806113929061416e565b9350505b5b83806113a29061416e565b94505050611210565b8395505050505050919050565b6113c061257b565b73ffffffffffffffffffffffffffffffffffffffff166113de6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611434576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142b90613f9e565b60405180910390fd5b80600e8190555050565b61144661257b565b73ffffffffffffffffffffffffffffffffffffffff166114646119ef565b73ffffffffffffffffffffffffffffffffffffffff16146114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b190613f9e565b60405180910390fd5b80600c90805190602001906114d0929190613611565b5050565b601260029054906101000a900460ff1681565b600b80546114f490613f20565b80601f016020809104026020016040519081016040528092919081815260200182805461152090613f20565b801561156d5780601f106115425761010080835404028352916020019161156d565b820191906000526020600020905b81548152906001019060200180831161155057829003601f168201915b505050505081565b601260019054906101000a900460ff1681565b600a805461159590613f20565b80601f01602080910402602001604051908101604052809291908181526020018280546115c190613f20565b801561160e5780601f106115e35761010080835404028352916020019161160e565b820191906000526020600020905b8154815290600101906020018083116115f157829003601f168201915b505050505081565b600061162182612af4565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611694576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61170461257b565b73ffffffffffffffffffffffffffffffffffffffff166117226119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176f90613f9e565b60405180910390fd5b6117826000612d7f565b565b8060008111801561179757506011548111155b6117d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cd90614203565b60405180910390fd5b600d54816117e2610ea1565b6117ec9190614223565b111561182d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611824906142c5565b60405180910390fd5b601260019054906101000a900460ff161580156118565750601260009054906101000a900460ff165b611895576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188c90614357565b60405180910390fd5b600f54826118a1610ea1565b6118ab9190614223565b11156118ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e3906143e9565b60405180910390fd5b601054826118f933612e45565b6119039190614223565b1115611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b9061447b565b60405180910390fd5b61195561194f61257b565b83612eaf565b5050565b61196161257b565b73ffffffffffffffffffffffffffffffffffffffff1661197f6119ef565b73ffffffffffffffffffffffffffffffffffffffff16146119d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cc90613f9e565b60405180910390fd5b80600a90805190602001906119eb929190613611565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a2161257b565b73ffffffffffffffffffffffffffffffffffffffff16611a3f6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90613f9e565b60405180910390fd5b8060108190555050565b60115481565b606060038054611ab490613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054611ae090613f20565b8015611b2d5780601f10611b0257610100808354040283529160200191611b2d565b820191906000526020600020905b815481529060010190602001808311611b1057829003601f168201915b5050505050905090565b80600081118015611b4a57506011548111155b611b89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8090614203565b60405180910390fd5b600d5481611b95610ea1565b611b9f9190614223565b1115611be0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd7906142c5565b60405180910390fd5b8180600e54611bef919061449b565b341015611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2890614541565b60405180910390fd5b606483611c3d33612e45565b611c479190614223565b1115611c88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7f906145d3565b60405180910390fd5b601260019054906101000a900460ff1615611cd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccf9061463f565b60405180910390fd5b611ce9611ce361257b565b84612eaf565b505050565b611cf661257b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d5b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611d6861257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e1561257b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5a91906137ab565b60405180910390a35050565b600c8054611e7390613f20565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9f90613f20565b8015611eec5780601f10611ec157610100808354040283529160200191611eec565b820191906000526020600020905b815481529060010190602001808311611ecf57829003601f168201915b505050505081565b601260009054906101000a900460ff1681565b611f0f61257b565b73ffffffffffffffffffffffffffffffffffffffff16611f2d6119ef565b73ffffffffffffffffffffffffffffffffffffffff1614611f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7a90613f9e565b60405180910390fd5b8060118190555050565b611f9884848461263e565b611fb78373ffffffffffffffffffffffffffffffffffffffff16612ecd565b15611fff57611fc884848484612ef0565b611ffe576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60606120108261252d565b61204f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612046906146d1565b60405180910390fd5b60001515601260029054906101000a900460ff16151514156120fd57600c805461207890613f20565b80601f01602080910402602001604051908101604052809291908181526020018280546120a490613f20565b80156120f15780601f106120c6576101008083540402835291602001916120f1565b820191906000526020600020905b8154815290600101906020018083116120d457829003601f168201915b50505050509050612159565b6000612107613050565b905060008151116121275760405180602001604052806000815250612155565b80612131846130e2565b600b604051602001612145939291906147c1565b6040516020818303038152906040525b9150505b919050565b600d5481565b60105481565b61217261257b565b73ffffffffffffffffffffffffffffffffffffffff166121906119ef565b73ffffffffffffffffffffffffffffffffffffffff16146121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90613f9e565b60405180910390fd5b80601260026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b816000811180156122aa57506011548111155b6122e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e090614203565b60405180910390fd5b600d54816122f5610ea1565b6122ff9190614223565b1115612340576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612337906142c5565b60405180910390fd5b61234861257b565b73ffffffffffffffffffffffffffffffffffffffff166123666119ef565b73ffffffffffffffffffffffffffffffffffffffff16146123bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b390613f9e565b60405180910390fd5b6123c68284612eaf565b505050565b6123d361257b565b73ffffffffffffffffffffffffffffffffffffffff166123f16119ef565b73ffffffffffffffffffffffffffffffffffffffff1614612447576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243e90613f9e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ae90614864565b60405180910390fd5b6124c081612d7f565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081612538612635565b11158015612547575060005482105b8015612574575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061264982612af4565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126b4576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126d561257b565b73ffffffffffffffffffffffffffffffffffffffff1614806127045750612703856126fe61257b565b612203565b5b80612749575061271261257b565b73ffffffffffffffffffffffffffffffffffffffff1661273184610b53565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612782576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127e9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6127f68585856001613243565b61280260008487612583565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612a82576000548214612a8157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612aed8585856001613249565b5050505050565b612afc613697565b600082905080612b0a612635565b11612d4857600054811015612d47576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d4557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c29578092505050612d7a565b5b600115612d4457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d3f578092505050612d7a565b612c2a565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160089054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b612ec982826040518060200160405280600081525061324f565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f1661257b565b8786866040518563ffffffff1660e01b8152600401612f3894939291906148d9565b602060405180830381600087803b158015612f5257600080fd5b505af1925050508015612f8357506040513d601f19601f82011682018060405250810190612f80919061493a565b60015b612ffd573d8060008114612fb3576040519150601f19603f3d011682016040523d82523d6000602084013e612fb8565b606091505b50600081511415612ff5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a805461305f90613f20565b80601f016020809104026020016040519081016040528092919081815260200182805461308b90613f20565b80156130d85780601f106130ad576101008083540402835291602001916130d8565b820191906000526020600020905b8154815290600101906020018083116130bb57829003601f168201915b5050505050905090565b6060600082141561312a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061323e565b600082905060005b6000821461315c5780806131459061416e565b915050600a826131559190614996565b9150613132565b60008167ffffffffffffffff811115613178576131776139e0565b5b6040519080825280601f01601f1916602001820160405280156131aa5781602001600182028036833780820191505090505b5090505b60008514613237576001826131c39190613fed565b9150600a856131d291906149c7565b60306131de9190614223565b60f81b8183815181106131f4576131f361413f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132309190614996565b94506131ae565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156132bc576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008314156132f7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133046000858386613243565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600084820190506134c58673ffffffffffffffffffffffffffffffffffffffff16612ecd565b1561358a575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461353a6000878480600101955087612ef0565b613570576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106134cb57826000541461358557600080fd5b6135f5565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061358b575b81600081905550505061360b6000858386613249565b50505050565b82805461361d90613f20565b90600052602060002090601f01602090048101928261363f5760008555613686565b82601f1061365857805160ff1916838001178555613686565b82800160010185558215613686579182015b8281111561368557825182559160200191906001019061366a565b5b50905061369391906136da565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156136f35760008160009055506001016136db565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6137408161370b565b811461374b57600080fd5b50565b60008135905061375d81613737565b92915050565b60006020828403121561377957613778613701565b5b60006137878482850161374e565b91505092915050565b60008115159050919050565b6137a581613790565b82525050565b60006020820190506137c0600083018461379c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138005780820151818401526020810190506137e5565b8381111561380f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613831826137c6565b61383b81856137d1565b935061384b8185602086016137e2565b61385481613815565b840191505092915050565b600060208201905081810360008301526138798184613826565b905092915050565b6000819050919050565b61389481613881565b811461389f57600080fd5b50565b6000813590506138b18161388b565b92915050565b6000602082840312156138cd576138cc613701565b5b60006138db848285016138a2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061390f826138e4565b9050919050565b61391f81613904565b82525050565b600060208201905061393a6000830184613916565b92915050565b61394981613904565b811461395457600080fd5b50565b60008135905061396681613940565b92915050565b6000806040838503121561398357613982613701565b5b600061399185828601613957565b92505060206139a2858286016138a2565b9150509250929050565b6139b581613881565b82525050565b60006020820190506139d060008301846139ac565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a1882613815565b810181811067ffffffffffffffff82111715613a3757613a366139e0565b5b80604052505050565b6000613a4a6136f7565b9050613a568282613a0f565b919050565b600067ffffffffffffffff821115613a7657613a756139e0565b5b613a7f82613815565b9050602081019050919050565b82818337600083830152505050565b6000613aae613aa984613a5b565b613a40565b905082815260208101848484011115613aca57613ac96139db565b5b613ad5848285613a8c565b509392505050565b600082601f830112613af257613af16139d6565b5b8135613b02848260208601613a9b565b91505092915050565b600060208284031215613b2157613b20613701565b5b600082013567ffffffffffffffff811115613b3f57613b3e613706565b5b613b4b84828501613add565b91505092915050565b613b5d81613790565b8114613b6857600080fd5b50565b600081359050613b7a81613b54565b92915050565b600060208284031215613b9657613b95613701565b5b6000613ba484828501613b6b565b91505092915050565b600080600060608486031215613bc657613bc5613701565b5b6000613bd486828701613957565b9350506020613be586828701613957565b9250506040613bf6868287016138a2565b9150509250925092565b600060208284031215613c1657613c15613701565b5b6000613c2484828501613957565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613c6281613881565b82525050565b6000613c748383613c59565b60208301905092915050565b6000602082019050919050565b6000613c9882613c2d565b613ca28185613c38565b9350613cad83613c49565b8060005b83811015613cde578151613cc58882613c68565b9750613cd083613c80565b925050600181019050613cb1565b5085935050505092915050565b60006020820190508181036000830152613d058184613c8d565b905092915050565b60008060408385031215613d2457613d23613701565b5b6000613d3285828601613957565b9250506020613d4385828601613b6b565b9150509250929050565b600067ffffffffffffffff821115613d6857613d676139e0565b5b613d7182613815565b9050602081019050919050565b6000613d91613d8c84613d4d565b613a40565b905082815260208101848484011115613dad57613dac6139db565b5b613db8848285613a8c565b509392505050565b600082601f830112613dd557613dd46139d6565b5b8135613de5848260208601613d7e565b91505092915050565b60008060008060808587031215613e0857613e07613701565b5b6000613e1687828801613957565b9450506020613e2787828801613957565b9350506040613e38878288016138a2565b925050606085013567ffffffffffffffff811115613e5957613e58613706565b5b613e6587828801613dc0565b91505092959194509250565b60008060408385031215613e8857613e87613701565b5b6000613e9685828601613957565b9250506020613ea785828601613957565b9150509250929050565b60008060408385031215613ec857613ec7613701565b5b6000613ed6858286016138a2565b9250506020613ee785828601613957565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613f3857607f821691505b60208210811415613f4c57613f4b613ef1565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f886020836137d1565b9150613f9382613f52565b602082019050919050565b60006020820190508181036000830152613fb781613f7b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613ff882613881565b915061400383613881565b92508282101561401657614015613fbe565b5b828203905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614057601f836137d1565b915061406282614021565b602082019050919050565b600060208201905081810360008301526140868161404a565b9050919050565b600081905092915050565b50565b60006140a860008361408d565b91506140b382614098565b600082019050919050565b60006140c98261409b565b9150819050919050565b7f5769746864726177206661696c65642100000000000000000000000000000000600082015250565b60006141096010836137d1565b9150614114826140d3565b602082019050919050565b60006020820190508181036000830152614138816140fc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061417982613881565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156141ac576141ab613fbe565b5b600182019050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006141ed6014836137d1565b91506141f8826141b7565b602082019050919050565b6000602082019050818103600083015261421c816141e0565b9050919050565b600061422e82613881565b915061423983613881565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561426e5761426d613fbe565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006142af6014836137d1565b91506142ba82614279565b602082019050919050565b600060208201905081810360008301526142de816142a2565b9050919050565b7f444759433a2046726565206d696e74207068617365206e6f74206f70656e207960008201527f6574210000000000000000000000000000000000000000000000000000000000602082015250565b60006143416023836137d1565b915061434c826142e5565b604082019050919050565b6000602082019050818103600083015261437081614334565b9050919050565b7f444759433a2045786365656473206d61782066726565206d696e74207375707060008201527f6c79210000000000000000000000000000000000000000000000000000000000602082015250565b60006143d36023836137d1565b91506143de82614377565b604082019050919050565b60006020820190508181036000830152614402816143c6565b9050919050565b7f444759433a2045786365656473206d61782066726565206d696e74207065722060008201527f77616c6c65742100000000000000000000000000000000000000000000000000602082015250565b60006144656027836137d1565b915061447082614409565b604082019050919050565b6000602082019050818103600083015261449481614458565b9050919050565b60006144a682613881565b91506144b183613881565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144ea576144e9613fbe565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b600061452b6013836137d1565b9150614536826144f5565b602082019050919050565b6000602082019050818103600083015261455a8161451e565b9050919050565b7f444759433a2045786365656473206d6178206d696e74207065722077616c6c6560008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006145bd6022836137d1565b91506145c882614561565b604082019050919050565b600060208201905081810360008301526145ec816145b0565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006146296017836137d1565b9150614634826145f3565b602082019050919050565b600060208201905081810360008301526146588161461c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006146bb602f836137d1565b91506146c68261465f565b604082019050919050565b600060208201905081810360008301526146ea816146ae565b9050919050565b600081905092915050565b6000614707826137c6565b61471181856146f1565b93506147218185602086016137e2565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461474f81613f20565b61475981866146f1565b945060018216600081146147745760018114614785576147b8565b60ff198316865281860193506147b8565b61478e8561472d565b60005b838110156147b057815481890152600182019150602081019050614791565b838801955050505b50505092915050565b60006147cd82866146fc565b91506147d982856146fc565b91506147e58284614742565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061484e6026836137d1565b9150614859826147f2565b604082019050919050565b6000602082019050818103600083015261487d81614841565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006148ab82614884565b6148b5818561488f565b93506148c58185602086016137e2565b6148ce81613815565b840191505092915050565b60006080820190506148ee6000830187613916565b6148fb6020830186613916565b61490860408301856139ac565b818103606083015261491a81846148a0565b905095945050505050565b60008151905061493481613737565b92915050565b6000602082840312156149505761494f613701565b5b600061495e84828501614925565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006149a182613881565b91506149ac83613881565b9250826149bc576149bb614967565b5b828204905092915050565b60006149d282613881565b91506149dd83613881565b9250826149ed576149ec614967565b5b82820690509291505056fea264697066735822122033cee2b9816b724daa31ea1947c8d29d9fbc274d17d8dd14aedc21bca1ccdffd64736f6c63430008090033

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.