Contract 0xFb76f849Baf4A4DB22550eBC7BEB520652F888a0

 
 
Txn Hash
Method
Block
From
To
Value
0xa8a537fcf4210cec145a05bda6575be09574daa2363735bb33530e1f21272372Set Approval For...156020852022-09-24 8:40:4719 hrs 47 mins ago0x62b9f41d6131a9ebbd4d2697e9c6362e74e84023 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00027373 5.9332429
0xa0702bdc346671902d18a054c08b451a7df3fcffe9ddcfa04dca551669af0427Set Approval For...155990672022-09-23 22:35:111 day 5 hrs ago0xf08d68f3b2beccfd2c447bc4880441671de138a8 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00028598 6.19560328
0xf6f414b9594f7ace1c115a4af277a7f1d58e9078db63c25fa735ef3471e1ce68Set Approval For...155950602022-09-23 9:09:471 day 19 hrs agoENS Name net-runner.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00015908 6.56750406
0x278468b710a7fe4926a3d5093311eab144579e8385ae5d7950a5bf5001ba9778Set Approval For...155950502022-09-23 9:07:471 day 19 hrs agoENS Name net-runner.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00016213 6.67015247
0x3301110967b8a64ff073677f129296669d633ba855fe363282bd62b78480f2c5Set Approval For...155950492022-09-23 9:07:351 day 19 hrs agoENS Name net-runner.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00014818 6.09620337
0x016bf128809d6efc427ea39af0a5fbff2569e1845e58874eefa2647607abd7c8Set Approval For...155817632022-09-21 12:30:593 days 15 hrs agoENS Name oinoice.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00022557 4.88945752
0xa9aa32e221f62e02d82cc53b53239c1583b5c50b3c3ec3abe2f70c8005a637ceTransfer From155747782022-09-20 12:45:594 days 15 hrs ago0x0a1eca5fcb77c35087b21492c86bea6d0c8496c8 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00044874 7.29022061
0xd217df3fd7afad606114eb7f250acaf1a52667de3ca6da845e0e38bfd8b7964bSet Approval For...155609822022-09-18 14:19:356 days 14 hrs agoENS Name lujan.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00013976 5.32747971
0xe13491fc2804d21ba0f58fd83b9af738c704d0b36d7c037f17dc8c411f2525deSet Approval For...155609802022-09-18 14:19:116 days 14 hrs agoENS Name lujan.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00023623 5.12052514
0xe9c6ad539e109144e3395f2ce6cd0ef369e0c290b26d924fd675a0ca92e3da65Set Approval For...155495022022-09-16 23:41:118 days 4 hrs ago0x6ba9bab89e215da976776788630bce75e331b87d IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00013944 5.75654586
0x5e943903f040052c0bfe5b6ce8461a8426880342977d3af676b91a6651904721Set Approval For...155492782022-09-16 22:55:598 days 5 hrs ago0xf61d79e4847a95646ae7ad104856093cdf2f3147 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00032459 7.03577996
0x7efe6442338b10ced24ef27ee9faeaadbb3f91da6327748e26ab6961f0268432Set Approval For...155492222022-09-16 22:44:238 days 5 hrs ago0x6ba9bab89e215da976776788630bce75e331b87d IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00032605 7.0674566
0x713bd44f7a76d9eacbb89f9424a59562517e3e9bdc532cb5bdb8ee3e3bca9ad0Safe Transfer Fr...155481292022-09-16 19:03:238 days 9 hrs agoENS Name wildsportspat.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00087119 13.55865442
0xdf58fd6293a491efa81d85e5e1b572546129fbfd6f9fd0c024b7abe34bcf4fb7Set Approval For...155367662022-09-15 4:11:1610 days 17 mins ago0xdb2b35826c6d267f32c6bdba9c999ef74671dac0 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00079413 17.21335268
0x4f95afb9f349eb8459a2841c86de0f37e250d8889c115c6d7d42fd209d66ff4bSet Approval For...155353152022-09-14 22:07:1510 days 6 hrs agoENS Name fap.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00024734 10.21105599
0x367a7c928e34e4b87585588f97f8d5687fa225f9bd33bf79245a27979a0fe542Set Approval For...155253472022-09-13 6:06:4311 days 22 hrs ago0xdb2b35826c6d267f32c6bdba9c999ef74671dac0 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00013315 5.49713896
0x932dc049f498cfa20676b23e4858a4b497bbc8653e79c21cfd6f93ec8af580d8Safe Transfer Fr...155246282022-09-13 3:17:2912 days 1 hr ago0x73477b57e1980d7fc24d3d38089d95e3a41af2d9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00046059 8.865392
0x00bac8d6b543adfbc66ff87cc04f6bea07ba16b671bae99b87b1797034ebc076Transfer From155119652022-09-11 1:05:2814 days 3 hrs ago0x0a86f808a8cac76283bf818199b6f97346616fd9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.000296 6.65859671
0x71fdbde5f599bffbafee4b59ebc2b593fa971d4b2b242c534409aaa37ad2b122Transfer From155119592022-09-11 1:03:3614 days 3 hrs ago0x0a86f808a8cac76283bf818199b6f97346616fd9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.0002818 5.72136431
0x5cb86ec83a88c3ac72a317ac29fa76a0ccedda7e21dedf659e245125da9ff947Transfer From155119562022-09-11 1:02:0814 days 3 hrs ago0x0a86f808a8cac76283bf818199b6f97346616fd9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00028246 5.73473607
0x6340eb4e61ce8e4d9dc8a5eba8d215e14a351c994cf8d12743d0a73258d28490Transfer From155119552022-09-11 1:02:0314 days 3 hrs ago0x0a86f808a8cac76283bf818199b6f97346616fd9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00025931 5.26475645
0x82b4bb96caaf0225f3c3491a90ed9d1f3cc20adfd37e90f0bc3a4370748c1324Transfer From155119512022-09-11 1:01:1514 days 3 hrs ago0x0a86f808a8cac76283bf818199b6f97346616fd9 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00038496 5.80156086
0x1f3fb409ecacebf58872589e938295156e06fc322df5a7c4487d64a97d8bcdccSet Approval For...155098342022-09-10 16:44:3914 days 11 hrs ago0xe530871cb0b017b0bd4e575e11a9b48bf457ea2c IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00060034 13.01285492
0x49ad5197542233f86c1bedb0f2f8d549d8f5e10db2bae650d5193855131546d4Set Approval For...154925432022-09-07 21:05:1517 days 7 hrs agoENS Name track-record.eth IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00167218 36.17957639
0xd9168bd79a97ddfa84a699c0aa2b250933108f92d6b9733fd22b0f99dc6c918aSet Approval For...154833162022-09-06 9:41:0118 days 18 hrs ago0xfa588379024fd8307f6c89d315a0e30246ec5be7 IN  0xfb76f849baf4a4db22550ebc7beb520652f888a00 Ether0.00040066 8.66882988
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x376f84d314fda66deabf60a3fab441f96af8addf5009ca514cb99cfd1511dd46152918262022-08-06 23:58:2149 days 4 hrs ago 0xfb76f849baf4a4db22550ebc7beb520652f888a00x17cd5e67e7fa19247969d81f02c73e3c2e72af754.049 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TiffPunks

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

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


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

