ETH Price: $1,868.11 (-4.86%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw213964072024-12-13 21:54:35441 days ago1734126875IN
0x01CA5EaC...830C8f10c
0 ETH0.0004135513.62406186
Transfer From135922662021-11-11 2:22:551570 days ago1636597375IN
0x01CA5EaC...830C8f10c
0 ETH0.0089227492.21241095
Transfer From135795892021-11-09 2:45:031572 days ago1636425903IN
0x01CA5EaC...830C8f10c
0 ETH0.00901737301.70560763
Transfer From135429142021-11-03 8:48:501578 days ago1635929330IN
0x01CA5EaC...830C8f10c
0 ETH0.0121415125.47671046
Reveal135296392021-11-01 6:28:411580 days ago1635748121IN
0x01CA5EaC...830C8f10c
0 ETH0.00534921117.29455644
Transfer From135231082021-10-31 5:57:191581 days ago1635659839IN
0x01CA5EaC...830C8f10c
0 ETH0.01152336119.10336768
Transfer From135114392021-10-29 10:04:381583 days ago1635501878IN
0x01CA5EaC...830C8f10c
0 ETH0.0106428109.98834908
Transfer From134927272021-10-26 11:29:521586 days ago1635247792IN
0x01CA5EaC...830C8f10c
0 ETH0.0089872392.87881847
Transfer From134856782021-10-25 9:01:521587 days ago1635152512IN
0x01CA5EaC...830C8f10c
0 ETH0.0054908256.75209692
Set Cost134802772021-10-24 12:44:361588 days ago1635079476IN
0x01CA5EaC...830C8f10c
0 ETH0.0015529554.05524735
Mint134802582021-10-24 12:40:021588 days ago1635079202IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0082446446.1887199
Mint134802542021-10-24 12:39:301588 days ago1635079170IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0090209751.34336033
Set Approval For...134797442021-10-24 10:51:351588 days ago1635072695IN
0x01CA5EaC...830C8f10c
0 ETH0.002389451.6727691
Mint134796972021-10-24 10:41:571588 days ago1635072117IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0062504935.01700132
Mint134796852021-10-24 10:40:271588 days ago1635072027IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0090679150.80092734
Mint134796732021-10-24 10:37:241588 days ago1635071844IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0098660856.15330938
Mint134793692021-10-24 9:25:291588 days ago1635067529IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0074108741.51772625
Mint134793622021-10-24 9:24:051588 days ago1635067445IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0094463952.92130083
Mint134793602021-10-24 9:23:331588 days ago1635067413IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0080719445.2212166
Mint134793582021-10-24 9:22:381588 days ago1635067358IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0076702842.97103965
Mint134793472021-10-24 9:20:171588 days ago1635067217IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0080767845.96944538
Mint134789982021-10-24 8:02:061588 days ago1635062526IN
0x01CA5EaC...830C8f10c
0.075 ETH0.0089817251.11996192
Mint134789392021-10-24 7:49:551588 days ago1635061795IN
0x01CA5EaC...830C8f10c
0.005 ETH0.009481453.96389698
Mint134788292021-10-24 7:23:051588 days ago1635060185IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0085815848.84251352
Mint134787282021-10-24 6:59:211588 days ago1635058761IN
0x01CA5EaC...830C8f10c
0.005 ETH0.0076848643.66427403
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer213964072024-12-13 21:54:35441 days ago1734126875
0x01CA5EaC...830C8f10c
0.0965 ETH
-134802582021-10-24 12:40:021588 days ago1635079202
0x01CA5EaC...830C8f10c
0.0005 ETH
-134802582021-10-24 12:40:021588 days ago1635079202
0x01CA5EaC...830C8f10c
0.004 ETH
-134802542021-10-24 12:39:301588 days ago1635079170
0x01CA5EaC...830C8f10c
0.0005 ETH
-134802542021-10-24 12:39:301588 days ago1635079170
0x01CA5EaC...830C8f10c
0.004 ETH
-134796972021-10-24 10:41:571588 days ago1635072117
0x01CA5EaC...830C8f10c
0.0005 ETH
-134796972021-10-24 10:41:571588 days ago1635072117
0x01CA5EaC...830C8f10c
0.004 ETH
-134796852021-10-24 10:40:271588 days ago1635072027
0x01CA5EaC...830C8f10c
0.0005 ETH
-134796852021-10-24 10:40:271588 days ago1635072027
0x01CA5EaC...830C8f10c
0.004 ETH
-134796732021-10-24 10:37:241588 days ago1635071844
0x01CA5EaC...830C8f10c
0.0005 ETH
-134796732021-10-24 10:37:241588 days ago1635071844
0x01CA5EaC...830C8f10c
0.004 ETH
-134793692021-10-24 9:25:291588 days ago1635067529
0x01CA5EaC...830C8f10c
0.0005 ETH
-134793692021-10-24 9:25:291588 days ago1635067529
0x01CA5EaC...830C8f10c
0.004 ETH
-134793622021-10-24 9:24:051588 days ago1635067445
0x01CA5EaC...830C8f10c
0.0005 ETH
-134793622021-10-24 9:24:051588 days ago1635067445
0x01CA5EaC...830C8f10c
0.004 ETH
-134793602021-10-24 9:23:331588 days ago1635067413
0x01CA5EaC...830C8f10c
0.0005 ETH
-134793602021-10-24 9:23:331588 days ago1635067413
0x01CA5EaC...830C8f10c
0.004 ETH
-134793582021-10-24 9:22:381588 days ago1635067358
0x01CA5EaC...830C8f10c
0.0005 ETH
-134793582021-10-24 9:22:381588 days ago1635067358
0x01CA5EaC...830C8f10c
0.004 ETH
-134793472021-10-24 9:20:171588 days ago1635067217
0x01CA5EaC...830C8f10c
0.0005 ETH
-134793472021-10-24 9:20:171588 days ago1635067217
0x01CA5EaC...830C8f10c
0.004 ETH
-134789982021-10-24 8:02:061588 days ago1635062526
0x01CA5EaC...830C8f10c
0.0075 ETH
-134789982021-10-24 8:02:061588 days ago1635062526
0x01CA5EaC...830C8f10c
0.06 ETH
-134789392021-10-24 7:49:551588 days ago1635061795
0x01CA5EaC...830C8f10c
0.0005 ETH
-134789392021-10-24 7:49:551588 days ago1635061795
0x01CA5EaC...830C8f10c
0.004 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PLATD

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-10-17
*/

/**
 *Submitted for verification at Etherscan.io on 2021-10-09
*/

// SPDX-License-Identifier: MIT

/**
    !Disclaimer!
    
    Please be aware that this smart contract is part of an experiment to
    see how the blockchain can handle this kind of logic. 
    
    You acknowledge what the code presented is in a test phase and the
    funds in it will be seen as donations to participate and the rewards
    are seen as a gift for saying thank you. We are here to learn and
    teach how to evolve smart contracts and the best way to do so is by
    trying new things out. If you live in a country that prohibits you
    from participating in this kind of experiment, then please refrain
    from doing so. Make sure you fully understand the code and what the
    logic does before interacting with it.
    
    We are not financial advisors. The content on this website is for entertainment
    purposes only and merely cite our
    own personal opinions. In order to make the best financial decision
    that suits your own needs, you must conduct your own research and
    seek the advice of a licensed financial advisor if necessary.
*/

// File: @openzeppelin/contracts/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/token/ERC721/IERC721.sol
pragma solidity ^0.8.0;
/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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


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

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

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


// File: @openzeppelin/contracts/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/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/Address.sol



pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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



pragma solidity ^0.8.0;


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

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

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

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



pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/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/token/ERC721/ERC721.sol
pragma solidity ^0.8.0;
/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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



pragma solidity ^0.8.0;



/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}


// File: @openzeppelin/contracts/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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

pragma solidity >=0.7.0 <0.9.0;

