ETH Price: $3,352.53 (-0.97%)

Token

Mecha Pilots Apes (MPA)
 

Overview

Max Total Supply

1,500 MPA

Holders

418

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
wickedone.eth
Balance
8 MPA
0x9d60754bb630489e757e3ff9387a14a096d273d1
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
MechaPilotsApes

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 2023-05-12
*/

// 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();
    }
}


// File contracts/MechaPilotsApes.sol

pragma solidity 0.8.9;

contract MechaPilotsApes is ERC721Delegated {
    uint256 public MAX_SUPPLY = 12000;
    uint256 public reserveTokenId = 0;
    uint256 public whitelistPassword = 4321;
    bool public sale = false;
    bool public allowProxies = true;

    mapping(address => bool) public projectProxy;

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

    function claim(uint256 amount, uint256 whitelist) public {
        require(sale, "Claim not yet open");
        require(reserveTokenId + amount <= MAX_SUPPLY, "Sold Out");
        require(whitelist == whitelistPassword, "Unable to claim");


        for(uint256 i; i < amount; i++) {
            _mint(msg.sender, reserveTokenId++);
        }
    }

    function flipProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }

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

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

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

    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":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"whitelist","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","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":[{"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":"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":[],"name":"whitelistPassword","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052612ee0620186a0556000620186a1556110e1620186a2556000620186a360006101000a81548160ff0219169083151502179055506001620186a360016101000a81548160ff0219169083151502179055503480156200006257600080fd5b5060405162001e5838038062001e5883398181016040528101906200008891906200035b565b806040518060400160405280601181526020017f4d656368612050696c6f747320417065730000000000000000000000000000008152506040518060400160405280600381526020017f4d5041000000000000000000000000000000000000000000000000000000000081525060405180608001604052806101f461ffff168152602001604051806020016040528060008152508152602001604051806020016040528060008152508152602001600015158152506200014e846200026960201b60201c565b60008473ffffffffffffffffffffffffffffffffffffffff163385858560405160240162000180949392919062000542565b6040516020818303038152906040527fb1a78e3f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516200020c9190620005f1565b600060405180830381855af49150503d806000811462000249576040519150601f19603f3d011682016040523d82523d6000602084013e6200024e565b606091505b50509050806200025d57600080fd5b5050505050506200060a565b80620002a37f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b620002e760201b62000db11760201c565b60000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000819050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200032382620002f6565b9050919050565b620003358162000316565b81146200034157600080fd5b50565b60008151905062000355816200032a565b92915050565b600060208284031215620003745762000373620002f1565b5b6000620003848482850162000344565b91505092915050565b620003988162000316565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015620003da578082015181840152602081019050620003bd565b83811115620003ea576000848401525b50505050565b6000601f19601f8301169050919050565b60006200040e826200039e565b6200041a8185620003a9565b93506200042c818560208601620003ba565b6200043781620003f0565b840191505092915050565b600061ffff82169050919050565b6200045b8162000442565b82525050565b600082825260208201905092915050565b60006200047f826200039e565b6200048b818562000461565b93506200049d818560208601620003ba565b620004a881620003f0565b840191505092915050565b60008115159050919050565b620004ca81620004b3565b82525050565b6000608083016000830151620004ea600086018262000450565b506020830151848203602086015262000504828262000472565b9150506040830151848203604086015262000520828262000472565b9150506060830151620005376060860182620004bf565b508091505092915050565b60006080820190506200055960008301876200038d565b81810360208301526200056d818662000401565b9050818103604083015262000583818562000401565b90508181036060830152620005998184620004d0565b905095945050505050565b600081519050919050565b600081905092915050565b6000620005c782620005a4565b620005d38185620005af565b9350620005e5818560208601620003ba565b80840191505092915050565b6000620005ff8284620005ba565b915081905092915050565b61183e806200061a6000396000f3fe6080604052600436106100ec5760003560e01c80635c60da1b1161008a578063c349026311610059578063c3490263146102dc578063de8c93dc14610305578063e985e9c514610330578063f73c814b1461036d576100f6565b80635c60da1b146102305780636ad1fe021461025b5780638971e6f514610286578063b95e165e146102b1576100f6565b80633ccfd60b116100c65780633ccfd60b1461018a57806352ef1728146101a157806355f804b3146101ca5780635bab26e2146101f3576100f6565b80631d2e5a3a1461010d57806332cb6b0c146101365780633b4c4b2514610161576100f6565b366100f657600080fd5b34801561010257600080fd5b5061010b610396565b005b34801561011957600080fd5b50610134600480360381019061012f9190610f9b565b6103c8565b005b34801561014257600080fd5b5061014b6104d9565b6040516101589190610fe1565b60405180910390f35b34801561016d57600080fd5b5061018860048036038101906101839190611028565b6104e1565b005b34801561019657600080fd5b5061019f6105df565b005b3480156101ad57600080fd5b506101c860048036038101906101c39190610f9b565b610786565b005b3480156101d657600080fd5b506101f160048036038101906101ec919061119b565b610897565b005b3480156101ff57600080fd5b5061021a60048036038101906102159190611242565b6109a5565b604051610227919061127e565b60405180910390f35b34801561023c57600080fd5b506102456109c7565b60405161025291906112a8565b60405180910390f35b34801561026757600080fd5b50610270610a1e565b60405161027d919061127e565b60405180910390f35b34801561029257600080fd5b5061029b610a33565b6040516102a89190610fe1565b60405180910390f35b3480156102bd57600080fd5b506102c6610a3b565b6040516102d3919061127e565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe91906112c3565b610a50565b005b34801561031157600080fd5b5061031a610b82565b6040516103279190610fe1565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190611303565b610b8a565b604051610364919061127e565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190611242565b610c14565b005b60006103a06109c7565b90503660008037600080366000845af43d6000803e80600081146103c3573d6000f35b3d6000fd5b6103d0610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561041557600080fd5b505afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b1906113e2565b60405180910390fd5b80620186a360006101000a81548160ff02191690831515021790555050565b620186a05481565b6104e9610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561052e57600080fd5b505afa158015610542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105669190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca906113e2565b60405180910390fd5b80620186a08190555050565b6105e7610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561062c57600080fd5b505afa158015610640573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106649190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c8906113e2565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516106fc90611433565b60006040518083038185875af1925050503d8060008114610739576040519150601f19603f3d011682016040523d82523d6000602084013e61073e565b606091505b5050905080610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990611494565b60405180910390fd5b5050565b61078e610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107d357600080fd5b505afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086f906113e2565b60405180910390fd5b80620186a360016101000a81548160ff02191690831515021790555050565b61089f610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610980906113e2565b60405180910390fd5b6109a28160405180602001604052806000815250610dc3565b50565b620186a46020528060005260406000206000915054906101000a900460ff1681565b60006109f57f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b610db1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a360009054906101000a900460ff1681565b620186a15481565b620186a360019054906101000a900460ff1681565b620186a360009054906101000a900460ff16610aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9890611500565b60405180910390fd5b620186a05482620186a154610ab6919061154f565b1115610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee906115f1565b60405180910390fd5b620186a2548114610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b349061165d565b60405180910390fd5b60005b82811015610b7d57610b6a33620186a16000815480929190610b619061167d565b91905055610e3b565b8080610b759061167d565b915050610b40565b505050565b620186a25481565b6000620186a360019054906101000a900460ff1615610c0157620186a460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c005760019050610c0e565b5b610c0b8383610eb3565b90505b92915050565b610c1c610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6157600080fd5b505afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd906113e2565b60405180910390fd5b620186a460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615620186a460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000819050919050565b600030905090565b610dcb610dbb565b73ffffffffffffffffffffffffffffffffffffffff166301278b0283836040518363ffffffff1660e01b8152600401610e0592919061173d565b600060405180830381600087803b158015610e1f57600080fd5b505af1158015610e33573d6000803e3d6000fd5b505050505050565b610e43610dbb565b73ffffffffffffffffffffffffffffffffffffffff16633dc8ded783836040518363ffffffff1660e01b8152600401610e7d929190611774565b600060405180830381600087803b158015610e9757600080fd5b505af1158015610eab573d6000803e3d6000fd5b505050505050565b6000610ebd610dbb565b73ffffffffffffffffffffffffffffffffffffffff1663087ff61884846040518363ffffffff1660e01b8152600401610ef792919061179d565b60206040518083038186803b158015610f0f57600080fd5b505afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4791906117db565b905092915050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b610f7881610f63565b8114610f8357600080fd5b50565b600081359050610f9581610f6f565b92915050565b600060208284031215610fb157610fb0610f59565b5b6000610fbf84828501610f86565b91505092915050565b6000819050919050565b610fdb81610fc8565b82525050565b6000602082019050610ff66000830184610fd2565b92915050565b61100581610fc8565b811461101057600080fd5b50565b60008135905061102281610ffc565b92915050565b60006020828403121561103e5761103d610f59565b5b600061104c84828501611013565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6110a88261105f565b810181811067ffffffffffffffff821117156110c7576110c6611070565b5b80604052505050565b60006110da610f4f565b90506110e6828261109f565b919050565b600067ffffffffffffffff82111561110657611105611070565b5b61110f8261105f565b9050602081019050919050565b82818337600083830152505050565b600061113e611139846110eb565b6110d0565b90508281526020810184848401111561115a5761115961105a565b5b61116584828561111c565b509392505050565b600082601f83011261118257611181611055565b5b813561119284826020860161112b565b91505092915050565b6000602082840312156111b1576111b0610f59565b5b600082013567ffffffffffffffff8111156111cf576111ce610f5e565b5b6111db8482850161116d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061120f826111e4565b9050919050565b61121f81611204565b811461122a57600080fd5b50565b60008135905061123c81611216565b92915050565b60006020828403121561125857611257610f59565b5b60006112668482850161122d565b91505092915050565b61127881610f63565b82525050565b6000602082019050611293600083018461126f565b92915050565b6112a281611204565b82525050565b60006020820190506112bd6000830184611299565b92915050565b600080604083850312156112da576112d9610f59565b5b60006112e885828601611013565b92505060206112f985828601611013565b9150509250929050565b6000806040838503121561131a57611319610f59565b5b60006113288582860161122d565b92505060206113398582860161122d565b9150509250929050565b60008151905061135281611216565b92915050565b60006020828403121561136e5761136d610f59565b5b600061137c84828501611343565b91505092915050565b600082825260208201905092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b60006113cc600983611385565b91506113d782611396565b602082019050919050565b600060208201905081810360008301526113fb816113bf565b9050919050565b600081905092915050565b50565b600061141d600083611402565b91506114288261140d565b600082019050919050565b600061143e82611410565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061147e601083611385565b915061148982611448565b602082019050919050565b600060208201905081810360008301526114ad81611471565b9050919050565b7f436c61696d206e6f7420796574206f70656e0000000000000000000000000000600082015250565b60006114ea601283611385565b91506114f5826114b4565b602082019050919050565b60006020820190508181036000830152611519816114dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061155a82610fc8565b915061156583610fc8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561159a57611599611520565b5b828201905092915050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b60006115db600883611385565b91506115e6826115a5565b602082019050919050565b6000602082019050818103600083015261160a816115ce565b9050919050565b7f556e61626c6520746f20636c61696d0000000000000000000000000000000000600082015250565b6000611647600f83611385565b915061165282611611565b602082019050919050565b600060208201905081810360008301526116768161163a565b9050919050565b600061168882610fc8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116bb576116ba611520565b5b600182019050919050565b600081519050919050565b60005b838110156116ef5780820151818401526020810190506116d4565b838111156116fe576000848401525b50505050565b600061170f826116c6565b6117198185611385565b93506117298185602086016116d1565b6117328161105f565b840191505092915050565b600060408201905081810360008301526117578185611704565b9050818103602083015261176b8184611704565b90509392505050565b60006040820190506117896000830185611299565b6117966020830184610fd2565b9392505050565b60006040820190506117b26000830185611299565b6117bf6020830184611299565b9392505050565b6000815190506117d581610f6f565b92915050565b6000602082840312156117f1576117f0610f59565b5b60006117ff848285016117c6565b9150509291505056fea264697066735822122036c642dc62eeb0f9fb0c0610a29070ec71dad46450413ae6b37d13606df4a5db64736f6c6343000809003300000000000000000000000043955024b1985e2b933a59021500ae5f55b04091

