ETH Price: $3,435.12 (-1.47%)

Contract

0xa844b918F0C362068E3894C68AF5b2Adbd37eD2C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214844672024-12-26 5:11:3518 mins ago1735189895IN
0xa844b918...dbd37eD2C
0 ETH0.000253545.46698542
Set Approval For...214215702024-12-17 10:10:478 days ago1734430247IN
0xa844b918...dbd37eD2C
0 ETH0.0005256311.35443725
Transfer From214200392024-12-17 5:03:359 days ago1734411815IN
0xa844b918...dbd37eD2C
0 ETH0.0009006310.39231783
Transfer From214200362024-12-17 5:02:599 days ago1734411779IN
0xa844b918...dbd37eD2C
0 ETH0.0008676210.01271462
Set Approval For...213694092024-12-10 3:25:5916 days ago1733801159IN
0xa844b918...dbd37eD2C
0 ETH0.0016976136.67106452
Safe Transfer Fr...199878522024-05-31 5:53:35208 days ago1717134815IN
0xa844b918...dbd37eD2C
0 ETH0.00051295.72593509
Set Approval For...198863982024-05-17 1:24:35223 days ago1715909075IN
0xa844b918...dbd37eD2C
0 ETH0.000141023.04634267
Set Approval For...198539682024-05-12 12:33:47227 days ago1715517227IN
0xa844b918...dbd37eD2C
0 ETH0.000161263.47826991
Set Approval For...197441812024-04-27 4:06:11243 days ago1714190771IN
0xa844b918...dbd37eD2C
0 ETH0.000219694.74581189
Set Approval For...196710042024-04-16 22:25:47253 days ago1713306347IN
0xa844b918...dbd37eD2C
0 ETH0.000218828.94423465
Set Approval For...196240112024-04-10 8:22:59259 days ago1712737379IN
0xa844b918...dbd37eD2C
0 ETH0.0006460613.95599917
Set Approval For...195914452024-04-05 18:53:35264 days ago1712343215IN
0xa844b918...dbd37eD2C
0 ETH0.0013291328.71132724
Set Approval For...195087812024-03-25 3:16:59276 days ago1711336619IN
0xa844b918...dbd37eD2C
0 ETH0.0006507714.05783022
Set Approval For...189530092024-01-07 5:00:35354 days ago1704603635IN
0xa844b918...dbd37eD2C
0 ETH0.0014943532.28042789
Set Approval For...189472932024-01-06 9:28:59354 days ago1704533339IN
0xa844b918...dbd37eD2C
0 ETH0.0002815711.50929304
Set Approval For...189065352023-12-31 16:05:35360 days ago1704038735IN
0xa844b918...dbd37eD2C
0 ETH0.0008229917.75038689
Set Approval For...189005142023-12-30 19:48:59361 days ago1703965739IN
0xa844b918...dbd37eD2C
0 ETH0.0009116919.69410126
Set Approval For...188506952023-12-23 19:48:23368 days ago1703360903IN
0xa844b918...dbd37eD2C
0 ETH0.0009187719.81619664
Set Approval For...188378062023-12-22 0:25:47370 days ago1703204747IN
0xa844b918...dbd37eD2C
0 ETH0.0012485526.92873635
Set Approval For...188183322023-12-19 6:50:59372 days ago1702968659IN
0xa844b918...dbd37eD2C
0 ETH0.0021206345.73783303
Set Approval For...188020182023-12-16 23:54:35375 days ago1702770875IN
0xa844b918...dbd37eD2C
0 ETH0.0008390434.31242699
Set Approval For...188008892023-12-16 20:06:47375 days ago1702757207IN
0xa844b918...dbd37eD2C
0 ETH0.0016953869.29830801
Set Approval For...187208112023-12-05 14:43:23386 days ago1701787403IN
0xa844b918...dbd37eD2C
0 ETH0.00158564.78674074
Set Approval For...178787452023-08-09 17:11:11504 days ago1691601071IN
0xa844b918...dbd37eD2C
0 ETH0.0010211141.88175743
Set Approval For...176736122023-07-11 23:24:23533 days ago1689117863IN
0xa844b918...dbd37eD2C
0 ETH0.0003334513.62997578
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TwoPlusTwoGen2

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-11-28
*/

/****************************************************************************
 $$$$$$\             $$$$$$\         $$$$$$\                       $$$$$$\
$$  __$$\    $$\    $$  __$$\       $$  __$$\                     $$  __$$\
\__/  $$ |   $$ |   \__/  $$ |      $$ /  \__| $$$$$$\  $$$$$$$\  \__/  $$ |
 $$$$$$  |$$$$$$$$\  $$$$$$  |      $$ |$$$$\ $$  __$$\ $$  __$$\  $$$$$$  |
$$  ____/ \__$$  __|$$  ____/       $$ |\_$$ |$$$$$$$$ |$$ |  $$ |$$  ____/
$$ |         $$ |   $$ |            $$ |  $$ |$$   ____|$$ |  $$ |$$ |
$$$$$$$$\    \__|   $$$$$$$$\       \$$$$$$  |\$$$$$$$\ $$ |  $$ |$$$$$$$$\
\________|          \________|       \______/  \_______|\__|  \__|\________|
****************************************************************************/

// Powered by NFT Artisans (nftartisans.io) - [email protected]
// Sources flattened with hardhat v2.6.8 https://hardhat.org
// SPDX-License-Identifier: MIT

// File @openzeppelin/contracts/utils/introspection/[email protected]

pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC721/[email protected]


pragma solidity ^0.8.0;

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


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/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

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

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


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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


// File @openzeppelin/contracts/utils/introspection/[email protected]


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/[email protected]


pragma solidity ^0.8.0;







/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;

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

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

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


// File @openzeppelin/contracts/token/ERC721/extensions/[email protected]


pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/access/[email protected]


pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File @openzeppelin/contracts/utils/math/[email protected]


pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


// File @openzeppelin/contracts/utils/[email protected]


pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

// File contracts/TwoPlusTwoGen2.sol

pragma solidity ^0.8.0;