contract PLATD is ERC721Enumerable, Ownable {
  using Strings for uint256;

  string baseURI;
  string public baseExtension = ".json";
  uint256 public cost = 0.075 ether;
  uint256 public maxSupply = 3333;
  uint256 public headStart = block.timestamp + 45 days;
  bool public paused = false;
  bool public revealed = false;
  string public notRevealedUri;
  address payable commissions = payable(0xBD4E4D9d4d3a8fFA7405dC584677193fd798756F);
 
  
  constructor(
    string memory _initBaseURI,
    string memory _initNotRevealedUri
  ) ERC721("Platinum Diamonds", "PLATD") {
    setBaseURI(_initBaseURI);
    setNotRevealedURI(_initNotRevealedUri);
  }

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

  // public
  function mint() public payable {
    uint256 supply = totalSupply();
    require(!paused, "Contract is paused!");
    require(supply + 1 <= maxSupply, "Max supply reached!");
    require(msg.sender != owner(), "Owner can not mint!");
    require(msg.value >= cost, "Not enough funds!");
    address payable giftAddress = payable(msg.sender);
    uint256 giftValue;
    
    if(supply > 0) {
        giftAddress = payable(ownerOf(randomNum(supply, block.timestamp, supply + 1) + 1));
        giftValue = supply + 1 == maxSupply ? address(this).balance * 50 / 100 : msg.value * 10 / 100;
    }
    
    _safeMint(msg.sender, supply + 1);
    
    if(supply > 0) {
        (bool success, ) = payable(commissions).call{value: msg.value * 80 / 100}("");
        require(success, "Problem with commissions");
    }
    
    if(supply > 0) {
        (bool success, ) = payable(giftAddress).call{value: giftValue}("");
        require(success, "Could not send value!");
    }
    
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }
  
  function randomNum(uint256 _mod, uint256 _seed, uint256 _salt) public view returns(uint256) {
      uint256 num = uint256(keccak256(abi.encodePacked(block.timestamp, msg.sender, _seed, _salt))) % _mod;
      return num;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    
    if(revealed == false) {
        return notRevealedUri;
    }

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

  //only owner
  function reveal() public onlyOwner() {
      revealed = true;
  }
  
  function setCost(uint256 _newCost) public onlyOwner() {
    cost = _newCost;
  }

  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }

  function setBaseExtension(string memory _newBaseExtension) public onlyOwner {
    baseExtension = _newBaseExtension;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
  
  function withdraw() public payable onlyOwner {
    (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
    require(success);
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"headStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mod","type":"uint256"},{"internalType":"uint256","name":"_seed","type":"uint256"},{"internalType":"uint256","name":"_salt","type":"uint256"}],"name":"randomNum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60c06040526005608081905264173539b7b760d91b60a09081526200002891600c91906200026e565b5067010a741a46278000600d55610d05600e556200004a42623b538062000435565b600f556010805461ffff19169055601280546001600160a01b03191673bd4e4d9d4d3a8ffa7405dc584677193fd798756f1790553480156200008b57600080fd5b5060405162002ba538038062002ba5833981016040819052620000ae91620003cb565b6040805180820182526011815270506c6174696e756d204469616d6f6e647360781b602080830191825283518085019094526005845264141310551160da1b90840152815191929162000104916000916200026e565b5080516200011a9060019060208401906200026e565b50505062000137620001316200015560201b60201c565b62000159565b6200014282620001ab565b6200014d8162000213565b5050620004af565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001fa5760405162461bcd60e51b8152602060048201819052602482015260008051602062002b8583398151915260448201526064015b60405180910390fd5b80516200020f90600b9060208401906200026e565b5050565b600a546001600160a01b031633146200025e5760405162461bcd60e51b8152602060048201819052602482015260008051602062002b858339815191526044820152606401620001f1565b80516200020f9060119060208401905b8280546200027c906200045c565b90600052602060002090601f016020900481019282620002a05760008555620002eb565b82601f10620002bb57805160ff1916838001178555620002eb565b82800160010185558215620002eb579182015b82811115620002eb578251825591602001919060010190620002ce565b50620002f9929150620002fd565b5090565b5b80821115620002f95760008155600101620002fe565b600082601f8301126200032657600080fd5b81516001600160401b038082111562000343576200034362000499565b604051601f8301601f19908116603f011681019082821181831017156200036e576200036e62000499565b816040528381526020925086838588010111156200038b57600080fd5b600091505b83821015620003af578582018301518183018401529082019062000390565b83821115620003c15760008385830101525b9695505050505050565b60008060408385031215620003df57600080fd5b82516001600160401b0380821115620003f757600080fd5b620004058683870162000314565b935060208501519150808211156200041c57600080fd5b506200042b8582860162000314565b9150509250929050565b600082198211156200045757634e487b7160e01b600052601160045260246000fd5b500190565b600181811c908216806200047157607f821691505b602082108114156200049357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6126c680620004bf6000396000f3fe60806040526004361061020f5760003560e01c806355f804b311610118578063b88d4fde116100a0578063da3ef23f1161006f578063da3ef23f146105b1578063e985e9c5146105d1578063f2c4ce1e1461061a578063f2fde38b1461063a578063f55974ca1461065a57600080fd5b8063b88d4fde14610546578063c668286214610566578063c87b56dd1461057b578063d5abeb011461059b57600080fd5b8063715018a6116100e7578063715018a6146104c95780638da5cb5b146104de57806395d89b41146104fc578063a22cb46514610511578063a475b5dd1461053157600080fd5b806355f804b31461044f5780635c975abb1461046f5780636352211e1461048957806370a08231146104a957600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103a3578063438b6300146103c357806344a0d68a146103f05780634f6ccce714610410578063518302271461043057600080fd5b806323b872dd1461033b578063282946401461035b5780632f745c591461037b5780633ccfd60b1461039b57600080fd5b8063081c8c44116101e2578063081c8c44146102c5578063095ea7b3146102da5780631249c58b146102fa57806313faede61461030257806318160ddd1461032657600080fd5b806301ffc9a71461021457806302329a291461024957806306fdde031461026b578063081812fc1461028d575b600080fd5b34801561022057600080fd5b5061023461022f3660046121f0565b610670565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b506102696102643660046121d5565b61069b565b005b34801561027757600080fd5b506102806106e1565b6040516102409190612429565b34801561029957600080fd5b506102ad6102a8366004612273565b610773565b6040516001600160a01b039091168152602001610240565b3480156102d157600080fd5b50610280610808565b3480156102e657600080fd5b506102696102f53660046121ab565b610896565b6102696109ac565b34801561030e57600080fd5b50610318600d5481565b604051908152602001610240565b34801561033257600080fd5b50600854610318565b34801561034757600080fd5b506102696103563660046120c9565b610cda565b34801561036757600080fd5b5061031861037636600461228c565b610d0b565b34801561038757600080fd5b506103186103963660046121ab565b610d73565b610269610e09565b3480156103af57600080fd5b506102696103be3660046120c9565b610e8b565b3480156103cf57600080fd5b506103e36103de36600461207b565b610ea6565b60405161024091906123e5565b3480156103fc57600080fd5b5061026961040b366004612273565b610f48565b34801561041c57600080fd5b5061031861042b366004612273565b610f77565b34801561043c57600080fd5b5060105461023490610100900460ff1681565b34801561045b57600080fd5b5061026961046a36600461222a565b61100a565b34801561047b57600080fd5b506010546102349060ff1681565b34801561049557600080fd5b506102ad6104a4366004612273565b61104b565b3480156104b557600080fd5b506103186104c436600461207b565b6110c2565b3480156104d557600080fd5b50610269611149565b3480156104ea57600080fd5b50600a546001600160a01b03166102ad565b34801561050857600080fd5b5061028061117f565b34801561051d57600080fd5b5061026961052c366004612181565b61118e565b34801561053d57600080fd5b50610269611253565b34801561055257600080fd5b50610269610561366004612105565b61128e565b34801561057257600080fd5b506102806112c0565b34801561058757600080fd5b50610280610596366004612273565b6112cd565b3480156105a757600080fd5b50610318600e5481565b3480156105bd57600080fd5b506102696105cc36600461222a565b61144c565b3480156105dd57600080fd5b506102346105ec366004612096565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062657600080fd5b5061026961063536600461222a565b611489565b34801561064657600080fd5b5061026961065536600461207b565b6114c6565b34801561066657600080fd5b50610318600f5481565b60006001600160e01b0319821663780e9d6360e01b148061069557506106958261155e565b92915050565b600a546001600160a01b031633146106ce5760405162461bcd60e51b81526004016106c59061248e565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546106f0906125a2565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906125a2565b80156107695780601f1061073e57610100808354040283529160200191610769565b820191906000526020600020905b81548152906001019060200180831161074c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ec5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c5565b506000908152600460205260409020546001600160a01b031690565b60118054610815906125a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610841906125a2565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b505050505081565b60006108a18261104b565b9050806001600160a01b0316836001600160a01b0316141561090f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106c5565b336001600160a01b038216148061092b575061092b81336105ec565b61099d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c5565b6109a783836115ae565b505050565b60006109b760085490565b60105490915060ff1615610a035760405162461bcd60e51b8152602060048201526013602482015272436f6e7472616374206973207061757365642160681b60448201526064016106c5565b600e54610a11826001612514565b1115610a555760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c7920726561636865642160681b60448201526064016106c5565b600a546001600160a01b0316331415610aa65760405162461bcd60e51b81526020600482015260136024820152724f776e65722063616e206e6f74206d696e742160681b60448201526064016106c5565b600d54341015610aec5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f7567682066756e64732160781b60448201526064016106c5565b3360008215610b5f57610b13610b088442610376826001612514565b6104a4906001612514565b600e54909250610b24846001612514565b14610b45576064610b3634600a612540565b610b40919061252c565b610b5c565b6064610b52476032612540565b610b5c919061252c565b90505b610b7333610b6e856001612514565b61161c565b8215610c33576012546000906001600160a01b03166064610b95346050612540565b610b9f919061252c565b604051600081818185875af1925050503d8060008114610bdb576040519150601f19603f3d011682016040523d82523d6000602084013e610be0565b606091505b5050905080610c315760405162461bcd60e51b815260206004820152601860248201527f50726f626c656d207769746820636f6d6d697373696f6e73000000000000000060448201526064016106c5565b505b82156109a7576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610c86576040519150601f19603f3d011682016040523d82523d6000602084013e610c8b565b606091505b5050905080610cd45760405162461bcd60e51b8152602060048201526015602482015274436f756c64206e6f742073656e642076616c75652160581b60448201526064016106c5565b50505050565b610ce43382611636565b610d005760405162461bcd60e51b81526004016106c5906124c3565b6109a783838361172d565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810183905260748101829052600090819085906094016040516020818303038152906040528051906020012060001c610d6a91906125f8565b95945050505050565b6000610d7e836110c2565b8210610de05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610e335760405162461bcd60e51b81526004016106c59061248e565b604051600090339047908381818185875af1925050503d8060008114610e75576040519150601f19603f3d011682016040523d82523d6000602084013e610e7a565b606091505b5050905080610e8857600080fd5b50565b6109a78383836040518060200160405280600081525061128e565b60606000610eb3836110c2565b905060008167ffffffffffffffff811115610ed057610ed0612664565b604051908082528060200260200182016040528015610ef9578160200160208202803683370190505b50905060005b82811015610f4057610f118582610d73565b828281518110610f2357610f2361264e565b602090810291909101015280610f38816125dd565b915050610eff565b509392505050565b600a546001600160a01b03163314610f725760405162461bcd60e51b81526004016106c59061248e565b600d55565b6000610f8260085490565b8210610fe55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c5565b60088281548110610ff857610ff861264e565b90600052602060002001549050919050565b600a546001600160a01b031633146110345760405162461bcd60e51b81526004016106c59061248e565b805161104790600b906020840190611f40565b5050565b6000818152600260205260408120546001600160a01b0316806106955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106c5565b60006001600160a01b03821661112d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106c5565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111735760405162461bcd60e51b81526004016106c59061248e565b61117d60006118d8565b565b6060600180546106f0906125a2565b6001600160a01b0382163314156111e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461127d5760405162461bcd60e51b81526004016106c59061248e565b6010805461ff001916610100179055565b6112983383611636565b6112b45760405162461bcd60e51b81526004016106c5906124c3565b610cd48484848461192a565b600c8054610815906125a2565b6000818152600260205260409020546060906001600160a01b031661134c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c5565b601054610100900460ff166113ed5760118054611368906125a2565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906125a2565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b50505050509050919050565b60006113f761195d565b905060008151116114175760405180602001604052806000815250611445565b806114218461196c565b600c604051602001611435939291906122e4565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114765760405162461bcd60e51b81526004016106c59061248e565b805161104790600c906020840190611f40565b600a546001600160a01b031633146114b35760405162461bcd60e51b81526004016106c59061248e565b8051611047906011906020840190611f40565b600a546001600160a01b031633146114f05760405162461bcd60e51b81526004016106c59061248e565b6001600160a01b0381166115555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c5565b610e88816118d8565b60006001600160e01b031982166380ac58cd60e01b148061158f57506001600160e01b03198216635b5e139f60e01b145b8061069557506301ffc9a760e01b6001600160e01b0319831614610695565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115e38261104b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611047828260405180602001604052806000815250611a6a565b6000818152600260205260408120546001600160a01b03166116af5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c5565b60006116ba8361104b565b9050806001600160a01b0316846001600160a01b031614806116f55750836001600160a01b03166116ea84610773565b6001600160a01b0316145b8061172557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117408261104b565b6001600160a01b0316146117a85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106c5565b6001600160a01b03821661180a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c5565b611815838383611a9d565b6118206000826115ae565b6001600160a01b038316600090815260036020526040812080546001929061184990849061255f565b90915550506001600160a01b0382166000908152600360205260408120805460019290611877908490612514565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61193584848461172d565b61194184848484611b55565b610cd45760405162461bcd60e51b81526004016106c59061243c565b6060600b80546106f0906125a2565b6060816119905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119ba57806119a4816125dd565b91506119b39050600a8361252c565b9150611994565b60008167ffffffffffffffff8111156119d5576119d5612664565b6040519080825280601f01601f1916602001820160405280156119ff576020820181803683370190505b5090505b841561172557611a1460018361255f565b9150611a21600a866125f8565b611a2c906030612514565b60f81b818381518110611a4157611a4161264e565b60200101906001600160f81b031916908160001a905350611a63600a8661252c565b9450611a03565b611a748383611c62565b611a816000848484611b55565b6109a75760405162461bcd60e51b81526004016106c59061243c565b6001600160a01b038316611af857611af381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611b1b565b816001600160a01b0316836001600160a01b031614611b1b57611b1b8382611db0565b6001600160a01b038216611b32576109a781611e4d565b826001600160a01b0316826001600160a01b0316146109a7576109a78282611efc565b60006001600160a01b0384163b15611c5757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b999033908990889088906004016123a8565b602060405180830381600087803b158015611bb357600080fd5b505af1925050508015611be3575060408051601f3d908101601f19168201909252611be09181019061220d565b60015b611c3d573d808015611c11576040519150601f19603f3d011682016040523d82523d6000602084013e611c16565b606091505b508051611c355760405162461bcd60e51b81526004016106c59061243c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611725565b506001949350505050565b6001600160a01b038216611cb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c5565b6000818152600260205260409020546001600160a01b031615611d1d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c5565b611d2960008383611a9d565b6001600160a01b0382166000908152600360205260408120805460019290611d52908490612514565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611dbd846110c2565b611dc7919061255f565b600083815260076020526040902054909150808214611e1a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e5f9060019061255f565b60008381526009602052604081205460088054939450909284908110611e8757611e8761264e565b906000526020600020015490508060088381548110611ea857611ea861264e565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ee057611ee0612638565b6001900381819060005260206000200160009055905550505050565b6000611f07836110c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611f4c906125a2565b90600052602060002090601f016020900481019282611f6e5760008555611fb4565b82601f10611f8757805160ff1916838001178555611fb4565b82800160010185558215611fb4579182015b82811115611fb4578251825591602001919060010190611f99565b50611fc0929150611fc4565b5090565b5b80821115611fc05760008155600101611fc5565b600067ffffffffffffffff80841115611ff457611ff4612664565b604051601f8501601f19908116603f0116810190828211818310171561201c5761201c612664565b8160405280935085815286868601111561203557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461206657600080fd5b919050565b8035801515811461206657600080fd5b60006020828403121561208d57600080fd5b6114458261204f565b600080604083850312156120a957600080fd5b6120b28361204f565b91506120c06020840161204f565b90509250929050565b6000806000606084860312156120de57600080fd5b6120e78461204f565b92506120f56020850161204f565b9150604084013590509250925092565b6000806000806080858703121561211b57600080fd5b6121248561204f565b93506121326020860161204f565b925060408501359150606085013567ffffffffffffffff81111561215557600080fd5b8501601f8101871361216657600080fd5b61217587823560208401611fd9565b91505092959194509250565b6000806040838503121561219457600080fd5b61219d8361204f565b91506120c06020840161206b565b600080604083850312156121be57600080fd5b6121c78361204f565b946020939093013593505050565b6000602082840312156121e757600080fd5b6114458261206b565b60006020828403121561220257600080fd5b81356114458161267a565b60006020828403121561221f57600080fd5b81516114458161267a565b60006020828403121561223c57600080fd5b813567ffffffffffffffff81111561225357600080fd5b8201601f8101841361226457600080fd5b61172584823560208401611fd9565b60006020828403121561228557600080fd5b5035919050565b6000806000606084860312156122a157600080fd5b505081359360208301359350604090920135919050565b600081518084526122d0816020860160208601612576565b601f01601f19169290920160200192915050565b6000845160206122f78285838a01612576565b85519184019161230a8184848a01612576565b8554920191600090600181811c908083168061232757607f831692505b85831081141561234557634e487b7160e01b85526022600452602485fd5b808015612359576001811461236a57612397565b60ff19851688528388019550612397565b60008b81526020902060005b8581101561238f5781548a820152908401908801612376565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123db908301846122b8565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561241d57835183529284019291840191600101612401565b50909695505050505050565b60208152600061144560208301846122b8565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125275761252761260c565b500190565b60008261253b5761253b612622565b500490565b600081600019048311821515161561255a5761255a61260c565b500290565b6000828210156125715761257161260c565b500390565b60005b83811015612591578181015183820152602001612579565b83811115610cd45750506000910152565b600181811c908216806125b657607f821691505b602082108114156125d757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125f1576125f161260c565b5060010190565b60008261260757612607612622565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e8857600080fdfea2646970667358221220d280a92b896c401bea205911ec984cd526ab642ca930ad19e2819f4c880f7bc564736f6c634300080700334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f706c6174696e756d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f70726572657665616c2f00000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806355f804b311610118578063b88d4fde116100a0578063da3ef23f1161006f578063da3ef23f146105b1578063e985e9c5146105d1578063f2c4ce1e1461061a578063f2fde38b1461063a578063f55974ca1461065a57600080fd5b8063b88d4fde14610546578063c668286214610566578063c87b56dd1461057b578063d5abeb011461059b57600080fd5b8063715018a6116100e7578063715018a6146104c95780638da5cb5b146104de57806395d89b41146104fc578063a22cb46514610511578063a475b5dd1461053157600080fd5b806355f804b31461044f5780635c975abb1461046f5780636352211e1461048957806370a08231146104a957600080fd5b806323b872dd1161019b57806342842e0e1161016a57806342842e0e146103a3578063438b6300146103c357806344a0d68a146103f05780634f6ccce714610410578063518302271461043057600080fd5b806323b872dd1461033b578063282946401461035b5780632f745c591461037b5780633ccfd60b1461039b57600080fd5b8063081c8c44116101e2578063081c8c44146102c5578063095ea7b3146102da5780631249c58b146102fa57806313faede61461030257806318160ddd1461032657600080fd5b806301ffc9a71461021457806302329a291461024957806306fdde031461026b578063081812fc1461028d575b600080fd5b34801561022057600080fd5b5061023461022f3660046121f0565b610670565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b506102696102643660046121d5565b61069b565b005b34801561027757600080fd5b506102806106e1565b6040516102409190612429565b34801561029957600080fd5b506102ad6102a8366004612273565b610773565b6040516001600160a01b039091168152602001610240565b3480156102d157600080fd5b50610280610808565b3480156102e657600080fd5b506102696102f53660046121ab565b610896565b6102696109ac565b34801561030e57600080fd5b50610318600d5481565b604051908152602001610240565b34801561033257600080fd5b50600854610318565b34801561034757600080fd5b506102696103563660046120c9565b610cda565b34801561036757600080fd5b5061031861037636600461228c565b610d0b565b34801561038757600080fd5b506103186103963660046121ab565b610d73565b610269610e09565b3480156103af57600080fd5b506102696103be3660046120c9565b610e8b565b3480156103cf57600080fd5b506103e36103de36600461207b565b610ea6565b60405161024091906123e5565b3480156103fc57600080fd5b5061026961040b366004612273565b610f48565b34801561041c57600080fd5b5061031861042b366004612273565b610f77565b34801561043c57600080fd5b5060105461023490610100900460ff1681565b34801561045b57600080fd5b5061026961046a36600461222a565b61100a565b34801561047b57600080fd5b506010546102349060ff1681565b34801561049557600080fd5b506102ad6104a4366004612273565b61104b565b3480156104b557600080fd5b506103186104c436600461207b565b6110c2565b3480156104d557600080fd5b50610269611149565b3480156104ea57600080fd5b50600a546001600160a01b03166102ad565b34801561050857600080fd5b5061028061117f565b34801561051d57600080fd5b5061026961052c366004612181565b61118e565b34801561053d57600080fd5b50610269611253565b34801561055257600080fd5b50610269610561366004612105565b61128e565b34801561057257600080fd5b506102806112c0565b34801561058757600080fd5b50610280610596366004612273565b6112cd565b3480156105a757600080fd5b50610318600e5481565b3480156105bd57600080fd5b506102696105cc36600461222a565b61144c565b3480156105dd57600080fd5b506102346105ec366004612096565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561062657600080fd5b5061026961063536600461222a565b611489565b34801561064657600080fd5b5061026961065536600461207b565b6114c6565b34801561066657600080fd5b50610318600f5481565b60006001600160e01b0319821663780e9d6360e01b148061069557506106958261155e565b92915050565b600a546001600160a01b031633146106ce5760405162461bcd60e51b81526004016106c59061248e565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546106f0906125a2565b80601f016020809104026020016040519081016040528092919081815260200182805461071c906125a2565b80156107695780601f1061073e57610100808354040283529160200191610769565b820191906000526020600020905b81548152906001019060200180831161074c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ec5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c5565b506000908152600460205260409020546001600160a01b031690565b60118054610815906125a2565b80601f0160208091040260200160405190810160405280929190818152602001828054610841906125a2565b801561088e5780601f106108635761010080835404028352916020019161088e565b820191906000526020600020905b81548152906001019060200180831161087157829003601f168201915b505050505081565b60006108a18261104b565b9050806001600160a01b0316836001600160a01b0316141561090f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106c5565b336001600160a01b038216148061092b575061092b81336105ec565b61099d5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106c5565b6109a783836115ae565b505050565b60006109b760085490565b60105490915060ff1615610a035760405162461bcd60e51b8152602060048201526013602482015272436f6e7472616374206973207061757365642160681b60448201526064016106c5565b600e54610a11826001612514565b1115610a555760405162461bcd60e51b81526020600482015260136024820152724d617820737570706c7920726561636865642160681b60448201526064016106c5565b600a546001600160a01b0316331415610aa65760405162461bcd60e51b81526020600482015260136024820152724f776e65722063616e206e6f74206d696e742160681b60448201526064016106c5565b600d54341015610aec5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f7567682066756e64732160781b60448201526064016106c5565b3360008215610b5f57610b13610b088442610376826001612514565b6104a4906001612514565b600e54909250610b24846001612514565b14610b45576064610b3634600a612540565b610b40919061252c565b610b5c565b6064610b52476032612540565b610b5c919061252c565b90505b610b7333610b6e856001612514565b61161c565b8215610c33576012546000906001600160a01b03166064610b95346050612540565b610b9f919061252c565b604051600081818185875af1925050503d8060008114610bdb576040519150601f19603f3d011682016040523d82523d6000602084013e610be0565b606091505b5050905080610c315760405162461bcd60e51b815260206004820152601860248201527f50726f626c656d207769746820636f6d6d697373696f6e73000000000000000060448201526064016106c5565b505b82156109a7576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610c86576040519150601f19603f3d011682016040523d82523d6000602084013e610c8b565b606091505b5050905080610cd45760405162461bcd60e51b8152602060048201526015602482015274436f756c64206e6f742073656e642076616c75652160581b60448201526064016106c5565b50505050565b610ce43382611636565b610d005760405162461bcd60e51b81526004016106c5906124c3565b6109a783838361172d565b604080514260208201526bffffffffffffffffffffffff193360601b16918101919091526054810183905260748101829052600090819085906094016040516020818303038152906040528051906020012060001c610d6a91906125f8565b95945050505050565b6000610d7e836110c2565b8210610de05760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016106c5565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610e335760405162461bcd60e51b81526004016106c59061248e565b604051600090339047908381818185875af1925050503d8060008114610e75576040519150601f19603f3d011682016040523d82523d6000602084013e610e7a565b606091505b5050905080610e8857600080fd5b50565b6109a78383836040518060200160405280600081525061128e565b60606000610eb3836110c2565b905060008167ffffffffffffffff811115610ed057610ed0612664565b604051908082528060200260200182016040528015610ef9578160200160208202803683370190505b50905060005b82811015610f4057610f118582610d73565b828281518110610f2357610f2361264e565b602090810291909101015280610f38816125dd565b915050610eff565b509392505050565b600a546001600160a01b03163314610f725760405162461bcd60e51b81526004016106c59061248e565b600d55565b6000610f8260085490565b8210610fe55760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016106c5565b60088281548110610ff857610ff861264e565b90600052602060002001549050919050565b600a546001600160a01b031633146110345760405162461bcd60e51b81526004016106c59061248e565b805161104790600b906020840190611f40565b5050565b6000818152600260205260408120546001600160a01b0316806106955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106c5565b60006001600160a01b03821661112d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106c5565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146111735760405162461bcd60e51b81526004016106c59061248e565b61117d60006118d8565b565b6060600180546106f0906125a2565b6001600160a01b0382163314156111e75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c5565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b0316331461127d5760405162461bcd60e51b81526004016106c59061248e565b6010805461ff001916610100179055565b6112983383611636565b6112b45760405162461bcd60e51b81526004016106c5906124c3565b610cd48484848461192a565b600c8054610815906125a2565b6000818152600260205260409020546060906001600160a01b031661134c5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106c5565b601054610100900460ff166113ed5760118054611368906125a2565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906125a2565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b50505050509050919050565b60006113f761195d565b905060008151116114175760405180602001604052806000815250611445565b806114218461196c565b600c604051602001611435939291906122e4565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114765760405162461bcd60e51b81526004016106c59061248e565b805161104790600c906020840190611f40565b600a546001600160a01b031633146114b35760405162461bcd60e51b81526004016106c59061248e565b8051611047906011906020840190611f40565b600a546001600160a01b031633146114f05760405162461bcd60e51b81526004016106c59061248e565b6001600160a01b0381166115555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c5565b610e88816118d8565b60006001600160e01b031982166380ac58cd60e01b148061158f57506001600160e01b03198216635b5e139f60e01b145b8061069557506301ffc9a760e01b6001600160e01b0319831614610695565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115e38261104b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611047828260405180602001604052806000815250611a6a565b6000818152600260205260408120546001600160a01b03166116af5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106c5565b60006116ba8361104b565b9050806001600160a01b0316846001600160a01b031614806116f55750836001600160a01b03166116ea84610773565b6001600160a01b0316145b8061172557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117408261104b565b6001600160a01b0316146117a85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106c5565b6001600160a01b03821661180a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106c5565b611815838383611a9d565b6118206000826115ae565b6001600160a01b038316600090815260036020526040812080546001929061184990849061255f565b90915550506001600160a01b0382166000908152600360205260408120805460019290611877908490612514565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61193584848461172d565b61194184848484611b55565b610cd45760405162461bcd60e51b81526004016106c59061243c565b6060600b80546106f0906125a2565b6060816119905750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119ba57806119a4816125dd565b91506119b39050600a8361252c565b9150611994565b60008167ffffffffffffffff8111156119d5576119d5612664565b6040519080825280601f01601f1916602001820160405280156119ff576020820181803683370190505b5090505b841561172557611a1460018361255f565b9150611a21600a866125f8565b611a2c906030612514565b60f81b818381518110611a4157611a4161264e565b60200101906001600160f81b031916908160001a905350611a63600a8661252c565b9450611a03565b611a748383611c62565b611a816000848484611b55565b6109a75760405162461bcd60e51b81526004016106c59061243c565b6001600160a01b038316611af857611af381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611b1b565b816001600160a01b0316836001600160a01b031614611b1b57611b1b8382611db0565b6001600160a01b038216611b32576109a781611e4d565b826001600160a01b0316826001600160a01b0316146109a7576109a78282611efc565b60006001600160a01b0384163b15611c5757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b999033908990889088906004016123a8565b602060405180830381600087803b158015611bb357600080fd5b505af1925050508015611be3575060408051601f3d908101601f19168201909252611be09181019061220d565b60015b611c3d573d808015611c11576040519150601f19603f3d011682016040523d82523d6000602084013e611c16565b606091505b508051611c355760405162461bcd60e51b81526004016106c59061243c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611725565b506001949350505050565b6001600160a01b038216611cb85760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106c5565b6000818152600260205260409020546001600160a01b031615611d1d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106c5565b611d2960008383611a9d565b6001600160a01b0382166000908152600360205260408120805460019290611d52908490612514565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611dbd846110c2565b611dc7919061255f565b600083815260076020526040902054909150808214611e1a576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611e5f9060019061255f565b60008381526009602052604081205460088054939450909284908110611e8757611e8761264e565b906000526020600020015490508060088381548110611ea857611ea861264e565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611ee057611ee0612638565b6001900381819060005260206000200160009055905550505050565b6000611f07836110c2565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054611f4c906125a2565b90600052602060002090601f016020900481019282611f6e5760008555611fb4565b82601f10611f8757805160ff1916838001178555611fb4565b82800160010185558215611fb4579182015b82811115611fb4578251825591602001919060010190611f99565b50611fc0929150611fc4565b5090565b5b80821115611fc05760008155600101611fc5565b600067ffffffffffffffff80841115611ff457611ff4612664565b604051601f8501601f19908116603f0116810190828211818310171561201c5761201c612664565b8160405280935085815286868601111561203557600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461206657600080fd5b919050565b8035801515811461206657600080fd5b60006020828403121561208d57600080fd5b6114458261204f565b600080604083850312156120a957600080fd5b6120b28361204f565b91506120c06020840161204f565b90509250929050565b6000806000606084860312156120de57600080fd5b6120e78461204f565b92506120f56020850161204f565b9150604084013590509250925092565b6000806000806080858703121561211b57600080fd5b6121248561204f565b93506121326020860161204f565b925060408501359150606085013567ffffffffffffffff81111561215557600080fd5b8501601f8101871361216657600080fd5b61217587823560208401611fd9565b91505092959194509250565b6000806040838503121561219457600080fd5b61219d8361204f565b91506120c06020840161206b565b600080604083850312156121be57600080fd5b6121c78361204f565b946020939093013593505050565b6000602082840312156121e757600080fd5b6114458261206b565b60006020828403121561220257600080fd5b81356114458161267a565b60006020828403121561221f57600080fd5b81516114458161267a565b60006020828403121561223c57600080fd5b813567ffffffffffffffff81111561225357600080fd5b8201601f8101841361226457600080fd5b61172584823560208401611fd9565b60006020828403121561228557600080fd5b5035919050565b6000806000606084860312156122a157600080fd5b505081359360208301359350604090920135919050565b600081518084526122d0816020860160208601612576565b601f01601f19169290920160200192915050565b6000845160206122f78285838a01612576565b85519184019161230a8184848a01612576565b8554920191600090600181811c908083168061232757607f831692505b85831081141561234557634e487b7160e01b85526022600452602485fd5b808015612359576001811461236a57612397565b60ff19851688528388019550612397565b60008b81526020902060005b8581101561238f5781548a820152908401908801612376565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123db908301846122b8565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561241d57835183529284019291840191600101612401565b50909695505050505050565b60208152600061144560208301846122b8565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156125275761252761260c565b500190565b60008261253b5761253b612622565b500490565b600081600019048311821515161561255a5761255a61260c565b500290565b6000828210156125715761257161260c565b500390565b60005b83811015612591578181015183820152602001612579565b83811115610cd45750506000910152565b600181811c908216806125b657607f821691505b602082108114156125d757634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125f1576125f161260c565b5060010190565b60008261260757612607612622565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e8857600080fdfea2646970667358221220d280a92b896c401bea205911ec984cd526ab642ca930ad19e2819f4c880f7bc564736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f706c6174696e756d2f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f70726572657665616c2f00000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://files.diamondnfts.co/platinum/
Arg [1] : _initNotRevealedUri (string): https://files.diamondnfts.co/prereveal/

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [3] : 68747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f706c61
Arg [4] : 74696e756d2f0000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [6] : 68747470733a2f2f66696c65732e6469616d6f6e646e6674732e636f2f707265
Arg [7] : 72657665616c2f00000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

44253:3692:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35800:224;;;;;;;;;;-1:-1:-1;35800:224:0;;;;;:::i;:::-;;:::i;:::-;;;8558:14:1;;8551:22;8533:41;;8521:2;8506:18;35800:224:0;;;;;;;;47703:73;;;;;;;;;;-1:-1:-1;47703:73:0;;;;;:::i;:::-;;:::i;:::-;;23692:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25251:221::-;;;;;;;;;;-1:-1:-1;25251:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7219:32:1;;;7201:51;;7189:2;7174:18;25251:221:0;7055:203:1;44590:28:0;;;;;;;;;;;;;:::i;24774:411::-;;;;;;;;;;-1:-1:-1;24774:411:0;;;;;:::i;:::-;;:::i;45067:1002::-;;;:::i;44395:33::-;;;;;;;;;;;;;;;;;;;18255:25:1;;;18243:2;18228:18;44395:33:0;18109:177:1;36440:113:0;;;;;;;;;;-1:-1:-1;36528:10:0;:17;36440:113;;26141:339;;;;;;;;;;-1:-1:-1;26141:339:0;;;;;:::i;:::-;;:::i;46431:226::-;;;;;;;;;;-1:-1:-1;46431:226:0;;;;;:::i;:::-;;:::i;36108:256::-;;;;;;;;;;-1:-1:-1;36108:256:0;;;;;:::i;:::-;;:::i;47784:158::-;;;:::i;26551:185::-;;;;;;;;;;-1:-1:-1;26551:185:0;;;;;:::i;:::-;;:::i;46075:348::-;;;;;;;;;;-1:-1:-1;46075:348:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;47257:82::-;;;;;;;;;;-1:-1:-1;47257:82:0;;;;;:::i;:::-;;:::i;36630:233::-;;;;;;;;;;-1:-1:-1;36630:233:0;;;;;:::i;:::-;;:::i;44557:28::-;;;;;;;;;;-1:-1:-1;44557:28:0;;;;;;;;;;;47471:98;;;;;;;;;;-1:-1:-1;47471:98:0;;;;;:::i;:::-;;:::i;44526:26::-;;;;;;;;;;-1:-1:-1;44526:26:0;;;;;;;;23386:239;;;;;;;;;;-1:-1:-1;23386:239:0;;;;;:::i;:::-;;:::i;23116:208::-;;;;;;;;;;-1:-1:-1;23116:208:0;;;;;:::i;:::-;;:::i;43589:94::-;;;;;;;;;;;;;:::i;42938:87::-;;;;;;;;;;-1:-1:-1;43011:6:0;;-1:-1:-1;;;;;43011:6:0;42938:87;;23861:104;;;;;;;;;;;;;:::i;25544:295::-;;;;;;;;;;-1:-1:-1;25544:295:0;;;;;:::i;:::-;;:::i;47182:67::-;;;;;;;;;;;;;:::i;26807:328::-;;;;;;;;;;-1:-1:-1;26807:328:0;;;;;:::i;:::-;;:::i;44353:37::-;;;;;;;;;;;;;:::i;46663:497::-;;;;;;;;;;-1:-1:-1;46663:497:0;;;;;:::i;:::-;;:::i;44433:31::-;;;;;;;;;;;;;;;;47575:122;;;;;;;;;;-1:-1:-1;47575:122:0;;;;;:::i;:::-;;:::i;25910:164::-;;;;;;;;;;-1:-1:-1;25910:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26031:25:0;;;26007:4;26031:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;25910:164;47345:120;;;;;;;;;;-1:-1:-1;47345:120:0;;;;;:::i;:::-;;:::i;43838:192::-;;;;;;;;;;-1:-1:-1;43838:192:0;;;;;:::i;:::-;;:::i;44469:52::-;;;;;;;;;;;;;;;;35800:224;35902:4;-1:-1:-1;;;;;;35926:50:0;;-1:-1:-1;;;35926:50:0;;:90;;;35980:36;36004:11;35980:23;:36::i;:::-;35919:97;35800:224;-1:-1:-1;;35800:224:0:o;47703:73::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;;;;;;;;;47755:6:::1;:15:::0;;-1:-1:-1;;47755:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;47703:73::o;23692:100::-;23746:13;23779:5;23772:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23692:100;:::o;25251:221::-;25327:7;28734:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28734:16:0;25347:73;;;;-1:-1:-1;;;25347:73:0;;14431:2:1;25347:73:0;;;14413:21:1;14470:2;14450:18;;;14443:30;14509:34;14489:18;;;14482:62;-1:-1:-1;;;14560:18:1;;;14553:42;14612:19;;25347:73:0;14229:408:1;25347:73:0;-1:-1:-1;25440:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25440:24:0;;25251:221::o;44590:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24774:411::-;24855:13;24871:23;24886:7;24871:14;:23::i;:::-;24855:39;;24919:5;-1:-1:-1;;;;;24913:11:0;:2;-1:-1:-1;;;;;24913:11:0;;;24905:57;;;;-1:-1:-1;;;24905:57:0;;16377:2:1;24905:57:0;;;16359:21:1;16416:2;16396:18;;;16389:30;16455:34;16435:18;;;16428:62;-1:-1:-1;;;16506:18:1;;;16499:31;16547:19;;24905:57:0;16175:397:1;24905:57:0;21301:10;-1:-1:-1;;;;;24997:21:0;;;;:62;;-1:-1:-1;25022:37:0;25039:5;21301:10;25910:164;:::i;25022:37::-;24975:168;;;;-1:-1:-1;;;24975:168:0;;12476:2:1;24975:168:0;;;12458:21:1;12515:2;12495:18;;;12488:30;12554:34;12534:18;;;12527:62;12625:26;12605:18;;;12598:54;12669:19;;24975:168:0;12274:420:1;24975:168:0;25156:21;25165:2;25169:7;25156:8;:21::i;:::-;24844:341;24774:411;;:::o;45067:1002::-;45105:14;45122:13;36528:10;:17;;36440:113;45122:13;45151:6;;45105:30;;-1:-1:-1;45151:6:0;;45150:7;45142:39;;;;-1:-1:-1;;;45142:39:0;;10956:2:1;45142:39:0;;;10938:21:1;10995:2;10975:18;;;10968:30;-1:-1:-1;;;11014:18:1;;;11007:49;11073:18;;45142:39:0;10754:343:1;45142:39:0;45210:9;;45196:10;:6;45205:1;45196:10;:::i;:::-;:23;;45188:55;;;;-1:-1:-1;;;45188:55:0;;17197:2:1;45188:55:0;;;17179:21:1;17236:2;17216:18;;;17209:30;-1:-1:-1;;;17255:18:1;;;17248:49;17314:18;;45188:55:0;16995:343:1;45188:55:0;43011:6;;-1:-1:-1;;;;;43011:6:0;45258:10;:21;;45250:53;;;;-1:-1:-1;;;45250:53:0;;13722:2:1;45250:53:0;;;13704:21:1;13761:2;13741:18;;;13734:30;-1:-1:-1;;;13780:18:1;;;13773:49;13839:18;;45250:53:0;13520:343:1;45250:53:0;45331:4;;45318:9;:17;;45310:47;;;;-1:-1:-1;;;45310:47:0;;16031:2:1;45310:47:0;;;16013:21:1;16070:2;16050:18;;;16043:30;-1:-1:-1;;;16089:18:1;;;16082:47;16146:18;;45310:47:0;15829:341:1;45310:47:0;45402:10;45364:27;45453:10;;45450:220;;45498:59;45506:46;45516:6;45524:15;45541:10;45516:6;45550:1;45541:10;:::i;45506:46::-;:50;;45555:1;45506:50;:::i;45498:59::-;45595:9;;45476:82;;-1:-1:-1;45581:10:0;:6;45590:1;45581:10;:::i;:::-;:23;:81;;45659:3;45642:14;:9;45654:2;45642:14;:::i;:::-;:20;;;;:::i;:::-;45581:81;;;45636:3;45607:26;:21;45631:2;45607:26;:::i;:::-;:32;;;;:::i;:::-;45569:93;;45450:220;45682:33;45692:10;45704;:6;45713:1;45704:10;:::i;:::-;45682:9;:33::i;:::-;45731:10;;45728:166;;45781:11;;45755:12;;-1:-1:-1;;;;;45781:11:0;45823:3;45806:14;:9;45818:2;45806:14;:::i;:::-;:20;;;;:::i;:::-;45773:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45754:77;;;45850:7;45842:44;;;;-1:-1:-1;;;45842:44:0;;17958:2:1;45842:44:0;;;17940:21:1;17997:2;17977:18;;;17970:30;18036:26;18016:18;;;18009:54;18080:18;;45842:44:0;17756:348:1;45842:44:0;45743:151;45728:166;45909:10;;45906:152;;45933:12;45959:11;-1:-1:-1;;;;;45951:25:0;45984:9;45951:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45932:66;;;46017:7;46009:41;;;;-1:-1:-1;;;46009:41:0;;9011:2:1;46009:41:0;;;8993:21:1;9050:2;9030:18;;;9023:30;-1:-1:-1;;;9069:18:1;;;9062:51;9130:18;;46009:41:0;8809:345:1;46009:41:0;45921:137;45098:971;;;45067:1002::o;26141:339::-;26336:41;21301:10;26369:7;26336:18;:41::i;:::-;26328:103;;;;-1:-1:-1;;;26328:103:0;;;;;;;:::i;:::-;26444:28;26454:4;26460:2;26464:7;26444:9;:28::i;46431:226::-;46564:59;;;46581:15;46564:59;;;6838:19:1;-1:-1:-1;;46598:10:0;6895:2:1;6891:15;6887:53;6873:12;;;6866:75;;;;6957:12;;;6950:28;;;6994:12;;;6987:28;;;46514:7:0;;;;46628:4;;7031:13:1;;46564:59:0;;;;;;;;;;;;46554:70;;;;;;46546:79;;:86;;;;:::i;:::-;46532:100;46431:226;-1:-1:-1;;;;;46431:226:0:o;36108:256::-;36205:7;36241:23;36258:5;36241:16;:23::i;:::-;36233:5;:31;36225:87;;;;-1:-1:-1;;;36225:87:0;;9361:2:1;36225:87:0;;;9343:21:1;9400:2;9380:18;;;9373:30;9439:34;9419:18;;;9412:62;-1:-1:-1;;;9490:18:1;;;9483:41;9541:19;;36225:87:0;9159:407:1;36225:87:0;-1:-1:-1;;;;;;36330:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;36108:256::o;47784:158::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47855:58:::1;::::0;47837:12:::1;::::0;47863:10:::1;::::0;47887:21:::1;::::0;47837:12;47855:58;47837:12;47855:58;47887:21;47863:10;47855:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47836:77;;;47928:7;47920:16;;;::::0;::::1;;47829:113;47784:158::o:0;26551:185::-;26689:39;26706:4;26712:2;26716:7;26689:39;;;;;;;;;;;;:16;:39::i;46075:348::-;46150:16;46178:23;46204:17;46214:6;46204:9;:17::i;:::-;46178:43;;46228:25;46270:15;46256:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46256:30:0;;46228:58;;46298:9;46293:103;46313:15;46309:1;:19;46293:103;;;46358:30;46378:6;46386:1;46358:19;:30::i;:::-;46344:8;46353:1;46344:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;46330:3;;;;:::i;:::-;;;;46293:103;;;-1:-1:-1;46409:8:0;46075:348;-1:-1:-1;;;46075:348:0:o;47257:82::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47318:4:::1;:15:::0;47257:82::o;36630:233::-;36705:7;36741:30;36528:10;:17;;36440:113;36741:30;36733:5;:38;36725:95;;;;-1:-1:-1;;;36725:95:0;;17545:2:1;36725:95:0;;;17527:21:1;17584:2;17564:18;;;17557:30;17623:34;17603:18;;;17596:62;-1:-1:-1;;;17674:18:1;;;17667:42;17726:19;;36725:95:0;17343:408:1;36725:95:0;36838:10;36849:5;36838:17;;;;;;;;:::i;:::-;;;;;;;;;36831:24;;36630:233;;;:::o;47471:98::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47542:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;47471:98:::0;:::o;23386:239::-;23458:7;23494:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23494:16:0;23529:19;23521:73;;;;-1:-1:-1;;;23521:73:0;;13312:2:1;23521:73:0;;;13294:21:1;13351:2;13331:18;;;13324:30;13390:34;13370:18;;;13363:62;-1:-1:-1;;;13441:18:1;;;13434:39;13490:19;;23521:73:0;13110:405:1;23116:208:0;23188:7;-1:-1:-1;;;;;23216:19:0;;23208:74;;;;-1:-1:-1;;;23208:74:0;;12901:2:1;23208:74:0;;;12883:21:1;12940:2;12920:18;;;12913:30;12979:34;12959:18;;;12952:62;-1:-1:-1;;;13030:18:1;;;13023:40;13080:19;;23208:74:0;12699:406:1;23208:74:0;-1:-1:-1;;;;;;23300:16:0;;;;;:9;:16;;;;;;;23116:208::o;43589:94::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;43654:21:::1;43672:1;43654:9;:21::i;:::-;43589:94::o:0;23861:104::-;23917:13;23950:7;23943:14;;;;;:::i;25544:295::-;-1:-1:-1;;;;;25647:24:0;;21301:10;25647:24;;25639:62;;;;-1:-1:-1;;;25639:62:0;;11709:2:1;25639:62:0;;;11691:21:1;11748:2;11728:18;;;11721:30;11787:27;11767:18;;;11760:55;11832:18;;25639:62:0;11507:349:1;25639:62:0;21301:10;25714:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;25714:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;25714:53:0;;;;;;;;;;25783:48;;8533:41:1;;;25714:42:0;;21301:10;25783:48;;8506:18:1;25783:48:0;;;;;;;25544:295;;:::o;47182:67::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47228:8:::1;:15:::0;;-1:-1:-1;;47228:15:0::1;;;::::0;;47182:67::o;26807:328::-;26982:41;21301:10;27015:7;26982:18;:41::i;:::-;26974:103;;;;-1:-1:-1;;;26974:103:0;;;;;;;:::i;:::-;27088:39;27102:4;27108:2;27112:7;27121:5;27088:13;:39::i;44353:37::-;;;;;;;:::i;46663:497::-;28710:4;28734:16;;;:7;:16;;;;;;46761:13;;-1:-1:-1;;;;;28734:16:0;46786:97;;;;-1:-1:-1;;;46786:97:0;;15615:2:1;46786:97:0;;;15597:21:1;15654:2;15634:18;;;15627:30;15693:34;15673:18;;;15666:62;-1:-1:-1;;;15744:18:1;;;15737:45;15799:19;;46786:97:0;15413:411:1;46786:97:0;46899:8;;;;;;;46896:62;;46936:14;46929:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46663:497;;;:::o;46896:62::-;46966:28;46997:10;:8;:10::i;:::-;46966:41;;47052:1;47027:14;47021:28;:32;:133;;;;;;;;;;;;;;;;;47089:14;47105:18;:7;:16;:18::i;:::-;47125:13;47072:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47021:133;47014:140;46663:497;-1:-1:-1;;;46663:497:0:o;47575:122::-;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47658:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;47345:120::-:0;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;47427:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;43838:192::-:0;43011:6;;-1:-1:-1;;;;;43011:6:0;21301:10;43158:23;43150:68;;;;-1:-1:-1;;;43150:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43927:22:0;::::1;43919:73;;;::::0;-1:-1:-1;;;43919:73:0;;10192:2:1;43919:73:0::1;::::0;::::1;10174:21:1::0;10231:2;10211:18;;;10204:30;10270:34;10250:18;;;10243:62;-1:-1:-1;;;10321:18:1;;;10314:36;10367:19;;43919:73:0::1;9990:402:1::0;43919:73:0::1;44003:19;44013:8;44003:9;:19::i;22747:305::-:0;22849:4;-1:-1:-1;;;;;;22886:40:0;;-1:-1:-1;;;22886:40:0;;:105;;-1:-1:-1;;;;;;;22943:48:0;;-1:-1:-1;;;22943:48:0;22886:105;:158;;;-1:-1:-1;;;;;;;;;;8687:40:0;;;23008:36;8578:157;32627:174;32702:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32702:29:0;-1:-1:-1;;;;;32702:29:0;;;;;;;;:24;;32756:23;32702:24;32756:14;:23::i;:::-;-1:-1:-1;;;;;32747:46:0;;;;;;;;;;;32627:174;;:::o;29629:110::-;29705:26;29715:2;29719:7;29705:26;;;;;;;;;;;;:9;:26::i;28939:348::-;29032:4;28734:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28734:16:0;29049:73;;;;-1:-1:-1;;;29049:73:0;;12063:2:1;29049:73:0;;;12045:21:1;12102:2;12082:18;;;12075:30;12141:34;12121:18;;;12114:62;-1:-1:-1;;;12192:18:1;;;12185:42;12244:19;;29049:73:0;11861:408:1;29049:73:0;29133:13;29149:23;29164:7;29149:14;:23::i;:::-;29133:39;;29202:5;-1:-1:-1;;;;;29191:16:0;:7;-1:-1:-1;;;;;29191:16:0;;:51;;;;29235:7;-1:-1:-1;;;;;29211:31:0;:20;29223:7;29211:11;:20::i;:::-;-1:-1:-1;;;;;29211:31:0;;29191:51;:87;;;-1:-1:-1;;;;;;26031:25:0;;;26007:4;26031:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29246:32;29183:96;28939:348;-1:-1:-1;;;;28939:348:0:o;31931:578::-;32090:4;-1:-1:-1;;;;;32063:31:0;:23;32078:7;32063:14;:23::i;:::-;-1:-1:-1;;;;;32063:31:0;;32055:85;;;;-1:-1:-1;;;32055:85:0;;15205:2:1;32055:85:0;;;15187:21:1;15244:2;15224:18;;;15217:30;15283:34;15263:18;;;15256:62;-1:-1:-1;;;15334:18:1;;;15327:39;15383:19;;32055:85:0;15003:405:1;32055:85:0;-1:-1:-1;;;;;32159:16:0;;32151:65;;;;-1:-1:-1;;;32151:65:0;;11304:2:1;32151:65:0;;;11286:21:1;11343:2;11323:18;;;11316:30;11382:34;11362:18;;;11355:62;-1:-1:-1;;;11433:18:1;;;11426:34;11477:19;;32151:65:0;11102:400:1;32151:65:0;32229:39;32250:4;32256:2;32260:7;32229:20;:39::i;:::-;32333:29;32350:1;32354:7;32333:8;:29::i;:::-;-1:-1:-1;;;;;32375:15:0;;;;;;:9;:15;;;;;:20;;32394:1;;32375:15;:20;;32394:1;;32375:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32406:13:0;;;;;;:9;:13;;;;;:18;;32423:1;;32406:13;:18;;32423:1;;32406:18;:::i;:::-;;;;-1:-1:-1;;32435:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32435:21:0;-1:-1:-1;;;;;32435:21:0;;;;;;;;;32474:27;;32435:16;;32474:27;;;;;;;31931:578;;;:::o;44038:173::-;44113:6;;;-1:-1:-1;;;;;44130:17:0;;;-1:-1:-1;;;;;;44130:17:0;;;;;;;44163:40;;44113:6;;;44130:17;44113:6;;44163:40;;44094:16;;44163:40;44083:128;44038:173;:::o;28017:315::-;28174:28;28184:4;28190:2;28194:7;28174:9;:28::i;:::-;28221:48;28244:4;28250:2;28254:7;28263:5;28221:22;:48::i;:::-;28213:111;;;;-1:-1:-1;;;28213:111:0;;;;;;;:::i;44946:102::-;45006:13;45035:7;45028:14;;;;;:::i;9053:723::-;9109:13;9330:10;9326:53;;-1:-1:-1;;9357:10:0;;;;;;;;;;;;-1:-1:-1;;;9357:10:0;;;;;9053:723::o;9326:53::-;9404:5;9389:12;9445:78;9452:9;;9445:78;;9478:8;;;;:::i;:::-;;-1:-1:-1;9501:10:0;;-1:-1:-1;9509:2:0;9501:10;;:::i;:::-;;;9445:78;;;9533:19;9565:6;9555:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9555:17:0;;9533:39;;9583:154;9590:10;;9583:154;;9617:11;9627:1;9617:11;;:::i;:::-;;-1:-1:-1;9686:10:0;9694:2;9686:5;:10;:::i;:::-;9673:24;;:2;:24;:::i;:::-;9660:39;;9643:6;9650;9643:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;9643:56:0;;;;;;;;-1:-1:-1;9714:11:0;9723:2;9714:11;;:::i;:::-;;;9583:154;;29966:321;30096:18;30102:2;30106:7;30096:5;:18::i;:::-;30147:54;30178:1;30182:2;30186:7;30195:5;30147:22;:54::i;:::-;30125:154;;;;-1:-1:-1;;;30125:154:0;;;;;;;:::i;37476:589::-;-1:-1:-1;;;;;37682:18:0;;37678:187;;37717:40;37749:7;38892:10;:17;;38865:24;;;;:15;:24;;;;;:44;;;38920:24;;;;;;;;;;;;38788:164;37717:40;37678:187;;;37787:2;-1:-1:-1;;;;;37779:10:0;:4;-1:-1:-1;;;;;37779:10:0;;37775:90;;37806:47;37839:4;37845:7;37806:32;:47::i;:::-;-1:-1:-1;;;;;37879:16:0;;37875:183;;37912:45;37949:7;37912:36;:45::i;37875:183::-;37985:4;-1:-1:-1;;;;;37979:10:0;:2;-1:-1:-1;;;;;37979:10:0;;37975:83;;38006:40;38034:2;38038:7;38006:27;:40::i;33366:799::-;33521:4;-1:-1:-1;;;;;33542:13:0;;11901:20;11949:8;33538:620;;33578:72;;-1:-1:-1;;;33578:72:0;;-1:-1:-1;;;;;33578:36:0;;;;;:72;;21301:10;;33629:4;;33635:7;;33644:5;;33578:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33578:72:0;;;;;;;;-1:-1:-1;;33578:72:0;;;;;;;;;;;;:::i;:::-;;;33574:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33820:13:0;;33816:272;;33863:60;;-1:-1:-1;;;33863:60:0;;;;;;;:::i;33816:272::-;34038:6;34032:13;34023:6;34019:2;34015:15;34008:38;33574:529;-1:-1:-1;;;;;;33701:51:0;-1:-1:-1;;;33701:51:0;;-1:-1:-1;33694:58:0;;33538:620;-1:-1:-1;34142:4:0;33366:799;;;;;;:::o;30623:382::-;-1:-1:-1;;;;;30703:16:0;;30695:61;;;;-1:-1:-1;;;30695:61:0;;14070:2:1;30695:61:0;;;14052:21:1;;;14089:18;;;14082:30;14148:34;14128:18;;;14121:62;14200:18;;30695:61:0;13868:356:1;30695:61:0;28710:4;28734:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28734:16:0;:30;30767:58;;;;-1:-1:-1;;;30767:58:0;;10599:2:1;30767:58:0;;;10581:21:1;10638:2;10618:18;;;10611:30;10677;10657:18;;;10650:58;10725:18;;30767:58:0;10397:352:1;30767:58:0;30838:45;30867:1;30871:2;30875:7;30838:20;:45::i;:::-;-1:-1:-1;;;;;30896:13:0;;;;;;:9;:13;;;;;:18;;30913:1;;30896:13;:18;;30913:1;;30896:18;:::i;:::-;;;;-1:-1:-1;;30925:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30925:21:0;-1:-1:-1;;;;;30925:21:0;;;;;;;;30964:33;;30925:16;;;30964:33;;30925:16;;30964:33;30623:382;;:::o;39579:988::-;39845:22;39895:1;39870:22;39887:4;39870:16;:22::i;:::-;:26;;;;:::i;:::-;39907:18;39928:26;;;:17;:26;;;;;;39845:51;;-1:-1:-1;40061:28:0;;;40057:328;;-1:-1:-1;;;;;40128:18:0;;40106:19;40128:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40179:30;;;;;;:44;;;40296:30;;:17;:30;;;;;:43;;;40057:328;-1:-1:-1;40481:26:0;;;;:17;:26;;;;;;;;40474:33;;;-1:-1:-1;;;;;40525:18:0;;;;;:12;:18;;;;;:34;;;;;;;40518:41;39579:988::o;40862:1079::-;41140:10;:17;41115:22;;41140:21;;41160:1;;41140:21;:::i;:::-;41172:18;41193:24;;;:15;:24;;;;;;41566:10;:26;;41115:46;;-1:-1:-1;41193:24:0;;41115:46;;41566:26;;;;;;:::i;:::-;;;;;;;;;41544:48;;41630:11;41605:10;41616;41605:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;41710:28;;;:15;:28;;;;;;;:41;;;41882:24;;;;;41875:31;41917:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;40933:1008;;;40862:1079;:::o;38366:221::-;38451:14;38468:20;38485:2;38468:16;:20::i;:::-;-1:-1:-1;;;;;38499:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38544:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38366:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:316::-;4377:6;4385;4393;4446:2;4434:9;4425:7;4421:23;4417:32;4414:52;;;4462:1;4459;4452:12;4414:52;-1:-1:-1;;4485:23:1;;;4555:2;4540:18;;4527:32;;-1:-1:-1;4606:2:1;4591:18;;;4578:32;;4300:316;-1:-1:-1;4300:316:1:o;4621:257::-;4662:3;4700:5;4694:12;4727:6;4722:3;4715:19;4743:63;4799:6;4792:4;4787:3;4783:14;4776:4;4769:5;4765:16;4743:63;:::i;:::-;4860:2;4839:15;-1:-1:-1;;4835:29:1;4826:39;;;;4867:4;4822:50;;4621:257;-1:-1:-1;;4621:257:1:o;4883:1527::-;5107:3;5145:6;5139:13;5171:4;5184:51;5228:6;5223:3;5218:2;5210:6;5206:15;5184:51;:::i;:::-;5298:13;;5257:16;;;;5320:55;5298:13;5257:16;5342:15;;;5320:55;:::i;:::-;5464:13;;5397:20;;;5437:1;;5524;5546:18;;;;5599;;;;5626:93;;5704:4;5694:8;5690:19;5678:31;;5626:93;5767:2;5757:8;5754:16;5734:18;5731:40;5728:167;;;-1:-1:-1;;;5794:33:1;;5850:4;5847:1;5840:15;5880:4;5801:3;5868:17;5728:167;5911:18;5938:110;;;;6062:1;6057:328;;;;5904:481;;5938:110;-1:-1:-1;;5973:24:1;;5959:39;;6018:20;;;;-1:-1:-1;5938:110:1;;6057:328;18364:1;18357:14;;;18401:4;18388:18;;6152:1;6166:169;6180:8;6177:1;6174:15;6166:169;;;6262:14;;6247:13;;;6240:37;6305:16;;;;6197:10;;6166:169;;;6170:3;;6366:8;6359:5;6355:20;6348:27;;5904:481;-1:-1:-1;6401:3:1;;4883:1527;-1:-1:-1;;;;;;;;;;;4883:1527:1:o;7263:488::-;-1:-1:-1;;;;;7532:15:1;;;7514:34;;7584:15;;7579:2;7564:18;;7557:43;7631:2;7616:18;;7609:34;;;7679:3;7674:2;7659:18;;7652:31;;;7457:4;;7700:45;;7725:19;;7717:6;7700:45;:::i;:::-;7692:53;7263:488;-1:-1:-1;;;;;;7263:488:1:o;7756:632::-;7927:2;7979:21;;;8049:13;;7952:18;;;8071:22;;;7898:4;;7927:2;8150:15;;;;8124:2;8109:18;;;7898:4;8193:169;8207:6;8204:1;8201:13;8193:169;;;8268:13;;8256:26;;8337:15;;;;8302:12;;;;8229:1;8222:9;8193:169;;;-1:-1:-1;8379:3:1;;7756:632;-1:-1:-1;;;;;;7756:632:1:o;8585:219::-;8734:2;8723:9;8716:21;8697:4;8754:44;8794:2;8783:9;8779:18;8771:6;8754:44;:::i;9571:414::-;9773:2;9755:21;;;9812:2;9792:18;;;9785:30;9851:34;9846:2;9831:18;;9824:62;-1:-1:-1;;;9917:2:1;9902:18;;9895:48;9975:3;9960:19;;9571:414::o;14642:356::-;14844:2;14826:21;;;14863:18;;;14856:30;14922:34;14917:2;14902:18;;14895:62;14989:2;14974:18;;14642:356::o;16577:413::-;16779:2;16761:21;;;16818:2;16798:18;;;16791:30;16857:34;16852:2;16837:18;;16830:62;-1:-1:-1;;;16923:2:1;16908:18;;16901:47;16980:3;16965:19;;16577:413::o;18417:128::-;18457:3;18488:1;18484:6;18481:1;18478:13;18475:39;;;18494:18;;:::i;:::-;-1:-1:-1;18530:9:1;;18417:128::o;18550:120::-;18590:1;18616;18606:35;;18621:18;;:::i;:::-;-1:-1:-1;18655:9:1;;18550:120::o;18675:168::-;18715:7;18781:1;18777;18773:6;18769:14;18766:1;18763:21;18758:1;18751:9;18744:17;18740:45;18737:71;;;18788:18;;:::i;:::-;-1:-1:-1;18828:9:1;;18675:168::o;18848:125::-;18888:4;18916:1;18913;18910:8;18907:34;;;18921:18;;:::i;:::-;-1:-1:-1;18958:9:1;;18848:125::o;18978:258::-;19050:1;19060:113;19074:6;19071:1;19068:13;19060:113;;;19150:11;;;19144:18;19131:11;;;19124:39;19096:2;19089:10;19060:113;;;19191:6;19188:1;19185:13;19182:48;;;-1:-1:-1;;19226:1:1;19208:16;;19201:27;18978:258::o;19241:380::-;19320:1;19316:12;;;;19363;;;19384:61;;19438:4;19430:6;19426:17;19416:27;;19384:61;19491:2;19483:6;19480:14;19460:18;19457:38;19454:161;;;19537:10;19532:3;19528:20;19525:1;19518:31;19572:4;19569:1;19562:15;19600:4;19597:1;19590:15;19454:161;;19241:380;;;:::o;19626:135::-;19665:3;-1:-1:-1;;19686:17:1;;19683:43;;;19706:18;;:::i;:::-;-1:-1:-1;19753:1:1;19742:13;;19626:135::o;19766:112::-;19798:1;19824;19814:35;;19829:18;;:::i;:::-;-1:-1:-1;19863:9:1;;19766:112::o;19883:127::-;19944:10;19939:3;19935:20;19932:1;19925:31;19975:4;19972:1;19965:15;19999:4;19996:1;19989:15;20015:127;20076:10;20071:3;20067:20;20064:1;20057:31;20107:4;20104:1;20097:15;20131:4;20128:1;20121:15;20147:127;20208:10;20203:3;20199:20;20196:1;20189:31;20239:4;20236:1;20229:15;20263:4;20260:1;20253:15;20279:127;20340:10;20335:3;20331:20;20328:1;20321:31;20371:4;20368:1;20361:15;20395:4;20392:1;20385:15;20411:127;20472:10;20467:3;20463:20;20460:1;20453:31;20503:4;20500:1;20493:15;20527:4;20524:1;20517:15;20543:131;-1:-1:-1;;;;;;20617:32:1;;20607:43;;20597:71;;20664:1;20661;20654:12

Swarm Source

ipfs://d280a92b896c401bea205911ec984cd526ab642ca930ad19e2819f4c880f7bc5

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.