ETH Price: $3,892.59 (+0.21%)

Contract

0xf4f1bf74EAC68Bd73021e21A3ebA233FE0308A3E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...207087242024-09-08 21:58:2397 days ago1725832703IN
0xf4f1bf74...FE0308A3E
0 ETH0.000048471.65154356
Set Approval For...207087062024-09-08 21:54:4797 days ago1725832487IN
0xf4f1bf74...FE0308A3E
0 ETH0.000090711.76966389
Set Approval For...207049442024-09-08 9:17:3598 days ago1725787055IN
0xf4f1bf74...FE0308A3E
0 ETH0.000057991.97603988
Set Approval For...206883732024-09-06 1:49:35100 days ago1725587375IN
0xf4f1bf74...FE0308A3E
0 ETH0.000090371.76294766
Set Approval For...205428652024-08-16 18:04:35120 days ago1723831475IN
0xf4f1bf74...FE0308A3E
0 ETH0.000144752.82389249
Set Approval For...203800432024-07-25 0:41:35143 days ago1721868095IN
0xf4f1bf74...FE0308A3E
0 ETH0.00015192.96337343
Set Approval For...202076472024-06-30 22:59:35167 days ago1719788375IN
0xf4f1bf74...FE0308A3E
0 ETH0.000212744.15032833
Safe Transfer Fr...201739882024-06-26 6:11:23172 days ago1719382283IN
0xf4f1bf74...FE0308A3E
0 ETH0.000094391.86320283
Safe Transfer Fr...201739822024-06-26 6:10:11172 days ago1719382211IN
0xf4f1bf74...FE0308A3E
0 ETH0.000141711.95295459
Set Approval For...198782702024-05-15 22:08:35213 days ago1715810915IN
0xf4f1bf74...FE0308A3E
0 ETH0.00029855.82315668
Set Approval For...198163232024-05-07 6:12:47222 days ago1715062367IN
0xf4f1bf74...FE0308A3E
0 ETH0.000334826.53175602
Set Approval For...197691422024-04-30 15:52:59228 days ago1714492379IN
0xf4f1bf74...FE0308A3E
0 ETH0.0008777917.12412872
Set Approval For...193597742024-03-04 5:41:11286 days ago1709530871IN
0xf4f1bf74...FE0308A3E
0 ETH0.0025580949.90333201
Set Approval For...191947242024-02-10 2:25:59309 days ago1707531959IN
0xf4f1bf74...FE0308A3E
0 ETH0.0010806136.81958012
Safe Transfer Fr...191435962024-02-02 22:10:11316 days ago1706911811IN
0xf4f1bf74...FE0308A3E
0 ETH0.0011365416.75610133
Set Approval For...191034452024-01-28 7:07:23322 days ago1706425643IN
0xf4f1bf74...FE0308A3E
0 ETH0.0006054311.81085128
Set Approval For...190584142024-01-21 23:24:23328 days ago1705879463IN
0xf4f1bf74...FE0308A3E
0 ETH0.0006805913.27713427
Set Approval For...187023292023-12-03 0:34:11378 days ago1701563651IN
0xf4f1bf74...FE0308A3E
0 ETH0.0016730232.63733442
Set Approval For...186085062023-11-19 21:22:59391 days ago1700428979IN
0xf4f1bf74...FE0308A3E
0 ETH0.0017496934.13314906
Set Approval For...185964672023-11-18 4:50:11393 days ago1700283011IN
0xf4f1bf74...FE0308A3E
0 ETH0.0009183717.9156738
Set Approval For...185021502023-11-05 0:10:23406 days ago1699143023IN
0xf4f1bf74...FE0308A3E
0 ETH0.0004878116.62116202
Set Approval For...184658722023-10-30 22:12:23411 days ago1698703943IN
0xf4f1bf74...FE0308A3E
0 ETH0.0011276138.4209943
Set Approval For...184579802023-10-29 19:40:23412 days ago1698608423IN
0xf4f1bf74...FE0308A3E
0 ETH0.0006975213.60735204
Set Approval For...184559202023-10-29 12:44:47413 days ago1698583487IN
0xf4f1bf74...FE0308A3E
0 ETH0.0007360814.35945726
Set Approval For...184556522023-10-29 11:50:23413 days ago1698580223IN
0xf4f1bf74...FE0308A3E
0 ETH0.0006247112.18691778
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:
MechaPilotsSpaceguins

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// Sources flattened with hardhat v2.6.0 https://hardhat.org

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

// SPDX-License-Identifier: MIT

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 IERC165Upgradeable {
    /**
     * @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-upgradeable/token/ERC721/[email protected]



pragma solidity ^0.8.0;

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721Upgradeable is IERC165Upgradeable {
    /**
     * @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-upgradeable/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 IERC721ReceiverUpgradeable {
    /**
     * @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-upgradeable/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 IERC721MetadataUpgradeable is IERC721Upgradeable {
    /**
     * @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-upgradeable/utils/[email protected]



pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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 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-upgradeable/proxy/utils/[email protected]



pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


// File @openzeppelin/contracts-upgradeable/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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


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



pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library StringsUpgradeable {
    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-upgradeable/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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}


// File @openzeppelin/contracts-upgradeable/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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable {
    using AddressUpgradeable for address;
    using StringsUpgradeable 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.
     */
    function __ERC721_init(string memory name_, string memory symbol_) internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __ERC721_init_unchained(name_, symbol_);
    }

    function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) {
        return
            interfaceId == type(IERC721Upgradeable).interfaceId ||
            interfaceId == type(IERC721MetadataUpgradeable).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 = ERC721Upgradeable.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 = ERC721Upgradeable.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 = ERC721Upgradeable.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(ERC721Upgradeable.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(ERC721Upgradeable.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 IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721ReceiverUpgradeable.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 {}
    uint256[44] private __gap;
}


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]



pragma solidity ^0.8.0;


// File @openzeppelin/contracts-upgradeable/interfaces/[email protected]



pragma solidity ^0.8.0;

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981Upgradeable is IERC165Upgradeable {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}


// File @openzeppelin/contracts-upgradeable/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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _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);
    }
    uint256[49] private __gap;
}


// File @openzeppelin/contracts-upgradeable/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 CountersUpgradeable {
    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 gwei-slim-nft-contracts/contracts/base/[email protected]


pragma solidity 0.8.9;

/// Additional features and functions assigned to the
/// Base721 contract for hooks and overrides
interface IBaseERC721Interface {
    /*
     Exposing common NFT internal functionality for base contract overrides
     To save gas and make API cleaner this is only for new functionality not exposed in
     the core ERC721 contract
    */

    /// Mint an NFT. Allowed to mint by owner, approval or by the parent contract
    /// @param tokenId id to burn
    function __burn(uint256 tokenId) external;

    /// Mint an NFT. Allowed only by the parent contract
    /// @param to address to mint to
    /// @param tokenId token id to mint
    function __mint(address to, uint256 tokenId) external;

    /// Set the base URI of the contract. Allowed only by parent contract
    /// @param base base uri
    /// @param extension extension
    function __setBaseURI(string memory base, string memory extension) external;

    /* Exposes common internal read features for public use */

    /// Token exists
    /// @param tokenId token id to see if it exists
    function __exists(uint256 tokenId) external view returns (bool);

    /// Simple approval for operation check on token for address
    /// @param spender address spending/changing token
    /// @param tokenId tokenID to change / operate on
    function __isApprovedOrOwner(address spender, uint256 tokenId)
        external
        view
        returns (bool);

    function __isApprovedForAll(address owner, address operator)
        external
        view
        returns (bool);

    function __tokenURI(uint256 tokenId) external view returns (string memory);

    function __owner() external view returns (address);
}


// File gwei-slim-nft-contracts/contracts/base/[email protected]


pragma solidity 0.8.9;






struct ConfigSettings {
    uint16 royaltyBps;
    string uriBase;
    string uriExtension;
    bool hasTransferHook;
}