Deployed Bytecode

0x6080604052600436106100ec5760003560e01c80635c60da1b1161008a578063c349026311610059578063c3490263146102dc578063de8c93dc14610305578063e985e9c514610330578063f73c814b1461036d576100f6565b80635c60da1b146102305780636ad1fe021461025b5780638971e6f514610286578063b95e165e146102b1576100f6565b80633ccfd60b116100c65780633ccfd60b1461018a57806352ef1728146101a157806355f804b3146101ca5780635bab26e2146101f3576100f6565b80631d2e5a3a1461010d57806332cb6b0c146101365780633b4c4b2514610161576100f6565b366100f657600080fd5b34801561010257600080fd5b5061010b610396565b005b34801561011957600080fd5b50610134600480360381019061012f9190610f9b565b6103c8565b005b34801561014257600080fd5b5061014b6104d9565b6040516101589190610fe1565b60405180910390f35b34801561016d57600080fd5b5061018860048036038101906101839190611028565b6104e1565b005b34801561019657600080fd5b5061019f6105df565b005b3480156101ad57600080fd5b506101c860048036038101906101c39190610f9b565b610786565b005b3480156101d657600080fd5b506101f160048036038101906101ec919061119b565b610897565b005b3480156101ff57600080fd5b5061021a60048036038101906102159190611242565b6109a5565b604051610227919061127e565b60405180910390f35b34801561023c57600080fd5b506102456109c7565b60405161025291906112a8565b60405180910390f35b34801561026757600080fd5b50610270610a1e565b60405161027d919061127e565b60405180910390f35b34801561029257600080fd5b5061029b610a33565b6040516102a89190610fe1565b60405180910390f35b3480156102bd57600080fd5b506102c6610a3b565b6040516102d3919061127e565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe91906112c3565b610a50565b005b34801561031157600080fd5b5061031a610b82565b6040516103279190610fe1565b60405180910390f35b34801561033c57600080fd5b5061035760048036038101906103529190611303565b610b8a565b604051610364919061127e565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190611242565b610c14565b005b60006103a06109c7565b90503660008037600080366000845af43d6000803e80600081146103c3573d6000f35b3d6000fd5b6103d0610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561041557600080fd5b505afa158015610429573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061044d9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146104ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b1906113e2565b60405180910390fd5b80620186a360006101000a81548160ff02191690831515021790555050565b620186a05481565b6104e9610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561052e57600080fd5b505afa158015610542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105669190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146105d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ca906113e2565b60405180910390fd5b80620186a08190555050565b6105e7610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b15801561062c57600080fd5b505afa158015610640573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106649190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c8906113e2565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516106fc90611433565b60006040518083038185875af1925050503d8060008114610739576040519150601f19603f3d011682016040523d82523d6000602084013e61073e565b606091505b5050905080610782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077990611494565b60405180910390fd5b5050565b61078e610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156107d357600080fd5b505afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610878576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086f906113e2565b60405180910390fd5b80620186a360016101000a81548160ff02191690831515021790555050565b61089f610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108e457600080fd5b505afa1580156108f8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091c9190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610980906113e2565b60405180910390fd5b6109a28160405180602001604052806000815250610dc3565b50565b620186a46020528060005260406000206000915054906101000a900460ff1681565b60006109f57f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b610db1565b60000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b620186a360009054906101000a900460ff1681565b620186a15481565b620186a360019054906101000a900460ff1681565b620186a360009054906101000a900460ff16610aa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9890611500565b60405180910390fd5b620186a05482620186a154610ab6919061154f565b1115610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee906115f1565b60405180910390fd5b620186a2548114610b3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b349061165d565b60405180910390fd5b60005b82811015610b7d57610b6a33620186a16000815480929190610b619061167d565b91905055610e3b565b8080610b759061167d565b915050610b40565b505050565b620186a25481565b6000620186a360019054906101000a900460ff1615610c0157620186a460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c005760019050610c0e565b5b610c0b8383610eb3565b90505b92915050565b610c1c610dbb565b73ffffffffffffffffffffffffffffffffffffffff166313effa0f6040518163ffffffff1660e01b815260040160206040518083038186803b158015610c6157600080fd5b505afa158015610c75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c999190611358565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfd906113e2565b60405180910390fd5b620186a460008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615620186a460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000819050919050565b600030905090565b610dcb610dbb565b73ffffffffffffffffffffffffffffffffffffffff166301278b0283836040518363ffffffff1660e01b8152600401610e0592919061173d565b600060405180830381600087803b158015610e1f57600080fd5b505af1158015610e33573d6000803e3d6000fd5b505050505050565b610e43610dbb565b73ffffffffffffffffffffffffffffffffffffffff16633dc8ded783836040518363ffffffff1660e01b8152600401610e7d929190611774565b600060405180830381600087803b158015610e9757600080fd5b505af1158015610eab573d6000803e3d6000fd5b505050505050565b6000610ebd610dbb565b73ffffffffffffffffffffffffffffffffffffffff1663087ff61884846040518363ffffffff1660e01b8152600401610ef792919061179d565b60206040518083038186803b158015610f0f57600080fd5b505afa158015610f23573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f4791906117db565b905092915050565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b610f7881610f63565b8114610f8357600080fd5b50565b600081359050610f9581610f6f565b92915050565b600060208284031215610fb157610fb0610f59565b5b6000610fbf84828501610f86565b91505092915050565b6000819050919050565b610fdb81610fc8565b82525050565b6000602082019050610ff66000830184610fd2565b92915050565b61100581610fc8565b811461101057600080fd5b50565b60008135905061102281610ffc565b92915050565b60006020828403121561103e5761103d610f59565b5b600061104c84828501611013565b91505092915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6110a88261105f565b810181811067ffffffffffffffff821117156110c7576110c6611070565b5b80604052505050565b60006110da610f4f565b90506110e6828261109f565b919050565b600067ffffffffffffffff82111561110657611105611070565b5b61110f8261105f565b9050602081019050919050565b82818337600083830152505050565b600061113e611139846110eb565b6110d0565b90508281526020810184848401111561115a5761115961105a565b5b61116584828561111c565b509392505050565b600082601f83011261118257611181611055565b5b813561119284826020860161112b565b91505092915050565b6000602082840312156111b1576111b0610f59565b5b600082013567ffffffffffffffff8111156111cf576111ce610f5e565b5b6111db8482850161116d565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061120f826111e4565b9050919050565b61121f81611204565b811461122a57600080fd5b50565b60008135905061123c81611216565b92915050565b60006020828403121561125857611257610f59565b5b60006112668482850161122d565b91505092915050565b61127881610f63565b82525050565b6000602082019050611293600083018461126f565b92915050565b6112a281611204565b82525050565b60006020820190506112bd6000830184611299565b92915050565b600080604083850312156112da576112d9610f59565b5b60006112e885828601611013565b92505060206112f985828601611013565b9150509250929050565b6000806040838503121561131a57611319610f59565b5b60006113288582860161122d565b92505060206113398582860161122d565b9150509250929050565b60008151905061135281611216565b92915050565b60006020828403121561136e5761136d610f59565b5b600061137c84828501611343565b91505092915050565b600082825260208201905092915050565b7f4e6f74206f776e65720000000000000000000000000000000000000000000000600082015250565b60006113cc600983611385565b91506113d782611396565b602082019050919050565b600060208201905081810360008301526113fb816113bf565b9050919050565b600081905092915050565b50565b600061141d600083611402565b91506114288261140d565b600082019050919050565b600061143e82611410565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061147e601083611385565b915061148982611448565b602082019050919050565b600060208201905081810360008301526114ad81611471565b9050919050565b7f436c61696d206e6f7420796574206f70656e0000000000000000000000000000600082015250565b60006114ea601283611385565b91506114f5826114b4565b602082019050919050565b60006020820190508181036000830152611519816114dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061155a82610fc8565b915061156583610fc8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561159a57611599611520565b5b828201905092915050565b7f536f6c64204f7574000000000000000000000000000000000000000000000000600082015250565b60006115db600883611385565b91506115e6826115a5565b602082019050919050565b6000602082019050818103600083015261160a816115ce565b9050919050565b7f556e61626c6520746f20636c61696d0000000000000000000000000000000000600082015250565b6000611647600f83611385565b915061165282611611565b602082019050919050565b600060208201905081810360008301526116768161163a565b9050919050565b600061168882610fc8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156116bb576116ba611520565b5b600182019050919050565b600081519050919050565b60005b838110156116ef5780820151818401526020810190506116d4565b838111156116fe576000848401525b50505050565b600061170f826116c6565b6117198185611385565b93506117298185602086016116d1565b6117328161105f565b840191505092915050565b600060408201905081810360008301526117578185611704565b9050818103602083015261176b8184611704565b90509392505050565b60006040820190506117896000830185611299565b6117966020830184610fd2565b9392505050565b60006040820190506117b26000830185611299565b6117bf6020830184611299565b9392505050565b6000815190506117d581610f6f565b92915050565b6000602082840312156117f1576117f0610f59565b5b60006117ff848285016117c6565b9150509291505056fea264697066735822122036c642dc62eeb0f9fb0c0610a29070ec71dad46450413ae6b37d13606df4a5db64736f6c63430008090033

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

