Contract 0xff8d05253fF6C10F764a81E68e0094f4C88f434E

 
 
Txn Hash
Method
Block
From
To
Value
0xeb9919464cdfc4dce032b624edecc56733a90008acfa59069b85153a493595f1Set Approval For...157007052022-10-08 3:32:47111 days 3 hrs ago0x9c366eca522cd8f78e1eaa2ba7334a41f0c2c885 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00018442 4
0x4ae27ccda150acde31004dde8ac6a32c19c8e2172b493cf2e90fef73a3d17254Set Approval For...157007052022-10-08 3:32:47111 days 3 hrs ago0x1c10f699fa2a15991533b4224d3ad168c711c5ef IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00018442 4
0xdfa1c7bc97848613724fa2848e210c748c70fe5fddf32c5db3bd2e5c1e5c5983Set Approval For...157005732022-10-08 3:06:11111 days 4 hrs ago0xcf5a100b7fd96fb1be3c83ed112d42e43c4a3823 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.000230535
0xa3c70512ce0c22f5cd47e77ca3725f915e44c6ab6501bd5c810bda1332937670Mint156982102022-10-07 19:11:47111 days 11 hrs ago0x350e53e92794eb408768b13b9070e91d1520ac5d IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0011724 13
0xaf0eaa4e5eb9b05427d28300519537a2c7feb1f7b35c54ddcd8226ef530bf1c0Mint156982102022-10-07 19:11:47111 days 11 hrs ago0xa294259fc228f389830be85b5ebe5f0df8709c0d IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0011724 13
0x82b43a10c8b768c93cbdc64742b246892fffed816c0a8e670a745c11590100ffMint156982102022-10-07 19:11:47111 days 11 hrs ago0x8cb6a9ab831343433a102189988f94067d79ab3e IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0011724 13
0x568c8ddc94197d4f0588f469bc94a6e825a413e1e692043c5d874bd0e049bfa4Mint156982102022-10-07 19:11:47111 days 11 hrs ago0xf0c99173a9aa7f831bf426f5d59a37bddbc46407 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0011724 13
0x437b2d82d2f9a2acce318af2f00f59b3bdd646fe12d71951807de8d2139f21e0Mint156982102022-10-07 19:11:47111 days 11 hrs ago0x7933ceb412c9c820c4d67232ec62992053c770e7 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0011724 13
0x30b1dadf662822c2b6a96ba40915f0d72526da16c66c8cdbcc4aba6b49e7b8b0Mint156982062022-10-07 19:10:59111 days 11 hrs agoENS Name sonkayah.eth IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00126632 14.04142437
0x0eaa95ca786f9f0c4866ae034eebecff86a4c080ebfe55f9cd034029abcfc4cdMint156981852022-10-07 19:06:47111 days 12 hrs agoENS Name cyx.eth IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00176361 19.55556396
0x05b0c30b9b2e17e392e89f0a19269b88b532be0daf901d1a1e63d7dc083d5167Owner Mint156981812022-10-07 19:05:59111 days 12 hrs ago0x5713707e85666eb20ab5fc28b771404f893ca4d3 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00162481 20.09017095
0xf2b102e515faceae620e4d011f0c92a5d66eb0e066acdce60cedb7878bc0bcb6Mint156981762022-10-07 19:04:59111 days 12 hrs ago0x06d78316cd6a146f09f6973f9dcfce36e76fba53 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00089874 22.11636218
0xef14bff4bffa3b5ba68454f35b26a9ac0d2106709c870321e06681d607f0cf3fMint156981752022-10-07 19:04:47111 days 12 hrs ago0x06d78316cd6a146f09f6973f9dcfce36e76fba53 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00200322 22.21234752
0xeb78d27dd1a15c23f0c947477fee7ed5a2e2d59d1751a6987641d26a65c8d9faSet Approval For...156981732022-10-07 19:04:23111 days 12 hrs agoENS Name tomimarfa.eth IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00104745 22.71790173
0x5776698e22b2ecb5663504438b6f351b0341ccc270f9a45bac20f0eca8acd8eaMint156981642022-10-07 19:02:35111 days 12 hrs ago0xa702a0d921b3dc4fba18d0c6d198fc90c79544d9 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00162755 18.04683117
0x2adf3eeb81bd4481544a2a0d8d0822ac879364f6d76076b7659d74e3bce64719Mint156981632022-10-07 19:02:23111 days 12 hrs ago0x5587069b5b1bd7715bf453a45c64e75801b07721 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00147187 16.32063511
0xbff2758b50aed68bd672cb61518999bdb6657a852d47f3dd8f05ac2ecf27e4aeSet Approval For...156981592022-10-07 19:01:35111 days 12 hrs ago0x7740e5bece07f39a34f30d7023beb1e5b316d9e9 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00062457 13.54628631
0x2f04229fb92b7a896f02e78c7cec9f37137c627898be925265843b56035eb3ddOwner Mint156981592022-10-07 19:01:35111 days 12 hrs ago0x5713707e85666eb20ab5fc28b771404f893ca4d3 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00346411 13.54628631
0x07aae0880cabdf3523b5c9e986d4f0b19ce3b53d02f368b7891e2d925b725722Mint156981492022-10-07 18:59:35111 days 12 hrs ago0xcf5a100b7fd96fb1be3c83ed112d42e43c4a3823 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.0009920311
0xd1fafbf753065783c4f4bc9b0514e6d5618fda14bf8c7063dd3887614ef8cfe1Mint156981472022-10-07 18:59:11111 days 12 hrs ago0xb16b462654e722ba19f5dad642260fa361d0fbc6 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00094263 10.45223295
0x26c02fd64a8249a98dee0e3aaabf17e2f0bdee2a01d9099a06d465720c659f95Mint156981472022-10-07 18:59:11111 days 12 hrs ago0x35c7f81e953c61ab42d0a052f0fadea82fb0f362 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00103281 11.45223295
0x8097917ec00914a797ebd2c77455c5d742cb4d157a90ea34c8aab9da20f2c1e3Mint156981452022-10-07 18:58:47111 days 12 hrs agoENS Name lnpandy.eth IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00107279 11.89547065
0x1d3f7983c6b2c9f66853784d80681c9f6a15797101d308b0095ae19a8a991aa6Mint156981442022-10-07 18:58:35111 days 12 hrs ago0x9c366eca522cd8f78e1eaa2ba7334a41f0c2c885 IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00095148 10.55036189
0x3cb2826f7d4f2e0b35b3097fff7606be81d2dd187c9bf584a5795c4e72c54b32Mint156981442022-10-07 18:58:35111 days 12 hrs ago0x1c10f699fa2a15991533b4224d3ad168c711c5ef IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00095148 10.55036189
0xa7dc301eec5cf8a40d40f2838003088d508219d3b6e73b0825ee412662f9ad71Mint156981442022-10-07 18:58:35111 days 12 hrs agoENS Name za3bor.eth IN  0xff8d05253ff6c10f764a81e68e0094f4c88f434e0 Ether0.00108044 11.98036189
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TheWingedLegions

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-10-07
*/

// File: contracts/Legionswinged.sol


//SPDX-License-Identifier: MIT

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


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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;

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

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


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

pragma solidity ^0.8.0;


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

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


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

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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




// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

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



// Creator: Chiru Labs

pragma solidity ^0.8.4;









error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
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 See {IERC721Enumerable-totalSupply}.
     * @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) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        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) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        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 {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _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 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);

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

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // 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[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].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;
            if (_ownerships[nextTokenId].addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, 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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }



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

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

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




pragma solidity ^0.8.2;