/**
    This smart contract adds features and allows for a ownership only by another smart contract as fallback behavior
    while also implementing all normal ERC721 functions as expected
*/
contract ERC721Base is
    ERC721Upgradeable,
    IBaseERC721Interface,
    IERC2981Upgradeable,
    OwnableUpgradeable
{
    using CountersUpgradeable for CountersUpgradeable.Counter;
    // Minted counter for totalSupply()
    CountersUpgradeable.Counter private mintedCounter;

    modifier onlyInternal() {
        require(msg.sender == address(this), "Only internal");
        _;
    }

    /// on-chain record of when this contract was deployed
    uint256 public immutable deployedBlock;

    ConfigSettings public advancedConfig;

    /// Constructor called once when the base contract is deployed
    constructor() {
        // Can be used to verify contract implementation is correct at address
        deployedBlock = block.number;
    }

    /// Initializer that's called when a new child nft is setup
    /// @param newOwner Owner for the new derived nft
    /// @param _name name of NFT contract
    /// @param _symbol symbol of NFT contract
    /// @param settings configuration settings for uri, royalty, and hooks features
    function initialize(
        address newOwner,
        string memory _name,
        string memory _symbol,
        ConfigSettings memory settings
    ) public initializer {
        __ERC721_init(_name, _symbol);
        __Ownable_init();

        advancedConfig = settings;

        transferOwnership(newOwner);
    }

    /// Getter to expose appoval status to root contract
    function isApprovedForAll(address _owner, address operator)
        public
        view
        override
        returns (bool)
    {
        return
            ERC721Upgradeable.isApprovedForAll(_owner, operator) ||
            operator == address(this);
    }

    /// internal getter for approval by all
    /// When isApprovedForAll is overridden, this can be used to call original impl
    function __isApprovedForAll(address _owner, address operator)
        public
        view
        override
        returns (bool)
    {
        return isApprovedForAll(_owner, operator);
    }

    /// Hook that when enabled manually calls _beforeTokenTransfer on
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {
        if (advancedConfig.hasTransferHook) {
            (bool success, ) = address(this).delegatecall(
                abi.encodeWithSignature(
                    "_beforeTokenTransfer(address,address,uint256)",
                    from,
                    to,
                    tokenId
                )
            );
            // Raise error again from result if error exists
            assembly {
                switch success
                // delegatecall returns 0 on error.
                case 0 {
                    returndatacopy(0, 0, returndatasize())
                    revert(0, returndatasize())
                }
            }
        }
    }

    /// Internal-only function to update the base uri
    function __setBaseURI(string memory uriBase, string memory uriExtension)
        public
        override
        onlyInternal
    {
        advancedConfig.uriBase = uriBase;
        advancedConfig.uriExtension = uriExtension;
    }

    /// @dev returns the number of minted tokens
    /// uses some extra gas but makes etherscan and users happy so :shrug:
    /// partial erc721enumerable implemntation
    function totalSupply() public view returns (uint256) {
        return mintedCounter.current();
    }

    /**
      Internal-only
      @param to address to send the newly minted NFT to
      @dev This mints one edition to the given address by an allowed minter on the edition instance.
     */
    function __mint(address to, uint256 tokenId)
        external
        override
        onlyInternal
    {
        _mint(to, tokenId);
        mintedCounter.increment();
    }

    /**
        @param tokenId Token ID to burn
        User burn function for token id
     */
    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not allowed");
        _burn(tokenId);
        mintedCounter.decrement();
    }

    /// Internal only
    function __burn(uint256 tokenId) public onlyInternal {
        _burn(tokenId);
        mintedCounter.decrement();
    }

    /**
        Simple override for owner interface.
     */
    function owner()
        public
        view
        override(OwnableUpgradeable)
        returns (address)
    {
        return super.owner();
    }

    /// internal alias for overrides
    function __owner()
        public
        view
        override(IBaseERC721Interface)
        returns (address)
    {
        return owner();
    }

    /// Get royalty information for token
    /// ignored token id to get royalty info. able to override and set per-token royalties
    /// @param _salePrice sales price for token to determine royalty split
    function royaltyInfo(uint256, uint256 _salePrice)
        external
        view
        override
        returns (address receiver, uint256 royaltyAmount)
    {
        // If ownership is revoked, don't set royalties.
        if (owner() == address(0x0)) {
            return (owner(), 0);
        }
        return (owner(), (_salePrice * advancedConfig.royaltyBps) / 10_000);
    }

    /// Default simple token-uri implementation. works for ipfs folders too
    /// @param tokenId token id ot get uri for
    /// @return default uri getter functionality
    function tokenURI(uint256 tokenId)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "No token");

        return
            string(
                abi.encodePacked(
                    advancedConfig.uriBase,
                    StringsUpgradeable.toString(tokenId),
                    advancedConfig.uriExtension
                )
            );
    }

    /// internal base override
    function __tokenURI(uint256 tokenId)
        public
        view
        onlyInternal
        returns (string memory)
    {
        return tokenURI(tokenId);
    }

    /// Exposing token exists check for base contract
    function __exists(uint256 tokenId) external view override returns (bool) {
        return _exists(tokenId);
    }

    /// Getter for approved or owner
    function __isApprovedOrOwner(address spender, uint256 tokenId)
        external
        view
        override
        onlyInternal
        returns (bool)
    {
        return _isApprovedOrOwner(spender, tokenId);
    }

    /// IERC165 getter
    /// @param interfaceId interfaceId bytes4 to check support for
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721Upgradeable, IERC165Upgradeable)
        returns (bool)
    {
        return
            type(IERC2981Upgradeable).interfaceId == interfaceId ||
            type(IBaseERC721Interface).interfaceId == interfaceId ||
            ERC721Upgradeable.supportsInterface(interfaceId);
    }
}


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



pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._
 */
library StorageSlotUpgradeable {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        assembly {
            r.slot := slot
        }
    }
}


// File gwei-slim-nft-contracts/contracts/base/[email protected]


pragma solidity 0.8.9;