contract TwoPlusTwoGen2 is ERC721Enumerable, Ownable {
    using SafeMath for uint256;

    string private _baseURIPath;
    address private _genesis;
    bool public isActive = false;
    uint256 public maxSupply = 1953;

    event RolledOver(bool status);

    constructor(address genesis) ERC721("TwoPlusTwoGen2", "TPT2") {
        _genesis = genesis;
    }

    function checkAirdropByAddress(address owner) public view returns (uint256) {
        ERC721Enumerable nfts = ERC721Enumerable(_genesis);
        uint256 nftCount = nfts.balanceOf(owner);

        if (nftCount == 0) {return 0;}

        uint256 airdropCount = 0;
        for (uint256 i = 0; i < nftCount; i++) {
            uint256 nftId = nfts.tokenOfOwnerByIndex(owner, i);
            if (!_exists(nftId)) {
                airdropCount++;
            }
        }
        return airdropCount;
    }

    function checkAirdropByTokenId(uint256 nftId) public view returns (bool) {
        require(nftId < (maxSupply - 1), "Invalid Token ID");

        if (_exists(nftId)) {
            return true;
        }
        return false;
    }

    function claimAirdrop(uint256 limit) public {
        require(isActive, "Minting not active");

        ERC721Enumerable nfts = ERC721Enumerable(_genesis);
        uint256 nftCount = nfts.balanceOf(msg.sender);

        require(nftCount > 0, "Address must own a genesis NFT");

        if (limit < 1) {
            limit = 1;
        }

        uint256 minted = 0;
        for (uint256 i = 0; i < nftCount; i++) {
            uint256 nftId = nfts.tokenOfOwnerByIndex(msg.sender, i);

            if (_exists(nftId)) {
                continue;
            }

            _safeMint(_msgSender(), nftId);
            minted++;

            if (minted == limit) {
                break;
            }
        }
    }

    function claimAirdropForOwner(address owner) public onlyOwner {
        ERC721Enumerable nfts = ERC721Enumerable(_genesis);
        uint256 nftCount = nfts.balanceOf(owner);

        require(nftCount > 0, "Address must own a genesis NFT");

        for (uint256 i = 0; i < nftCount; i++) {
            uint256 nftId = nfts.tokenOfOwnerByIndex(owner, i);
            // If this id has already been minted, just continue
            if (_exists(nftId)) {
                continue;
            }
            _safeMint(owner, nftId);
        }
    }

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

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

    function flipState() public onlyOwner {
        isActive = !isActive;
        emit RolledOver(isActive);
    }

    // There should not be anything to withdraw, but just in case
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(_msgSender()), balance);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"genesis","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"RolledOver","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"checkAirdropByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"checkAirdropByTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"claimAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"claimAirdropForOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600c805460ff60a01b191690556107a1600d553480156200002457600080fd5b50604051620027b2380380620027b28339810160408190526200004791620001ee565b604080518082018252600e81526d2a3bb7a8363ab9aa3bb7a3b2b71960911b6020808301918252835180850190945260048452632a282a1960e11b908401528151919291620000999160009162000148565b508051620000af90600190602084019062000148565b505050620000cc620000c6620000f260201b60201c565b620000f6565b600c80546001600160a01b0319166001600160a01b03929092169190911790556200025b565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000156906200021e565b90600052602060002090601f0160209004810192826200017a5760008555620001c5565b82601f106200019557805160ff1916838001178555620001c5565b82800160010185558215620001c5579182015b82811115620001c5578251825591602001919060010190620001a8565b50620001d3929150620001d7565b5090565b5b80821115620001d35760008155600101620001d8565b60006020828403121562000200578081fd5b81516001600160a01b038116811462000217578182fd5b9392505050565b6002810460018216806200023357607f821691505b602082108114156200025557634e487b7160e01b600052602260045260246000fd5b50919050565b612547806200026b6000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063c3a404f211610097578063d936094b11610071578063d936094b1461036d578063e30d444014610380578063e985e9c514610393578063f2fde38b146103a6576101c4565b8063c3a404f21461033f578063c87b56dd14610352578063d5abeb0114610365576101c4565b80638e920351116100d35780638e9203511461030957806395d89b4114610311578063a22cb46514610319578063b88d4fde1461032c576101c4565b8063715018a6146102e65780637f407438146102ee5780638da5cb5b14610301576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce71461029a57806355f804b3146102ad5780636352211e146102c057806370a08231146102d3576101c4565b80632f745c591461026c5780633ccfd60b1461027f57806342842e0e14610287576101c4565b8063095ea7b3116101a2578063095ea7b31461022757806318160ddd1461023c57806322f3e2d41461025157806323b872dd14610259576101c4565b806301ffc9a7146101c957806306fdde03146101f2578063081812fc14610207575b600080fd5b6101dc6101d7366004611c25565b6103b9565b6040516101e99190611d9b565b60405180910390f35b6101fa6103e6565b6040516101e99190611da6565b61021a610215366004611ca3565b610478565b6040516101e99190611d31565b61023a610235366004611bfc565b6104c4565b005b61024461055c565b6040516101e991906123d7565b6101dc610562565b61023a610267366004611b0e565b610572565b61024461027a366004611bfc565b6105aa565b61023a6105fc565b61023a610295366004611b0e565b610650565b6102446102a8366004611ca3565b61066b565b61023a6102bb366004611c5d565b6106c6565b61021a6102ce366004611ca3565b61071c565b6102446102e1366004611ac2565b610751565b61023a610795565b6102446102fc366004611ac2565b6107e0565b61021a61093d565b61023a61094c565b6101fa6109ed565b61023a610327366004611bc2565b6109fc565b61023a61033a366004611b49565b610aca565b6101dc61034d366004611ca3565b610b09565b6101fa610360366004611ca3565b610b56565b610244610bd9565b61023a61037b366004611ac2565b610bdf565b61023a61038e366004611ca3565b610d85565b6101dc6103a1366004611adc565b610f4d565b61023a6103b4366004611ac2565b610f7b565b60006001600160e01b0319821663780e9d6360e01b14806103de57506103de82610fe9565b90505b919050565b6060600080546103f59061244f565b80601f01602080910402602001604051908101604052809291908181526020018280546104219061244f565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600061048382611029565b6104a85760405162461bcd60e51b815260040161049f906121e0565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104cf8261071c565b9050806001600160a01b0316836001600160a01b031614156105035760405162461bcd60e51b815260040161049f906122f9565b806001600160a01b0316610515611046565b6001600160a01b031614806105315750610531816103a1611046565b61054d5760405162461bcd60e51b815260040161049f906120bb565b610557838361104a565b505050565b60085490565b600c54600160a01b900460ff1681565b61058361057d611046565b826110b8565b61059f5760405162461bcd60e51b815260040161049f9061233a565b61055783838361113d565b60006105b583610751565b82106105d35760405162461bcd60e51b815260040161049f90611db9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610604611046565b6001600160a01b031661061561093d565b6001600160a01b03161461063b5760405162461bcd60e51b815260040161049f9061222c565b4761064d610647611046565b8261126a565b50565b61055783838360405180602001604052806000815250610aca565b600061067561055c565b82106106935760405162461bcd60e51b815260040161049f9061238b565b600882815481106106b457634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6106ce611046565b6001600160a01b03166106df61093d565b6001600160a01b0316146107055760405162461bcd60e51b815260040161049f9061222c565b805161071890600b9060208401906119a2565b5050565b6000818152600260205260408120546001600160a01b0316806103de5760405162461bcd60e51b815260040161049f90612162565b60006001600160a01b0382166107795760405162461bcd60e51b815260040161049f90612118565b506001600160a01b031660009081526003602052604090205490565b61079d611046565b6001600160a01b03166107ae61093d565b6001600160a01b0316146107d45760405162461bcd60e51b815260040161049f9061222c565b6107de6000611306565b565b600c546040516370a0823160e01b81526000916001600160a01b031690829082906370a0823190610815908790600401611d31565b60206040518083038186803b15801561082d57600080fd5b505afa158015610841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108659190611cbb565b905080610877576000925050506103e1565b6000805b8281101561093457604051632f745c5960e01b81526000906001600160a01b03861690632f745c59906108b4908a908690600401611d82565b60206040518083038186803b1580156108cc57600080fd5b505afa1580156108e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109049190611cbb565b905061090f81611029565b610921578261091d8161248a565b9350505b508061092c8161248a565b91505061087b565b50949350505050565b600a546001600160a01b031690565b610954611046565b6001600160a01b031661096561093d565b6001600160a01b03161461098b5760405162461bcd60e51b815260040161049f9061222c565b600c805460ff600160a01b808304821615810260ff60a01b1990931692909217928390556040517fd2bce5b0f3cb0c9c70f1761d4ddcaf6236907e4b29bb4a7546b6a0c64be90cf8936109e393900490911690611d9b565b60405180910390a1565b6060600180546103f59061244f565b610a04611046565b6001600160a01b0316826001600160a01b03161415610a355760405162461bcd60e51b815260040161049f90611f4e565b8060056000610a42611046565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a86611046565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610abe9190611d9b565b60405180910390a35050565b610adb610ad5611046565b836110b8565b610af75760405162461bcd60e51b815260040161049f9061233a565b610b0384848484611358565b50505050565b60006001600d54610b1a919061240c565b8210610b385760405162461bcd60e51b815260040161049f90612091565b610b4182611029565b15610b4e575060016103e1565b506000919050565b6060610b6182611029565b610b7d5760405162461bcd60e51b815260040161049f906122aa565b6000610b8761138b565b90506000815111610ba75760405180602001604052806000815250610bd2565b80610bb18461139a565b604051602001610bc2929190611cff565b6040516020818303038152906040525b9392505050565b600d5481565b610be7611046565b6001600160a01b0316610bf861093d565b6001600160a01b031614610c1e5760405162461bcd60e51b815260040161049f9061222c565b600c546040516370a0823160e01b81526001600160a01b039091169060009082906370a0823190610c53908690600401611d31565b60206040518083038186803b158015610c6b57600080fd5b505afa158015610c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca39190611cbb565b905060008111610cc55760405162461bcd60e51b815260040161049f90611f17565b60005b81811015610b0357604051632f745c5960e01b81526000906001600160a01b03851690632f745c5990610d019088908690600401611d82565b60206040518083038186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611cbb565b9050610d5c81611029565b15610d675750610d73565b610d7185826114b5565b505b80610d7d8161248a565b915050610cc8565b600c54600160a01b900460ff16610dae5760405162461bcd60e51b815260040161049f90611fe2565b600c546040516370a0823160e01b81526001600160a01b039091169060009082906370a0823190610de3903390600401611d31565b60206040518083038186803b158015610dfb57600080fd5b505afa158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e339190611cbb565b905060008111610e555760405162461bcd60e51b815260040161049f90611f17565b6001831015610e6357600192505b6000805b82811015610f4657604051632f745c5960e01b81526000906001600160a01b03861690632f745c5990610ea09033908690600401611d82565b60206040518083038186803b158015610eb857600080fd5b505afa158015610ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef09190611cbb565b9050610efb81611029565b15610f065750610f34565b610f17610f11611046565b826114b5565b82610f218161248a565b93505085831415610f325750610f46565b505b80610f3e8161248a565b915050610e67565b5050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610f83611046565b6001600160a01b0316610f9461093d565b6001600160a01b031614610fba5760405162461bcd60e51b815260040161049f9061222c565b6001600160a01b038116610fe05760405162461bcd60e51b815260040161049f90611e56565b61064d81611306565b60006001600160e01b031982166380ac58cd60e01b148061101a57506001600160e01b03198216635b5e139f60e01b145b806103de57506103de826114cf565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107f8261071c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110c382611029565b6110df5760405162461bcd60e51b815260040161049f90612045565b60006110ea8361071c565b9050806001600160a01b0316846001600160a01b031614806111255750836001600160a01b031661111a84610478565b6001600160a01b0316145b8061113557506111358185610f4d565b949350505050565b826001600160a01b03166111508261071c565b6001600160a01b0316146111765760405162461bcd60e51b815260040161049f90612261565b6001600160a01b03821661119c5760405162461bcd60e51b815260040161049f90611ed3565b6111a78383836114e8565b6111b260008261104a565b6001600160a01b03831660009081526003602052604081208054600192906111db90849061240c565b90915550506001600160a01b03821660009081526003602052604081208054600192906112099084906123e0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561128a5760405162461bcd60e51b815260040161049f9061200e565b6000826001600160a01b0316826040516112a390611d2e565b60006040518083038185875af1925050503d80600081146112e0576040519150601f19603f3d011682016040523d82523d6000602084013e6112e5565b606091505b50509050806105575760405162461bcd60e51b815260040161049f90611f85565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136384848461113d565b61136f84848484611571565b610b035760405162461bcd60e51b815260040161049f90611e04565b6060600b80546103f59061244f565b6060816113bf57506040805180820190915260018152600360fc1b60208201526103e1565b8160005b81156113e957806113d38161248a565b91506113e29050600a836123f8565b91506113c3565b60008167ffffffffffffffff81111561141257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143c576020820181803683370190505b5090505b84156111355761145160018361240c565b915061145e600a866124a5565b6114699060306123e0565b60f81b81838151811061148c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114ae600a866123f8565b9450611440565b61071882826040518060200160405280600081525061168c565b6001600160e01b031981166301ffc9a760e01b14919050565b6114f3838383610557565b6001600160a01b03831661150f5761150a816116bf565b611532565b816001600160a01b0316836001600160a01b031614611532576115328382611703565b6001600160a01b03821661154e57611549816117a0565b610557565b826001600160a01b0316826001600160a01b031614610557576105578282611879565b6000611585846001600160a01b03166118bd565b1561168157836001600160a01b031663150b7a026115a1611046565b8786866040518563ffffffff1660e01b81526004016115c39493929190611d45565b602060405180830381600087803b1580156115dd57600080fd5b505af192505050801561160d575060408051601f3d908101601f1916820190925261160a91810190611c41565b60015b611667573d80801561163b576040519150601f19603f3d011682016040523d82523d6000602084013e611640565b606091505b50805161165f5760405162461bcd60e51b815260040161049f90611e04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611135565b506001949350505050565b61169683836118c3565b6116a36000848484611571565b6105575760405162461bcd60e51b815260040161049f90611e04565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161171084610751565b61171a919061240c565b60008381526007602052604090205490915080821461176d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117b29060019061240c565b600083815260096020526040812054600880549394509092849081106117e857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061181757634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061185d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061188483610751565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b6001600160a01b0382166118e95760405162461bcd60e51b815260040161049f906121ab565b6118f281611029565b1561190f5760405162461bcd60e51b815260040161049f90611e9c565b61191b600083836114e8565b6001600160a01b03821660009081526003602052604081208054600192906119449084906123e0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119ae9061244f565b90600052602060002090601f0160209004810192826119d05760008555611a16565b82601f106119e957805160ff1916838001178555611a16565b82800160010185558215611a16579182015b82811115611a165782518255916020019190600101906119fb565b50611a22929150611a26565b5090565b5b80821115611a225760008155600101611a27565b600067ffffffffffffffff80841115611a5657611a566124e5565b604051601f8501601f191681016020018281118282101715611a7a57611a7a6124e5565b604052848152915081838501861015611a9257600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146103e157600080fd5b600060208284031215611ad3578081fd5b610bd282611aab565b60008060408385031215611aee578081fd5b611af783611aab565b9150611b0560208401611aab565b90509250929050565b600080600060608486031215611b22578081fd5b611b2b84611aab565b9250611b3960208501611aab565b9150604084013590509250925092565b60008060008060808587031215611b5e578081fd5b611b6785611aab565b9350611b7560208601611aab565b925060408501359150606085013567ffffffffffffffff811115611b97578182fd5b8501601f81018713611ba7578182fd5b611bb687823560208401611a3b565b91505092959194509250565b60008060408385031215611bd4578182fd5b611bdd83611aab565b915060208301358015158114611bf1578182fd5b809150509250929050565b60008060408385031215611c0e578182fd5b611c1783611aab565b946020939093013593505050565b600060208284031215611c36578081fd5b8135610bd2816124fb565b600060208284031215611c52578081fd5b8151610bd2816124fb565b600060208284031215611c6e578081fd5b813567ffffffffffffffff811115611c84578182fd5b8201601f81018413611c94578182fd5b61113584823560208401611a3b565b600060208284031215611cb4578081fd5b5035919050565b600060208284031215611ccc578081fd5b5051919050565b60008151808452611ceb816020860160208601612423565b601f01601f19169290920160200192915050565b60008351611d11818460208801612423565b835190830190611d25818360208801612423565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d7890830184611cd3565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610bd26020830184611cd3565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601e908201527f41646472657373206d757374206f776e20612067656e65736973204e46540000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601290820152714d696e74696e67206e6f742061637469766560701b604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f125b9d985b1a5908151bdad95b88125160821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b600082198211156123f3576123f36124b9565b500190565b600082612407576124076124cf565b500490565b60008282101561241e5761241e6124b9565b500390565b60005b8381101561243e578181015183820152602001612426565b83811115610b035750506000910152565b60028104600182168061246357607f821691505b6020821081141561248457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561249e5761249e6124b9565b5060010190565b6000826124b4576124b46124cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461064d57600080fdfea26469706673582212204ecde5686fc560264e2fb87f543eba15122d080aa057a71d112ad5e048f4a48764736f6c63430008000033000000000000000000000000ed6c62794e4ed3dec82d00c7ca58ae9512b13eb1

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063715018a6116100f9578063c3a404f211610097578063d936094b11610071578063d936094b1461036d578063e30d444014610380578063e985e9c514610393578063f2fde38b146103a6576101c4565b8063c3a404f21461033f578063c87b56dd14610352578063d5abeb0114610365576101c4565b80638e920351116100d35780638e9203511461030957806395d89b4114610311578063a22cb46514610319578063b88d4fde1461032c576101c4565b8063715018a6146102e65780637f407438146102ee5780638da5cb5b14610301576101c4565b80632f745c59116101665780634f6ccce7116101405780634f6ccce71461029a57806355f804b3146102ad5780636352211e146102c057806370a08231146102d3576101c4565b80632f745c591461026c5780633ccfd60b1461027f57806342842e0e14610287576101c4565b8063095ea7b3116101a2578063095ea7b31461022757806318160ddd1461023c57806322f3e2d41461025157806323b872dd14610259576101c4565b806301ffc9a7146101c957806306fdde03146101f2578063081812fc14610207575b600080fd5b6101dc6101d7366004611c25565b6103b9565b6040516101e99190611d9b565b60405180910390f35b6101fa6103e6565b6040516101e99190611da6565b61021a610215366004611ca3565b610478565b6040516101e99190611d31565b61023a610235366004611bfc565b6104c4565b005b61024461055c565b6040516101e991906123d7565b6101dc610562565b61023a610267366004611b0e565b610572565b61024461027a366004611bfc565b6105aa565b61023a6105fc565b61023a610295366004611b0e565b610650565b6102446102a8366004611ca3565b61066b565b61023a6102bb366004611c5d565b6106c6565b61021a6102ce366004611ca3565b61071c565b6102446102e1366004611ac2565b610751565b61023a610795565b6102446102fc366004611ac2565b6107e0565b61021a61093d565b61023a61094c565b6101fa6109ed565b61023a610327366004611bc2565b6109fc565b61023a61033a366004611b49565b610aca565b6101dc61034d366004611ca3565b610b09565b6101fa610360366004611ca3565b610b56565b610244610bd9565b61023a61037b366004611ac2565b610bdf565b61023a61038e366004611ca3565b610d85565b6101dc6103a1366004611adc565b610f4d565b61023a6103b4366004611ac2565b610f7b565b60006001600160e01b0319821663780e9d6360e01b14806103de57506103de82610fe9565b90505b919050565b6060600080546103f59061244f565b80601f01602080910402602001604051908101604052809291908181526020018280546104219061244f565b801561046e5780601f106104435761010080835404028352916020019161046e565b820191906000526020600020905b81548152906001019060200180831161045157829003601f168201915b5050505050905090565b600061048382611029565b6104a85760405162461bcd60e51b815260040161049f906121e0565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006104cf8261071c565b9050806001600160a01b0316836001600160a01b031614156105035760405162461bcd60e51b815260040161049f906122f9565b806001600160a01b0316610515611046565b6001600160a01b031614806105315750610531816103a1611046565b61054d5760405162461bcd60e51b815260040161049f906120bb565b610557838361104a565b505050565b60085490565b600c54600160a01b900460ff1681565b61058361057d611046565b826110b8565b61059f5760405162461bcd60e51b815260040161049f9061233a565b61055783838361113d565b60006105b583610751565b82106105d35760405162461bcd60e51b815260040161049f90611db9565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610604611046565b6001600160a01b031661061561093d565b6001600160a01b03161461063b5760405162461bcd60e51b815260040161049f9061222c565b4761064d610647611046565b8261126a565b50565b61055783838360405180602001604052806000815250610aca565b600061067561055c565b82106106935760405162461bcd60e51b815260040161049f9061238b565b600882815481106106b457634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6106ce611046565b6001600160a01b03166106df61093d565b6001600160a01b0316146107055760405162461bcd60e51b815260040161049f9061222c565b805161071890600b9060208401906119a2565b5050565b6000818152600260205260408120546001600160a01b0316806103de5760405162461bcd60e51b815260040161049f90612162565b60006001600160a01b0382166107795760405162461bcd60e51b815260040161049f90612118565b506001600160a01b031660009081526003602052604090205490565b61079d611046565b6001600160a01b03166107ae61093d565b6001600160a01b0316146107d45760405162461bcd60e51b815260040161049f9061222c565b6107de6000611306565b565b600c546040516370a0823160e01b81526000916001600160a01b031690829082906370a0823190610815908790600401611d31565b60206040518083038186803b15801561082d57600080fd5b505afa158015610841573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108659190611cbb565b905080610877576000925050506103e1565b6000805b8281101561093457604051632f745c5960e01b81526000906001600160a01b03861690632f745c59906108b4908a908690600401611d82565b60206040518083038186803b1580156108cc57600080fd5b505afa1580156108e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109049190611cbb565b905061090f81611029565b610921578261091d8161248a565b9350505b508061092c8161248a565b91505061087b565b50949350505050565b600a546001600160a01b031690565b610954611046565b6001600160a01b031661096561093d565b6001600160a01b03161461098b5760405162461bcd60e51b815260040161049f9061222c565b600c805460ff600160a01b808304821615810260ff60a01b1990931692909217928390556040517fd2bce5b0f3cb0c9c70f1761d4ddcaf6236907e4b29bb4a7546b6a0c64be90cf8936109e393900490911690611d9b565b60405180910390a1565b6060600180546103f59061244f565b610a04611046565b6001600160a01b0316826001600160a01b03161415610a355760405162461bcd60e51b815260040161049f90611f4e565b8060056000610a42611046565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a86611046565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610abe9190611d9b565b60405180910390a35050565b610adb610ad5611046565b836110b8565b610af75760405162461bcd60e51b815260040161049f9061233a565b610b0384848484611358565b50505050565b60006001600d54610b1a919061240c565b8210610b385760405162461bcd60e51b815260040161049f90612091565b610b4182611029565b15610b4e575060016103e1565b506000919050565b6060610b6182611029565b610b7d5760405162461bcd60e51b815260040161049f906122aa565b6000610b8761138b565b90506000815111610ba75760405180602001604052806000815250610bd2565b80610bb18461139a565b604051602001610bc2929190611cff565b6040516020818303038152906040525b9392505050565b600d5481565b610be7611046565b6001600160a01b0316610bf861093d565b6001600160a01b031614610c1e5760405162461bcd60e51b815260040161049f9061222c565b600c546040516370a0823160e01b81526001600160a01b039091169060009082906370a0823190610c53908690600401611d31565b60206040518083038186803b158015610c6b57600080fd5b505afa158015610c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca39190611cbb565b905060008111610cc55760405162461bcd60e51b815260040161049f90611f17565b60005b81811015610b0357604051632f745c5960e01b81526000906001600160a01b03851690632f745c5990610d019088908690600401611d82565b60206040518083038186803b158015610d1957600080fd5b505afa158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d519190611cbb565b9050610d5c81611029565b15610d675750610d73565b610d7185826114b5565b505b80610d7d8161248a565b915050610cc8565b600c54600160a01b900460ff16610dae5760405162461bcd60e51b815260040161049f90611fe2565b600c546040516370a0823160e01b81526001600160a01b039091169060009082906370a0823190610de3903390600401611d31565b60206040518083038186803b158015610dfb57600080fd5b505afa158015610e0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e339190611cbb565b905060008111610e555760405162461bcd60e51b815260040161049f90611f17565b6001831015610e6357600192505b6000805b82811015610f4657604051632f745c5960e01b81526000906001600160a01b03861690632f745c5990610ea09033908690600401611d82565b60206040518083038186803b158015610eb857600080fd5b505afa158015610ecc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ef09190611cbb565b9050610efb81611029565b15610f065750610f34565b610f17610f11611046565b826114b5565b82610f218161248a565b93505085831415610f325750610f46565b505b80610f3e8161248a565b915050610e67565b5050505050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610f83611046565b6001600160a01b0316610f9461093d565b6001600160a01b031614610fba5760405162461bcd60e51b815260040161049f9061222c565b6001600160a01b038116610fe05760405162461bcd60e51b815260040161049f90611e56565b61064d81611306565b60006001600160e01b031982166380ac58cd60e01b148061101a57506001600160e01b03198216635b5e139f60e01b145b806103de57506103de826114cf565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061107f8261071c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110c382611029565b6110df5760405162461bcd60e51b815260040161049f90612045565b60006110ea8361071c565b9050806001600160a01b0316846001600160a01b031614806111255750836001600160a01b031661111a84610478565b6001600160a01b0316145b8061113557506111358185610f4d565b949350505050565b826001600160a01b03166111508261071c565b6001600160a01b0316146111765760405162461bcd60e51b815260040161049f90612261565b6001600160a01b03821661119c5760405162461bcd60e51b815260040161049f90611ed3565b6111a78383836114e8565b6111b260008261104a565b6001600160a01b03831660009081526003602052604081208054600192906111db90849061240c565b90915550506001600160a01b03821660009081526003602052604081208054600192906112099084906123e0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b8047101561128a5760405162461bcd60e51b815260040161049f9061200e565b6000826001600160a01b0316826040516112a390611d2e565b60006040518083038185875af1925050503d80600081146112e0576040519150601f19603f3d011682016040523d82523d6000602084013e6112e5565b606091505b50509050806105575760405162461bcd60e51b815260040161049f90611f85565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61136384848461113d565b61136f84848484611571565b610b035760405162461bcd60e51b815260040161049f90611e04565b6060600b80546103f59061244f565b6060816113bf57506040805180820190915260018152600360fc1b60208201526103e1565b8160005b81156113e957806113d38161248a565b91506113e29050600a836123f8565b91506113c3565b60008167ffffffffffffffff81111561141257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143c576020820181803683370190505b5090505b84156111355761145160018361240c565b915061145e600a866124a5565b6114699060306123e0565b60f81b81838151811061148c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114ae600a866123f8565b9450611440565b61071882826040518060200160405280600081525061168c565b6001600160e01b031981166301ffc9a760e01b14919050565b6114f3838383610557565b6001600160a01b03831661150f5761150a816116bf565b611532565b816001600160a01b0316836001600160a01b031614611532576115328382611703565b6001600160a01b03821661154e57611549816117a0565b610557565b826001600160a01b0316826001600160a01b031614610557576105578282611879565b6000611585846001600160a01b03166118bd565b1561168157836001600160a01b031663150b7a026115a1611046565b8786866040518563ffffffff1660e01b81526004016115c39493929190611d45565b602060405180830381600087803b1580156115dd57600080fd5b505af192505050801561160d575060408051601f3d908101601f1916820190925261160a91810190611c41565b60015b611667573d80801561163b576040519150601f19603f3d011682016040523d82523d6000602084013e611640565b606091505b50805161165f5760405162461bcd60e51b815260040161049f90611e04565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611135565b506001949350505050565b61169683836118c3565b6116a36000848484611571565b6105575760405162461bcd60e51b815260040161049f90611e04565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6000600161171084610751565b61171a919061240c565b60008381526007602052604090205490915080821461176d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906117b29060019061240c565b600083815260096020526040812054600880549394509092849081106117e857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061181757634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061185d57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061188483610751565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b3b151590565b6001600160a01b0382166118e95760405162461bcd60e51b815260040161049f906121ab565b6118f281611029565b1561190f5760405162461bcd60e51b815260040161049f90611e9c565b61191b600083836114e8565b6001600160a01b03821660009081526003602052604081208054600192906119449084906123e0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546119ae9061244f565b90600052602060002090601f0160209004810192826119d05760008555611a16565b82601f106119e957805160ff1916838001178555611a16565b82800160010185558215611a16579182015b82811115611a165782518255916020019190600101906119fb565b50611a22929150611a26565b5090565b5b80821115611a225760008155600101611a27565b600067ffffffffffffffff80841115611a5657611a566124e5565b604051601f8501601f191681016020018281118282101715611a7a57611a7a6124e5565b604052848152915081838501861015611a9257600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146103e157600080fd5b600060208284031215611ad3578081fd5b610bd282611aab565b60008060408385031215611aee578081fd5b611af783611aab565b9150611b0560208401611aab565b90509250929050565b600080600060608486031215611b22578081fd5b611b2b84611aab565b9250611b3960208501611aab565b9150604084013590509250925092565b60008060008060808587031215611b5e578081fd5b611b6785611aab565b9350611b7560208601611aab565b925060408501359150606085013567ffffffffffffffff811115611b97578182fd5b8501601f81018713611ba7578182fd5b611bb687823560208401611a3b565b91505092959194509250565b60008060408385031215611bd4578182fd5b611bdd83611aab565b915060208301358015158114611bf1578182fd5b809150509250929050565b60008060408385031215611c0e578182fd5b611c1783611aab565b946020939093013593505050565b600060208284031215611c36578081fd5b8135610bd2816124fb565b600060208284031215611c52578081fd5b8151610bd2816124fb565b600060208284031215611c6e578081fd5b813567ffffffffffffffff811115611c84578182fd5b8201601f81018413611c94578182fd5b61113584823560208401611a3b565b600060208284031215611cb4578081fd5b5035919050565b600060208284031215611ccc578081fd5b5051919050565b60008151808452611ceb816020860160208601612423565b601f01601f19169290920160200192915050565b60008351611d11818460208801612423565b835190830190611d25818360208801612423565b01949350505050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d7890830184611cd3565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610bd26020830184611cd3565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601e908201527f41646472657373206d757374206f776e20612067656e65736973204e46540000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601290820152714d696e74696e67206e6f742061637469766560701b604082015260600190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f125b9d985b1a5908151bdad95b88125160821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b600082198211156123f3576123f36124b9565b500190565b600082612407576124076124cf565b500490565b60008282101561241e5761241e6124b9565b500390565b60005b8381101561243e578181015183820152602001612426565b83811115610b035750506000910152565b60028104600182168061246357607f821691505b6020821081141561248457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561249e5761249e6124b9565b5060010190565b6000826124b4576124b46124cf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461064d57600080fdfea26469706673582212204ecde5686fc560264e2fb87f543eba15122d080aa057a71d112ad5e048f4a48764736f6c63430008000033

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