57945:2085:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57853:8;;;57945:2085;;;;;;;;;;;57717:11;:9;:11::i;:::-;57945:2085;59336:89;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;57996:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59238:90;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59562:213;;;;;;;;;;;;;:::i;:::-;;59433:121;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;59129:101;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;58193:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52434:160;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58122:24;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58036:33;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58153:31;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58618:357;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;58076:39;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;59783:244;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;58983:138;;;;;;;;;;;;;;;;;;;;;;;:::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;59336:89;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59407:10:::1;59400:4;;:17;;;;;;;;;;;;;;;;;;59336:89:::0;:::o;57996:33::-;;;;:::o;59238:90::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59314:6:::1;59301:10;:19;;;;59238:90:::0;:::o;59562:213::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59610:12:::1;59625:21;59610:36;;59658:12;59684:10;59676:24;;59708:7;59676:44;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59657:63;;;59739:7;59731:36;;;;;;;;;;;;:::i;:::-;;;;;;;;;59599:176;;59562:213::o:0;59433:121::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59528:18:::1;59513:12;;:33;;;;;;;;;;;;;;;;;;59433:121:::0;:::o;59129:101::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59199:23:::1;59211:6;59199:23;;;;;;;;;;;::::0;:11:::1;:23::i;:::-;59129:101:::0;:::o;58193:44::-;;;;;;;;;;;;;;;;;;;;;;:::o;52434:160::-;52481:7;52521:59;52314:66;52559:20;;52521:37;:59::i;:::-;:65;;;;;;;;;;;;52501:85;;52434:160;:::o;58122:24::-;;;;;;;;;;;;;:::o;58036:33::-;;;;:::o;58153:31::-;;;;;;;;;;;;;:::o;58618:357::-;58694:4;;;;;;;;;;;58686:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;58767:10;;58757:6;58740:14;;:23;;;;:::i;:::-;:37;;58732:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;58822:17;;58809:9;:30;58801:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;58878:9;58874:94;58893:6;58889:1;:10;58874:94;;;58921:35;58927:10;58939:14;;:16;;;;;;;;;:::i;:::-;;;;;58921:5;:35::i;:::-;58901:3;;;;;:::i;:::-;;;;58874:94;;;;58618:357;;:::o;58076:39::-;;;;:::o;59783:244::-;59865:4;59886:12;;;;;;;;;;;59882:84;;;59919:12;:22;59932:8;59919:22;;;;;;;;;;;;;;;;;;;;;;;;;59915:39;;;59950:4;59943:11;;;;59915:39;59882:84;59985:34;60003:5;60010:8;59985:17;:34::i;:::-;59978:41;;59783:244;;;;;:::o;58983:138::-;53797:6;:4;:6::i;:::-;:14;;;:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53783:30;;:10;:30;;;53775:52;;;;;;;;;;;;:::i;:::-;;;;;;;;;59087:12:::1;:26;59100:12;59087:26;;;;;;;;;;;;;;;;;;;;;;;;;59086:27;59057:12;:26;59070:12;59057:26;;;;;;;;;;;;;;;;:56;;;;;;;;;;;;;;;;;;58983:138:::0;:::o;51171:151::-;51232:21;51300:4;51290:14;;51171:151;;;:::o;54033:121::-;54071:20;54140:4;54104:42;;54033:121;:::o;56181:154::-;56286:6;:4;:6::i;:::-;:19;;;56306:6;56314:12;56286:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56181:154;;:::o;54729:88::-;54788:6;:4;:6::i;:::-;:13;;;54802:2;54806;54788:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54729:88;;:::o;55388:189::-;55498:4;55527:6;:4;:6::i;:::-;:25;;;55553:5;55560:8;55527:42;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55520:49;;55388:189;;;;:::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:122::-;1528:24;1546:5;1528:24;:::i;:::-;1521:5;1518:35;1508:63;;1567:1;1564;1557:12;1508:63;1455:122;:::o;1583:139::-;1629:5;1667:6;1654:20;1645:29;;1683:33;1710:5;1683:33;:::i;:::-;1583:139;;;;:::o;1728:329::-;1787:6;1836:2;1824:9;1815:7;1811:23;1807:32;1804:119;;;1842:79;;:::i;:::-;1804:119;1962:1;1987:53;2032:7;2023:6;2012:9;2008:22;1987:53;:::i;:::-;1977:63;;1933:117;1728:329;;;;:::o;2063:117::-;2172:1;2169;2162:12;2186:117;2295:1;2292;2285:12;2309:102;2350:6;2401:2;2397:7;2392:2;2385:5;2381:14;2377:28;2367:38;;2309:102;;;:::o;2417:180::-;2465:77;2462:1;2455:88;2562:4;2559:1;2552:15;2586:4;2583:1;2576:15;2603:281;2686:27;2708:4;2686:27;:::i;:::-;2678:6;2674:40;2816:6;2804:10;2801:22;2780:18;2768:10;2765:34;2762:62;2759:88;;;2827:18;;:::i;:::-;2759:88;2867:10;2863:2;2856:22;2646:238;2603:281;;:::o;2890:129::-;2924:6;2951:20;;:::i;:::-;2941:30;;2980:33;3008:4;3000:6;2980:33;:::i;:::-;2890:129;;;:::o;3025:308::-;3087:4;3177:18;3169:6;3166:30;3163:56;;;3199:18;;:::i;:::-;3163:56;3237:29;3259:6;3237:29;:::i;:::-;3229:37;;3321:4;3315;3311:15;3303:23;;3025:308;;;:::o;3339:154::-;3423:6;3418:3;3413;3400:30;3485:1;3476:6;3471:3;3467:16;3460:27;3339:154;;;:::o;3499:412::-;3577:5;3602:66;3618:49;3660:6;3618:49;:::i;:::-;3602:66;:::i;:::-;3593:75;;3691:6;3684:5;3677:21;3729:4;3722:5;3718:16;3767:3;3758:6;3753:3;3749:16;3746:25;3743:112;;;3774:79;;:::i;:::-;3743:112;3864:41;3898:6;3893:3;3888;3864:41;:::i;:::-;3583:328;3499:412;;;;;:::o;3931:340::-;3987:5;4036:3;4029:4;4021:6;4017:17;4013:27;4003:122;;4044:79;;:::i;:::-;4003:122;4161:6;4148:20;4186:79;4261:3;4253:6;4246:4;4238:6;4234:17;4186:79;:::i;:::-;4177:88;;3993:278;3931:340;;;;:::o;4277:509::-;4346:6;4395:2;4383:9;4374:7;4370:23;4366:32;4363:119;;;4401:79;;:::i;:::-;4363:119;4549:1;4538:9;4534:17;4521:31;4579:18;4571:6;4568:30;4565:117;;;4601:79;;:::i;:::-;4565:117;4706:63;4761:7;4752:6;4741:9;4737:22;4706:63;:::i;:::-;4696:73;;4492:287;4277:509;;;;:::o;4792:126::-;4829:7;4869:42;4862:5;4858:54;4847:65;;4792:126;;;:::o;4924:96::-;4961:7;4990:24;5008:5;4990:24;:::i;:::-;4979:35;;4924:96;;;:::o;5026:122::-;5099:24;5117:5;5099:24;:::i;:::-;5092:5;5089:35;5079:63;;5138:1;5135;5128:12;5079:63;5026:122;:::o;5154:139::-;5200:5;5238:6;5225:20;5216:29;;5254:33;5281:5;5254:33;:::i;:::-;5154:139;;;;:::o;5299:329::-;5358:6;5407:2;5395:9;5386:7;5382:23;5378:32;5375:119;;;5413:79;;:::i;:::-;5375:119;5533:1;5558:53;5603:7;5594:6;5583:9;5579:22;5558:53;:::i;:::-;5548:63;;5504:117;5299:329;;;;:::o;5634:109::-;5715:21;5730:5;5715:21;:::i;:::-;5710:3;5703:34;5634:109;;:::o;5749:210::-;5836:4;5874:2;5863:9;5859:18;5851:26;;5887:65;5949:1;5938:9;5934:17;5925:6;5887:65;:::i;:::-;5749:210;;;;:::o;5965:118::-;6052:24;6070:5;6052:24;:::i;:::-;6047:3;6040:37;5965:118;;:::o;6089:222::-;6182:4;6220:2;6209:9;6205:18;6197:26;;6233:71;6301:1;6290:9;6286:17;6277:6;6233:71;:::i;:::-;6089:222;;;;:::o;6317:474::-;6385:6;6393;6442:2;6430:9;6421:7;6417:23;6413:32;6410:119;;;6448:79;;:::i;:::-;6410:119;6568:1;6593:53;6638:7;6629:6;6618:9;6614:22;6593:53;:::i;:::-;6583:63;;6539:117;6695:2;6721:53;6766:7;6757:6;6746:9;6742:22;6721:53;:::i;:::-;6711:63;;6666:118;6317:474;;;;;:::o;6797:::-;6865:6;6873;6922:2;6910:9;6901:7;6897:23;6893:32;6890:119;;;6928:79;;:::i;:::-;6890:119;7048:1;7073:53;7118:7;7109:6;7098:9;7094:22;7073:53;:::i;:::-;7063:63;;7019:117;7175:2;7201:53;7246:7;7237:6;7226:9;7222:22;7201:53;:::i;:::-;7191:63;;7146:118;6797:474;;;;;:::o;7277:143::-;7334:5;7365:6;7359:13;7350:22;;7381:33;7408:5;7381:33;:::i;:::-;7277:143;;;;:::o;7426:351::-;7496:6;7545:2;7533:9;7524:7;7520:23;7516:32;7513:119;;;7551:79;;:::i;:::-;7513:119;7671:1;7696:64;7752:7;7743:6;7732:9;7728:22;7696:64;:::i;:::-;7686:74;;7642:128;7426:351;;;;:::o;7783:169::-;7867:11;7901:6;7896:3;7889:19;7941:4;7936:3;7932:14;7917:29;;7783:169;;;;:::o;7958:159::-;8098:11;8094:1;8086:6;8082:14;8075:35;7958:159;:::o;8123:365::-;8265:3;8286:66;8350:1;8345:3;8286:66;:::i;:::-;8279:73;;8361:93;8450:3;8361:93;:::i;:::-;8479:2;8474:3;8470:12;8463:19;;8123:365;;;:::o;8494:419::-;8660:4;8698:2;8687:9;8683:18;8675:26;;8747:9;8741:4;8737:20;8733:1;8722:9;8718:17;8711:47;8775:131;8901:4;8775:131;:::i;:::-;8767:139;;8494:419;;;:::o;8919:147::-;9020:11;9057:3;9042:18;;8919:147;;;;:::o;9072:114::-;;:::o;9192:398::-;9351:3;9372:83;9453:1;9448:3;9372:83;:::i;:::-;9365:90;;9464:93;9553:3;9464:93;:::i;:::-;9582:1;9577:3;9573:11;9566:18;;9192:398;;;:::o;9596:379::-;9780:3;9802:147;9945:3;9802:147;:::i;:::-;9795:154;;9966:3;9959:10;;9596:379;;;:::o;9981:166::-;10121:18;10117:1;10109:6;10105:14;10098:42;9981:166;:::o;10153:366::-;10295:3;10316:67;10380:2;10375:3;10316:67;:::i;:::-;10309:74;;10392:93;10481:3;10392:93;:::i;:::-;10510:2;10505:3;10501:12;10494:19;;10153:366;;;:::o;10525:419::-;10691:4;10729:2;10718:9;10714:18;10706:26;;10778:9;10772:4;10768:20;10764:1;10753:9;10749:17;10742:47;10806:131;10932:4;10806:131;:::i;:::-;10798:139;;10525:419;;;:::o;10950:168::-;11090:20;11086:1;11078:6;11074:14;11067:44;10950:168;:::o;11124:366::-;11266:3;11287:67;11351:2;11346:3;11287:67;:::i;:::-;11280:74;;11363:93;11452:3;11363:93;:::i;:::-;11481:2;11476:3;11472:12;11465:19;;11124:366;;;:::o;11496:419::-;11662:4;11700:2;11689:9;11685:18;11677:26;;11749:9;11743:4;11739:20;11735:1;11724:9;11720:17;11713:47;11777:131;11903:4;11777:131;:::i;:::-;11769:139;;11496:419;;;:::o;11921:180::-;11969:77;11966:1;11959:88;12066:4;12063:1;12056:15;12090:4;12087:1;12080:15;12107:305;12147:3;12166:20;12184:1;12166:20;:::i;:::-;12161:25;;12200:20;12218:1;12200:20;:::i;:::-;12195:25;;12354:1;12286:66;12282:74;12279:1;12276:81;12273:107;;;12360:18;;:::i;:::-;12273:107;12404:1;12401;12397:9;12390:16;;12107:305;;;;:::o;12418:158::-;12558:10;12554:1;12546:6;12542:14;12535:34;12418:158;:::o;12582:365::-;12724:3;12745:66;12809:1;12804:3;12745:66;:::i;:::-;12738:73;;12820:93;12909:3;12820:93;:::i;:::-;12938:2;12933:3;12929:12;12922:19;;12582:365;;;:::o;12953:419::-;13119:4;13157:2;13146:9;13142:18;13134:26;;13206:9;13200:4;13196:20;13192:1;13181:9;13177:17;13170:47;13234:131;13360:4;13234:131;:::i;:::-;13226:139;;12953:419;;;:::o;13378:165::-;13518:17;13514:1;13506:6;13502:14;13495:41;13378:165;:::o;13549:366::-;13691:3;13712:67;13776:2;13771:3;13712:67;:::i;:::-;13705:74;;13788:93;13877:3;13788:93;:::i;:::-;13906:2;13901:3;13897:12;13890:19;;13549:366;;;:::o;13921:419::-;14087:4;14125:2;14114:9;14110:18;14102:26;;14174:9;14168:4;14164:20;14160:1;14149:9;14145:17;14138:47;14202:131;14328:4;14202:131;:::i;:::-;14194:139;;13921:419;;;:::o;14346:233::-;14385:3;14408:24;14426:5;14408:24;:::i;:::-;14399:33;;14454:66;14447:5;14444:77;14441:103;;;14524:18;;:::i;:::-;14441:103;14571:1;14564:5;14560:13;14553:20;;14346:233;;;:::o;14585:99::-;14637:6;14671:5;14665:12;14655:22;;14585:99;;;:::o;14690:307::-;14758:1;14768:113;14782:6;14779:1;14776:13;14768:113;;;14867:1;14862:3;14858:11;14852:18;14848:1;14843:3;14839:11;14832:39;14804:2;14801:1;14797:10;14792:15;;14768:113;;;14899:6;14896:1;14893:13;14890:101;;;14979:1;14970:6;14965:3;14961:16;14954:27;14890:101;14739:258;14690:307;;;:::o;15003:364::-;15091:3;15119:39;15152:5;15119:39;:::i;:::-;15174:71;15238:6;15233:3;15174:71;:::i;:::-;15167:78;;15254:52;15299:6;15294:3;15287:4;15280:5;15276:16;15254:52;:::i;:::-;15331:29;15353:6;15331:29;:::i;:::-;15326:3;15322:39;15315:46;;15095:272;15003:364;;;;:::o;15373:514::-;15534:4;15572:2;15561:9;15557:18;15549:26;;15621:9;15615:4;15611:20;15607:1;15596:9;15592:17;15585:47;15649:78;15722:4;15713:6;15649:78;:::i;:::-;15641:86;;15774:9;15768:4;15764:20;15759:2;15748:9;15744:18;15737:48;15802:78;15875:4;15866:6;15802:78;:::i;:::-;15794:86;;15373:514;;;;;:::o;15893:332::-;16014:4;16052:2;16041:9;16037:18;16029:26;;16065:71;16133:1;16122:9;16118:17;16109:6;16065:71;:::i;:::-;16146:72;16214:2;16203:9;16199:18;16190:6;16146:72;:::i;:::-;15893:332;;;;;:::o;16231:::-;16352:4;16390:2;16379:9;16375:18;16367:26;;16403:71;16471:1;16460:9;16456:17;16447:6;16403:71;:::i;:::-;16484:72;16552:2;16541:9;16537:18;16528:6;16484:72;:::i;:::-;16231:332;;;;;:::o;16569:137::-;16623:5;16654:6;16648:13;16639:22;;16670:30;16694:5;16670:30;:::i;:::-;16569:137;;;;:::o;16712:345::-;16779:6;16828:2;16816:9;16807:7;16803:23;16799:32;16796:119;;;16834:79;;:::i;:::-;16796:119;16954:1;16979:61;17032:7;17023:6;17012:9;17008:22;16979:61;:::i;:::-;16969:71;;16925:125;16712:345;;;;:::o

Swarm Source

ipfs://36c642dc62eeb0f9fb0c0610a29070ec71dad46450413ae6b37d13606df4a5db
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.