contract TheWingedLegions is ERC721A, Ownable, ReentrancyGuard {
    enum Status {
        Waiting,
        Started,
        Finished
    }
    using Strings for uint256;
    bool public isPublicSaleActive = false;
    string private baseURI = "ipfs://QmbRt5FFLRrHPcsbeLJVzVmzgNHN8a1spALssBxVHAxZiW/";
    uint256 public constant MAX_MINT_PER_ADDR = 3;
    uint256 public constant MAX_FREE_MINT_PER_ADDR = 1;
    uint256 public PUBLIC_PRICE = 0.002 * 10**18;
    uint256 public constant MAX_SUPPLY = 444;
    uint256 public constant FREE_MINT_SUPPLY = 111;
    uint256 public INSTANT_FREE_MINTED = 0;

    event Minted(address minter, uint256 amount);

    constructor(string memory initBaseURI) ERC721A("TheWingedLegions", "WL") {
        baseURI = initBaseURI;
        _safeMint(msg.sender, MAX_FREE_MINT_PER_ADDR);
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }
    function ownerMint(uint quantity, address user)
    public
    onlyOwner
    {
    require(
      quantity > 0,
      "Invalid mint amount"
    );
    require(
      totalSupply() + quantity <= MAX_SUPPLY,
      "Maximum supply exceeded"
    );
    _safeMint(user, quantity);
    }

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

    function tokenURI(uint256 _tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(
            _exists(_tokenId),
            "ERC721Metadata: URI query for nonexistent token"
        );
        return
            string(
                abi.encodePacked(baseURI, "/", _tokenId.toString(), ".json")
            );
    }

    function setBaseURI(string calldata newBaseURI) external onlyOwner {
        baseURI = newBaseURI;
    }

    function mint(uint256 quantity) external payable nonReentrant {
        require(isPublicSaleActive, "Public sale is not open");
        require(tx.origin == msg.sender, "-Contract call not allowed-");
        require(
            numberMinted(msg.sender) + quantity <= MAX_MINT_PER_ADDR,
            "-This is more than allowed-"
        );
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "-Not enough quantity-"
        );

        uint256 _cost;
        if (INSTANT_FREE_MINTED < FREE_MINT_SUPPLY) {
            uint256 remainFreeAmont = (numberMinted(msg.sender) <
                MAX_FREE_MINT_PER_ADDR)
                ? (MAX_FREE_MINT_PER_ADDR - numberMinted(msg.sender))
                : 0;

            _cost =
                PUBLIC_PRICE *
                (
                    (quantity <= remainFreeAmont)
                        ? 0
                        : (quantity - remainFreeAmont)
                );

            INSTANT_FREE_MINTED += (
                (quantity <= remainFreeAmont) ? quantity : remainFreeAmont
            );
        } else {
            _cost = PUBLIC_PRICE * quantity;
        }
        require(msg.value >= _cost, "-Not enough ETH-");
        _safeMint(msg.sender, quantity);
        emit Minted(msg.sender, quantity);
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }
    
    function setIsPublicSaleActive(bool _isPublicSaleActive)
      external
      onlyOwner
  {
      isPublicSaleActive = _isPublicSaleActive;
  }


    function withdraw(address payable recipient)
        external
        onlyOwner
        nonReentrant
    {
        uint256 balance = address(this).balance;
        (bool success, ) = recipient.call{value: balance}("");
        require(success, "-Withdraw failed-");
    }

    function updatePrice(uint256 __price) external onlyOwner {
        PUBLIC_PRICE = __price;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"initBaseURI","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":"MintedQueryForZeroAddress","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":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Minted","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":"FREE_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"INSTANT_FREE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FREE_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT_PER_ADDR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"user","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","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":[{"internalType":"uint256","name":"__price","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

600a805460ff1916905560e060405260366080818152906200259060a03980516200003391600b916020909101906200048d565b5066071afd498d0000600c556000600d553480156200005157600080fd5b50604051620025e6380380620025e6833981016040819052620000749162000566565b6040518060400160405280601081526020016f54686557696e6765644c6567696f6e7360801b8152506040518060400160405280600281526020016115d360f21b8152508160029080519060200190620000d09291906200048d565b508051620000e69060039060208401906200048d565b5050600160005550620000f93362000128565b600160095580516200011390600b9060208401906200048d565b50620001213360016200017a565b50620006f6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200019c828260405180602001604052806000815250620001a060201b60201c565b5050565b620001af8383836001620001b4565b505050565b6000546001600160a01b038516620001de57604051622e076360e81b815260040160405180910390fd5b83620001fd5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546001600160801b031981166001600160401b038083168c018116918217680100000000000000006001600160401b031990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015620002b65750620002b6876001600160a01b03166200037d60201b62000f1b1760201c565b1562000336575b60405182906001600160a01b03891690600090600080516020620025c6833981519152908290a46001820191620002fa906000908990886200038c565b62000318576040516368d2bf6b60e11b815260040160405180910390fd5b80821415620002bd5782600054146200033057600080fd5b6200036c565b5b6040516001830192906001600160a01b03891690600090600080516020620025c6833981519152908290a48082141562000337575b506000555050505050565b50505050565b6001600160a01b03163b151590565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290620003c39033908990889088906004016200061e565b602060405180830381600087803b158015620003de57600080fd5b505af192505050801562000411575060408051601f3d908101601f191682019092526200040e9181019062000533565b60015b62000470573d80801562000442576040519150601f19603f3d011682016040523d82523d6000602084013e62000447565b606091505b50805162000468576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b8280546200049b90620006a3565b90600052602060002090601f016020900481019282620004bf57600085556200050a565b82601f10620004da57805160ff19168380011785556200050a565b828001600101855582156200050a579182015b828111156200050a578251825591602001919060010190620004ed565b50620005189291506200051c565b5090565b5b808211156200051857600081556001016200051d565b6000602082840312156200054657600080fd5b81516001600160e01b0319811681146200055f57600080fd5b9392505050565b6000602082840312156200057957600080fd5b81516001600160401b03808211156200059157600080fd5b818401915084601f830112620005a657600080fd5b815181811115620005bb57620005bb620006e0565b604051601f8201601f19908116603f01168101908382118183101715620005e657620005e6620006e0565b816040528281528760208487010111156200060057600080fd5b6200061383602083016020880162000674565b979650505050505050565b600060018060a01b0380871683528086166020840152508360408301526080606083015282518060808401526200065d8160a085016020870162000674565b601f01601f19169190910160a00195945050505050565b60005b838110156200069157818101518382015260200162000677565b83811115620003775750506000910152565b600181811c90821680620006b857607f821691505b60208210811415620006da57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611e8a80620007066000396000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a0712d6811610095578063d52c57e011610064578063d52c57e01461050f578063dc33e6811461052f578063e985e9c51461054f578063f2fde38b1461059857600080fd5b8063a0712d681461049c578063a22cb465146104af578063b88d4fde146104cf578063c87b56dd146104ef57600080fd5b806382481c0e116100d157806382481c0e146104335780638d6cc56d146104495780638da5cb5b1461046957806395d89b411461048757600080fd5b80636352211e146103c957806363eb8bb6146103e957806370a08231146103fe578063715018a61461041e57600080fd5b80631e84c4131161017a57806342842e0e1161014957806342842e0e1461035357806351cff8d91461037357806355f804b314610393578063611f3f10146103b357600080fd5b80631e84c413146102e357806323b872dd146102fd57806328cad13d1461031d57806332cb6b0c1461033d57600080fd5b8063081812fc116101b6578063081812fc14610257578063095ea7b31461028f57806316154862146102b157806318160ddd146102c657600080fd5b806301ffc9a7146101dd5780630528eb431461021257806306fdde0314610235575b600080fd5b3480156101e957600080fd5b506101fd6101f8366004611a8c565b6105b8565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227600181565b604051908152602001610209565b34801561024157600080fd5b5061024a61060a565b6040516102099190611cc6565b34801561026357600080fd5b50610277610272366004611b38565b61069c565b6040516001600160a01b039091168152602001610209565b34801561029b57600080fd5b506102af6102aa366004611a45565b6106e0565b005b3480156102bd57600080fd5b50610227600381565b3480156102d257600080fd5b506001546000540360001901610227565b3480156102ef57600080fd5b50600a546101fd9060ff1681565b34801561030957600080fd5b506102af6103183660046118ef565b61076e565b34801561032957600080fd5b506102af610338366004611a71565b610779565b34801561034957600080fd5b506102276101bc81565b34801561035f57600080fd5b506102af61036e3660046118ef565b610794565b34801561037f57600080fd5b506102af61038e366004611892565b6107af565b34801561039f57600080fd5b506102af6103ae366004611ac6565b6108b5565b3480156103bf57600080fd5b50610227600c5481565b3480156103d557600080fd5b506102776103e4366004611b38565b6108c9565b3480156103f557600080fd5b50610227606f81565b34801561040a57600080fd5b50610227610419366004611892565b6108db565b34801561042a57600080fd5b506102af61092a565b34801561043f57600080fd5b50610227600d5481565b34801561045557600080fd5b506102af610464366004611b38565b61093e565b34801561047557600080fd5b506008546001600160a01b0316610277565b34801561049357600080fd5b5061024a61094b565b6102af6104aa366004611b38565b61095a565b3480156104bb57600080fd5b506102af6104ca366004611a10565b610c4a565b3480156104db57600080fd5b506102af6104ea366004611930565b610ce0565b3480156104fb57600080fd5b5061024a61050a366004611b38565b610d31565b34801561051b57600080fd5b506102af61052a366004611b51565b610dd2565b34801561053b57600080fd5b5061022761054a366004611892565b610e97565b34801561055b57600080fd5b506101fd61056a3660046118b6565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156105a457600080fd5b506102af6105b3366004611892565b610ea2565b60006001600160e01b031982166380ac58cd60e01b14806105e957506001600160e01b03198216635b5e139f60e01b145b8061060457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461061990611d67565b80601f016020809104026020016040519081016040528092919081815260200182805461064590611d67565b80156106925780601f1061066757610100808354040283529160200191610692565b820191906000526020600020905b81548152906001019060200180831161067557829003601f168201915b5050505050905090565b60006106a782610f2a565b6106c4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106eb826108c9565b9050806001600160a01b0316836001600160a01b031614156107205760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610740575061073e813361056a565b155b1561075e576040516367d9dca160e11b815260040160405180910390fd5b610769838383610f63565b505050565b610769838383610fbf565b6107816111d5565b600a805460ff1916911515919091179055565b61076983838360405180602001604052806000815250610ce0565b6107b76111d5565b6002600954141561080f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b600260095560405147906000906001600160a01b0384169083908381818185875af1925050503d8060008114610861576040519150601f19603f3d011682016040523d82523d6000602084013e610866565b606091505b50509050806108ab5760405162461bcd60e51b81526020600482015260116024820152702d5769746864726177206661696c65642d60781b6044820152606401610806565b5050600160095550565b6108bd6111d5565b610769600b83836117e4565b60006108d48261122f565b5192915050565b60006001600160a01b038216610904576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6109326111d5565b61093c6000611358565b565b6109466111d5565b600c55565b60606003805461061990611d67565b600260095414156109ad5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610806565b6002600955600a5460ff16610a045760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006044820152606401610806565b323314610a535760405162461bcd60e51b815260206004820152601b60248201527f2d436f6e74726163742063616c6c206e6f7420616c6c6f7765642d00000000006044820152606401610806565b600381610a5f33610e97565b610a699190611cd9565b1115610ab75760405162461bcd60e51b815260206004820152601b60248201527f2d54686973206973206d6f7265207468616e20616c6c6f7765642d00000000006044820152606401610806565b6001546000546101bc9183910360001901610ad29190611cd9565b1115610b185760405162461bcd60e51b81526020600482015260156024820152742d4e6f7420656e6f756768207175616e746974792d60581b6044820152606401610806565b6000606f600d541015610baa5760006001610b3233610e97565b10610b3e576000610b52565b610b4733610e97565b610b52906001611d24565b905080831115610b6b57610b668184611d24565b610b6e565b60005b600c54610b7b9190611d05565b915080831115610b8b5780610b8d565b825b600d6000828254610b9e9190611cd9565b90915550610bbb915050565b81600c54610bb89190611d05565b90505b80341015610bfe5760405162461bcd60e51b815260206004820152601060248201526f2d4e6f7420656e6f756768204554482d60801b6044820152606401610806565b610c0833836113aa565b60408051338152602081018490527f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe910160405180910390a150506001600955565b6001600160a01b038216331415610c745760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610ceb848484610fbf565b6001600160a01b0383163b15158015610d0d5750610d0b848484846113c4565b155b15610d2b576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d3c82610f2a565b610da05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610806565b600b610dab836114bc565b604051602001610dbc929190611bbe565b6040516020818303038152906040529050919050565b610dda6111d5565b60008211610e205760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b6044820152606401610806565b6001546000546101bc9184910360001901610e3b9190611cd9565b1115610e895760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c792065786365656465640000000000000000006044820152606401610806565b610e9381836113aa565b5050565b6000610604826115ba565b610eaa6111d5565b6001600160a01b038116610f0f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610806565b610f1881611358565b50565b6001600160a01b03163b151590565b600081600111158015610f3e575060005482105b8015610604575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610fca8261122f565b80519091506000906001600160a01b0316336001600160a01b03161480610ff857508151610ff8903361056a565b806110135750336110088461069c565b6001600160a01b0316145b90508061103357604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146110685760405162a1148160e81b815260040160405180910390fd5b6001600160a01b03841661108f57604051633a954ecd60e21b815260040160405180910390fd5b61109f6000848460000151610f63565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021790925590860180835291205490911661118b5760005481101561118b578251600082815260046020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6008546001600160a01b0316331461093c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610806565b6040805160608101825260008082526020820181905291810191909152818060011115801561125f575060005481105b1561133f57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff1615159181018290529061133d5780516001600160a01b0316156112d3579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215611338579392505050565b6112d3565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e93828260405180602001604052806000815250611610565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906113f9903390899088908890600401611c89565b602060405180830381600087803b15801561141357600080fd5b505af1925050508015611443575060408051601f3d908101601f1916820190925261144091810190611aa9565b60015b61149e573d808015611471576040519150601f19603f3d011682016040523d82523d6000602084013e611476565b606091505b508051611496576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060816114e05750506040805180820190915260018152600360fc1b602082015290565b8160005b811561150a57806114f481611da2565b91506115039050600a83611cf1565b91506114e4565b60008167ffffffffffffffff81111561152557611525611e13565b6040519080825280601f01601f19166020018201604052801561154f576020820181803683370190505b5090505b84156114b457611564600183611d24565b9150611571600a86611dbd565b61157c906030611cd9565b60f81b81838151811061159157611591611dfd565b60200101906001600160f81b031916908160001a9053506115b3600a86611cf1565b9450611553565b60006001600160a01b0382166115e3576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b900467ffffffffffffffff1690565b61076983838360016000546001600160a01b03851661164157604051622e076360e81b815260040160405180910390fd5b8361165f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561170c57506001600160a01b0387163b15155b15611795575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461175d60008884806001019550886113c4565b61177a576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561171257826000541461179057600080fd5b6117db565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611796575b506000556111ce565b8280546117f090611d67565b90600052602060002090601f0160209004810192826118125760008555611858565b82601f1061182b5782800160ff19823516178555611858565b82800160010185558215611858579182015b8281111561185857823582559160200191906001019061183d565b50611864929150611868565b5090565b5b808211156118645760008155600101611869565b8035801515811461188d57600080fd5b919050565b6000602082840312156118a457600080fd5b81356118af81611e29565b9392505050565b600080604083850312156118c957600080fd5b82356118d481611e29565b915060208301356118e481611e29565b809150509250929050565b60008060006060848603121561190457600080fd5b833561190f81611e29565b9250602084013561191f81611e29565b929592945050506040919091013590565b6000806000806080858703121561194657600080fd5b843561195181611e29565b9350602085013561196181611e29565b925060408501359150606085013567ffffffffffffffff8082111561198557600080fd5b818701915087601f83011261199957600080fd5b8135818111156119ab576119ab611e13565b604051601f8201601f19908116603f011681019083821181831017156119d3576119d3611e13565b816040528281528a60208487010111156119ec57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a2357600080fd5b8235611a2e81611e29565b9150611a3c6020840161187d565b90509250929050565b60008060408385031215611a5857600080fd5b8235611a6381611e29565b946020939093013593505050565b600060208284031215611a8357600080fd5b6118af8261187d565b600060208284031215611a9e57600080fd5b81356118af81611e3e565b600060208284031215611abb57600080fd5b81516118af81611e3e565b60008060208385031215611ad957600080fd5b823567ffffffffffffffff80821115611af157600080fd5b818501915085601f830112611b0557600080fd5b813581811115611b1457600080fd5b866020828501011115611b2657600080fd5b60209290920196919550909350505050565b600060208284031215611b4a57600080fd5b5035919050565b60008060408385031215611b6457600080fd5b8235915060208301356118e481611e29565b60008151808452611b8e816020860160208601611d3b565b601f01601f19169290920160200192915050565b60008151611bb4818560208601611d3b565b9290920192915050565b600080845481600182811c915080831680611bda57607f831692505b6020808410821415611bfa57634e487b7160e01b86526022600452602486fd5b818015611c0e5760018114611c1f57611c4c565b60ff19861689528489019650611c4c565b60008b81526020902060005b86811015611c445781548b820152908501908301611c2b565b505084890196505b505050505050611c80611c6f611c6983602f60f81b815260010190565b86611ba2565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cbc90830184611b76565b9695505050505050565b6020815260006118af6020830184611b76565b60008219821115611cec57611cec611dd1565b500190565b600082611d0057611d00611de7565b500490565b6000816000190483118215151615611d1f57611d1f611dd1565b500290565b600082821015611d3657611d36611dd1565b500390565b60005b83811015611d56578181015183820152602001611d3e565b83811115610d2b5750506000910152565b600181811c90821680611d7b57607f821691505b60208210811415611d9c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611db657611db6611dd1565b5060010190565b600082611dcc57611dcc611de7565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1857600080fd5b6001600160e01b031981168114610f1857600080fdfea2646970667358221220ccfe50b32c613149ddf458992d04e5fe933c3095cc4719eb9790b1bf9e774b3e64736f6c63430008070033697066733a2f2f516d6252743546464c52724850637362654c4a567a566d7a674e484e3861317370414c73734278564841785a69572fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6252743546464c52724850637362654c4a567a566d7a674e484e3861317370414c73734278564841785a69572f00000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6252743546464c52724850637362654c4a567a566d7a674e484e3861317370414c73734278564841785a69572f00000000000000000000

-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmbRt5FFLRrHPcsbeLJVzVmzgNHN8a1spALssBxVHAxZiW/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d6252743546464c52724850637362654c4a567a566d7a67
Arg [3] : 4e484e3861317370414c73734278564841785a69572f00000000000000000000


Deployed ByteCode Sourcemap

49235:3909:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29023:305;;;;;;;;;;-1:-1:-1;29023:305:0;;;;;:::i;:::-;;:::i;:::-;;;8729:14:1;;8722:22;8704:41;;8692:2;8677:18;29023:305:0;;;;;;;;49602:50;;;;;;;;;;;;49651:1;49602:50;;;;;13475:25:1;;;13463:2;13448:18;49602:50:0;13329:177:1;32410:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;33913:204::-;;;;;;;;;;-1:-1:-1;33913:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7748:32:1;;;7730:51;;7718:2;7703:18;33913:204:0;7584:203:1;33476:371:0;;;;;;;;;;-1:-1:-1;33476:371:0;;;;;:::i;:::-;;:::i;:::-;;49550:45;;;;;;;;;;;;49594:1;49550:45;;28272:303;;;;;;;;;;-1:-1:-1;50587:1:0;28526:12;28316:7;28510:13;:28;-1:-1:-1;;28510:46:0;28272:303;;49417:38;;;;;;;;;;-1:-1:-1;49417:38:0;;;;;;;;34770:170;;;;;;;;;;-1:-1:-1;34770:170:0;;;;;:::i;:::-;;:::i;52598:148::-;;;;;;;;;;-1:-1:-1;52598:148:0;;;;;:::i;:::-;;:::i;49710:40::-;;;;;;;;;;;;49747:3;49710:40;;35011:185;;;;;;;;;;-1:-1:-1;35011:185:0;;;;;:::i;:::-;;:::i;52756:279::-;;;;;;;;;;-1:-1:-1;52756:279:0;;;;;:::i;:::-;;:::i;51015:106::-;;;;;;;;;;-1:-1:-1;51015:106:0;;;;;:::i;:::-;;:::i;49659:44::-;;;;;;;;;;;;;;;;32219:124;;;;;;;;;;-1:-1:-1;32219:124:0;;;;;:::i;:::-;;:::i;49757:46::-;;;;;;;;;;;;49800:3;49757:46;;29392:206;;;;;;;;;;-1:-1:-1;29392:206:0;;;;;:::i;:::-;;:::i;48379:103::-;;;;;;;;;;;;;:::i;49810:38::-;;;;;;;;;;;;;;;;53043:98;;;;;;;;;;-1:-1:-1;53043:98:0;;;;;:::i;:::-;;:::i;47727:87::-;;;;;;;;;;-1:-1:-1;47800:6:0;;-1:-1:-1;;;;;47800:6:0;47727:87;;32579:104;;;;;;;;;;;;;:::i;51129:1336::-;;;;;;:::i;:::-;;:::i;34189:279::-;;;;;;;;;;-1:-1:-1;34189:279:0;;;;;:::i;:::-;;:::i;35267:369::-;;;;;;;;;;-1:-1:-1;35267:369:0;;;;;:::i;:::-;;:::i;50604:403::-;;;;;;;;;;-1:-1:-1;50604:403:0;;;;;:::i;:::-;;:::i;50193:294::-;;;;;;;;;;-1:-1:-1;50193:294:0;;;;;:::i;:::-;;:::i;52473:113::-;;;;;;;;;;-1:-1:-1;52473:113:0;;;;;:::i;:::-;;:::i;34539:164::-;;;;;;;;;;-1:-1:-1;34539:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;34660:25:0;;;34636:4;34660:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;34539:164;48637:201;;;;;;;;;;-1:-1:-1;48637:201:0;;;;;:::i;:::-;;:::i;29023:305::-;29125:4;-1:-1:-1;;;;;;29162:40:0;;-1:-1:-1;;;29162:40:0;;:105;;-1:-1:-1;;;;;;;29219:48:0;;-1:-1:-1;;;29219:48:0;29162:105;:158;;;-1:-1:-1;;;;;;;;;;16830:40:0;;;29284:36;29142:178;29023:305;-1:-1:-1;;29023:305:0:o;32410:100::-;32464:13;32497:5;32490:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32410:100;:::o;33913:204::-;33981:7;34006:16;34014:7;34006;:16::i;:::-;34001:64;;34031:34;;-1:-1:-1;;;34031:34:0;;;;;;;;;;;34001:64;-1:-1:-1;34085:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;34085:24:0;;33913:204::o;33476:371::-;33549:13;33565:24;33581:7;33565:15;:24::i;:::-;33549:40;;33610:5;-1:-1:-1;;;;;33604:11:0;:2;-1:-1:-1;;;;;33604:11:0;;33600:48;;;33624:24;;-1:-1:-1;;;33624:24:0;;;;;;;;;;;33600:48;24415:10;-1:-1:-1;;;;;33665:21:0;;;;;;:63;;-1:-1:-1;33691:37:0;33708:5;24415:10;34539:164;:::i;33691:37::-;33690:38;33665:63;33661:138;;;33752:35;;-1:-1:-1;;;33752:35:0;;;;;;;;;;;33661:138;33811:28;33820:2;33824:7;33833:5;33811:8;:28::i;:::-;33538:309;33476:371;;:::o;34770:170::-;34904:28;34914:4;34920:2;34924:7;34904:9;:28::i;52598:148::-;47613:13;:11;:13::i;:::-;52700:18:::1;:40:::0;;-1:-1:-1;;52700:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;52598:148::o;35011:185::-;35149:39;35166:4;35172:2;35176:7;35149:39;;;;;;;;;;;;:16;:39::i;52756:279::-;47613:13;:11;:13::i;:::-;1888:1:::1;2486:7;;:19;;2478:63;;;::::0;-1:-1:-1;;;2478:63:0;;12819:2:1;2478:63:0::1;::::0;::::1;12801:21:1::0;12858:2;12838:18;;;12831:30;12897:33;12877:18;;;12870:61;12948:18;;2478:63:0::1;;;;;;;;;1888:1;2619:7;:18:::0;52945:34:::2;::::0;52894:21:::2;::::0;52876:15:::2;::::0;-1:-1:-1;;;;;52945:14:0;::::2;::::0;52894:21;;52876:15;52945:34;52876:15;52945:34;52894:21;52945:14;:34:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52926:53;;;52998:7;52990:37;;;::::0;-1:-1:-1;;;52990:37:0;;9589:2:1;52990:37:0::2;::::0;::::2;9571:21:1::0;9628:2;9608:18;;;9601:30;-1:-1:-1;;;9647:18:1;;;9640:47;9704:18;;52990:37:0::2;9387:341:1::0;52990:37:0::2;-1:-1:-1::0;;1844:1:0::1;2798:7;:22:::0;-1:-1:-1;52756:279:0:o;51015:106::-;47613:13;:11;:13::i;:::-;51093:20:::1;:7;51103:10:::0;;51093:20:::1;:::i;32219:124::-:0;32283:7;32310:20;32322:7;32310:11;:20::i;:::-;:25;;32219:124;-1:-1:-1;;32219:124:0:o;29392:206::-;29456:7;-1:-1:-1;;;;;29480:19:0;;29476:60;;29508:28;;-1:-1:-1;;;29508:28:0;;;;;;;;;;;29476:60;-1:-1:-1;;;;;;29562:19:0;;;;;:12;:19;;;;;:27;;;;29392:206::o;48379:103::-;47613:13;:11;:13::i;:::-;48444:30:::1;48471:1;48444:18;:30::i;:::-;48379:103::o:0;53043:98::-;47613:13;:11;:13::i;:::-;53111:12:::1;:22:::0;53043:98::o;32579:104::-;32635:13;32668:7;32661:14;;;;;:::i;51129:1336::-;1888:1;2486:7;;:19;;2478:63;;;;-1:-1:-1;;;2478:63:0;;12819:2:1;2478:63:0;;;12801:21:1;12858:2;12838:18;;;12831:30;12897:33;12877:18;;;12870:61;12948:18;;2478:63:0;12617:355:1;2478:63:0;1888:1;2619:7;:18;51210::::1;::::0;::::1;;51202:54;;;::::0;-1:-1:-1;;;51202:54:0;;13179:2:1;51202:54:0::1;::::0;::::1;13161:21:1::0;13218:2;13198:18;;;13191:30;13257:25;13237:18;;;13230:53;13300:18;;51202:54:0::1;12977:347:1::0;51202:54:0::1;51275:9;51288:10;51275:23;51267:63;;;::::0;-1:-1:-1;;;51267:63:0;;9935:2:1;51267:63:0::1;::::0;::::1;9917:21:1::0;9974:2;9954:18;;;9947:30;10013:29;9993:18;;;9986:57;10060:18;;51267:63:0::1;9733:351:1::0;51267:63:0::1;49594:1;51390:8;51363:24;51376:10;51363:12;:24::i;:::-;:35;;;;:::i;:::-;:56;;51341:133;;;::::0;-1:-1:-1;;;51341:133:0;;10986:2:1;51341:133:0::1;::::0;::::1;10968:21:1::0;11025:2;11005:18;;;10998:30;11064:29;11044:18;;;11037:57;11111:18;;51341:133:0::1;10784:351:1::0;51341:133:0::1;50587:1:::0;28526:12;28316:7;28510:13;49747:3:::1;::::0;51523:8;;28510:28;-1:-1:-1;;28510:46:0;51507:24:::1;;;;:::i;:::-;:38;;51485:109;;;::::0;-1:-1:-1;;;51485:109:0;;10636:2:1;51485:109:0::1;::::0;::::1;10618:21:1::0;10675:2;10655:18;;;10648:30;-1:-1:-1;;;10694:18:1;;;10687:51;10755:18;;51485:109:0::1;10434:345:1::0;51485:109:0::1;51607:13;49800:3;51635:19;;:38;51631:683;;;51690:23;49651:1;51717:24;51730:10;51717:12;:24::i;:::-;:66;51716:160;;51875:1;51716:160;;;51830:24;51843:10;51830:12;:24::i;:::-;51805:49;::::0;49651:1:::1;51805:49;:::i;:::-;51690:186;;51986:15;51974:8;:27;;51973:114;;52060:26;52071:15:::0;52060:8;:26:::1;:::i;:::-;51973:114;;;52030:1;51973:114;51918:12;;:188;;;;:::i;:::-;51893:213;;52178:15;52166:8;:27;;52165:58;;52208:15;52165:58;;;52197:8;52165:58;52123:19;;:115;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;51631:683:0::1;::::0;-1:-1:-1;;51631:683:0::1;;52294:8;52279:12;;:23;;;;:::i;:::-;52271:31;;51631:683;52345:5;52332:9;:18;;52324:47;;;::::0;-1:-1:-1;;;52324:47:0;;10291:2:1;52324:47:0::1;::::0;::::1;10273:21:1::0;10330:2;10310:18;;;10303:30;-1:-1:-1;;;10349:18:1;;;10342:46;10405:18;;52324:47:0::1;10089:340:1::0;52324:47:0::1;52382:31;52392:10;52404:8;52382:9;:31::i;:::-;52429:28;::::0;;52436:10:::1;8459:51:1::0;;8541:2;8526:18;;8519:34;;;52429:28:0::1;::::0;8432:18:1;52429:28:0::1;;;;;;;-1:-1:-1::0;;1844:1:0;2798:7;:22;51129:1336::o;34189:279::-;-1:-1:-1;;;;;34280:24:0;;24415:10;34280:24;34276:54;;;34313:17;;-1:-1:-1;;;34313:17:0;;;;;;;;;;;34276:54;24415:10;34343:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;34343:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;34343:53:0;;;;;;;;;;34412:48;;8704:41:1;;;34343:42:0;;24415:10;34412:48;;8677:18:1;34412:48:0;;;;;;;34189:279;;:::o;35267:369::-;35434:28;35444:4;35450:2;35454:7;35434:9;:28::i;:::-;-1:-1:-1;;;;;35477:13:0;;6860:19;:23;;35477:76;;;;;35497:56;35528:4;35534:2;35538:7;35547:5;35497:30;:56::i;:::-;35496:57;35477:76;35473:156;;;35577:40;;-1:-1:-1;;;35577:40:0;;;;;;;;;;;35473:156;35267:369;;;;:::o;50604:403::-;50723:13;50776:17;50784:8;50776:7;:17::i;:::-;50754:114;;;;-1:-1:-1;;;50754:114:0;;12055:2:1;50754:114:0;;;12037:21:1;12094:2;12074:18;;;12067:30;12133:34;12113:18;;;12106:62;-1:-1:-1;;;12184:18:1;;;12177:45;12239:19;;50754:114:0;11853:411:1;50754:114:0;50941:7;50955:19;:8;:17;:19::i;:::-;50924:60;;;;;;;;;:::i;:::-;;;;;;;;;;;;;50879:120;;50604:403;;;:::o;50193:294::-;47613:13;:11;:13::i;:::-;50307:1:::1;50296:8;:12;50280:65;;;::::0;-1:-1:-1;;;50280:65:0;;12471:2:1;50280:65:0::1;::::0;::::1;12453:21:1::0;12510:2;12490:18;;;12483:30;-1:-1:-1;;;12529:18:1;;;12522:49;12588:18;;50280:65:0::1;12269:343:1::0;50280:65:0::1;50587:1:::0;28526:12;28316:7;28510:13;49747:3:::1;::::0;50384:8;;28510:28;-1:-1:-1;;28510:46:0;50368:24:::1;;;;:::i;:::-;:38;;50352:95;;;::::0;-1:-1:-1;;;50352:95:0;;11342:2:1;50352:95:0::1;::::0;::::1;11324:21:1::0;11381:2;11361:18;;;11354:30;11420:25;11400:18;;;11393:53;11463:18;;50352:95:0::1;11140:347:1::0;50352:95:0::1;50454:25;50464:4;50470:8;50454:9;:25::i;:::-;50193:294:::0;;:::o;52473:113::-;52531:7;52558:20;52572:5;52558:13;:20::i;48637:201::-;47613:13;:11;:13::i;:::-;-1:-1:-1;;;;;48726:22:0;::::1;48718:73;;;::::0;-1:-1:-1;;;48718:73:0;;9182:2:1;48718:73:0::1;::::0;::::1;9164:21:1::0;9221:2;9201:18;;;9194:30;9260:34;9240:18;;;9233:62;-1:-1:-1;;;9311:18:1;;;9304:36;9357:19;;48718:73:0::1;8980:402:1::0;48718:73:0::1;48802:28;48821:8;48802:18;:28::i;:::-;48637:201:::0;:::o;6565:326::-;-1:-1:-1;;;;;6860:19:0;;:23;;;6565:326::o;35891:187::-;35948:4;35991:7;50587:1;35972:26;;:53;;;;;36012:13;;36002:7;:23;35972:53;:98;;;;-1:-1:-1;;36043:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;36043:27:0;;;;36042:28;;35891:187::o;43508:196::-;43623:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;43623:29:0;-1:-1:-1;;;;;43623:29:0;;;;;;;;;43668:28;;43623:24;;43668:28;;;;;;;43508:196;;;:::o;39010:2112::-;39125:35;39163:20;39175:7;39163:11;:20::i;:::-;39238:18;;39125:58;;-1:-1:-1;39196:22:0;;-1:-1:-1;;;;;39222:34:0;24415:10;-1:-1:-1;;;;;39222:34:0;;:101;;;-1:-1:-1;39290:18:0;;39273:50;;24415:10;34539:164;:::i;39273:50::-;39222:154;;;-1:-1:-1;24415:10:0;39340:20;39352:7;39340:11;:20::i;:::-;-1:-1:-1;;;;;39340:36:0;;39222:154;39196:181;;39395:17;39390:66;;39421:35;;-1:-1:-1;;;39421:35:0;;;;;;;;;;;39390:66;39493:4;-1:-1:-1;;;;;39471:26:0;:13;:18;;;-1:-1:-1;;;;;39471:26:0;;39467:67;;39506:28;;-1:-1:-1;;;39506:28:0;;;;;;;;;;;39467:67;-1:-1:-1;;;;;39549:16:0;;39545:52;;39574:23;;-1:-1:-1;;;39574:23:0;;;;;;;;;;;39545:52;39718:49;39735:1;39739:7;39748:13;:18;;;39718:8;:49::i;:::-;-1:-1:-1;;;;;40063:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;40063:31:0;;;;;;;-1:-1:-1;;40063:31:0;;;;;;;40109:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;40109:29:0;;;;;;;;;;;40155:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;40200:61:0;;;;-1:-1:-1;;;40245:15:0;40200:61;;;;;;;;;;;40535:11;;;40565:24;;;;;:29;40535:11;;40565:29;40561:445;;40790:13;;40776:11;:27;40772:219;;;40860:18;;;40828:24;;;:11;:24;;;;;;;;:50;;40943:28;;;;40901:70;;-1:-1:-1;;;40901:70:0;-1:-1:-1;;;;;;40901:70:0;;;-1:-1:-1;;;;;40828:50:0;;;40901:70;;;;;;;40772:219;40038:979;41053:7;41049:2;-1:-1:-1;;;;;41034:27:0;41043:4;-1:-1:-1;;;;;41034:27:0;;;;;;;;;;;41072:42;39114:2008;;39010:2112;;;:::o;47892:132::-;47800:6;;-1:-1:-1;;;;;47800:6:0;24415:10;47956:23;47948:68;;;;-1:-1:-1;;;47948:68:0;;11694:2:1;47948:68:0;;;11676:21:1;;;11713:18;;;11706:30;11772:34;11752:18;;;11745:62;11824:18;;47948:68:0;11492:356:1;31047:1108:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;31157:7:0;;50587:1;31206:23;;:47;;;;;31240:13;;31233:4;:20;31206:47;31202:886;;;31274:31;31308:17;;;:11;:17;;;;;;;;;31274:51;;;;;;;;;-1:-1:-1;;;;;31274:51:0;;;;-1:-1:-1;;;31274:51:0;;;;;;;;;;;-1:-1:-1;;;31274:51:0;;;;;;;;;;;;;;31344:729;;31394:14;;-1:-1:-1;;;;;31394:28:0;;31390:101;;31458:9;31047:1108;-1:-1:-1;;;31047:1108:0:o;31390:101::-;-1:-1:-1;;;31833:6:0;31878:17;;;;:11;:17;;;;;;;;;31866:29;;;;;;;;;-1:-1:-1;;;;;31866:29:0;;;;;-1:-1:-1;;;31866:29:0;;;;;;;;;;;-1:-1:-1;;;31866:29:0;;;;;;;;;;;;;31926:28;31922:109;;31994:9;31047:1108;-1:-1:-1;;;31047:1108:0:o;31922:109::-;31793:261;;;31255:833;31202:886;32116:31;;-1:-1:-1;;;32116:31:0;;;;;;;;;;;48998:191;49091:6;;;-1:-1:-1;;;;;49108:17:0;;;-1:-1:-1;;;;;;49108:17:0;;;;;;;49141:40;;49091:6;;;49108:17;49091:6;;49141:40;;49072:16;;49141:40;49061:128;48998:191;:::o;36086:104::-;36155:27;36165:2;36169:8;36155:27;;;;;;;;;;;;:9;:27::i;44196:667::-;44380:72;;-1:-1:-1;;;44380:72:0;;44359:4;;-1:-1:-1;;;;;44380:36:0;;;;;:72;;24415:10;;44431:4;;44437:7;;44446:5;;44380:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44380:72:0;;;;;;;;-1:-1:-1;;44380:72:0;;;;;;;;;;;;:::i;:::-;;;44376:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44614:13:0;;44610:235;;44660:40;;-1:-1:-1;;;44660:40:0;;;;;;;;;;;44610:235;44803:6;44797:13;44788:6;44784:2;44780:15;44773:38;44376:480;-1:-1:-1;;;;;;44499:55:0;-1:-1:-1;;;44499:55:0;;-1:-1:-1;44376:480:0;44196:667;;;;;;:::o;3265:723::-;3321:13;3542:10;3538:53;;-1:-1:-1;;3569:10:0;;;;;;;;;;;;-1:-1:-1;;;3569:10:0;;;;;3265:723::o;3538:53::-;3616:5;3601:12;3657:78;3664:9;;3657:78;;3690:8;;;;:::i;:::-;;-1:-1:-1;3713:10:0;;-1:-1:-1;3721:2:0;3713:10;;:::i;:::-;;;3657:78;;;3745:19;3777:6;3767:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3767:17:0;;3745:39;;3795:154;3802:10;;3795:154;;3829:11;3839:1;3829:11;;:::i;:::-;;-1:-1:-1;3898:10:0;3906:2;3898:5;:10;:::i;:::-;3885:24;;:2;:24;:::i;:::-;3872:39;;3855:6;3862;3855:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3855:56:0;;;;;;;;-1:-1:-1;3926:11:0;3935:2;3926:11;;:::i;:::-;;;3795:154;;29680:207;29741:7;-1:-1:-1;;;;;29765:19:0;;29761:59;;29793:27;;-1:-1:-1;;;29793:27:0;;;;;;;;;;;29761:59;-1:-1:-1;;;;;;29846:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;29846:32:0;;;;;29680:207::o;36553:163::-;36676:32;36682:2;36686:8;36696:5;36703:4;37120:20;37143:13;-1:-1:-1;;;;;37171:16:0;;37167:48;;37196:19;;-1:-1:-1;;;37196:19:0;;;;;;;;;;;37167:48;37230:13;37226:44;;37252:18;;-1:-1:-1;;;37252:18:0;;;;;;;;;;;37226:44;-1:-1:-1;;;;;37621:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;37680:49:0;;37621:44;;;;;;;;37680:49;;;-1:-1:-1;;;;;37621:44:0;;;;;;37680:49;;;;;;;;;;;;;;;;37746:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;37796:66:0;;;;-1:-1:-1;;;37846:15:0;37796:66;;;;;;;;;;37746:25;37943:23;;;37987:4;:23;;;;-1:-1:-1;;;;;;37995:13:0;;6860:19;:23;;37995:15;37983:641;;;38031:314;38062:38;;38087:12;;-1:-1:-1;;;;;38062:38:0;;;38079:1;;38062:38;;38079:1;;38062:38;38128:69;38167:1;38171:2;38175:14;;;;;;38191:5;38128:30;:69::i;:::-;38123:174;;38233:40;;-1:-1:-1;;;38233:40:0;;;;;;;;;;;38123:174;38340:3;38324:12;:19;;38031:314;;38426:12;38409:13;;:29;38405:43;;38440:8;;;38405:43;37983:641;;;38489:120;38520:40;;38545:14;;;;;-1:-1:-1;;;;;38520:40:0;;;38537:1;;38520:40;;38537:1;;38520:40;38604:3;38588:12;:19;;38489:120;;37983:641;-1:-1:-1;38638:13:0;:28;38688:60;35267:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:160:1;79:20;;135:13;;128:21;118:32;;108:60;;164:1;161;154:12;108:60;14:160;;;:::o;179:247::-;238:6;291:2;279:9;270:7;266:23;262:32;259:52;;;307:1;304;297:12;259:52;346:9;333:23;365:31;390:5;365:31;:::i;:::-;415:5;179:247;-1:-1:-1;;;179:247:1:o;691:388::-;759:6;767;820:2;808:9;799:7;795:23;791:32;788:52;;;836:1;833;826:12;788:52;875:9;862:23;894:31;919:5;894:31;:::i;:::-;944:5;-1:-1:-1;1001:2:1;986:18;;973:32;1014:33;973:32;1014:33;:::i;:::-;1066:7;1056:17;;;691:388;;;;;:::o;1084:456::-;1161:6;1169;1177;1230:2;1218:9;1209:7;1205:23;1201:32;1198:52;;;1246:1;1243;1236:12;1198:52;1285:9;1272:23;1304:31;1329:5;1304:31;:::i;:::-;1354:5;-1:-1:-1;1411:2:1;1396:18;;1383:32;1424:33;1383:32;1424:33;:::i;:::-;1084:456;;1476:7;;-1:-1:-1;;;1530:2:1;1515:18;;;;1502:32;;1084:456::o;1545:1266::-;1640:6;1648;1656;1664;1717:3;1705:9;1696:7;1692:23;1688:33;1685:53;;;1734:1;1731;1724:12;1685:53;1773:9;1760:23;1792:31;1817:5;1792:31;:::i;:::-;1842:5;-1:-1:-1;1899:2:1;1884:18;;1871:32;1912:33;1871:32;1912:33;:::i;:::-;1964:7;-1:-1:-1;2018:2:1;2003:18;;1990:32;;-1:-1:-1;2073:2:1;2058:18;;2045:32;2096:18;2126:14;;;2123:34;;;2153:1;2150;2143:12;2123:34;2191:6;2180:9;2176:22;2166:32;;2236:7;2229:4;2225:2;2221:13;2217:27;2207:55;;2258:1;2255;2248:12;2207:55;2294:2;2281:16;2316:2;2312;2309:10;2306:36;;;2322:18;;:::i;:::-;2397:2;2391:9;2365:2;2451:13;;-1:-1:-1;;2447:22:1;;;2471:2;2443:31;2439:40;2427:53;;;2495:18;;;2515:22;;;2492:46;2489:72;;;2541:18;;:::i;:::-;2581:10;2577:2;2570:22;2616:2;2608:6;2601:18;2656:7;2651:2;2646;2642;2638:11;2634:20;2631:33;2628:53;;;2677:1;2674;2667:12;2628:53;2733:2;2728;2724;2720:11;2715:2;2707:6;2703:15;2690:46;2778:1;2773:2;2768;2760:6;2756:15;2752:24;2745:35;2799:6;2789:16;;;;;;;1545:1266;;;;;;;:::o;2816:315::-;2881:6;2889;2942:2;2930:9;2921:7;2917:23;2913:32;2910:52;;;2958:1;2955;2948:12;2910:52;2997:9;2984:23;3016:31;3041:5;3016:31;:::i;:::-;3066:5;-1:-1:-1;3090:35:1;3121:2;3106:18;;3090:35;:::i;:::-;3080:45;;2816:315;;;;;:::o;3136:::-;3204:6;3212;3265:2;3253:9;3244:7;3240:23;3236:32;3233:52;;;3281:1;3278;3271:12;3233:52;3320:9;3307:23;3339:31;3364:5;3339:31;:::i;:::-;3389:5;3441:2;3426:18;;;;3413:32;;-1:-1:-1;;;3136:315:1:o;3456:180::-;3512:6;3565:2;3553:9;3544:7;3540:23;3536:32;3533:52;;;3581:1;3578;3571:12;3533:52;3604:26;3620:9;3604:26;:::i;3641:245::-;3699:6;3752:2;3740:9;3731:7;3727:23;3723:32;3720:52;;;3768:1;3765;3758:12;3720:52;3807:9;3794:23;3826:30;3850:5;3826:30;:::i;3891:249::-;3960:6;4013:2;4001:9;3992:7;3988:23;3984:32;3981:52;;;4029:1;4026;4019:12;3981:52;4061:9;4055:16;4080:30;4104:5;4080:30;:::i;4145:592::-;4216:6;4224;4277:2;4265:9;4256:7;4252:23;4248:32;4245:52;;;4293:1;4290;4283:12;4245:52;4333:9;4320:23;4362:18;4403:2;4395:6;4392:14;4389:34;;;4419:1;4416;4409:12;4389:34;4457:6;4446:9;4442:22;4432:32;;4502:7;4495:4;4491:2;4487:13;4483:27;4473:55;;4524:1;4521;4514:12;4473:55;4564:2;4551:16;4590:2;4582:6;4579:14;4576:34;;;4606:1;4603;4596:12;4576:34;4651:7;4646:2;4637:6;4633:2;4629:15;4625:24;4622:37;4619:57;;;4672:1;4669;4662:12;4619:57;4703:2;4695:11;;;;;4725:6;;-1:-1:-1;4145:592:1;;-1:-1:-1;;;;4145:592:1:o;4742:180::-;4801:6;4854:2;4842:9;4833:7;4829:23;4825:32;4822:52;;;4870:1;4867;4860:12;4822:52;-1:-1:-1;4893:23:1;;4742:180;-1:-1:-1;4742:180:1:o;4927:315::-;4995:6;5003;5056:2;5044:9;5035:7;5031:23;5027:32;5024:52;;;5072:1;5069;5062:12;5024:52;5108:9;5095:23;5085:33;;5168:2;5157:9;5153:18;5140:32;5181:31;5206:5;5181:31;:::i;5247:257::-;5288:3;5326:5;5320:12;5353:6;5348:3;5341:19;5369:63;5425:6;5418:4;5413:3;5409:14;5402:4;5395:5;5391:16;5369:63;:::i;:::-;5486:2;5465:15;-1:-1:-1;;5461:29:1;5452:39;;;;5493:4;5448:50;;5247:257;-1:-1:-1;;5247:257:1:o;5509:185::-;5551:3;5589:5;5583:12;5604:52;5649:6;5644:3;5637:4;5630:5;5626:16;5604:52;:::i;:::-;5672:16;;;;;5509:185;-1:-1:-1;;5509:185:1:o;5936:1433::-;6314:3;6343:1;6376:6;6370:13;6406:3;6428:1;6456:9;6452:2;6448:18;6438:28;;6516:2;6505:9;6501:18;6538;6528:61;;6582:4;6574:6;6570:17;6560:27;;6528:61;6608:2;6656;6648:6;6645:14;6625:18;6622:38;6619:165;;;-1:-1:-1;;;6683:33:1;;6739:4;6736:1;6729:15;6769:4;6690:3;6757:17;6619:165;6800:18;6827:104;;;;6945:1;6940:320;;;;6793:467;;6827:104;-1:-1:-1;;6860:24:1;;6848:37;;6905:16;;;;-1:-1:-1;6827:104:1;;6940:320;13584:1;13577:14;;;13621:4;13608:18;;7035:1;7049:165;7063:6;7060:1;7057:13;7049:165;;;7141:14;;7128:11;;;7121:35;7184:16;;;;7078:10;;7049:165;;;7053:3;;7243:6;7238:3;7234:16;7227:23;;6793:467;;;;;;;7276:87;7301:61;7327:34;7357:3;-1:-1:-1;;;5882:16:1;;5923:1;5914:11;;5817:114;7327:34;7319:6;7301:61;:::i;:::-;-1:-1:-1;;;5759:20:1;;5804:1;5795:11;;5699:113;7276:87;7269:94;5936:1433;-1:-1:-1;;;;;5936:1433:1:o;7792:488::-;-1:-1:-1;;;;;8061:15:1;;;8043:34;;8113:15;;8108:2;8093:18;;8086:43;8160:2;8145:18;;8138:34;;;8208:3;8203:2;8188:18;;8181:31;;;7986:4;;8229:45;;8254:19;;8246:6;8229:45;:::i;:::-;8221:53;7792:488;-1:-1:-1;;;;;;7792:488:1:o;8756:219::-;8905:2;8894:9;8887:21;8868:4;8925:44;8965:2;8954:9;8950:18;8942:6;8925:44;:::i;13637:128::-;13677:3;13708:1;13704:6;13701:1;13698:13;13695:39;;;13714:18;;:::i;:::-;-1:-1:-1;13750:9:1;;13637:128::o;13770:120::-;13810:1;13836;13826:35;;13841:18;;:::i;:::-;-1:-1:-1;13875:9:1;;13770:120::o;13895:168::-;13935:7;14001:1;13997;13993:6;13989:14;13986:1;13983:21;13978:1;13971:9;13964:17;13960:45;13957:71;;;14008:18;;:::i;:::-;-1:-1:-1;14048:9:1;;13895:168::o;14068:125::-;14108:4;14136:1;14133;14130:8;14127:34;;;14141:18;;:::i;:::-;-1:-1:-1;14178:9:1;;14068:125::o;14198:258::-;14270:1;14280:113;14294:6;14291:1;14288:13;14280:113;;;14370:11;;;14364:18;14351:11;;;14344:39;14316:2;14309:10;14280:113;;;14411:6;14408:1;14405:13;14402:48;;;-1:-1:-1;;14446:1:1;14428:16;;14421:27;14198:258::o;14461:380::-;14540:1;14536:12;;;;14583;;;14604:61;;14658:4;14650:6;14646:17;14636:27;;14604:61;14711:2;14703:6;14700:14;14680:18;14677:38;14674:161;;;14757:10;14752:3;14748:20;14745:1;14738:31;14792:4;14789:1;14782:15;14820:4;14817:1;14810:15;14674:161;;14461:380;;;:::o;14846:135::-;14885:3;-1:-1:-1;;14906:17:1;;14903:43;;;14926:18;;:::i;:::-;-1:-1:-1;14973:1:1;14962:13;;14846:135::o;14986:112::-;15018:1;15044;15034:35;;15049:18;;:::i;:::-;-1:-1:-1;15083:9:1;;14986:112::o;15103:127::-;15164:10;15159:3;15155:20;15152:1;15145:31;15195:4;15192:1;15185:15;15219:4;15216:1;15209:15;15235:127;15296:10;15291:3;15287:20;15284:1;15277:31;15327:4;15324:1;15317:15;15351:4;15348:1;15341:15;15367:127;15428:10;15423:3;15419:20;15416:1;15409:31;15459:4;15456:1;15449:15;15483:4;15480:1;15473:15;15499:127;15560:10;15555:3;15551:20;15548:1;15541:31;15591:4;15588:1;15581:15;15615:4;15612:1;15605:15;15631:131;-1:-1:-1;;;;;15706:31:1;;15696:42;;15686:70;;15752:1;15749;15742:12;15767:131;-1:-1:-1;;;;;;15841:32:1;;15831:43;;15821:71;;15888:1;15885;15878:12

Swarm Source

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