000000000000000000000000ed6c62794e4ed3dec82d00c7ca58ae9512b13eb1

-----Decoded View---------------
Arg [0] : genesis (address): 0xEd6C62794e4Ed3deC82D00c7cA58AE9512B13eb1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ed6c62794e4ed3dec82d00c7ca58ae9512b13eb1


Deployed Bytecode Sourcemap

52557:3031:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35679:224;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22572:100;;;:::i;:::-;;;;;;;:::i;24131:221::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;23654:411::-;;;;;;:::i;:::-;;:::i;:::-;;36319:113;;;:::i;:::-;;;;;;;:::i;52717:28::-;;;:::i;25021:339::-;;;;;;:::i;:::-;;:::i;35987:256::-;;;;;;:::i;:::-;;:::i;55430:155::-;;;:::i;25431:185::-;;;;;;:::i;:::-;;:::i;36509:233::-;;;;;;:::i;:::-;;:::i;55133:101::-;;;;;;:::i;:::-;;:::i;22266:239::-;;;;;;:::i;:::-;;:::i;21996:208::-;;;;;;:::i;:::-;;:::i;43480:94::-;;;:::i;52937:515::-;;;;;;:::i;:::-;;:::i;42829:87::-;;;:::i;55242:113::-;;;:::i;22741:104::-;;;:::i;24424:295::-;;;;;;:::i;:::-;;:::i;25687:328::-;;;;;;:::i;:::-;;:::i;53460:237::-;;;;;;:::i;:::-;;:::i;22916:334::-;;;;;;:::i;:::-;;:::i;52752:31::-;;;:::i;54453:559::-;;;;;;:::i;:::-;;:::i;53705:740::-;;;;;;:::i;:::-;;:::i;24790:164::-;;;;;;:::i;:::-;;:::i;43729:192::-;;;;;;:::i;:::-;;:::i;35679:224::-;35781:4;-1:-1:-1;;;;;;35805:50:0;;-1:-1:-1;;;35805:50:0;;:90;;;35859:36;35883:11;35859:23;:36::i;:::-;35798:97;;35679:224;;;;:::o;22572:100::-;22626:13;22659:5;22652:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22572:100;:::o;24131:221::-;24207:7;24235:16;24243:7;24235;:16::i;:::-;24227:73;;;;-1:-1:-1;;;24227:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;24320:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24320:24:0;;24131:221::o;23654:411::-;23735:13;23751:23;23766:7;23751:14;:23::i;:::-;23735:39;;23799:5;-1:-1:-1;;;;;23793:11:0;:2;-1:-1:-1;;;;;23793:11:0;;;23785:57;;;;-1:-1:-1;;;23785:57:0;;;;;;;:::i;:::-;23893:5;-1:-1:-1;;;;;23877:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;23877:21:0;;:62;;;;23902:37;23919:5;23926:12;:10;:12::i;23902:37::-;23855:168;;;;-1:-1:-1;;;23855:168:0;;;;;;;:::i;:::-;24036:21;24045:2;24049:7;24036:8;:21::i;:::-;23654:411;;;:::o;36319:113::-;36407:10;:17;36319:113;:::o;52717:28::-;;;-1:-1:-1;;;52717:28:0;;;;;:::o;25021:339::-;25216:41;25235:12;:10;:12::i;:::-;25249:7;25216:18;:41::i;:::-;25208:103;;;;-1:-1:-1;;;25208:103:0;;;;;;;:::i;:::-;25324:28;25334:4;25340:2;25344:7;25324:9;:28::i;35987:256::-;36084:7;36120:23;36137:5;36120:16;:23::i;:::-;36112:5;:31;36104:87;;;;-1:-1:-1;;;36104:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;36209:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35987:256::o;55430:155::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;55496:21:::1;55528:49;55554:12;:10;:12::i;:::-;55569:7;55528:17;:49::i;:::-;43120:1;55430:155::o:0;25431:185::-;25569:39;25586:4;25592:2;25596:7;25569:39;;;;;;;;;;;;:16;:39::i;36509:233::-;36584:7;36620:30;:28;:30::i;:::-;36612:5;:38;36604:95;;;;-1:-1:-1;;;36604:95:0;;;;;;;:::i;:::-;36717:10;36728:5;36717:17;;;;;;-1:-1:-1;;;36717:17:0;;;;;;;;;;;;;;;;;36710:24;;36509:233;;;:::o;55133:101::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;55204:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;55133:101:::0;:::o;22266:239::-;22338:7;22374:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22374:16:0;22409:19;22401:73;;;;-1:-1:-1;;;22401:73:0;;;;;;;:::i;21996:208::-;22068:7;-1:-1:-1;;;;;22096:19:0;;22088:74;;;;-1:-1:-1;;;22088:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;22180:16:0;;;;;:9;:16;;;;;;;21996:208::o;43480:94::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;43545:21:::1;43563:1;43545:9;:21::i;:::-;43480:94::o:0;52937:515::-;53065:8;;53104:21;;-1:-1:-1;;;53104:21:0;;53004:7;;-1:-1:-1;;;;;53065:8:0;;53004:7;;53065:8;;53104:14;;:21;;53119:5;;53104:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53085:40;-1:-1:-1;53142:13:0;53138:30;;53165:1;53158:8;;;;;;53138:30;53180:20;53220:9;53215:200;53239:8;53235:1;:12;53215:200;;;53285:34;;-1:-1:-1;;;53285:34:0;;53269:13;;-1:-1:-1;;;;;53285:24:0;;;;;:34;;53310:5;;53317:1;;53285:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53269:50;;53339:14;53347:5;53339:7;:14::i;:::-;53334:70;;53374:14;;;;:::i;:::-;;;;53334:70;-1:-1:-1;53249:3:0;;;;:::i;:::-;;;;53215:200;;;-1:-1:-1;53432:12:0;52937:515;-1:-1:-1;;;;52937:515:0:o;42829:87::-;42902:6;;-1:-1:-1;;;;;42902:6:0;42829:87;:::o;55242:113::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;55303:8:::1;::::0;;::::1;-1:-1:-1::0;;;55303:8:0;;::::1;::::0;::::1;55302:9;55291:20:::0;::::1;-1:-1:-1::0;;;;55291:20:0;;::::1;::::0;;;::::1;::::0;;;;55327::::1;::::0;::::1;::::0;::::1;::::0;55338:8;::::1;::::0;;::::1;::::0;55327:20:::1;:::i;:::-;;;;;;;;55242:113::o:0;22741:104::-;22797:13;22830:7;22823:14;;;;;:::i;24424:295::-;24539:12;:10;:12::i;:::-;-1:-1:-1;;;;;24527:24:0;:8;-1:-1:-1;;;;;24527:24:0;;;24519:62;;;;-1:-1:-1;;;24519:62:0;;;;;;;:::i;:::-;24639:8;24594:18;:32;24613:12;:10;:12::i;:::-;-1:-1:-1;;;;;24594:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;24594:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;24594:53:0;;;;;;;;;;;24678:12;:10;:12::i;:::-;-1:-1:-1;;;;;24663:48:0;;24702:8;24663:48;;;;;;:::i;:::-;;;;;;;;24424:295;;:::o;25687:328::-;25862:41;25881:12;:10;:12::i;:::-;25895:7;25862:18;:41::i;:::-;25854:103;;;;-1:-1:-1;;;25854:103:0;;;;;;;:::i;:::-;25968:39;25982:4;25988:2;25992:7;26001:5;25968:13;:39::i;:::-;25687:328;;;;:::o;53460:237::-;53527:4;53573:1;53561:9;;:13;;;;:::i;:::-;53552:5;:23;53544:52;;;;-1:-1:-1;;;53544:52:0;;;;;;;:::i;:::-;53613:14;53621:5;53613:7;:14::i;:::-;53609:58;;;-1:-1:-1;53651:4:0;53644:11;;53609:58;-1:-1:-1;53684:5:0;53460:237;;;:::o;22916:334::-;22989:13;23023:16;23031:7;23023;:16::i;:::-;23015:76;;;;-1:-1:-1;;;23015:76:0;;;;;;;:::i;:::-;23104:21;23128:10;:8;:10::i;:::-;23104:34;;23180:1;23162:7;23156:21;:25;:86;;;;;;;;;;;;;;;;;23208:7;23217:18;:7;:16;:18::i;:::-;23191:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;23156:86;23149:93;22916:334;-1:-1:-1;;;22916:334:0:o;52752:31::-;;;;:::o;54453:559::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;54567:8:::1;::::0;54606:21:::1;::::0;-1:-1:-1;;;54606:21:0;;-1:-1:-1;;;;;54567:8:0;;::::1;::::0;54526:21:::1;::::0;54567:8;;54606:14:::1;::::0;:21:::1;::::0;54621:5;;54606:21:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54587:40;;54659:1;54648:8;:12;54640:55;;;;-1:-1:-1::0;;;54640:55:0::1;;;;;;;:::i;:::-;54713:9;54708:297;54732:8;54728:1;:12;54708:297;;;54778:34;::::0;-1:-1:-1;;;54778:34:0;;54762:13:::1;::::0;-1:-1:-1;;;;;54778:24:0;::::1;::::0;::::1;::::0;:34:::1;::::0;54803:5;;54810:1;;54778:34:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54762:50;;54897:14;54905:5;54897:7;:14::i;:::-;54893:63;;;54932:8;;;54893:63;54970:23;54980:5;54987;54970:9;:23::i;:::-;54708:297;;54742:3:::0;::::1;::::0;::::1;:::i;:::-;;;;54708:297;;53705:740:::0;53768:8;;-1:-1:-1;;;53768:8:0;;;;53760:39;;;;-1:-1:-1;;;53760:39:0;;;;;;;:::i;:::-;53853:8;;53892:26;;-1:-1:-1;;;53892:26:0;;-1:-1:-1;;;;;53853:8:0;;;;53812:21;;53853:8;;53892:14;;:26;;53907:10;;53892:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53873:45;;53950:1;53939:8;:12;53931:55;;;;-1:-1:-1;;;53931:55:0;;;;;;;:::i;:::-;54011:1;54003:5;:9;53999:51;;;54037:1;54029:9;;53999:51;54062:14;54096:9;54091:347;54115:8;54111:1;:12;54091:347;;;54161:39;;-1:-1:-1;;;54161:39:0;;54145:13;;-1:-1:-1;;;;;54161:24:0;;;;;:39;;54186:10;;54198:1;;54161:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54145:55;;54221:14;54229:5;54221:7;:14::i;:::-;54217:63;;;54256:8;;;54217:63;54296:30;54306:12;:10;:12::i;:::-;54320:5;54296:9;:30::i;:::-;54341:8;;;;:::i;:::-;;;;54380:5;54370:6;:15;54366:61;;;54406:5;;;54366:61;54091:347;;54125:3;;;;:::i;:::-;;;;54091:347;;;;53705:740;;;;:::o;24790:164::-;-1:-1:-1;;;;;24911:25:0;;;24887:4;24911:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24790:164::o;43729:192::-;43060:12;:10;:12::i;:::-;-1:-1:-1;;;;;43049:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;43049:23:0;;43041:68;;;;-1:-1:-1;;;43041:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;43818:22:0;::::1;43810:73;;;;-1:-1:-1::0;;;43810:73:0::1;;;;;;;:::i;:::-;43894:19;43904:8;43894:9;:19::i;21627:305::-:0;21729:4;-1:-1:-1;;;;;;21766:40:0;;-1:-1:-1;;;21766:40:0;;:105;;-1:-1:-1;;;;;;;21823:48:0;;-1:-1:-1;;;21823:48:0;21766:105;:158;;;;21888:36;21912:11;21888:23;:36::i;27525:127::-;27590:4;27614:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27614:16:0;:30;;;27525:127::o;17035:98::-;17115:10;17035:98;:::o;31507:174::-;31582:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31582:29:0;-1:-1:-1;;;;;31582:29:0;;;;;;;;:24;;31636:23;31582:24;31636:14;:23::i;:::-;-1:-1:-1;;;;;31627:46:0;;;;;;;;;;;31507:174;;:::o;27819:348::-;27912:4;27937:16;27945:7;27937;:16::i;:::-;27929:73;;;;-1:-1:-1;;;27929:73:0;;;;;;;:::i;:::-;28013:13;28029:23;28044:7;28029:14;:23::i;:::-;28013:39;;28082:5;-1:-1:-1;;;;;28071:16:0;:7;-1:-1:-1;;;;;28071:16:0;;:51;;;;28115:7;-1:-1:-1;;;;;28091:31:0;:20;28103:7;28091:11;:20::i;:::-;-1:-1:-1;;;;;28091:31:0;;28071:51;:87;;;;28126:32;28143:5;28150:7;28126:16;:32::i;:::-;28063:96;27819:348;-1:-1:-1;;;;27819:348:0:o;30811:578::-;30970:4;-1:-1:-1;;;;;30943:31:0;:23;30958:7;30943:14;:23::i;:::-;-1:-1:-1;;;;;30943:31:0;;30935:85;;;;-1:-1:-1;;;30935:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;31039:16:0;;31031:65;;;;-1:-1:-1;;;31031:65:0;;;;;;;:::i;:::-;31109:39;31130:4;31136:2;31140:7;31109:20;:39::i;:::-;31213:29;31230:1;31234:7;31213:8;:29::i;:::-;-1:-1:-1;;;;;31255:15:0;;;;;;:9;:15;;;;;:20;;31274:1;;31255:15;:20;;31274:1;;31255:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31286:13:0;;;;;;:9;:13;;;;;:18;;31303:1;;31286:13;:18;;31303:1;;31286:18;:::i;:::-;;;;-1:-1:-1;;31315:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31315:21:0;-1:-1:-1;;;;;31315:21:0;;;;;;;;;31354:27;;31315:16;;31354:27;;;;;;;30811:578;;;:::o;10395:317::-;10510:6;10485:21;:31;;10477:73;;;;-1:-1:-1;;;10477:73:0;;;;;;;:::i;:::-;10564:12;10582:9;-1:-1:-1;;;;;10582:14:0;10604:6;10582:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10563:52;;;10634:7;10626:78;;;;-1:-1:-1;;;10626:78:0;;;;;;;:::i;43929:173::-;44004:6;;;-1:-1:-1;;;;;44021:17:0;;;-1:-1:-1;;;;;;44021:17:0;;;;;;;44054:40;;44004:6;;;44021:17;44004:6;;44054:40;;43985:16;;44054:40;43929:173;;:::o;26897:315::-;27054:28;27064:4;27070:2;27074:7;27054:9;:28::i;:::-;27101:48;27124:4;27130:2;27134:7;27143:5;27101:22;:48::i;:::-;27093:111;;;;-1:-1:-1;;;27093:111:0;;;;;;;:::i;55020:105::-;55072:13;55105:12;55098:19;;;;;:::i;17566:723::-;17622:13;17843:10;17839:53;;-1:-1:-1;17870:10:0;;;;;;;;;;;;-1:-1:-1;;;17870:10:0;;;;;;17839:53;17917:5;17902:12;17958:78;17965:9;;17958:78;;17991:8;;;;:::i;:::-;;-1:-1:-1;18014:10:0;;-1:-1:-1;18022:2:0;18014:10;;:::i;:::-;;;17958:78;;;18046:19;18078:6;18068:17;;;;;;-1:-1:-1;;;18068:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18068:17:0;;18046:39;;18096:154;18103:10;;18096:154;;18130:11;18140:1;18130:11;;:::i;:::-;;-1:-1:-1;18199:10:0;18207:2;18199:5;:10;:::i;:::-;18186:24;;:2;:24;:::i;:::-;18173:39;;18156:6;18163;18156:14;;;;;;-1:-1:-1;;;18156:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;18156:56:0;;;;;;;;-1:-1:-1;18227:11:0;18236:2;18227:11;;:::i;:::-;;;18096:154;;28509:110;28585:26;28595:2;28599:7;28585:26;;;;;;;;;;;;:9;:26::i;20127:157::-;-1:-1:-1;;;;;;20236:40:0;;-1:-1:-1;;;20236:40:0;20127:157;;;:::o;37355:589::-;37499:45;37526:4;37532:2;37536:7;37499:26;:45::i;:::-;-1:-1:-1;;;;;37561:18:0;;37557:187;;37596:40;37628:7;37596:31;:40::i;:::-;37557:187;;;37666:2;-1:-1:-1;;;;;37658:10:0;:4;-1:-1:-1;;;;;37658:10:0;;37654:90;;37685:47;37718:4;37724:7;37685:32;:47::i;:::-;-1:-1:-1;;;;;37758:16:0;;37754:183;;37791:45;37828:7;37791:36;:45::i;:::-;37754:183;;;37864:4;-1:-1:-1;;;;;37858:10:0;:2;-1:-1:-1;;;;;37858:10:0;;37854:83;;37885:40;37913:2;37917:7;37885:27;:40::i;32246:799::-;32401:4;32422:15;:2;-1:-1:-1;;;;;32422:13:0;;:15::i;:::-;32418:620;;;32474:2;-1:-1:-1;;;;;32458:36:0;;32495:12;:10;:12::i;:::-;32509:4;32515:7;32524:5;32458:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32458:72:0;;;;;;;;-1:-1:-1;;32458:72:0;;;;;;;;;;;;:::i;:::-;;;32454:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32700:13:0;;32696:272;;32743:60;;-1:-1:-1;;;32743:60:0;;;;;;;:::i;32696:272::-;32918:6;32912:13;32903:6;32899:2;32895:15;32888:38;32454:529;-1:-1:-1;;;;;;32581:51:0;-1:-1:-1;;;32581:51:0;;-1:-1:-1;32574:58:0;;32418:620;-1:-1:-1;33022:4:0;32246:799;;;;;;:::o;28846:321::-;28976:18;28982:2;28986:7;28976:5;:18::i;:::-;29027:54;29058:1;29062:2;29066:7;29075:5;29027:22;:54::i;:::-;29005:154;;;;-1:-1:-1;;;29005:154:0;;;;;;;:::i;38667:164::-;38771:10;:17;;38744:24;;;;:15;:24;;;;;:44;;;38799:24;;;;;;;;;;;;38667:164::o;39458:988::-;39724:22;39774:1;39749:22;39766:4;39749:16;:22::i;:::-;:26;;;;:::i;:::-;39786:18;39807:26;;;:17;:26;;;;;;39724:51;;-1:-1:-1;39940:28:0;;;39936:328;;-1:-1:-1;;;;;40007:18:0;;39985:19;40007:18;;;:12;:18;;;;;;;;:34;;;;;;;;;40058:30;;;;;;:44;;;40175:30;;:17;:30;;;;;:43;;;39936:328;-1:-1:-1;40360:26:0;;;;:17;:26;;;;;;;;40353:33;;;-1:-1:-1;;;;;40404:18:0;;;;;:12;:18;;;;;:34;;;;;;;40397:41;39458:988::o;40741:1079::-;41019:10;:17;40994:22;;41019:21;;41039:1;;41019:21;:::i;:::-;41051:18;41072:24;;;:15;:24;;;;;;41445:10;:26;;40994:46;;-1:-1:-1;41072:24:0;;40994:46;;41445:26;;;;-1:-1:-1;;;41445:26:0;;;;;;;;;;;;;;;;;41423:48;;41509:11;41484:10;41495;41484:22;;;;;;-1:-1:-1;;;41484:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;41589:28;;;:15;:28;;;;;;;:41;;;41761:24;;;;;41754:31;41796:10;:16;;;;;-1:-1:-1;;;41796:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;40741:1079;;;;:::o;38245:221::-;38330:14;38347:20;38364:2;38347:16;:20::i;:::-;-1:-1:-1;;;;;38378:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38423:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38245:221:0:o;9073:387::-;9396:20;9444:8;;;9073:387::o;29503:382::-;-1:-1:-1;;;;;29583:16:0;;29575:61;;;;-1:-1:-1;;;29575:61:0;;;;;;;:::i;:::-;29656:16;29664:7;29656;:16::i;:::-;29655:17;29647:58;;;;-1:-1:-1;;;29647:58:0;;;;;;;:::i;:::-;29718:45;29747:1;29751:2;29755:7;29718:20;:45::i;:::-;-1:-1:-1;;;;;29776:13:0;;;;;;:9;:13;;;;;:18;;29793:1;;29776:13;:18;;29793:1;;29776:18;:::i;:::-;;;;-1:-1:-1;;29805:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29805:21:0;-1:-1:-1;;;;;29805:21:0;;;;;;;;29844:33;;29805:16;;;29844:33;;29805:16;;29844:33;29503:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:607:1;;110:18;151:2;143:6;140:14;137:2;;;157:18;;:::i;:::-;206:2;200:9;279:2;256:17;;-1:-1:-1;;252:31:1;240:44;;286:4;236:55;306:18;;;326:22;;;303:46;300:2;;;352:18;;:::i;:::-;388:2;381:22;436;;;421:6;-1:-1:-1;421:6:1;473:16;;;470:25;-1:-1:-1;467:2:1;;;508:1;505;498:12;467:2;558:6;553:3;546:4;538:6;534:17;521:44;613:1;606:4;597:6;589;585:19;581:30;574:41;;;90:531;;;;;:::o;626:175::-;696:20;;-1:-1:-1;;;;;745:31:1;;735:42;;725:2;;791:1;788;781:12;806:198;;918:2;906:9;897:7;893:23;889:32;886:2;;;939:6;931;924:22;886:2;967:31;988:9;967:31;:::i;1009:274::-;;;1138:2;1126:9;1117:7;1113:23;1109:32;1106:2;;;1159:6;1151;1144:22;1106:2;1187:31;1208:9;1187:31;:::i;:::-;1177:41;;1237:40;1273:2;1262:9;1258:18;1237:40;:::i;:::-;1227:50;;1096:187;;;;;:::o;1288:342::-;;;;1434:2;1422:9;1413:7;1409:23;1405:32;1402:2;;;1455:6;1447;1440:22;1402:2;1483:31;1504:9;1483:31;:::i;:::-;1473:41;;1533:40;1569:2;1558:9;1554:18;1533:40;:::i;:::-;1523:50;;1620:2;1609:9;1605:18;1592:32;1582:42;;1392:238;;;;;:::o;1635:702::-;;;;;1807:3;1795:9;1786:7;1782:23;1778:33;1775:2;;;1829:6;1821;1814:22;1775:2;1857:31;1878:9;1857:31;:::i;:::-;1847:41;;1907:40;1943:2;1932:9;1928:18;1907:40;:::i;:::-;1897:50;;1994:2;1983:9;1979:18;1966:32;1956:42;;2049:2;2038:9;2034:18;2021:32;2076:18;2068:6;2065:30;2062:2;;;2113:6;2105;2098:22;2062:2;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:2:1;;2228:6;2220;2213:22;2172:2;2256:75;2323:7;2318:2;2305:16;2300:2;2296;2292:11;2256:75;:::i;:::-;2246:85;;;1765:572;;;;;;;:::o;2342:369::-;;;2468:2;2456:9;2447:7;2443:23;2439:32;2436:2;;;2489:6;2481;2474:22;2436:2;2517:31;2538:9;2517:31;:::i;:::-;2507:41;;2598:2;2587:9;2583:18;2570:32;2645:5;2638:13;2631:21;2624:5;2621:32;2611:2;;2672:6;2664;2657:22;2611:2;2700:5;2690:15;;;2426:285;;;;;:::o;2716:266::-;;;2845:2;2833:9;2824:7;2820:23;2816:32;2813:2;;;2866:6;2858;2851:22;2813:2;2894:31;2915:9;2894:31;:::i;:::-;2884:41;2972:2;2957:18;;;;2944:32;;-1:-1:-1;;;2803:179:1:o;2987:257::-;;3098:2;3086:9;3077:7;3073:23;3069:32;3066:2;;;3119:6;3111;3104:22;3066:2;3163:9;3150:23;3182:32;3208:5;3182:32;:::i;3249:261::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:32;3474:5;3448:32;:::i;3515:482::-;;3637:2;3625:9;3616:7;3612:23;3608:32;3605:2;;;3658:6;3650;3643:22;3605:2;3703:9;3690:23;3736:18;3728:6;3725:30;3722:2;;;3773:6;3765;3758:22;3722:2;3801:22;;3854:4;3846:13;;3842:27;-1:-1:-1;3832:2:1;;3888:6;3880;3873:22;3832:2;3916:75;3983:7;3978:2;3965:16;3960:2;3956;3952:11;3916:75;:::i;4002:190::-;;4114:2;4102:9;4093:7;4089:23;4085:32;4082:2;;;4135:6;4127;4120:22;4082:2;-1:-1:-1;4163:23:1;;4072:120;-1:-1:-1;4072:120:1:o;4197:194::-;;4320:2;4308:9;4299:7;4295:23;4291:32;4288:2;;;4341:6;4333;4326:22;4288:2;-1:-1:-1;4369:16:1;;4278:113;-1:-1:-1;4278:113:1:o;4396:259::-;;4477:5;4471:12;4504:6;4499:3;4492:19;4520:63;4576:6;4569:4;4564:3;4560:14;4553:4;4546:5;4542:16;4520:63;:::i;:::-;4637:2;4616:15;-1:-1:-1;;4612:29:1;4603:39;;;;4644:4;4599:50;;4447:208;-1:-1:-1;;4447:208:1:o;4660:470::-;;4877:6;4871:13;4893:53;4939:6;4934:3;4927:4;4919:6;4915:17;4893:53;:::i;:::-;5009:13;;4968:16;;;;5031:57;5009:13;4968:16;5065:4;5053:17;;5031:57;:::i;:::-;5104:20;;4847:283;-1:-1:-1;;;;4847:283:1:o;5135:205::-;5335:3;5326:14::o;5345:203::-;-1:-1:-1;;;;;5509:32:1;;;;5491:51;;5479:2;5464:18;;5446:102::o;5553:490::-;-1:-1:-1;;;;;5822:15:1;;;5804:34;;5874:15;;5869:2;5854:18;;5847:43;5921:2;5906:18;;5899:34;;;5969:3;5964:2;5949:18;;5942:31;;;5553:490;;5990:47;;6017:19;;6009:6;5990:47;:::i;:::-;5982:55;5756:287;-1:-1:-1;;;;;;5756:287:1:o;6048:274::-;-1:-1:-1;;;;;6240:32:1;;;;6222:51;;6304:2;6289:18;;6282:34;6210:2;6195:18;;6177:145::o;6327:187::-;6492:14;;6485:22;6467:41;;6455:2;6440:18;;6422:92::o;6519:221::-;;6668:2;6657:9;6650:21;6688:46;6730:2;6719:9;6715:18;6707:6;6688:46;:::i;6745:407::-;6947:2;6929:21;;;6986:2;6966:18;;;6959:30;7025:34;7020:2;7005:18;;6998:62;-1:-1:-1;;;7091:2:1;7076:18;;7069:41;7142:3;7127:19;;6919:233::o;7157:414::-;7359:2;7341:21;;;7398:2;7378:18;;;7371:30;7437:34;7432:2;7417:18;;7410:62;-1:-1:-1;;;7503:2:1;7488:18;;7481:48;7561:3;7546:19;;7331:240::o;7576:402::-;7778:2;7760:21;;;7817:2;7797:18;;;7790:30;7856:34;7851:2;7836:18;;7829:62;-1:-1:-1;;;7922:2:1;7907:18;;7900:36;7968:3;7953:19;;7750:228::o;7983:352::-;8185:2;8167:21;;;8224:2;8204:18;;;8197:30;8263;8258:2;8243:18;;8236:58;8326:2;8311:18;;8157:178::o;8340:400::-;8542:2;8524:21;;;8581:2;8561:18;;;8554:30;8620:34;8615:2;8600:18;;8593:62;-1:-1:-1;;;8686:2:1;8671:18;;8664:34;8730:3;8715:19;;8514:226::o;8745:354::-;8947:2;8929:21;;;8986:2;8966:18;;;8959:30;9025:32;9020:2;9005:18;;8998:60;9090:2;9075:18;;8919:180::o;9104:349::-;9306:2;9288:21;;;9345:2;9325:18;;;9318:30;9384:27;9379:2;9364:18;;9357:55;9444:2;9429:18;;9278:175::o;9458:422::-;9660:2;9642:21;;;9699:2;9679:18;;;9672:30;9738:34;9733:2;9718:18;;9711:62;9809:28;9804:2;9789:18;;9782:56;9870:3;9855:19;;9632:248::o;9885:342::-;10087:2;10069:21;;;10126:2;10106:18;;;10099:30;-1:-1:-1;;;10160:2:1;10145:18;;10138:48;10218:2;10203:18;;10059:168::o;10232:353::-;10434:2;10416:21;;;10473:2;10453:18;;;10446:30;10512:31;10507:2;10492:18;;10485:59;10576:2;10561:18;;10406:179::o;10590:408::-;10792:2;10774:21;;;10831:2;10811:18;;;10804:30;10870:34;10865:2;10850:18;;10843:62;-1:-1:-1;;;10936:2:1;10921:18;;10914:42;10988:3;10973:19;;10764:234::o;11003:340::-;11205:2;11187:21;;;11244:2;11224:18;;;11217:30;-1:-1:-1;;;11278:2:1;11263:18;;11256:46;11334:2;11319:18;;11177:166::o;11348:420::-;11550:2;11532:21;;;11589:2;11569:18;;;11562:30;11628:34;11623:2;11608:18;;11601:62;11699:26;11694:2;11679:18;;11672:54;11758:3;11743:19;;11522:246::o;11773:406::-;11975:2;11957:21;;;12014:2;11994:18;;;11987:30;12053:34;12048:2;12033:18;;12026:62;-1:-1:-1;;;12119:2:1;12104:18;;12097:40;12169:3;12154:19;;11947:232::o;12184:405::-;12386:2;12368:21;;;12425:2;12405:18;;;12398:30;12464:34;12459:2;12444:18;;12437:62;-1:-1:-1;;;12530:2:1;12515:18;;12508:39;12579:3;12564:19;;12358:231::o;12594:356::-;12796:2;12778:21;;;12815:18;;;12808:30;12874:34;12869:2;12854:18;;12847:62;12941:2;12926:18;;12768:182::o;12955:408::-;13157:2;13139:21;;;13196:2;13176:18;;;13169:30;13235:34;13230:2;13215:18;;13208:62;-1:-1:-1;;;13301:2:1;13286:18;;13279:42;13353:3;13338:19;;13129:234::o;13368:356::-;13570:2;13552:21;;;13589:18;;;13582:30;13648:34;13643:2;13628:18;;13621:62;13715:2;13700:18;;13542:182::o;13729:405::-;13931:2;13913:21;;;13970:2;13950:18;;;13943:30;14009:34;14004:2;13989:18;;13982:62;-1:-1:-1;;;14075:2:1;14060:18;;14053:39;14124:3;14109:19;;13903:231::o;14139:411::-;14341:2;14323:21;;;14380:2;14360:18;;;14353:30;14419:34;14414:2;14399:18;;14392:62;-1:-1:-1;;;14485:2:1;14470:18;;14463:45;14540:3;14525:19;;14313:237::o;14555:397::-;14757:2;14739:21;;;14796:2;14776:18;;;14769:30;14835:34;14830:2;14815:18;;14808:62;-1:-1:-1;;;14901:2:1;14886:18;;14879:31;14942:3;14927:19;;14729:223::o;14957:413::-;15159:2;15141:21;;;15198:2;15178:18;;;15171:30;15237:34;15232:2;15217:18;;15210:62;-1:-1:-1;;;15303:2:1;15288:18;;15281:47;15360:3;15345:19;;15131:239::o;15375:408::-;15577:2;15559:21;;;15616:2;15596:18;;;15589:30;15655:34;15650:2;15635:18;;15628:62;-1:-1:-1;;;15721:2:1;15706:18;;15699:42;15773:3;15758:19;;15549:234::o;15788:177::-;15934:25;;;15922:2;15907:18;;15889:76::o;15970:128::-;;16041:1;16037:6;16034:1;16031:13;16028:2;;;16047:18;;:::i;:::-;-1:-1:-1;16083:9:1;;16018:80::o;16103:120::-;;16169:1;16159:2;;16174:18;;:::i;:::-;-1:-1:-1;16208:9:1;;16149:74::o;16228:125::-;;16296:1;16293;16290:8;16287:2;;;16301:18;;:::i;:::-;-1:-1:-1;16338:9:1;;16277:76::o;16358:258::-;16430:1;16440:113;16454:6;16451:1;16448:13;16440:113;;;16530:11;;;16524:18;16511:11;;;16504:39;16476:2;16469:10;16440:113;;;16571:6;16568:1;16565:13;16562:2;;;-1:-1:-1;;16606:1:1;16588:16;;16581:27;16411:205::o;16621:380::-;16706:1;16696:12;;16753:1;16743:12;;;16764:2;;16818:4;16810:6;16806:17;16796:27;;16764:2;16871;16863:6;16860:14;16840:18;16837:38;16834:2;;;16917:10;16912:3;16908:20;16905:1;16898:31;16952:4;16949:1;16942:15;16980:4;16977:1;16970:15;16834:2;;16676:325;;;:::o;17006:135::-;;-1:-1:-1;;17066:17:1;;17063:2;;;17086:18;;:::i;:::-;-1:-1:-1;17133:1:1;17122:13;;17053:88::o;17146:112::-;;17204:1;17194:2;;17209:18;;:::i;:::-;-1:-1:-1;17243:9:1;;17184:74::o;17263:127::-;17324:10;17319:3;17315:20;17312:1;17305:31;17355:4;17352:1;17345:15;17379:4;17376:1;17369:15;17395:127;17456:10;17451:3;17447:20;17444:1;17437:31;17487:4;17484:1;17477:15;17511:4;17508:1;17501:15;17527:127;17588:10;17583:3;17579:20;17576:1;17569:31;17619:4;17616:1;17609:15;17643:4;17640:1;17633:15;17659:133;-1:-1:-1;;;;;;17735:32:1;;17725:43;;17715:2;;17782:1;17779;17772:12

Swarm Source

ipfs://4ecde5686fc560264e2fb87f543eba15122d080aa057a71d112ad5e048f4a487

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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