pragma solidity ^0.8.0;

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;


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

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

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

// File: erc721a/contracts/ERC721A.sol


// Creator: Chiru Labs

pragma solidity ^0.8.4;








error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

// File: contracts/TiffPunks.sol


 
pragma solidity >=0.8.0 <0.9.0;




 
contract TiffPunks is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;
 
  string public _baseTokenURI;
  string public hiddenMetadataUri;
 
  uint256 public cost = 0.001 ether;
  uint256 public maxSupply = 6000;
  uint256 public maxMintAmountPerTx = 5;
 
  bool public paused;
  bool public revealed = true;
 
  constructor(
    string memory _hiddenMetadataUri
  ) ERC721A("TiffPunks", "TPUNKS") {
 
    setHiddenMetadataUri(_hiddenMetadataUri);
  }
 
  function mint(uint256 _mintAmount) public payable nonReentrant {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    require(!paused, "The contract is paused!");
    require(msg.value >= cost * _mintAmount, "Insufficient funds!");
 
    _safeMint(_msgSender(), _mintAmount);
  }
 
  function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }
 
  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }
 
  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }
 
  function setCost(uint256 _cost) public onlyOwner {
    cost = _cost;
  }
 
  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }
 
  function setMaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }
 
  function withdraw() public onlyOwner nonReentrant {
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
  }
 
  // METADATA HANDLING
 
  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }
 
  function setBaseURI(string calldata baseURI) public onlyOwner {
    _baseTokenURI = baseURI;
  }
 
  function _baseURI() internal view virtual override returns (string memory) {
      return _baseTokenURI;
  }
 
  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
      require(_exists(_tokenId), "URI does not exist!");
 
      if (revealed) {
          return string(abi.encodePacked(_baseURI(), _tokenId.toString()));
      } else {
          return hiddenMetadataUri;
      }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266038d7ea4c68000600c55611770600d556005600e55600f805461ff0019166101001790553480156200003657600080fd5b50604051620022de380380620022de833981016040819052620000599162000258565b60408051808201825260098152685469666650756e6b7360b81b6020808301918252835180850190945260068452655450554e4b5360d01b908401528151919291620000a891600291620001b2565b508051620000be906003906020840190620001b2565b5050600160005550620000d133620000e8565b6001600955620000e1816200013a565b5062000387565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620001995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001ae90600b906020840190620001b2565b5050565b828054620001c09062000334565b90600052602060002090601f016020900481019282620001e457600085556200022f565b82601f10620001ff57805160ff19168380011785556200022f565b828001600101855582156200022f579182015b828111156200022f57825182559160200191906001019062000212565b506200023d92915062000241565b5090565b5b808211156200023d576000815560010162000242565b600060208083850312156200026c57600080fd5b82516001600160401b03808211156200028457600080fd5b818501915085601f8301126200029957600080fd5b815181811115620002ae57620002ae62000371565b604051601f8201601f19908116603f01168101908382118183101715620002d957620002d962000371565b816040528281528886848701011115620002f257600080fd5b600093505b82841015620003165784840186015181850187015292850192620002f7565b82841115620003285760008684830101525b98975050505050505050565b600181811c908216806200034957607f821691505b602082108114156200036b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611f4780620003976000396000f3fe6080604052600436106101f95760003560e01c806370a082311161010d578063b071401b116100a0578063d5abeb011161006f578063d5abeb0114610579578063e0a808531461058f578063e985e9c5146105af578063efbd73f4146105f8578063f2fde38b1461061857600080fd5b8063b071401b14610504578063b88d4fde14610524578063c87b56dd14610544578063cfc86f7b1461056457600080fd5b806395d89b41116100dc57806395d89b41146104a7578063a0712d68146104bc578063a22cb465146104cf578063a45ba8e7146104ef57600080fd5b806370a082311461043e578063715018a61461045e5780638da5cb5b1461047357806394354fd01461049157600080fd5b80633ccfd60b11610190578063518302271161015f57806351830227146103a557806355f804b3146103c45780635c975abb146103e45780636352211e146103fe5780636f8b44b01461041e57600080fd5b80633ccfd60b1461033057806342842e0e1461034557806344a0d68a146103655780634fdd43cb1461038557600080fd5b806313faede6116101cc57806313faede6146102af57806316c38b3c146102d357806318160ddd146102f357806323b872dd1461031057600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b9a565b610638565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861068a565b60405161022a9190611d63565b34801561026157600080fd5b50610275610270366004611c8f565b61071c565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611b55565b610760565b005b3480156102bb57600080fd5b506102c5600c5481565b60405190815260200161022a565b3480156102df57600080fd5b506102ad6102ee366004611b7f565b6107ee565b3480156102ff57600080fd5b5060015460005403600019016102c5565b34801561031c57600080fd5b506102ad61032b366004611a73565b610834565b34801561033c57600080fd5b506102ad61083f565b34801561035157600080fd5b506102ad610360366004611a73565b61093a565b34801561037157600080fd5b506102ad610380366004611c8f565b610955565b34801561039157600080fd5b506102ad6103a0366004611c46565b610984565b3480156103b157600080fd5b50600f5461021e90610100900460ff1681565b3480156103d057600080fd5b506102ad6103df366004611bd4565b6109c5565b3480156103f057600080fd5b50600f5461021e9060ff1681565b34801561040a57600080fd5b50610275610419366004611c8f565b6109fb565b34801561042a57600080fd5b506102ad610439366004611c8f565b610a0d565b34801561044a57600080fd5b506102c5610459366004611a1e565b610a3c565b34801561046a57600080fd5b506102ad610a8b565b34801561047f57600080fd5b506008546001600160a01b0316610275565b34801561049d57600080fd5b506102c5600e5481565b3480156104b357600080fd5b50610248610ac1565b6102ad6104ca366004611c8f565b610ad0565b3480156104db57600080fd5b506102ad6104ea366004611b2b565b610c8c565b3480156104fb57600080fd5b50610248610d22565b34801561051057600080fd5b506102ad61051f366004611c8f565b610db0565b34801561053057600080fd5b506102ad61053f366004611aaf565b610ddf565b34801561055057600080fd5b5061024861055f366004611c8f565b610e30565b34801561057057600080fd5b50610248610f5c565b34801561058557600080fd5b506102c5600d5481565b34801561059b57600080fd5b506102ad6105aa366004611b7f565b610f69565b3480156105bb57600080fd5b5061021e6105ca366004611a40565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561060457600080fd5b506102ad610613366004611ca8565b610fad565b34801561062457600080fd5b506102ad610633366004611a1e565b610fe1565b60006001600160e01b031982166380ac58cd60e01b148061066957506001600160e01b03198216635b5e139f60e01b145b8061068457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461069990611e39565b80601f01602080910402602001604051908101604052809291908181526020018280546106c590611e39565b80156107125780601f106106e757610100808354040283529160200191610712565b820191906000526020600020905b8154815290600101906020018083116106f557829003601f168201915b5050505050905090565b60006107278261107c565b610744576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061076b826109fb565b9050806001600160a01b0316836001600160a01b031614156107a05760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216148015906107c057506107be81336105ca565b155b156107de576040516367d9dca160e11b815260040160405180910390fd5b6107e98383836110b5565b505050565b6008546001600160a01b031633146108215760405162461bcd60e51b815260040161081890611d76565b60405180910390fd5b600f805460ff1916911515919091179055565b6107e9838383611111565b6008546001600160a01b031633146108695760405162461bcd60e51b815260040161081890611d76565b600260095414156108bc5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610818565b600260095560006108d56008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461091f576040519150601f19603f3d011682016040523d82523d6000602084013e610924565b606091505b505090508061093257600080fd5b506001600955565b6107e983838360405180602001604052806000815250610ddf565b6008546001600160a01b0316331461097f5760405162461bcd60e51b815260040161081890611d76565b600c55565b6008546001600160a01b031633146109ae5760405162461bcd60e51b815260040161081890611d76565b80516109c190600b906020840190611874565b5050565b6008546001600160a01b031633146109ef5760405162461bcd60e51b815260040161081890611d76565b6107e9600a83836118f8565b6000610a0682611301565b5192915050565b6008546001600160a01b03163314610a375760405162461bcd60e51b815260040161081890611d76565b600d55565b60006001600160a01b038216610a65576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610ab55760405162461bcd60e51b815260040161081890611d76565b610abf600061142a565b565b60606003805461069990611e39565b60026009541415610b235760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610818565b60026009558015801590610b395750600e548111155b610b7c5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610818565b600d546001546000548391900360001901610b979190611dab565b1115610bdc5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610818565b600f5460ff1615610c2f5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610818565b80600c54610c3d9190611dd7565b341015610c825760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610818565b610932338261147c565b6001600160a01b038216331415610cb65760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b8054610d2f90611e39565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5b90611e39565b8015610da85780601f10610d7d57610100808354040283529160200191610da8565b820191906000526020600020905b815481529060010190602001808311610d8b57829003601f168201915b505050505081565b6008546001600160a01b03163314610dda5760405162461bcd60e51b815260040161081890611d76565b600e55565b610dea848484611111565b6001600160a01b0383163b15158015610e0c5750610e0a84848484611496565b155b15610e2a576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610e3b8261107c565b610e7d5760405162461bcd60e51b815260206004820152601360248201527255524920646f6573206e6f742065786973742160681b6044820152606401610818565b600f54610100900460ff1615610ec557610e9561158e565b610e9e8361159d565b604051602001610eaf929190611cf7565b6040516020818303038152906040529050919050565b600b8054610ed290611e39565b80601f0160208091040260200160405190810160405280929190818152602001828054610efe90611e39565b8015610f4b5780601f10610f2057610100808354040283529160200191610f4b565b820191906000526020600020905b815481529060010190602001808311610f2e57829003601f168201915b50505050509050919050565b919050565b600a8054610d2f90611e39565b6008546001600160a01b03163314610f935760405162461bcd60e51b815260040161081890611d76565b600f80549115156101000261ff0019909216919091179055565b6008546001600160a01b03163314610fd75760405162461bcd60e51b815260040161081890611d76565b6109c1818361147c565b6008546001600160a01b0316331461100b5760405162461bcd60e51b815260040161081890611d76565b6001600160a01b0381166110705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610818565b6110798161142a565b50565b600081600111158015611090575060005482105b8015610684575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061111c82611301565b9050836001600160a01b031681600001516001600160a01b0316146111535760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611171575061117185336105ca565b8061118c5750336111818461071c565b6001600160a01b0316145b9050806111ac57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0384166111d357604051633a954ecd60e21b815260040160405180910390fd5b6111df600084876110b5565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217835587018084529220805491939091166112b55760005482146112b5578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015611331575060005481105b1561141157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061140f5780516001600160a01b0316156113a5579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561140a579392505050565b6113a5565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6109c182826040518060200160405280600081525061169b565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906114cb903390899088908890600401611d26565b602060405180830381600087803b1580156114e557600080fd5b505af1925050508015611515575060408051601f3d908101601f1916820190925261151291810190611bb7565b60015b611570573d808015611543576040519150601f19603f3d011682016040523d82523d6000602084013e611548565b606091505b508051611568576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a805461069990611e39565b6060816115c15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115eb57806115d581611e74565b91506115e49050600a83611dc3565b91506115c5565b60008167ffffffffffffffff81111561160657611606611ee5565b6040519080825280601f01601f191660200182016040528015611630576020820181803683370190505b5090505b841561158657611645600183611df6565b9150611652600a86611e8f565b61165d906030611dab565b60f81b81838151811061167257611672611ecf565b60200101906001600160f81b031916908160001a905350611694600a86611dc3565b9450611634565b6107e983838360016000546001600160a01b0385166116cc57604051622e076360e81b815260040160405180910390fd5b836116ea5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561179c57506001600160a01b0387163b15155b15611825575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46117ed6000888480600101955088611496565b61180a576040516368d2bf6b60e11b815260040160405180910390fd5b808214156117a257826000541461182057600080fd5b61186b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611826575b506000556112fa565b82805461188090611e39565b90600052602060002090601f0160209004810192826118a257600085556118e8565b82601f106118bb57805160ff19168380011785556118e8565b828001600101855582156118e8579182015b828111156118e85782518255916020019190600101906118cd565b506118f492915061196c565b5090565b82805461190490611e39565b90600052602060002090601f01602090048101928261192657600085556118e8565b82601f1061193f5782800160ff198235161785556118e8565b828001600101855582156118e8579182015b828111156118e8578235825591602001919060010190611951565b5b808211156118f4576000815560010161196d565b600067ffffffffffffffff8084111561199c5761199c611ee5565b604051601f8501601f19908116603f011681019082821181831017156119c4576119c4611ee5565b816040528093508581528686860111156119dd57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114610f5757600080fd5b80358015158114610f5757600080fd5b600060208284031215611a3057600080fd5b611a39826119f7565b9392505050565b60008060408385031215611a5357600080fd5b611a5c836119f7565b9150611a6a602084016119f7565b90509250929050565b600080600060608486031215611a8857600080fd5b611a91846119f7565b9250611a9f602085016119f7565b9150604084013590509250925092565b60008060008060808587031215611ac557600080fd5b611ace856119f7565b9350611adc602086016119f7565b925060408501359150606085013567ffffffffffffffff811115611aff57600080fd5b8501601f81018713611b1057600080fd5b611b1f87823560208401611981565b91505092959194509250565b60008060408385031215611b3e57600080fd5b611b47836119f7565b9150611a6a60208401611a0e565b60008060408385031215611b6857600080fd5b611b71836119f7565b946020939093013593505050565b600060208284031215611b9157600080fd5b611a3982611a0e565b600060208284031215611bac57600080fd5b8135611a3981611efb565b600060208284031215611bc957600080fd5b8151611a3981611efb565b60008060208385031215611be757600080fd5b823567ffffffffffffffff80821115611bff57600080fd5b818501915085601f830112611c1357600080fd5b813581811115611c2257600080fd5b866020828501011115611c3457600080fd5b60209290920196919550909350505050565b600060208284031215611c5857600080fd5b813567ffffffffffffffff811115611c6f57600080fd5b8201601f81018413611c8057600080fd5b61158684823560208401611981565b600060208284031215611ca157600080fd5b5035919050565b60008060408385031215611cbb57600080fd5b82359150611a6a602084016119f7565b60008151808452611ce3816020860160208601611e0d565b601f01601f19169290920160200192915050565b60008351611d09818460208801611e0d565b835190830190611d1d818360208801611e0d565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d5990830184611ccb565b9695505050505050565b602081526000611a396020830184611ccb565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611dbe57611dbe611ea3565b500190565b600082611dd257611dd2611eb9565b500490565b6000816000190483118215151615611df157611df1611ea3565b500290565b600082821015611e0857611e08611ea3565b500390565b60005b83811015611e28578181015183820152602001611e10565b83811115610e2a5750506000910152565b600181811c90821680611e4d57607f821691505b60208210811415611e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e8857611e88611ea3565b5060010190565b600082611e9e57611e9e611eb9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461107957600080fdfea264697066735822122003102b9619d26f8324e8de2f5ca518e98839b46ec0517053c61388d03f62cd5364736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _hiddenMetadataUri (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

47596:2498:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29766:305;;;;;;;;;;-1:-1:-1;29766:305:0;;;;;:::i;:::-;;:::i;:::-;;;6969:14:1;;6962:22;6944:41;;6932:2;6917:18;29766:305:0;;;;;;;;32879:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;34382:204::-;;;;;;;;;;-1:-1:-1;34382:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6267:32:1;;;6249:51;;6237:2;6222:18;34382:204:0;6103:203:1;33945:371:0;;;;;;;;;;-1:-1:-1;33945:371:0;;;;;:::i;:::-;;:::i;:::-;;47761:33;;;;;;;;;;;;;;;;;;;10240:25:1;;;10228:2;10213:18;47761:33:0;10094:177:1;49144:77:0;;;;;;;;;;-1:-1:-1;49144:77:0;;;;;:::i;:::-;;:::i;29015:303::-;;;;;;;;;;-1:-1:-1;48724:1:0;29269:12;29059:7;29253:13;:28;-1:-1:-1;;29253:46:0;29015:303;;35247:170;;;;;;;;;;-1:-1:-1;35247:170:0;;;;;:::i;:::-;;:::i;49228:150::-;;;;;;;;;;;;;:::i;35488:185::-;;;;;;;;;;-1:-1:-1;35488:185:0;;;;;:::i;:::-;;:::i;48826:74::-;;;;;;;;;;-1:-1:-1;48826:74:0;;;;;:::i;:::-;;:::i;49412:132::-;;;;;;;;;;-1:-1:-1;49412:132:0;;;;;:::i;:::-;;:::i;47903:27::-;;;;;;;;;;-1:-1:-1;47903:27:0;;;;;;;;;;;49551:98;;;;;;;;;;-1:-1:-1;49551:98:0;;;;;:::i;:::-;;:::i;47880:18::-;;;;;;;;;;-1:-1:-1;47880:18:0;;;;;;;;32687:125;;;;;;;;;;-1:-1:-1;32687:125:0;;;;;:::i;:::-;;:::i;49044:94::-;;;;;;;;;;-1:-1:-1;49044:94:0;;;;;:::i;:::-;;:::i;30135:206::-;;;;;;;;;;-1:-1:-1;30135:206:0;;;;;:::i;:::-;;:::i;7524:103::-;;;;;;;;;;;;;:::i;6873:87::-;;;;;;;;;;-1:-1:-1;6946:6:0;;-1:-1:-1;;;;;6946:6:0;6873:87;;47835:37;;;;;;;;;;;;;;;;33048:104;;;;;;;;;;;;;:::i;48088:407::-;;;;;;:::i;:::-;;:::i;34658:287::-;;;;;;;;;;-1:-1:-1;34658:287:0;;;;;:::i;:::-;;:::i;47722:31::-;;;;;;;;;;;;;:::i;48907:130::-;;;;;;;;;;-1:-1:-1;48907:130:0;;;;;:::i;:::-;;:::i;35744:369::-;;;;;;;;;;-1:-1:-1;35744:369:0;;;;;:::i;:::-;;:::i;49773:318::-;;;;;;;;;;-1:-1:-1;49773:318:0;;;;;:::i;:::-;;:::i;47690:27::-;;;;;;;;;;;;;:::i;47799:31::-;;;;;;;;;;;;;;;;48738:81;;;;;;;;;;-1:-1:-1;48738:81:0;;;;;:::i;:::-;;:::i;35016:164::-;;;;;;;;;;-1:-1:-1;35016:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;35137:25:0;;;35113:4;35137:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;35016:164;48502:127;;;;;;;;;;-1:-1:-1;48502:127:0;;;;;:::i;:::-;;:::i;7782:201::-;;;;;;;;;;-1:-1:-1;7782:201:0;;;;;:::i;:::-;;:::i;29766:305::-;29868:4;-1:-1:-1;;;;;;29905:40:0;;-1:-1:-1;;;29905:40:0;;:105;;-1:-1:-1;;;;;;;29962:48:0;;-1:-1:-1;;;29962:48:0;29905:105;:158;;;-1:-1:-1;;;;;;;;;;19766:40:0;;;30027:36;29885:178;29766:305;-1:-1:-1;;29766:305:0:o;32879:100::-;32933:13;32966:5;32959:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32879:100;:::o;34382:204::-;34450:7;34475:16;34483:7;34475;:16::i;:::-;34470:64;;34500:34;;-1:-1:-1;;;34500:34:0;;;;;;;;;;;34470:64;-1:-1:-1;34554:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34554:24:0;;34382:204::o;33945:371::-;34018:13;34034:24;34050:7;34034:15;:24::i;:::-;34018:40;;34079:5;-1:-1:-1;;;;;34073:11:0;:2;-1:-1:-1;;;;;34073:11:0;;34069:48;;;34093:24;;-1:-1:-1;;;34093:24:0;;;;;;;;;;;34069:48;5677:10;-1:-1:-1;;;;;34134:21:0;;;;;;:63;;-1:-1:-1;34160:37:0;34177:5;5677:10;35016:164;:::i;34160:37::-;34159:38;34134:63;34130:138;;;34221:35;;-1:-1:-1;;;34221:35:0;;;;;;;;;;;34130:138;34280:28;34289:2;34293:7;34302:5;34280:8;:28::i;:::-;34007:309;33945:371;;:::o;49144:77::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;;;;;;;;;49200:6:::1;:15:::0;;-1:-1:-1;;49200:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;49144:77::o;35247:170::-;35381:28;35391:4;35397:2;35401:7;35381:9;:28::i;49228:150::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;1847:1:::1;2445:7;;:19;;2437:63;;;::::0;-1:-1:-1;;;2437:63:0;;9240:2:1;2437:63:0::1;::::0;::::1;9222:21:1::0;9279:2;9259:18;;;9252:30;9318:33;9298:18;;;9291:61;9369:18;;2437:63:0::1;9038:355:1::0;2437:63:0::1;1847:1;2578:7;:18:::0;49286:7:::2;49307;6946:6:::0;;-1:-1:-1;;;;;6946:6:0;;6873:87;49307:7:::2;-1:-1:-1::0;;;;;49299:21:0::2;49328;49299:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49285:69;;;49369:2;49361:11;;;::::0;::::2;;-1:-1:-1::0;1803:1:0::1;2757:7;:22:::0;49228:150::o;35488:185::-;35626:39;35643:4;35649:2;35653:7;35626:39;;;;;;;;;;;;:16;:39::i;48826:74::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;48882:4:::1;:12:::0;48826:74::o;49412:132::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;49500:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;:::-;;49412:132:::0;:::o;49551:98::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;49620:23:::1;:13;49636:7:::0;;49620:23:::1;:::i;32687:125::-:0;32751:7;32778:21;32791:7;32778:12;:21::i;:::-;:26;;32687:125;-1:-1:-1;;32687:125:0:o;49044:94::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;49110:9:::1;:22:::0;49044:94::o;30135:206::-;30199:7;-1:-1:-1;;;;;30223:19:0;;30219:60;;30251:28;;-1:-1:-1;;;30251:28:0;;;;;;;;;;;30219:60;-1:-1:-1;;;;;;30305:19:0;;;;;:12;:19;;;;;:27;;;;30135:206::o;7524:103::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;7589:30:::1;7616:1;7589:18;:30::i;:::-;7524:103::o:0;33048:104::-;33104:13;33137:7;33130:14;;;;;:::i;48088:407::-;1847:1;2445:7;;:19;;2437:63;;;;-1:-1:-1;;;2437:63:0;;9240:2:1;2437:63:0;;;9222:21:1;9279:2;9259:18;;;9252:30;9318:33;9298:18;;;9291:61;9369:18;;2437:63:0;9038:355:1;2437:63:0;1847:1;2578:7;:18;48166:15;;;;;:52:::1;;;48200:18;;48185:11;:33;;48166:52;48158:85;;;::::0;-1:-1:-1;;;48158:85:0;;7829:2:1;48158:85:0::1;::::0;::::1;7811:21:1::0;7868:2;7848:18;;;7841:30;-1:-1:-1;;;7887:18:1;;;7880:50;7947:18;;48158:85:0::1;7627:344:1::0;48158:85:0::1;48289:9;::::0;48724:1;29269:12;29059:7;29253:13;48274:11;;29253:28;;-1:-1:-1;;29253:46:0;48258:27:::1;;;;:::i;:::-;:40;;48250:73;;;::::0;-1:-1:-1;;;48250:73:0;;8891:2:1;48250:73:0::1;::::0;::::1;8873:21:1::0;8930:2;8910:18;;;8903:30;-1:-1:-1;;;8949:18:1;;;8942:50;9009:18;;48250:73:0::1;8689:344:1::0;48250:73:0::1;48339:6;::::0;::::1;;48338:7;48330:43;;;::::0;-1:-1:-1;;;48330:43:0;;8539:2:1;48330:43:0::1;::::0;::::1;8521:21:1::0;8578:2;8558:18;;;8551:30;8617:25;8597:18;;;8590:53;8660:18;;48330:43:0::1;8337:347:1::0;48330:43:0::1;48408:11;48401:4;;:18;;;;:::i;:::-;48388:9;:31;;48380:63;;;::::0;-1:-1:-1;;;48380:63:0;;9948:2:1;48380:63:0::1;::::0;::::1;9930:21:1::0;9987:2;9967:18;;;9960:30;-1:-1:-1;;;10006:18:1;;;9999:49;10065:18;;48380:63:0::1;9746:343:1::0;48380:63:0::1;48453:36;5677:10:::0;48477:11:::1;48453:9;:36::i;34658:287::-:0;-1:-1:-1;;;;;34757:24:0;;5677:10;34757:24;34753:54;;;34790:17;;-1:-1:-1;;;34790:17:0;;;;;;;;;;;34753:54;5677:10;34820:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34820:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34820:53:0;;;;;;;;;;34889:48;;6944:41:1;;;34820:42:0;;5677:10;34889:48;;6917:18:1;34889:48:0;;;;;;;34658:287;;:::o;47722:31::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;48907:130::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;48991:18:::1;:40:::0;48907:130::o;35744:369::-;35911:28;35921:4;35927:2;35931:7;35911:9;:28::i;:::-;-1:-1:-1;;;;;35954:13:0;;9869:19;:23;;35954:76;;;;;35974:56;36005:4;36011:2;36015:7;36024:5;35974:30;:56::i;:::-;35973:57;35954:76;35950:156;;;36054:40;;-1:-1:-1;;;36054:40:0;;;;;;;;;;;35950:156;35744:369;;;;:::o;49773:318::-;49847:13;49879:17;49887:8;49879:7;:17::i;:::-;49871:49;;;;-1:-1:-1;;;49871:49:0;;9600:2:1;49871:49:0;;;9582:21:1;9639:2;9619:18;;;9612:30;-1:-1:-1;;;9658:18:1;;;9651:49;9717:18;;49871:49:0;9398:343:1;49871:49:0;49936:8;;;;;;;49932:154;;;49990:10;:8;:10::i;:::-;50002:19;:8;:17;:19::i;:::-;49973:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49959:64;;49773:318;;;:::o;49932:154::-;50059:17;50052:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49773:318;;;:::o;49932:154::-;49773:318;;;:::o;47690:27::-;;;;;;;:::i;48738:81::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;48796:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;48796:17:0;;::::1;::::0;;;::::1;::::0;;48738:81::o;48502:127::-;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;48590:33:::1;48600:9;48611:11;48590:9;:33::i;7782:201::-:0;6946:6;;-1:-1:-1;;;;;6946:6:0;5677:10;7093:23;7085:68;;;;-1:-1:-1;;;7085:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7871:22:0;::::1;7863:73;;;::::0;-1:-1:-1;;;7863:73:0;;7422:2:1;7863:73:0::1;::::0;::::1;7404:21:1::0;7461:2;7441:18;;;7434:30;7500:34;7480:18;;;7473:62;-1:-1:-1;;;7551:18:1;;;7544:36;7597:19;;7863:73:0::1;7220:402:1::0;7863:73:0::1;7947:28;7966:8;7947:18;:28::i;:::-;7782:201:::0;:::o;36368:174::-;36425:4;36468:7;48724:1;36449:26;;:53;;;;;36489:13;;36479:7;:23;36449:53;:85;;;;-1:-1:-1;;36507:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36507:27:0;;;;36506:28;;36368:174::o;44525:196::-;44640:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;44640:29:0;-1:-1:-1;;;;;44640:29:0;;;;;;;;;44685:28;;44640:24;;44685:28;;;;;;;44525:196;;;:::o;39468:2130::-;39583:35;39621:21;39634:7;39621:12;:21::i;:::-;39583:59;;39681:4;-1:-1:-1;;;;;39659:26:0;:13;:18;;;-1:-1:-1;;;;;39659:26:0;;39655:67;;39694:28;;-1:-1:-1;;;39694:28:0;;;;;;;;;;;39655:67;39735:22;5677:10;-1:-1:-1;;;;;39761:20:0;;;;:73;;-1:-1:-1;39798:36:0;39815:4;5677:10;35016:164;:::i;39798:36::-;39761:126;;;-1:-1:-1;5677:10:0;39851:20;39863:7;39851:11;:20::i;:::-;-1:-1:-1;;;;;39851:36:0;;39761:126;39735:153;;39906:17;39901:66;;39932:35;;-1:-1:-1;;;39932:35:0;;;;;;;;;;;39901:66;-1:-1:-1;;;;;39982:16:0;;39978:52;;40007:23;;-1:-1:-1;;;40007:23:0;;;;;;;;;;;39978:52;40151:35;40168:1;40172:7;40181:4;40151:8;:35::i;:::-;-1:-1:-1;;;;;40482:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40482:31:0;;;;;;;-1:-1:-1;;40482:31:0;;;;;;;40528:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40528:29:0;;;;;;;;;;;40608:20;;;:11;:20;;;;;;40643:18;;-1:-1:-1;;;;;;40676:49:0;;;;-1:-1:-1;;;40709:15:0;40676:49;;;;;;;;;;40999:11;;41059:24;;;;;41102:13;;40608:20;;41059:24;;41102:13;41098:384;;41312:13;;41297:11;:28;41293:174;;41350:20;;41419:28;;;;41393:54;;-1:-1:-1;;;41393:54:0;-1:-1:-1;;;;;;41393:54:0;;;-1:-1:-1;;;;;41350:20:0;;41393:54;;;;41293:174;40457:1036;;;41529:7;41525:2;-1:-1:-1;;;;;41510:27:0;41519:4;-1:-1:-1;;;;;41510:27:0;;;;;;;;;;;41548:42;39572:2026;;39468:2130;;;:::o;31516:1109::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31627:7:0;;48724:1;31676:23;;:47;;;;;31710:13;;31703:4;:20;31676:47;31672:886;;;31744:31;31778:17;;;:11;:17;;;;;;;;;31744:51;;;;;;;;;-1:-1:-1;;;;;31744:51:0;;;;-1:-1:-1;;;31744:51:0;;;;;;;;;;;-1:-1:-1;;;31744:51:0;;;;;;;;;;;;;;31814:729;;31864:14;;-1:-1:-1;;;;;31864:28:0;;31860:101;;31928:9;31516:1109;-1:-1:-1;;;31516:1109:0:o;31860:101::-;-1:-1:-1;;;32303:6:0;32348:17;;;;:11;:17;;;;;;;;;32336:29;;;;;;;;;-1:-1:-1;;;;;32336:29:0;;;;;-1:-1:-1;;;32336:29:0;;;;;;;;;;;-1:-1:-1;;;32336:29:0;;;;;;;;;;;;;32396:28;32392:109;;32464:9;31516:1109;-1:-1:-1;;;31516:1109:0:o;32392:109::-;32263:261;;;31725:833;31672:886;32586:31;;-1:-1:-1;;;32586:31:0;;;;;;;;;;;8143:191;8236:6;;;-1:-1:-1;;;;;8253:17:0;;;-1:-1:-1;;;;;;8253:17:0;;;;;;;8286:40;;8236:6;;;8253:17;8236:6;;8286:40;;8217:16;;8286:40;8206:128;8143:191;:::o;36550:104::-;36619:27;36629:2;36633:8;36619:27;;;;;;;;;;;;:9;:27::i;45213:667::-;45397:72;;-1:-1:-1;;;45397:72:0;;45376:4;;-1:-1:-1;;;;;45397:36:0;;;;;:72;;5677:10;;45448:4;;45454:7;;45463:5;;45397:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45397:72:0;;;;;;;;-1:-1:-1;;45397:72:0;;;;;;;;;;;;:::i;:::-;;;45393:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45631:13:0;;45627:235;;45677:40;;-1:-1:-1;;;45677:40:0;;;;;;;;;;;45627:235;45820:6;45814:13;45805:6;45801:2;45797:15;45790:38;45393:480;-1:-1:-1;;;;;;45516:55:0;-1:-1:-1;;;45516:55:0;;-1:-1:-1;45393:480:0;45213:667;;;;;;:::o;49656:110::-;49716:13;49747;49740:20;;;;;:::i;3159:723::-;3215:13;3436:10;3432:53;;-1:-1:-1;;3463:10:0;;;;;;;;;;;;-1:-1:-1;;;3463:10:0;;;;;3159:723::o;3432:53::-;3510:5;3495:12;3551:78;3558:9;;3551:78;;3584:8;;;;:::i;:::-;;-1:-1:-1;3607:10:0;;-1:-1:-1;3615:2:0;3607:10;;:::i;:::-;;;3551:78;;;3639:19;3671:6;3661:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3661:17:0;;3639:39;;3689:154;3696:10;;3689:154;;3723:11;3733:1;3723:11;;:::i;:::-;;-1:-1:-1;3792:10:0;3800:2;3792:5;:10;:::i;:::-;3779:24;;:2;:24;:::i;:::-;3766:39;;3749:6;3756;3749:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3749:56:0;;;;;;;;-1:-1:-1;3820:11:0;3829:2;3820:11;;:::i;:::-;;;3689:154;;37017:163;37140:32;37146:2;37150:8;37160:5;37167:4;37578:20;37601:13;-1:-1:-1;;;;;37629:16:0;;37625:48;;37654:19;;-1:-1:-1;;;37654:19:0;;;;;;;;;;;37625:48;37688:13;37684:44;;37710:18;;-1:-1:-1;;;37710:18:0;;;;;;;;;;;37684:44;-1:-1:-1;;;;;38079:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;38138:49:0;;38079:44;;;;;;;;38138:49;;;;-1:-1:-1;;38079:44:0;;;;;;38138:49;;;;;;;;;;;;;;;;38204:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;38254:66:0;;;;-1:-1:-1;;;38304:15:0;38254:66;;;;;;;;;;38204:25;38401:23;;;38445:4;:23;;;;-1:-1:-1;;;;;;38453:13:0;;9869:19;:23;;38453:15;38441:641;;;38489:314;38520:38;;38545:12;;-1:-1:-1;;;;;38520:38:0;;;38537:1;;38520:38;;38537:1;;38520:38;38586:69;38625:1;38629:2;38633:14;;;;;;38649:5;38586:30;:69::i;:::-;38581:174;;38691:40;;-1:-1:-1;;;38691:40:0;;;;;;;;;;;38581:174;38798:3;38782:12;:19;;38489:314;;38884:12;38867:13;;:29;38863:43;;38898:8;;;38863:43;38441:641;;;38947:120;38978:40;;39003:14;;;;;-1:-1:-1;;;;;38978:40:0;;;38995:1;;38978:40;;38995:1;;38978:40;39062:3;39046:12;:19;;38947:120;;38441:641;-1:-1:-1;39096:13:0;:28;39146:60;35744:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;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;:::-;1134:39;993:186;-1:-1:-1;;;993:186:1:o;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:592::-;3731:6;3739;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3848:9;3835:23;3877:18;3918:2;3910:6;3907:14;3904:34;;;3934:1;3931;3924:12;3904:34;3972:6;3961:9;3957:22;3947:32;;4017:7;4010:4;4006:2;4002:13;3998:27;3988:55;;4039:1;4036;4029:12;3988:55;4079:2;4066:16;4105:2;4097:6;4094:14;4091:34;;;4121:1;4118;4111:12;4091:34;4166:7;4161:2;4152:6;4148:2;4144:15;4140:24;4137:37;4134:57;;;4187:1;4184;4177:12;4134:57;4218:2;4210:11;;;;;4240:6;;-1:-1:-1;3660:592:1;;-1:-1:-1;;;;3660:592:1:o;4257:450::-;4326:6;4379:2;4367:9;4358:7;4354:23;4350:32;4347:52;;;4395:1;4392;4385:12;4347:52;4435:9;4422:23;4468:18;4460:6;4457:30;4454:50;;;4500:1;4497;4490:12;4454:50;4523:22;;4576:4;4568:13;;4564:27;-1:-1:-1;4554:55:1;;4605:1;4602;4595:12;4554:55;4628:73;4693:7;4688:2;4675:16;4670:2;4666;4662:11;4628:73;:::i;4712:180::-;4771:6;4824:2;4812:9;4803:7;4799:23;4795:32;4792:52;;;4840:1;4837;4830:12;4792:52;-1:-1:-1;4863:23:1;;4712:180;-1:-1:-1;4712:180:1:o;4897:254::-;4965:6;4973;5026:2;5014:9;5005:7;5001:23;4997:32;4994:52;;;5042:1;5039;5032:12;4994:52;5078:9;5065:23;5055:33;;5107:38;5141:2;5130:9;5126:18;5107:38;:::i;5156:257::-;5197:3;5235:5;5229:12;5262:6;5257:3;5250:19;5278:63;5334:6;5327:4;5322:3;5318:14;5311:4;5304:5;5300:16;5278:63;:::i;:::-;5395:2;5374:15;-1:-1:-1;;5370:29:1;5361:39;;;;5402:4;5357:50;;5156:257;-1:-1:-1;;5156:257:1:o;5418:470::-;5597:3;5635:6;5629:13;5651:53;5697:6;5692:3;5685:4;5677:6;5673:17;5651:53;:::i;:::-;5767:13;;5726:16;;;;5789:57;5767:13;5726:16;5823:4;5811:17;;5789:57;:::i;:::-;5862:20;;5418:470;-1:-1:-1;;;;5418:470:1:o;6311:488::-;-1:-1:-1;;;;;6580:15:1;;;6562:34;;6632:15;;6627:2;6612:18;;6605:43;6679:2;6664:18;;6657:34;;;6727:3;6722:2;6707:18;;6700:31;;;6505:4;;6748:45;;6773:19;;6765:6;6748:45;:::i;:::-;6740:53;6311:488;-1:-1:-1;;;;;;6311:488:1:o;6996:219::-;7145:2;7134:9;7127:21;7108:4;7165:44;7205:2;7194:9;7190:18;7182:6;7165:44;:::i;7976:356::-;8178:2;8160:21;;;8197:18;;;8190:30;8256:34;8251:2;8236:18;;8229:62;8323:2;8308:18;;7976:356::o;10276:128::-;10316:3;10347:1;10343:6;10340:1;10337:13;10334:39;;;10353:18;;:::i;:::-;-1:-1:-1;10389:9:1;;10276:128::o;10409:120::-;10449:1;10475;10465:35;;10480:18;;:::i;:::-;-1:-1:-1;10514:9:1;;10409:120::o;10534:168::-;10574:7;10640:1;10636;10632:6;10628:14;10625:1;10622:21;10617:1;10610:9;10603:17;10599:45;10596:71;;;10647:18;;:::i;:::-;-1:-1:-1;10687:9:1;;10534:168::o;10707:125::-;10747:4;10775:1;10772;10769:8;10766:34;;;10780:18;;:::i;:::-;-1:-1:-1;10817:9:1;;10707:125::o;10837:258::-;10909:1;10919:113;10933:6;10930:1;10927:13;10919:113;;;11009:11;;;11003:18;10990:11;;;10983:39;10955:2;10948:10;10919:113;;;11050:6;11047:1;11044:13;11041:48;;;-1:-1:-1;;11085:1:1;11067:16;;11060:27;10837:258::o;11100:380::-;11179:1;11175:12;;;;11222;;;11243:61;;11297:4;11289:6;11285:17;11275:27;;11243:61;11350:2;11342:6;11339:14;11319:18;11316:38;11313:161;;;11396:10;11391:3;11387:20;11384:1;11377:31;11431:4;11428:1;11421:15;11459:4;11456:1;11449:15;11313:161;;11100:380;;;:::o;11485:135::-;11524:3;-1:-1:-1;;11545:17:1;;11542:43;;;11565:18;;:::i;:::-;-1:-1:-1;11612:1:1;11601:13;;11485:135::o;11625:112::-;11657:1;11683;11673:35;;11688:18;;:::i;:::-;-1:-1:-1;11722:9:1;;11625:112::o;11742:127::-;11803:10;11798:3;11794:20;11791:1;11784:31;11834:4;11831:1;11824:15;11858:4;11855:1;11848:15;11874:127;11935:10;11930:3;11926:20;11923:1;11916:31;11966:4;11963:1;11956:15;11990:4;11987:1;11980:15;12006:127;12067:10;12062:3;12058:20;12055:1;12048:31;12098:4;12095:1;12088:15;12122:4;12119:1;12112:15;12138:127;12199:10;12194:3;12190:20;12187:1;12180:31;12230:4;12227:1;12220:15;12254:4;12251:1;12244:15;12270:131;-1:-1:-1;;;;;;12344:32:1;;12334:43;;12324:71;;12391:1;12388;12381:12

Swarm Source

ipfs://03102b9619d26f8324e8de2f5ca518e98839b46ec0517053c61388d03f62cd53
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.