contract ERC721Delegated {
    uint256[100000] gap;
    bytes32 internal constant _IMPLEMENTATION_SLOT =
        0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    // Reference to base NFT implementation
    function implementation() public view returns (address) {
        return
            StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    function _initImplementation(address _nftImplementation) private {
        StorageSlotUpgradeable
            .getAddressSlot(_IMPLEMENTATION_SLOT)
            .value = _nftImplementation;
    }

    /// Constructor that sets up the
    constructor(
        address _nftImplementation,
        string memory name,
        string memory symbol,
        ConfigSettings memory settings
    ) {
        /// Removed for gas saving reasons, the check below implictly accomplishes this
        // require(
        //     _nftImplementation.supportsInterface(
        //         type(IBaseERC721Interface).interfaceId
        //     )
        // );
        _initImplementation(_nftImplementation);
        (bool success, ) = _nftImplementation.delegatecall(
            abi.encodeWithSignature(
                "initialize(address,string,string,(uint16,string,string,bool))",
                msg.sender,
                name,
                symbol,
                settings
            )
        );
        require(success);
    }

    /// OnlyOwner implemntation that proxies to base ownable contract for info
    modifier onlyOwner() {
        require(msg.sender == base().__owner(), "Not owner");
        _;
    }

    /// Getter to return the base implementation contract to call methods from
    /// Don't expose base contract to parent due to need to call private internal base functions
    function base() private view returns (IBaseERC721Interface) {
        return IBaseERC721Interface(address(this));
    }

    // helpers to mimic Openzeppelin internal functions

    /// Getter for the contract owner
    /// @return address owner address
    function _owner() internal view returns (address) {
        return base().__owner();
    }

    /// Internal burn function, only accessible from within contract
    /// @param id nft id to burn
    function _burn(uint256 id) internal {
        base().__burn(id);
    }

    /// Internal mint function, only accessible from within contract
    /// @param to address to mint NFT to
    /// @param id nft id to mint
    function _mint(address to, uint256 id) internal {
        base().__mint(to, id);
    }

    /// Internal exists function to determine if fn exists
    /// @param id nft id to check if exists
    function _exists(uint256 id) internal view returns (bool) {
        return base().__exists(id);
    }

    /// Internal getter for tokenURI
    /// @param tokenId id of token to get tokenURI for
    function _tokenURI(uint256 tokenId) internal view returns (string memory) {
        return base().__tokenURI(tokenId);
    }

    /// is approved for all getter underlying getter
    /// @param owner to check
    /// @param operator to check
    function _isApprovedForAll(address owner, address operator)
        internal
        view
        returns (bool)
    {
        return base().__isApprovedForAll(owner, operator);
    }

    /// Internal getter for approved or owner for a given operator
    /// @param operator address of operator to check
    /// @param id id of nft to check for
    function _isApprovedOrOwner(address operator, uint256 id)
        internal
        view
        returns (bool)
    {
        return base().__isApprovedOrOwner(operator, id);
    }

    /// Sets the base URI of the contract. Allowed only by parent contract
    /// @param newUri new uri base (http://URI) followed by number string of nft followed by extension string
    /// @param newExtension optional uri extension
    function _setBaseURI(string memory newUri, string memory newExtension)
        internal
    {
        base().__setBaseURI(newUri, newExtension);
    }

    /**
     * @dev Delegates the current call to nftImplementation.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        address impl = implementation();

        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), impl, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external virtual {
        _fallback();
    }

    /**
     * @dev No base NFT functions receive any value
     */
    receive() external payable {
        revert();
    }
}

pragma solidity ^0.8.0;

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

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File contracts/Spaceguins.sol
// Build by @realCodeCraft :)
pragma solidity 0.8.9;

contract MechaPilotsSpaceguins is ERC721Delegated {
    uint256 public reserveTokenId = 0;
    bool public sale = false;

    uint256 public MAX_SUPPLY = 250;

    bytes32 public merkleRoot = 0xd348e75d89079d1242c9cb2e8b5521aed1092edc99790502316d7ffe7c5d9080;

    bool public allowProxies = true;

    mapping(address => bool) public whitelistClaimed;
    mapping(address => bool) public projectProxy;

    constructor(
        address baseFactory
    )
        ERC721Delegated(
            baseFactory,
            "Mecha Pilots - Spaceguins",
            "MSP",
            ConfigSettings({
                royaltyBps: 500,
                uriBase: "",
                uriExtension: "",
                hasTransferHook: false
            })
        )
    {
    }

    function claim(bytes32[] calldata _merkleProof) public {
        require(sale, "Claim not yet open");
        require(reserveTokenId + 1 <= MAX_SUPPLY, "Sold Out");
        require(!whitelistClaimed[msg.sender], "Address already claimed");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Not whitelisted.");

        whitelistClaimed[msg.sender] = true;
        _mint(msg.sender, reserveTokenId++);
    }

    function mintTo(address to, uint256 count) public onlyOwner {
        for(uint256 i; i < count; i++) {
            _mint(to, reserveTokenId++);
        }
    }

    function setMerkleRoot(bytes32 root) public onlyOwner {
        merkleRoot = root;
    }

    function setBaseURI(string memory newUri) public onlyOwner {
        _setBaseURI(newUri, "");
    }

    function setSale(bool shouldSale) external onlyOwner {
        sale = shouldSale;
    }

    function setSupply(uint256 supply) public onlyOwner {
        MAX_SUPPLY = supply;
    }

    function setAllowProxies(bool shouldAllowProxies) external onlyOwner {
        allowProxies = shouldAllowProxies;
    }

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

    function isApprovedForAll(address owner, address operator) external view returns (bool) {
        if (allowProxies) {
            if (projectProxy[operator]) return true;
        }

        return _isApprovedForAll(owner, operator);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"baseFactory","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowProxies","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reserveTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"shouldAllowProxies","type":"bool"}],"name":"setAllowProxies","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"shouldSale","type":"bool"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000620186a0556000620186a160006101000a81548160ff02191690831515021790555060fa620186a2557fd348e75d89079d1242c9cb2e8b5521aed1092edc99790502316d7ffe7c5d908060001b620186a3556001620186a460006101000a81548160ff0219169083151502179055503480156200008257600080fd5b50604051620023d5380380620023d58339818101604052810190620000a891906200037b565b806040518060400160405280601981526020017f4d656368612050696c6f7473202d2053706163656775696e73000000000000008152506040518060400160405280600381526020017f4d5350000000000000000000000000000000000000000000000000000000000081525060405180608001604052806101f461ffff168152602001604051806020016040528060008152508152602001604051806020016040528060008152508152602001600015158152506200016e846200028960201b60201c565b60008473ffffffffffffffffffffffffffffffffffffffff1633858585604051602401620001a0949392919062000562565b6040516020818303038152906040527fb1a78e3f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516200022c919062000611565b600060405180830381855af49150503d806000811462000269576040519150601f19603f3d011682016040523d82523d6000602084013e6200026e565b606091505b50509050806200027d57600080fd5b5050505050506200062a565b80620002c37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200030760201b620010271760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000819050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003438262000316565b9050919050565b620003558162000336565b81146200036157600080fd5b50565b60008151905062000375816200034a565b92915050565b60006020828403121562000394576200039362000311565b5b6000620003a48482850162000364565b91505092915050565b620003b88162000336565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015620003fa578082015181840152602081019050620003dd565b838111156200040a576000848401525b50505050565b6000601f19601f8301169050919050565b60006200042e82620003be565b6200043a8185620003c9565b93506200044c818560208601620003da565b620004578162000410565b840191505092915050565b600061ffff82169050919050565b6200047b8162000462565b82525050565b600082825260208201905092915050565b60006200049f82620003be565b620004ab818562000481565b9350620004bd818560208601620003da565b620004c88162000410565b840191505092915050565b60008115159050919050565b620004ea81620004d3565b82525050565b60006080830160008301516200050a600086018262000470565b506020830151848203602086015262000524828262000492565b9150506040830151848203604086015262000540828262000492565b9150506060830151620005576060860182620004df565b508091505092915050565b6000608082019050620005796000830187620003ad565b81810360208301526200058d818662000421565b90508181036040830152620005a3818562000421565b90508181036060830152620005b98184620004f0565b905095945050505050565b600081519050919050565b600081905092915050565b6000620005e782620005c4565b620005f38185620005cf565b935062000605818560208601620003da565b80840191505092915050565b60006200061f8284620005da565b915081905092915050565b611d9b806200063a6000396000f3fe6080604052600436106101025760003560e01c80635bab26e2116100955780638971e6f5116100645780638971e6f514610319578063b391c50814610344578063b95e165e1461036d578063db4bec4414610398578063e985e9c5146103d55761010c565b80635bab26e21461025d5780635c60da1b1461029a5780636ad1fe02146102c55780637cb64759146102f05761010c565b80633ccfd60b116100d15780633ccfd60b146101cb578063449a52f8146101e257806352ef17281461020b57806355f804b3146102345761010c565b80631d2e5a3a146101235780632eb4a7ab1461014c57806332cb6b0c146101775780633b4c4b25146101a25761010c565b3661010c57600080fd5b34801561011857600080fd5b50610121610412565b005b34801561012f57600080fd5b5061014a600480360381019061014591906112c0565b610444565b005b34801561015857600080fd5b50610161610555565b60405161016e9190611306565b60405180910390f35b34801561018357600080fd5b5061018c61055d565b604051610199919061133a565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190611381565b610565565b005b3480156101d757600080fd5b506101e0610663565b005b3480156101ee57600080fd5b506102096004803603810190610204919061140c565b61080a565b005b34801561021757600080fd5b50610232600480360381019061022d91906112c0565b610941565b005b34801561024057600080fd5b5061025b60048036038101906102569190611592565b610a52565b005b34801561026957600080fd5b50610284600480360381019061027f91906115db565b610b60565b6040516102919190611617565b60405180910390f35b3480156102a657600080fd5b506102af610b82565b6040516102bc9190611641565b60405180910390f35b3480156102d157600080fd5b506102da610bd9565b6040516102e79190611617565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190611688565b610bee565b005b34801561032557600080fd5b5061032e610cec565b60405161033b919061133a565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190611715565b610cf4565b005b34801561037957600080fd5b50610382610f66565b60405161038f9190611617565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba91906115db565b610f7b565b6040516103cc9190611617565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190611762565b610f9d565b6040516104099190611617565b60405180910390f35b600061041c610b82565b90503660008037600080366000845af43d6000803e806000811461043f573d6000f35b3d6000fd5b61044c611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561049157600080fd5b505afa1580156104a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c991906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052d90611841565b60405180910390fd5b80620186a160006101000a81548160ff02191690831515021790555050565b620186a35481565b620186a25481565b61056d611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b257600080fd5b505afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea91906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e90611841565b60405180910390fd5b80620186a28190555050565b61066b611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106b057600080fd5b505afa1580156106c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e891906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074c90611841565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff168260405161078090611892565b60006040518083038185875af1925050503d80600081146107bd576040519150601f19603f3d011682016040523d82523d6000602084013e6107c2565b606091505b5050905080610806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fd906118f3565b60405180910390fd5b5050565b610812611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561085757600080fd5b505afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f91906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f390611841565b60405180910390fd5b60005b8181101561093c5761092983620186a0600081548092919061092090611942565b91905055611039565b808061093490611942565b9150506108ff565b505050565b610949611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561098e57600080fd5b505afa1580156109a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c691906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90611841565b60405180910390fd5b80620186a460006101000a81548160ff02191690831515021790555050565b610a5a611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9f57600080fd5b505afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90611841565b60405180910390fd5b610b5d81604051806020016040528060008152506110b1565b50565b620186a66020528060005260406000206000915054906101000a900460ff1681565b6000610bb07f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611027565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a160009054906101000a900460ff1681565b610bf6611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c3b57600080fd5b505afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7391906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790611841565b60405180910390fd5b80620186a38190555050565b620186a05481565b620186a160009054906101000a900460ff16610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c906119d7565b60405180910390fd5b620186a2546001620186a054610d5b91906119f7565b1115610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390611a99565b60405180910390fd5b620186a560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2290611b05565b60405180910390fd5b600033604051602001610e3e9190611b6d565b604051602081830303815290604052805190602001209050610ea6838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050620186a35483611129565b610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90611bd4565b60405180910390fd5b6001620186a560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f6133620186a06000815480929190610f5890611942565b91905055611039565b505050565b620186a460009054906101000a900460ff1681565b620186a56020528060005260406000206000915054906101000a900460ff1681565b6000620186a460009054906101000a900460ff161561101457620186a660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110135760019050611021565b5b61101e8383611140565b90505b92915050565b6000819050919050565b600030905090565b611041611031565b73ffffffffffffffffffffffffffffffffffffffff16633dc8ded783836040518363ffffffff1660e01b815260040161107b929190611bf4565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6110b9611031565b73ffffffffffffffffffffffffffffffffffffffff166301278b0283836040518363ffffffff1660e01b81526004016110f3929190611c94565b600060405180830381600087803b15801561110d57600080fd5b505af1158015611121573d6000803e3d6000fd5b505050505050565b60008261113685846111dc565b1490509392505050565b600061114a611031565b73ffffffffffffffffffffffffffffffffffffffff1663087ff61884846040518363ffffffff1660e01b8152600401611184929190611ccb565b60206040518083038186803b15801561119c57600080fd5b505afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190611d09565b905092915050565b60008082905060005b8451811015611227576112128286838151811061120557611204611d36565b5b6020026020010151611232565b9150808061121f90611942565b9150506111e5565b508091505092915050565b600081831061124a57611245828461125d565b611255565b611254838361125d565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b61129d81611288565b81146112a857600080fd5b50565b6000813590506112ba81611294565b92915050565b6000602082840312156112d6576112d561127e565b5b60006112e4848285016112ab565b91505092915050565b6000819050919050565b611300816112ed565b82525050565b600060208201905061131b60008301846112f7565b92915050565b6000819050919050565b61133481611321565b82525050565b600060208201905061134f600083018461132b565b92915050565b61135e81611321565b811461136957600080fd5b50565b60008135905061137b81611355565b92915050565b6000602082840312156113975761139661127e565b5b60006113a58482850161136c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113d9826113ae565b9050919050565b6113e9816113ce565b81146113f457600080fd5b50565b600081359050611406816113e0565b92915050565b600080604083850312156114235761142261127e565b5b6000611431858286016113f7565b92505060206114428582860161136c565b9150509250929050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61149f82611456565b810181811067ffffffffffffffff821117156114be576114bd611467565b5b80604052505050565b60006114d1611274565b90506114dd8282611496565b919050565b600067ffffffffffffffff8211156114fd576114fc611467565b5b61150682611456565b9050602081019050919050565b82818337600083830152505050565b6000611535611530846114e2565b6114c7565b90508281526020810184848401111561155157611550611451565b5b61155c848285611513565b509392505050565b600082601f8301126115795761157861144c565b5b8135611589848260208601611522565b91505092915050565b6000602082840312156115a8576115a761127e565b5b600082013567ffffffffffffffff8111156115c6576115c5611283565b5b6115d284828501611564565b91505092915050565b6000602082840312156115f1576115f061127e565b5b60006115ff848285016113f7565b91505092915050565b61161181611288565b82525050565b600060208201905061162c6000830184611608565b92915050565b61163b816113ce565b82525050565b60006020820190506116566000830184611632565b92915050565b611665816112ed565b811461167057600080fd5b50565b6000813590506116828161165c565b92915050565b60006020828403121561169e5761169d61127e565b5b60006116ac84828501611673565b91505092915050565b600080fd5b600080fd5b60008083601f8401126116d5576116d461144c565b5b8235905067ffffffffffffffff8111156116f2576116f16116b5565b5b60208301915083602082028301111561170e5761170d6116ba565b5b9250929050565b6000806020838503121561172c5761172b61127e565b5b600083013567ffffffffffffffff81111561174a57611749611283565b5b611756858286016116bf565b92509250509250929050565b600080604083850312156117795761177861127e565b5b6000611787858286016113f7565b9250506020611798858286016113f7565b9150509250929050565b6000815190506117b1816113e0565b92915050565b6000602082840312156117cd576117cc61127e565b5b60006117db848285016117a2565b91505092915050565b600082825260208201905092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061182b6009836117e4565b9150611836826117f5565b602082019050919050565b6000602082019050818103600083015261185a8161181e565b9050919050565b600081905092915050565b50565b600061187c600083611861565b91506118878261186c565b600082019050919050565b600061189d8261186f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006118dd6010836117e4565b91506118e8826118a7565b602082019050919050565b6000602082019050818103600083015261190c816118d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061194d82611321565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119805761197f611913565b5b600182019050919050565b7f436c61696d206e6f7420796574206f70656e0000000000000000000000000000600082015250565b60006119c16012836117e4565b91506119cc8261198b565b602082019050919050565b600060208201905081810360008301526119f0816119b4565b9050919050565b6000611a0282611321565b9150611a0d83611321565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a4257611a41611913565b5b828201905092915050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b6000611a836008836117e4565b9150611a8e82611a4d565b602082019050919050565b60006020820190508181036000830152611ab281611a76565b9050919050565b7f4164647265737320616c726561647920636c61696d6564000000000000000000600082015250565b6000611aef6017836117e4565b9150611afa82611ab9565b602082019050919050565b60006020820190508181036000830152611b1e81611ae2565b9050919050565b60008160601b9050919050565b6000611b3d82611b25565b9050919050565b6000611b4f82611b32565b9050919050565b611b67611b62826113ce565b611b44565b82525050565b6000611b798284611b56565b60148201915081905092915050565b7f4e6f742077686974656c69737465642e00000000000000000000000000000000600082015250565b6000611bbe6010836117e4565b9150611bc982611b88565b602082019050919050565b60006020820190508181036000830152611bed81611bb1565b9050919050565b6000604082019050611c096000830185611632565b611c16602083018461132b565b9392505050565b600081519050919050565b60005b83811015611c46578082015181840152602081019050611c2b565b83811115611c55576000848401525b50505050565b6000611c6682611c1d565b611c7081856117e4565b9350611c80818560208601611c28565b611c8981611456565b840191505092915050565b60006040820190508181036000830152611cae8185611c5b565b90508181036020830152611cc28184611c5b565b90509392505050565b6000604082019050611ce06000830185611632565b611ced6020830184611632565b9392505050565b600081519050611d0381611294565b92915050565b600060208284031215611d1f57611d1e61127e565b5b6000611d2d84828501611cf4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212203fb5c5a12cead3636de18d244e72a124487b46b64917a5e7e297c4dc6372baed64736f6c6343000809003300000000000000000000000043955024b1985e2b933a59021500ae5f55b04091

Deployed Bytecode

0x6080604052600436106101025760003560e01c80635bab26e2116100955780638971e6f5116100645780638971e6f514610319578063b391c50814610344578063b95e165e1461036d578063db4bec4414610398578063e985e9c5146103d55761010c565b80635bab26e21461025d5780635c60da1b1461029a5780636ad1fe02146102c55780637cb64759146102f05761010c565b80633ccfd60b116100d15780633ccfd60b146101cb578063449a52f8146101e257806352ef17281461020b57806355f804b3146102345761010c565b80631d2e5a3a146101235780632eb4a7ab1461014c57806332cb6b0c146101775780633b4c4b25146101a25761010c565b3661010c57600080fd5b34801561011857600080fd5b50610121610412565b005b34801561012f57600080fd5b5061014a600480360381019061014591906112c0565b610444565b005b34801561015857600080fd5b50610161610555565b60405161016e9190611306565b60405180910390f35b34801561018357600080fd5b5061018c61055d565b604051610199919061133a565b60405180910390f35b3480156101ae57600080fd5b506101c960048036038101906101c49190611381565b610565565b005b3480156101d757600080fd5b506101e0610663565b005b3480156101ee57600080fd5b506102096004803603810190610204919061140c565b61080a565b005b34801561021757600080fd5b50610232600480360381019061022d91906112c0565b610941565b005b34801561024057600080fd5b5061025b60048036038101906102569190611592565b610a52565b005b34801561026957600080fd5b50610284600480360381019061027f91906115db565b610b60565b6040516102919190611617565b60405180910390f35b3480156102a657600080fd5b506102af610b82565b6040516102bc9190611641565b60405180910390f35b3480156102d157600080fd5b506102da610bd9565b6040516102e79190611617565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190611688565b610bee565b005b34801561032557600080fd5b5061032e610cec565b60405161033b919061133a565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190611715565b610cf4565b005b34801561037957600080fd5b50610382610f66565b60405161038f9190611617565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba91906115db565b610f7b565b6040516103cc9190611617565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190611762565b610f9d565b6040516104099190611617565b60405180910390f35b600061041c610b82565b90503660008037600080366000845af43d6000803e806000811461043f573d6000f35b3d6000fd5b61044c611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561049157600080fd5b505afa1580156104a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c991906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610536576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052d90611841565b60405180910390fd5b80620186a160006101000a81548160ff02191690831515021790555050565b620186a35481565b620186a25481565b61056d611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156105b257600080fd5b505afa1580156105c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ea91906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064e90611841565b60405180910390fd5b80620186a28190555050565b61066b611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156106b057600080fd5b505afa1580156106c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106e891906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610755576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074c90611841565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff168260405161078090611892565b60006040518083038185875af1925050503d80600081146107bd576040519150601f19603f3d011682016040523d82523d6000602084013e6107c2565b606091505b5050905080610806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fd906118f3565b60405180910390fd5b5050565b610812611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561085757600080fd5b505afa15801561086b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088f91906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f390611841565b60405180910390fd5b60005b8181101561093c5761092983620186a0600081548092919061092090611942565b91905055611039565b808061093490611942565b9150506108ff565b505050565b610949611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561098e57600080fd5b505afa1580156109a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c691906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610a33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2a90611841565b60405180910390fd5b80620186a460006101000a81548160ff02191690831515021790555050565b610a5a611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610a9f57600080fd5b505afa158015610ab3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad791906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90611841565b60405180910390fd5b610b5d81604051806020016040528060008152506110b1565b50565b620186a66020528060005260406000206000915054906101000a900460ff1681565b6000610bb07f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b611027565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a160009054906101000a900460ff1681565b610bf6611031565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c3b57600080fd5b505afa158015610c4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c7391906117b7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd790611841565b60405180910390fd5b80620186a38190555050565b620186a05481565b620186a160009054906101000a900460ff16610d45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3c906119d7565b60405180910390fd5b620186a2546001620186a054610d5b91906119f7565b1115610d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9390611a99565b60405180910390fd5b620186a560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2290611b05565b60405180910390fd5b600033604051602001610e3e9190611b6d565b604051602081830303815290604052805190602001209050610ea6838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050620186a35483611129565b610ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edc90611bd4565b60405180910390fd5b6001620186a560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550610f6133620186a06000815480929190610f5890611942565b91905055611039565b505050565b620186a460009054906101000a900460ff1681565b620186a56020528060005260406000206000915054906101000a900460ff1681565b6000620186a460009054906101000a900460ff161561101457620186a660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110135760019050611021565b5b61101e8383611140565b90505b92915050565b6000819050919050565b600030905090565b611041611031565b73ffffffffffffffffffffffffffffffffffffffff16633dc8ded783836040518363ffffffff1660e01b815260040161107b929190611bf4565b600060405180830381600087803b15801561109557600080fd5b505af11580156110a9573d6000803e3d6000fd5b505050505050565b6110b9611031565b73ffffffffffffffffffffffffffffffffffffffff166301278b0283836040518363ffffffff1660e01b81526004016110f3929190611c94565b600060405180830381600087803b15801561110d57600080fd5b505af1158015611121573d6000803e3d6000fd5b505050505050565b60008261113685846111dc565b1490509392505050565b600061114a611031565b73ffffffffffffffffffffffffffffffffffffffff1663087ff61884846040518363ffffffff1660e01b8152600401611184929190611ccb565b60206040518083038186803b15801561119c57600080fd5b505afa1580156111b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111d49190611d09565b905092915050565b60008082905060005b8451811015611227576112128286838151811061120557611204611d36565b5b6020026020010151611232565b9150808061121f90611942565b9150506111e5565b508091505092915050565b600081831061124a57611245828461125d565b611255565b611254838361125d565b5b905092915050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b61129d81611288565b81146112a857600080fd5b50565b6000813590506112ba81611294565b92915050565b6000602082840312156112d6576112d561127e565b5b60006112e4848285016112ab565b91505092915050565b6000819050919050565b611300816112ed565b82525050565b600060208201905061131b60008301846112f7565b92915050565b6000819050919050565b61133481611321565b82525050565b600060208201905061134f600083018461132b565b92915050565b61135e81611321565b811461136957600080fd5b50565b60008135905061137b81611355565b92915050565b6000602082840312156113975761139661127e565b5b60006113a58482850161136c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006113d9826113ae565b9050919050565b6113e9816113ce565b81146113f457600080fd5b50565b600081359050611406816113e0565b92915050565b600080604083850312156114235761142261127e565b5b6000611431858286016113f7565b92505060206114428582860161136c565b9150509250929050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61149f82611456565b810181811067ffffffffffffffff821117156114be576114bd611467565b5b80604052505050565b60006114d1611274565b90506114dd8282611496565b919050565b600067ffffffffffffffff8211156114fd576114fc611467565b5b61150682611456565b9050602081019050919050565b82818337600083830152505050565b6000611535611530846114e2565b6114c7565b90508281526020810184848401111561155157611550611451565b5b61155c848285611513565b509392505050565b600082601f8301126115795761157861144c565b5b8135611589848260208601611522565b91505092915050565b6000602082840312156115a8576115a761127e565b5b600082013567ffffffffffffffff8111156115c6576115c5611283565b5b6115d284828501611564565b91505092915050565b6000602082840312156115f1576115f061127e565b5b60006115ff848285016113f7565b91505092915050565b61161181611288565b82525050565b600060208201905061162c6000830184611608565b92915050565b61163b816113ce565b82525050565b60006020820190506116566000830184611632565b92915050565b611665816112ed565b811461167057600080fd5b50565b6000813590506116828161165c565b92915050565b60006020828403121561169e5761169d61127e565b5b60006116ac84828501611673565b91505092915050565b600080fd5b600080fd5b60008083601f8401126116d5576116d461144c565b5b8235905067ffffffffffffffff8111156116f2576116f16116b5565b5b60208301915083602082028301111561170e5761170d6116ba565b5b9250929050565b6000806020838503121561172c5761172b61127e565b5b600083013567ffffffffffffffff81111561174a57611749611283565b5b611756858286016116bf565b92509250509250929050565b600080604083850312156117795761177861127e565b5b6000611787858286016113f7565b9250506020611798858286016113f7565b9150509250929050565b6000815190506117b1816113e0565b92915050565b6000602082840312156117cd576117cc61127e565b5b60006117db848285016117a2565b91505092915050565b600082825260208201905092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b600061182b6009836117e4565b9150611836826117f5565b602082019050919050565b6000602082019050818103600083015261185a8161181e565b9050919050565b600081905092915050565b50565b600061187c600083611861565b91506118878261186c565b600082019050919050565b600061189d8261186f565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006118dd6010836117e4565b91506118e8826118a7565b602082019050919050565b6000602082019050818103600083015261190c816118d0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061194d82611321565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156119805761197f611913565b5b600182019050919050565b7f436c61696d206e6f7420796574206f70656e0000000000000000000000000000600082015250565b60006119c16012836117e4565b91506119cc8261198b565b602082019050919050565b600060208201905081810360008301526119f0816119b4565b9050919050565b6000611a0282611321565b9150611a0d83611321565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611a4257611a41611913565b5b828201905092915050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b6000611a836008836117e4565b9150611a8e82611a4d565b602082019050919050565b60006020820190508181036000830152611ab281611a76565b9050919050565b7f4164647265737320616c726561647920636c61696d6564000000000000000000600082015250565b6000611aef6017836117e4565b9150611afa82611ab9565b602082019050919050565b60006020820190508181036000830152611b1e81611ae2565b9050919050565b60008160601b9050919050565b6000611b3d82611b25565b9050919050565b6000611b4f82611b32565b9050919050565b611b67611b62826113ce565b611b44565b82525050565b6000611b798284611b56565b60148201915081905092915050565b7f4e6f742077686974656c69737465642e00000000000000000000000000000000600082015250565b6000611bbe6010836117e4565b9150611bc982611b88565b602082019050919050565b60006020820190508181036000830152611bed81611bb1565b9050919050565b6000604082019050611c096000830185611632565b611c16602083018461132b565b9392505050565b600081519050919050565b60005b83811015611c46578082015181840152602081019050611c2b565b83811115611c55576000848401525b50505050565b6000611c6682611c1d565b611c7081856117e4565b9350611c80818560208601611c28565b611c8981611456565b840191505092915050565b60006040820190508181036000830152611cae8185611c5b565b90508181036020830152611cc28184611c5b565b90509392505050565b6000604082019050611ce06000830185611632565b611ced6020830184611632565b9392505050565b600081519050611d0381611294565b92915050565b600060208284031215611d1f57611d1e61127e565b5b6000611d2d84828501611cf4565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea26469706673582212203fb5c5a12cead3636de18d244e72a124487b46b64917a5e7e297c4dc6372baed64736f6c63430008090033

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

00000000000000000000000043955024b1985e2b933a59021500ae5f55b04091

-----Decoded View---------------
Arg [0] : baseFactory (address): 0x43955024b1985E2b933A59021500aE5f55b04091

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000043955024b1985e2b933a59021500ae5f55b04091


Deployed Bytecode Sourcemap

66531:2478:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57853:8;;;66531:2478;;;;;;;;;;;57717:11;:9;:11::i;:::-;66531:2478;68217:89;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66701:94;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66661:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;68314:90;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;68541:213;;;;;;;;;;;;;:::i;:::-;;67839:163;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;68412:121;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;68108:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66899:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52434:160;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66628:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;68010:90;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66588:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;67332:499;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;66804:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66844:48;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;68762:244;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;56545:930;56594:12;56609:16;:14;:16::i;:::-;56594:31;;56910:14;56907:1;56904;56891:34;57118:1;57115;57099:14;57096:1;57090:4;57083:5;57070:50;57197:16;57194:1;57191;57176:38;57237:6;57311:1;57306:68;;;;57425:16;57422:1;57415:27;57306:68;57342:16;57339:1;57332:27;68217:89;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68288:10:::1;68281:4;;:17;;;;;;;;;;;;;;;;;;68217:89:::0;:::o;66701:94::-;;;;:::o;66661:31::-;;;;:::o;68314:90::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68390:6:::1;68377:10;:19;;;;68314:90:::0;:::o;68541:213::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68589:12:::1;68604:21;68589:36;;68637:12;68663:10;68655:24;;68687:7;68655:44;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68636:63;;;68718:7;68710:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;68578:176;;68541:213::o:0;67839:163::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;67914:9:::1;67910:85;67929:5;67925:1;:9;67910:85;;;67956:27;67962:2;67966:14;;:16;;;;;;;;;:::i;:::-;;;;;67956:5;:27::i;:::-;67936:3;;;;;:::i;:::-;;;;67910:85;;;;67839:163:::0;;:::o;68412:121::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68507:18:::1;68492:12;;:33;;;;;;;;;;;;;;;;;;68412:121:::0;:::o;68108:101::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68178:23:::1;68190:6;68178:23;;;;;;;;;;;::::0;:11:::1;:23::i;:::-;68108:101:::0;:::o;66899:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;52434:160::-;52481:7;52521:59;52314:66;52559:20;;52521:37;:59::i;:::-;:65;;;;;;;;;;;;52501:85;;52434:160;:::o;66628:24::-;;;;;;;;;;;;;:::o;68010:90::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;68088:4:::1;68075:10;:17;;;;68010:90:::0;:::o;66588:33::-;;;;:::o;67332:499::-;67406:4;;;;;;;;;;;67398:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;67474:10;;67469:1;67452:14;;:18;;;;:::i;:::-;:32;;67444:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;67517:16;:28;67534:10;67517:28;;;;;;;;;;;;;;;;;;;;;;;;;67516:29;67508:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;67584:12;67626:10;67609:28;;;;;;;;:::i;:::-;;;;;;;;;;;;;67599:39;;;;;;67584:54;;67658:50;67677:12;;67658:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67691:10;;67703:4;67658:18;:50::i;:::-;67649:80;;;;;;;;;;;;:::i;:::-;;;;;;;;;67773:4;67742:16;:28;67759:10;67742:28;;;;;;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;67788;67794:10;67806:14;;:16;;;;;;;;;:::i;:::-;;;;;67788:5;:35::i;:::-;67387:444;67332:499;;:::o;66804:31::-;;;;;;;;;;;;;:::o;66844:48::-;;;;;;;;;;;;;;;;;;;;;;:::o;68762:244::-;68844:4;68865:12;;;;;;;;;;;68861:84;;;68898:12;:22;68911:8;68898:22;;;;;;;;;;;;;;;;;;;;;;;;;68894:39;;;68929:4;68922:11;;;;68894:39;68861:84;68964:34;68982:5;68989:8;68964:17;:34::i;:::-;68957:41;;68762:244;;;;;:::o;51171:151::-;51232:21;51300:4;51290:14;;51171:151;;;:::o;54033:121::-;54071:20;54140:4;54104:42;;54033:121;:::o;54729:88::-;54788:6;:4;:6::i;:::-;:13;;;54802:2;54806;54788:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54729:88;;:::o;56181:154::-;56286:6;:4;:6::i;:::-;:19;;;56306:6;56314:12;56286:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56181:154;;:::o;58934:190::-;59059:4;59112;59083:25;59096:5;59103:4;59083:12;:25::i;:::-;:33;59076:40;;58934:190;;;;;:::o;55388:189::-;55498:4;55527:6;:4;:6::i;:::-;:25;;;55553:5;55560:8;55527:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55520:49;;55388:189;;;;:::o;59801:296::-;59884:7;59904:20;59927:4;59904:27;;59947:9;59942:118;59966:5;:12;59962:1;:16;59942:118;;;60015:33;60025:12;60039:5;60045:1;60039:8;;;;;;;;:::i;:::-;;;;;;;;60015:9;:33::i;:::-;60000:48;;59980:3;;;;;:::i;:::-;;;;59942:118;;;;60077:12;60070:19;;;59801:296;;;;:::o;66008:149::-;66071:7;66102:1;66098;:5;:51;;66129:20;66144:1;66147;66129:14;:20::i;:::-;66098:51;;;66106:20;66121:1;66124;66106:14;:20::i;:::-;66098:51;66091:58;;66008:149;;;;:::o;66165:268::-;66233:13;66340:1;66334:4;66327:15;66369:1;66363:4;66356:15;66410:4;66404;66394:21;66385:30;;66165:268;;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:90;368:7;411:5;404:13;397:21;386:32;;334:90;;;:::o;430:116::-;500:21;515:5;500:21;:::i;:::-;493:5;490:32;480:60;;536:1;533;526:12;480:60;430:116;:::o;552:133::-;595:5;633:6;620:20;611:29;;649:30;673:5;649:30;:::i;:::-;552:133;;;;:::o;691:323::-;747:6;796:2;784:9;775:7;771:23;767:32;764:119;;;802:79;;:::i;:::-;764:119;922:1;947:50;989:7;980:6;969:9;965:22;947:50;:::i;:::-;937:60;;893:114;691:323;;;;:::o;1020:77::-;1057:7;1086:5;1075:16;;1020:77;;;:::o;1103:118::-;1190:24;1208:5;1190:24;:::i;:::-;1185:3;1178:37;1103:118;;:::o;1227:222::-;1320:4;1358:2;1347:9;1343:18;1335:26;;1371:71;1439:1;1428:9;1424:17;1415:6;1371:71;:::i;:::-;1227:222;;;;:::o;1455:77::-;1492:7;1521:5;1510:16;;1455:77;;;:::o;1538:118::-;1625:24;1643:5;1625:24;:::i;:::-;1620:3;1613:37;1538:118;;:::o;1662:222::-;1755:4;1793:2;1782:9;1778:18;1770:26;;1806:71;1874:1;1863:9;1859:17;1850:6;1806:71;:::i;:::-;1662:222;;;;:::o;1890:122::-;1963:24;1981:5;1963:24;:::i;:::-;1956:5;1953:35;1943:63;;2002:1;1999;1992:12;1943:63;1890:122;:::o;2018:139::-;2064:5;2102:6;2089:20;2080:29;;2118:33;2145:5;2118:33;:::i;:::-;2018:139;;;;:::o;2163:329::-;2222:6;2271:2;2259:9;2250:7;2246:23;2242:32;2239:119;;;2277:79;;:::i;:::-;2239:119;2397:1;2422:53;2467:7;2458:6;2447:9;2443:22;2422:53;:::i;:::-;2412:63;;2368:117;2163:329;;;;:::o;2498:126::-;2535:7;2575:42;2568:5;2564:54;2553:65;;2498:126;;;:::o;2630:96::-;2667:7;2696:24;2714:5;2696:24;:::i;:::-;2685:35;;2630:96;;;:::o;2732:122::-;2805:24;2823:5;2805:24;:::i;:::-;2798:5;2795:35;2785:63;;2844:1;2841;2834:12;2785:63;2732:122;:::o;2860:139::-;2906:5;2944:6;2931:20;2922:29;;2960:33;2987:5;2960:33;:::i;:::-;2860:139;;;;:::o;3005:474::-;3073:6;3081;3130:2;3118:9;3109:7;3105:23;3101:32;3098:119;;;3136:79;;:::i;:::-;3098:119;3256:1;3281:53;3326:7;3317:6;3306:9;3302:22;3281:53;:::i;:::-;3271:63;;3227:117;3383:2;3409:53;3454:7;3445:6;3434:9;3430:22;3409:53;:::i;:::-;3399:63;;3354:118;3005:474;;;;;:::o;3485:117::-;3594:1;3591;3584:12;3608:117;3717:1;3714;3707:12;3731:102;3772:6;3823:2;3819:7;3814:2;3807:5;3803:14;3799:28;3789:38;;3731:102;;;:::o;3839:180::-;3887:77;3884:1;3877:88;3984:4;3981:1;3974:15;4008:4;4005:1;3998:15;4025:281;4108:27;4130:4;4108:27;:::i;:::-;4100:6;4096:40;4238:6;4226:10;4223:22;4202:18;4190:10;4187:34;4184:62;4181:88;;;4249:18;;:::i;:::-;4181:88;4289:10;4285:2;4278:22;4068:238;4025:281;;:::o;4312:129::-;4346:6;4373:20;;:::i;:::-;4363:30;;4402:33;4430:4;4422:6;4402:33;:::i;:::-;4312:129;;;:::o;4447:308::-;4509:4;4599:18;4591:6;4588:30;4585:56;;;4621:18;;:::i;:::-;4585:56;4659:29;4681:6;4659:29;:::i;:::-;4651:37;;4743:4;4737;4733:15;4725:23;;4447:308;;;:::o;4761:154::-;4845:6;4840:3;4835;4822:30;4907:1;4898:6;4893:3;4889:16;4882:27;4761:154;;;:::o;4921:412::-;4999:5;5024:66;5040:49;5082:6;5040:49;:::i;:::-;5024:66;:::i;:::-;5015:75;;5113:6;5106:5;5099:21;5151:4;5144:5;5140:16;5189:3;5180:6;5175:3;5171:16;5168:25;5165:112;;;5196:79;;:::i;:::-;5165:112;5286:41;5320:6;5315:3;5310;5286:41;:::i;:::-;5005:328;4921:412;;;;;:::o;5353:340::-;5409:5;5458:3;5451:4;5443:6;5439:17;5435:27;5425:122;;5466:79;;:::i;:::-;5425:122;5583:6;5570:20;5608:79;5683:3;5675:6;5668:4;5660:6;5656:17;5608:79;:::i;:::-;5599:88;;5415:278;5353:340;;;;:::o;5699:509::-;5768:6;5817:2;5805:9;5796:7;5792:23;5788:32;5785:119;;;5823:79;;:::i;:::-;5785:119;5971:1;5960:9;5956:17;5943:31;6001:18;5993:6;5990:30;5987:117;;;6023:79;;:::i;:::-;5987:117;6128:63;6183:7;6174:6;6163:9;6159:22;6128:63;:::i;:::-;6118:73;;5914:287;5699:509;;;;:::o;6214:329::-;6273:6;6322:2;6310:9;6301:7;6297:23;6293:32;6290:119;;;6328:79;;:::i;:::-;6290:119;6448:1;6473:53;6518:7;6509:6;6498:9;6494:22;6473:53;:::i;:::-;6463:63;;6419:117;6214:329;;;;:::o;6549:109::-;6630:21;6645:5;6630:21;:::i;:::-;6625:3;6618:34;6549:109;;:::o;6664:210::-;6751:4;6789:2;6778:9;6774:18;6766:26;;6802:65;6864:1;6853:9;6849:17;6840:6;6802:65;:::i;:::-;6664:210;;;;:::o;6880:118::-;6967:24;6985:5;6967:24;:::i;:::-;6962:3;6955:37;6880:118;;:::o;7004:222::-;7097:4;7135:2;7124:9;7120:18;7112:26;;7148:71;7216:1;7205:9;7201:17;7192:6;7148:71;:::i;:::-;7004:222;;;;:::o;7232:122::-;7305:24;7323:5;7305:24;:::i;:::-;7298:5;7295:35;7285:63;;7344:1;7341;7334:12;7285:63;7232:122;:::o;7360:139::-;7406:5;7444:6;7431:20;7422:29;;7460:33;7487:5;7460:33;:::i;:::-;7360:139;;;;:::o;7505:329::-;7564:6;7613:2;7601:9;7592:7;7588:23;7584:32;7581:119;;;7619:79;;:::i;:::-;7581:119;7739:1;7764:53;7809:7;7800:6;7789:9;7785:22;7764:53;:::i;:::-;7754:63;;7710:117;7505:329;;;;:::o;7840:117::-;7949:1;7946;7939:12;7963:117;8072:1;8069;8062:12;8103:568;8176:8;8186:6;8236:3;8229:4;8221:6;8217:17;8213:27;8203:122;;8244:79;;:::i;:::-;8203:122;8357:6;8344:20;8334:30;;8387:18;8379:6;8376:30;8373:117;;;8409:79;;:::i;:::-;8373:117;8523:4;8515:6;8511:17;8499:29;;8577:3;8569:4;8561:6;8557:17;8547:8;8543:32;8540:41;8537:128;;;8584:79;;:::i;:::-;8537:128;8103:568;;;;;:::o;8677:559::-;8763:6;8771;8820:2;8808:9;8799:7;8795:23;8791:32;8788:119;;;8826:79;;:::i;:::-;8788:119;8974:1;8963:9;8959:17;8946:31;9004:18;8996:6;8993:30;8990:117;;;9026:79;;:::i;:::-;8990:117;9139:80;9211:7;9202:6;9191:9;9187:22;9139:80;:::i;:::-;9121:98;;;;8917:312;8677:559;;;;;:::o;9242:474::-;9310:6;9318;9367:2;9355:9;9346:7;9342:23;9338:32;9335:119;;;9373:79;;:::i;:::-;9335:119;9493:1;9518:53;9563:7;9554:6;9543:9;9539:22;9518:53;:::i;:::-;9508:63;;9464:117;9620:2;9646:53;9691:7;9682:6;9671:9;9667:22;9646:53;:::i;:::-;9636:63;;9591:118;9242:474;;;;;:::o;9722:143::-;9779:5;9810:6;9804:13;9795:22;;9826:33;9853:5;9826:33;:::i;:::-;9722:143;;;;:::o;9871:351::-;9941:6;9990:2;9978:9;9969:7;9965:23;9961:32;9958:119;;;9996:79;;:::i;:::-;9958:119;10116:1;10141:64;10197:7;10188:6;10177:9;10173:22;10141:64;:::i;:::-;10131:74;;10087:128;9871:351;;;;:::o;10228:169::-;10312:11;10346:6;10341:3;10334:19;10386:4;10381:3;10377:14;10362:29;;10228:169;;;;:::o;10403:159::-;10543:11;10539:1;10531:6;10527:14;10520:35;10403:159;:::o;10568:365::-;10710:3;10731:66;10795:1;10790:3;10731:66;:::i;:::-;10724:73;;10806:93;10895:3;10806:93;:::i;:::-;10924:2;10919:3;10915:12;10908:19;;10568:365;;;:::o;10939:419::-;11105:4;11143:2;11132:9;11128:18;11120:26;;11192:9;11186:4;11182:20;11178:1;11167:9;11163:17;11156:47;11220:131;11346:4;11220:131;:::i;:::-;11212:139;;10939:419;;;:::o;11364:147::-;11465:11;11502:3;11487:18;;11364:147;;;;:::o;11517:114::-;;:::o;11637:398::-;11796:3;11817:83;11898:1;11893:3;11817:83;:::i;:::-;11810:90;;11909:93;11998:3;11909:93;:::i;:::-;12027:1;12022:3;12018:11;12011:18;;11637:398;;;:::o;12041:379::-;12225:3;12247:147;12390:3;12247:147;:::i;:::-;12240:154;;12411:3;12404:10;;12041:379;;;:::o;12426:166::-;12566:18;12562:1;12554:6;12550:14;12543:42;12426:166;:::o;12598:366::-;12740:3;12761:67;12825:2;12820:3;12761:67;:::i;:::-;12754:74;;12837:93;12926:3;12837:93;:::i;:::-;12955:2;12950:3;12946:12;12939:19;;12598:366;;;:::o;12970:419::-;13136:4;13174:2;13163:9;13159:18;13151:26;;13223:9;13217:4;13213:20;13209:1;13198:9;13194:17;13187:47;13251:131;13377:4;13251:131;:::i;:::-;13243:139;;12970:419;;;:::o;13395:180::-;13443:77;13440:1;13433:88;13540:4;13537:1;13530:15;13564:4;13561:1;13554:15;13581:233;13620:3;13643:24;13661:5;13643:24;:::i;:::-;13634:33;;13689:66;13682:5;13679:77;13676:103;;;13759:18;;:::i;:::-;13676:103;13806:1;13799:5;13795:13;13788:20;;13581:233;;;:::o;13820:168::-;13960:20;13956:1;13948:6;13944:14;13937:44;13820:168;:::o;13994:366::-;14136:3;14157:67;14221:2;14216:3;14157:67;:::i;:::-;14150:74;;14233:93;14322:3;14233:93;:::i;:::-;14351:2;14346:3;14342:12;14335:19;;13994:366;;;:::o;14366:419::-;14532:4;14570:2;14559:9;14555:18;14547:26;;14619:9;14613:4;14609:20;14605:1;14594:9;14590:17;14583:47;14647:131;14773:4;14647:131;:::i;:::-;14639:139;;14366:419;;;:::o;14791:305::-;14831:3;14850:20;14868:1;14850:20;:::i;:::-;14845:25;;14884:20;14902:1;14884:20;:::i;:::-;14879:25;;15038:1;14970:66;14966:74;14963:1;14960:81;14957:107;;;15044:18;;:::i;:::-;14957:107;15088:1;15085;15081:9;15074:16;;14791:305;;;;:::o;15102:158::-;15242:10;15238:1;15230:6;15226:14;15219:34;15102:158;:::o;15266:365::-;15408:3;15429:66;15493:1;15488:3;15429:66;:::i;:::-;15422:73;;15504:93;15593:3;15504:93;:::i;:::-;15622:2;15617:3;15613:12;15606:19;;15266:365;;;:::o;15637:419::-;15803:4;15841:2;15830:9;15826:18;15818:26;;15890:9;15884:4;15880:20;15876:1;15865:9;15861:17;15854:47;15918:131;16044:4;15918:131;:::i;:::-;15910:139;;15637:419;;;:::o;16062:173::-;16202:25;16198:1;16190:6;16186:14;16179:49;16062:173;:::o;16241:366::-;16383:3;16404:67;16468:2;16463:3;16404:67;:::i;:::-;16397:74;;16480:93;16569:3;16480:93;:::i;:::-;16598:2;16593:3;16589:12;16582:19;;16241:366;;;:::o;16613:419::-;16779:4;16817:2;16806:9;16802:18;16794:26;;16866:9;16860:4;16856:20;16852:1;16841:9;16837:17;16830:47;16894:131;17020:4;16894:131;:::i;:::-;16886:139;;16613:419;;;:::o;17038:94::-;17071:8;17119:5;17115:2;17111:14;17090:35;;17038:94;;;:::o;17138:::-;17177:7;17206:20;17220:5;17206:20;:::i;:::-;17195:31;;17138:94;;;:::o;17238:100::-;17277:7;17306:26;17326:5;17306:26;:::i;:::-;17295:37;;17238:100;;;:::o;17344:157::-;17449:45;17469:24;17487:5;17469:24;:::i;:::-;17449:45;:::i;:::-;17444:3;17437:58;17344:157;;:::o;17507:256::-;17619:3;17634:75;17705:3;17696:6;17634:75;:::i;:::-;17734:2;17729:3;17725:12;17718:19;;17754:3;17747:10;;17507:256;;;;:::o;17769:166::-;17909:18;17905:1;17897:6;17893:14;17886:42;17769:166;:::o;17941:366::-;18083:3;18104:67;18168:2;18163:3;18104:67;:::i;:::-;18097:74;;18180:93;18269:3;18180:93;:::i;:::-;18298:2;18293:3;18289:12;18282:19;;17941:366;;;:::o;18313:419::-;18479:4;18517:2;18506:9;18502:18;18494:26;;18566:9;18560:4;18556:20;18552:1;18541:9;18537:17;18530:47;18594:131;18720:4;18594:131;:::i;:::-;18586:139;;18313:419;;;:::o;18738:332::-;18859:4;18897:2;18886:9;18882:18;18874:26;;18910:71;18978:1;18967:9;18963:17;18954:6;18910:71;:::i;:::-;18991:72;19059:2;19048:9;19044:18;19035:6;18991:72;:::i;:::-;18738:332;;;;;:::o;19076:99::-;19128:6;19162:5;19156:12;19146:22;;19076:99;;;:::o;19181:307::-;19249:1;19259:113;19273:6;19270:1;19267:13;19259:113;;;19358:1;19353:3;19349:11;19343:18;19339:1;19334:3;19330:11;19323:39;19295:2;19292:1;19288:10;19283:15;;19259:113;;;19390:6;19387:1;19384:13;19381:101;;;19470:1;19461:6;19456:3;19452:16;19445:27;19381:101;19230:258;19181:307;;;:::o;19494:364::-;19582:3;19610:39;19643:5;19610:39;:::i;:::-;19665:71;19729:6;19724:3;19665:71;:::i;:::-;19658:78;;19745:52;19790:6;19785:3;19778:4;19771:5;19767:16;19745:52;:::i;:::-;19822:29;19844:6;19822:29;:::i;:::-;19817:3;19813:39;19806:46;;19586:272;19494:364;;;;:::o;19864:514::-;20025:4;20063:2;20052:9;20048:18;20040:26;;20112:9;20106:4;20102:20;20098:1;20087:9;20083:17;20076:47;20140:78;20213:4;20204:6;20140:78;:::i;:::-;20132:86;;20265:9;20259:4;20255:20;20250:2;20239:9;20235:18;20228:48;20293:78;20366:4;20357:6;20293:78;:::i;:::-;20285:86;;19864:514;;;;;:::o;20384:332::-;20505:4;20543:2;20532:9;20528:18;20520:26;;20556:71;20624:1;20613:9;20609:17;20600:6;20556:71;:::i;:::-;20637:72;20705:2;20694:9;20690:18;20681:6;20637:72;:::i;:::-;20384:332;;;;;:::o;20722:137::-;20776:5;20807:6;20801:13;20792:22;;20823:30;20847:5;20823:30;:::i;:::-;20722:137;;;;:::o;20865:345::-;20932:6;20981:2;20969:9;20960:7;20956:23;20952:32;20949:119;;;20987:79;;:::i;:::-;20949:119;21107:1;21132:61;21185:7;21176:6;21165:9;21161:22;21132:61;:::i;:::-;21122:71;;21078:125;20865:345;;;;:::o;21216:180::-;21264:77;21261:1;21254:88;21361:4;21358:1;21351:15;21385:4;21382:1;21375:15

Swarm Source

ipfs://3fb5c5a12cead3636de18d244e72a124487b46b64917a5e7e297c4dc6372baed

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.