ETH Price: $3,196.00 (-5.51%)

Token

Network State Genesis (NSG)

Overview

Max Total Supply

0 NSG

Holders

821

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 NSG
0xd1825Dd9a5e49791FB7961AC3c4170DeeD5710b4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
NetworkStateGenesis

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 13 of 15: NetworkStateGenesis.sol
// Hack the planet(s)
// Planetary Council
// Galactic Federation
// Network State Genesis

pragma solidity 0.8.3;
import "Ownable.sol";
import "IERC721.sol";
import "ERC721.sol";

contract NetworkStateGenesis is ERC721, Ownable {
    string public GENESIS; // Preserving consciousness of the moment
    string public _tokenURI;
  	event Purchase(address addr, uint256 currentSerialNumber, uint256 price);

    address payable public multisig; // Ensure you are comfortable with m-of-n signatories on Gnosis Safe (don't trust, verify)
    address public minter;

    constructor(string memory name, string memory symbol, address _minter) ERC721(name, symbol) {
        minter = _minter;
    }

    // 1. Deploy 2. Include the smart contract address in the PDF. 3. Upload PDF to IPFS 4. Save IPFS hash in this method.
    function setGenesis(string memory IPFSURI) public onlyOwner {
        require(bytes(GENESIS).length == 0, "GENESIS can be set only once"); // https://ethereum.stackexchange.com/a/46254/2524
        GENESIS = IPFSURI;
    }

    function setTokenURI(string memory URI) public onlyOwner {
        require(bytes(_tokenURI).length == 0, "_tokenURI can be set only once");
        _tokenURI = URI;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        return _tokenURI;
    }

    function mint(address addr, uint serialNumber) payable public {
        require(msg.sender == minter, "Only minter can mint");
        _mint(addr, serialNumber);
    }  
}

File 1 of 15: AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "Context.sol";
import "ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 2 of 15: Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 3 of 15: Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 4 of 15: ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC165.sol";

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

File 5 of 15: ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC721.sol";
import "IERC721Receiver.sol";
import "IERC721Metadata.sol";
import "IERC721Enumerable.sol";
import "Address.sol";
import "Context.sol";
import "Strings.sol";
import "ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

File 6 of 15: ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "ERC721.sol";
import "IERC721Enumerable.sol";

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 15: IERC165.sol
// 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 IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 8 of 15: IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 9 of 15: IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 15: IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

File 11 of 15: IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

File 12 of 15: IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 14 of 15: Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 15 of 15: Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"uint256","name":"currentSerialNumber","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Purchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GENESIS","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"serialNumber","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multisig","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"IPFSURI","type":"string"}],"name":"setGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162001c2438038062001c2483398101604081905262000034916200024c565b8251839083906200004d906000906020850190620000f3565b50805162000063906001906020840190620000f3565b505050600062000078620000ef60201b60201c565b600680546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600a80546001600160a01b0319166001600160a01b039290921691909117905550620003289050565b3390565b8280546200010190620002d5565b90600052602060002090601f01602090048101928262000125576000855562000170565b82601f106200014057805160ff191683800117855562000170565b8280016001018555821562000170579182015b828111156200017057825182559160200191906001019062000153565b506200017e92915062000182565b5090565b5b808211156200017e576000815560010162000183565b600082601f830112620001aa578081fd5b81516001600160401b0380821115620001c757620001c762000312565b604051601f8301601f19908116603f01168101908282118183101715620001f257620001f262000312565b816040528381526020925086838588010111156200020e578485fd5b8491505b8382101562000231578582018301518183018401529082019062000212565b838211156200024257848385830101525b9695505050505050565b60008060006060848603121562000261578283fd5b83516001600160401b038082111562000278578485fd5b620002868783880162000199565b945060208601519150808211156200029c578384fd5b50620002ab8682870162000199565b604086015190935090506001600160a01b0381168114620002ca578182fd5b809150509250925092565b600181811c90821680620002ea57607f821691505b602082108114156200030c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6118ec80620003386000396000f3fe6080604052600436106101405760003560e01c806370a08231116100b6578063b7dec1b71161006f578063b7dec1b714610374578063b88d4fde14610389578063c87b56dd146103a9578063e0df5b6f146103c9578063e985e9c5146103e9578063f2fde38b1461043257610140565b806370a08231146102c9578063715018a6146102f75780638da5cb5b1461030c57806395d89b411461032a578063a22cb4651461033f578063b4ce37d21461035f57610140565b806323b872dd1161010857806323b872dd1461021657806340c10f191461023657806342842e0e146102495780634783c35b1461026957806347bb3da7146102895780636352211e146102a957610140565b806301ffc9a71461014557806306fdde031461017a578063075461721461019c578063081812fc146101d4578063095ea7b3146101f4575b600080fd5b34801561015157600080fd5b506101656101603660046115fe565b610452565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f6104a6565b604051610171919061171c565b3480156101a857600080fd5b50600a546101bc906001600160a01b031681565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101bc6101ef36600461167c565b610538565b34801561020057600080fd5b5061021461020f3660046115d5565b6105d2565b005b34801561022257600080fd5b506102146102313660046114e7565b6106e8565b6102146102443660046115d5565b610719565b34801561025557600080fd5b506102146102643660046114e7565b610778565b34801561027557600080fd5b506009546101bc906001600160a01b031681565b34801561029557600080fd5b506102146102a4366004611636565b610793565b3480156102b557600080fd5b506101bc6102c436600461167c565b61082c565b3480156102d557600080fd5b506102e96102e4366004611494565b6108a3565b604051908152602001610171565b34801561030357600080fd5b5061021461092a565b34801561031857600080fd5b506006546001600160a01b03166101bc565b34801561033657600080fd5b5061018f61099e565b34801561034b57600080fd5b5061021461035a36600461159b565b6109ad565b34801561036b57600080fd5b5061018f610a7f565b34801561038057600080fd5b5061018f610b0d565b34801561039557600080fd5b506102146103a4366004611522565b610b1a565b3480156103b557600080fd5b5061018f6103c436600461167c565b610b52565b3480156103d557600080fd5b506102146103e4366004611636565b610c63565b3480156103f557600080fd5b506101656104043660046114b5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561043e57600080fd5b5061021461044d366004611494565b610cfc565b60006001600160e01b031982166380ac58cd60e01b148061048357506001600160e01b03198216635b5e139f60e01b145b8061049e57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600080546104b590611836565b80601f01602080910402602001604051908101604052809291908181526020018280546104e190611836565b801561052e5780601f106105035761010080835404028352916020019161052e565b820191906000526020600020905b81548152906001019060200180831161051157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105dd8261082c565b9050806001600160a01b0316836001600160a01b0316141561064b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ad565b336001600160a01b038216148061066757506106678133610404565b6106d95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ad565b6106e38383610de7565b505050565b6106f23382610e55565b61070e5760405162461bcd60e51b81526004016105ad906117b6565b6106e3838383610f4c565b600a546001600160a01b0316331461076a5760405162461bcd60e51b815260206004820152601460248201527313db9b1e481b5a5b9d195c8818d85b881b5a5b9d60621b60448201526064016105ad565b61077482826110ec565b5050565b6106e383838360405180602001604052806000815250610b1a565b6006546001600160a01b031633146107bd5760405162461bcd60e51b81526004016105ad90611781565b600780546107ca90611836565b1590506108195760405162461bcd60e51b815260206004820152601c60248201527f47454e455349532063616e20626520736574206f6e6c79206f6e63650000000060448201526064016105ad565b805161077490600790602084019061136e565b6000818152600260205260408120546001600160a01b03168061049e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ad565b60006001600160a01b03821661090e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ad565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146109545760405162461bcd60e51b81526004016105ad90611781565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6060600180546104b590611836565b6001600160a01b038216331415610a065760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ad565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610a73911515815260200190565b60405180910390a35050565b60088054610a8c90611836565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab890611836565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b505050505081565b60078054610a8c90611836565b610b243383610e55565b610b405760405162461bcd60e51b81526004016105ad906117b6565b610b4c8484848461122e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610bd15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105ad565b60088054610bde90611836565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a90611836565b8015610c575780601f10610c2c57610100808354040283529160200191610c57565b820191906000526020600020905b815481529060010190602001808311610c3a57829003601f168201915b50505050509050919050565b6006546001600160a01b03163314610c8d5760405162461bcd60e51b81526004016105ad90611781565b60088054610c9a90611836565b159050610ce95760405162461bcd60e51b815260206004820152601e60248201527f5f746f6b656e5552492063616e20626520736574206f6e6c79206f6e6365000060448201526064016105ad565b805161077490600890602084019061136e565b6006546001600160a01b03163314610d265760405162461bcd60e51b81526004016105ad90611781565b6001600160a01b038116610d8b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ad565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e1c8261082c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610ece5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ad565b6000610ed98361082c565b9050806001600160a01b0316846001600160a01b03161480610f145750836001600160a01b0316610f0984610538565b6001600160a01b0316145b80610f4457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610f5f8261082c565b6001600160a01b031614610fc75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105ad565b6001600160a01b0382166110295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ad565b611034600082610de7565b6001600160a01b038316600090815260036020526040812080546001929061105d90849061181f565b90915550506001600160a01b038216600090815260036020526040812080546001929061108b908490611807565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166111425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ad565b6000818152600260205260409020546001600160a01b0316156111a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ad565b6001600160a01b03821660009081526003602052604081208054600192906111d0908490611807565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611239848484610f4c565b61124584848484611261565b610b4c5760405162461bcd60e51b81526004016105ad9061172f565b60006001600160a01b0384163b1561136357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112a59033908990889088906004016116df565b602060405180830381600087803b1580156112bf57600080fd5b505af19250505080156112ef575060408051601f3d908101601f191682019092526112ec9181019061161a565b60015b611349573d80801561131d576040519150601f19603f3d011682016040523d82523d6000602084013e611322565b606091505b5080516113415760405162461bcd60e51b81526004016105ad9061172f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f44565b506001949350505050565b82805461137a90611836565b90600052602060002090601f01602090048101928261139c57600085556113e2565b82601f106113b557805160ff19168380011785556113e2565b828001600101855582156113e2579182015b828111156113e25782518255916020019190600101906113c7565b506113ee9291506113f2565b5090565b5b808211156113ee57600081556001016113f3565b600067ffffffffffffffff8084111561142257611422611887565b604051601f8501601f19908116603f0116810190828211818310171561144a5761144a611887565b8160405280935085815286868601111561146357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146104a157600080fd5b6000602082840312156114a5578081fd5b6114ae8261147d565b9392505050565b600080604083850312156114c7578081fd5b6114d08361147d565b91506114de6020840161147d565b90509250929050565b6000806000606084860312156114fb578081fd5b6115048461147d565b92506115126020850161147d565b9150604084013590509250925092565b60008060008060808587031215611537578081fd5b6115408561147d565b935061154e6020860161147d565b925060408501359150606085013567ffffffffffffffff811115611570578182fd5b8501601f81018713611580578182fd5b61158f87823560208401611407565b91505092959194509250565b600080604083850312156115ad578182fd5b6115b68361147d565b9150602083013580151581146115ca578182fd5b809150509250929050565b600080604083850312156115e7578182fd5b6115f08361147d565b946020939093013593505050565b60006020828403121561160f578081fd5b81356114ae8161189d565b60006020828403121561162b578081fd5b81516114ae8161189d565b600060208284031215611647578081fd5b813567ffffffffffffffff81111561165d578182fd5b8201601f8101841361166d578182fd5b610f4484823560208401611407565b60006020828403121561168d578081fd5b5035919050565b60008151808452815b818110156116b95760208185018101518683018201520161169d565b818111156116ca5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061171290830184611694565b9695505050505050565b6000602082526114ae6020830184611694565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561181a5761181a611871565b500190565b60008282101561183157611831611871565b500390565b600181811c9082168061184a57607f821691505b6020821081141561186b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146118b357600080fd5b5056fea264697066735822122045193cb852fcdefed5da03415d7c547903e1c1bf27733e7cdcfd95bc0294147464736f6c63430008030033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007ba6310416b3791ccd967219525b2cebfce14cc800000000000000000000000000000000000000000000000000000000000000154e6574776f726b2053746174652047656e65736973000000000000000000000000000000000000000000000000000000000000000000000000000000000000034e53470000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101405760003560e01c806370a08231116100b6578063b7dec1b71161006f578063b7dec1b714610374578063b88d4fde14610389578063c87b56dd146103a9578063e0df5b6f146103c9578063e985e9c5146103e9578063f2fde38b1461043257610140565b806370a08231146102c9578063715018a6146102f75780638da5cb5b1461030c57806395d89b411461032a578063a22cb4651461033f578063b4ce37d21461035f57610140565b806323b872dd1161010857806323b872dd1461021657806340c10f191461023657806342842e0e146102495780634783c35b1461026957806347bb3da7146102895780636352211e146102a957610140565b806301ffc9a71461014557806306fdde031461017a578063075461721461019c578063081812fc146101d4578063095ea7b3146101f4575b600080fd5b34801561015157600080fd5b506101656101603660046115fe565b610452565b60405190151581526020015b60405180910390f35b34801561018657600080fd5b5061018f6104a6565b604051610171919061171c565b3480156101a857600080fd5b50600a546101bc906001600160a01b031681565b6040516001600160a01b039091168152602001610171565b3480156101e057600080fd5b506101bc6101ef36600461167c565b610538565b34801561020057600080fd5b5061021461020f3660046115d5565b6105d2565b005b34801561022257600080fd5b506102146102313660046114e7565b6106e8565b6102146102443660046115d5565b610719565b34801561025557600080fd5b506102146102643660046114e7565b610778565b34801561027557600080fd5b506009546101bc906001600160a01b031681565b34801561029557600080fd5b506102146102a4366004611636565b610793565b3480156102b557600080fd5b506101bc6102c436600461167c565b61082c565b3480156102d557600080fd5b506102e96102e4366004611494565b6108a3565b604051908152602001610171565b34801561030357600080fd5b5061021461092a565b34801561031857600080fd5b506006546001600160a01b03166101bc565b34801561033657600080fd5b5061018f61099e565b34801561034b57600080fd5b5061021461035a36600461159b565b6109ad565b34801561036b57600080fd5b5061018f610a7f565b34801561038057600080fd5b5061018f610b0d565b34801561039557600080fd5b506102146103a4366004611522565b610b1a565b3480156103b557600080fd5b5061018f6103c436600461167c565b610b52565b3480156103d557600080fd5b506102146103e4366004611636565b610c63565b3480156103f557600080fd5b506101656104043660046114b5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561043e57600080fd5b5061021461044d366004611494565b610cfc565b60006001600160e01b031982166380ac58cd60e01b148061048357506001600160e01b03198216635b5e139f60e01b145b8061049e57506301ffc9a760e01b6001600160e01b03198316145b90505b919050565b6060600080546104b590611836565b80601f01602080910402602001604051908101604052809291908181526020018280546104e190611836565b801561052e5780601f106105035761010080835404028352916020019161052e565b820191906000526020600020905b81548152906001019060200180831161051157829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006105dd8261082c565b9050806001600160a01b0316836001600160a01b0316141561064b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105ad565b336001600160a01b038216148061066757506106678133610404565b6106d95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ad565b6106e38383610de7565b505050565b6106f23382610e55565b61070e5760405162461bcd60e51b81526004016105ad906117b6565b6106e3838383610f4c565b600a546001600160a01b0316331461076a5760405162461bcd60e51b815260206004820152601460248201527313db9b1e481b5a5b9d195c8818d85b881b5a5b9d60621b60448201526064016105ad565b61077482826110ec565b5050565b6106e383838360405180602001604052806000815250610b1a565b6006546001600160a01b031633146107bd5760405162461bcd60e51b81526004016105ad90611781565b600780546107ca90611836565b1590506108195760405162461bcd60e51b815260206004820152601c60248201527f47454e455349532063616e20626520736574206f6e6c79206f6e63650000000060448201526064016105ad565b805161077490600790602084019061136e565b6000818152600260205260408120546001600160a01b03168061049e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105ad565b60006001600160a01b03821661090e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105ad565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146109545760405162461bcd60e51b81526004016105ad90611781565b6006546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600680546001600160a01b0319169055565b6060600180546104b590611836565b6001600160a01b038216331415610a065760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ad565b3360008181526005602090815260408083206001600160a01b0387168085529252909120805460ff1916841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610a73911515815260200190565b60405180910390a35050565b60088054610a8c90611836565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab890611836565b8015610b055780601f10610ada57610100808354040283529160200191610b05565b820191906000526020600020905b815481529060010190602001808311610ae857829003601f168201915b505050505081565b60078054610a8c90611836565b610b243383610e55565b610b405760405162461bcd60e51b81526004016105ad906117b6565b610b4c8484848461122e565b50505050565b6000818152600260205260409020546060906001600160a01b0316610bd15760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016105ad565b60088054610bde90611836565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0a90611836565b8015610c575780601f10610c2c57610100808354040283529160200191610c57565b820191906000526020600020905b815481529060010190602001808311610c3a57829003601f168201915b50505050509050919050565b6006546001600160a01b03163314610c8d5760405162461bcd60e51b81526004016105ad90611781565b60088054610c9a90611836565b159050610ce95760405162461bcd60e51b815260206004820152601e60248201527f5f746f6b656e5552492063616e20626520736574206f6e6c79206f6e6365000060448201526064016105ad565b805161077490600890602084019061136e565b6006546001600160a01b03163314610d265760405162461bcd60e51b81526004016105ad90611781565b6001600160a01b038116610d8b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ad565b6006546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e1c8261082c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610ece5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105ad565b6000610ed98361082c565b9050806001600160a01b0316846001600160a01b03161480610f145750836001600160a01b0316610f0984610538565b6001600160a01b0316145b80610f4457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610f5f8261082c565b6001600160a01b031614610fc75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016105ad565b6001600160a01b0382166110295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105ad565b611034600082610de7565b6001600160a01b038316600090815260036020526040812080546001929061105d90849061181f565b90915550506001600160a01b038216600090815260036020526040812080546001929061108b908490611807565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166111425760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ad565b6000818152600260205260409020546001600160a01b0316156111a75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ad565b6001600160a01b03821660009081526003602052604081208054600192906111d0908490611807565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b611239848484610f4c565b61124584848484611261565b610b4c5760405162461bcd60e51b81526004016105ad9061172f565b60006001600160a01b0384163b1561136357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906112a59033908990889088906004016116df565b602060405180830381600087803b1580156112bf57600080fd5b505af19250505080156112ef575060408051601f3d908101601f191682019092526112ec9181019061161a565b60015b611349573d80801561131d576040519150601f19603f3d011682016040523d82523d6000602084013e611322565b606091505b5080516113415760405162461bcd60e51b81526004016105ad9061172f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f44565b506001949350505050565b82805461137a90611836565b90600052602060002090601f01602090048101928261139c57600085556113e2565b82601f106113b557805160ff19168380011785556113e2565b828001600101855582156113e2579182015b828111156113e25782518255916020019190600101906113c7565b506113ee9291506113f2565b5090565b5b808211156113ee57600081556001016113f3565b600067ffffffffffffffff8084111561142257611422611887565b604051601f8501601f19908116603f0116810190828211818310171561144a5761144a611887565b8160405280935085815286868601111561146357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146104a157600080fd5b6000602082840312156114a5578081fd5b6114ae8261147d565b9392505050565b600080604083850312156114c7578081fd5b6114d08361147d565b91506114de6020840161147d565b90509250929050565b6000806000606084860312156114fb578081fd5b6115048461147d565b92506115126020850161147d565b9150604084013590509250925092565b60008060008060808587031215611537578081fd5b6115408561147d565b935061154e6020860161147d565b925060408501359150606085013567ffffffffffffffff811115611570578182fd5b8501601f81018713611580578182fd5b61158f87823560208401611407565b91505092959194509250565b600080604083850312156115ad578182fd5b6115b68361147d565b9150602083013580151581146115ca578182fd5b809150509250929050565b600080604083850312156115e7578182fd5b6115f08361147d565b946020939093013593505050565b60006020828403121561160f578081fd5b81356114ae8161189d565b60006020828403121561162b578081fd5b81516114ae8161189d565b600060208284031215611647578081fd5b813567ffffffffffffffff81111561165d578182fd5b8201601f8101841361166d578182fd5b610f4484823560208401611407565b60006020828403121561168d578081fd5b5035919050565b60008151808452815b818110156116b95760208185018101518683018201520161169d565b818111156116ca5782602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061171290830184611694565b9695505050505050565b6000602082526114ae6020830184611694565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561181a5761181a611871565b500190565b60008282101561183157611831611871565b500390565b600181811c9082168061184a57607f821691505b6020821081141561186b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146118b357600080fd5b5056fea264697066735822122045193cb852fcdefed5da03415d7c547903e1c1bf27733e7cdcfd95bc0294147464736f6c63430008030033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000007ba6310416b3791ccd967219525b2cebfce14cc800000000000000000000000000000000000000000000000000000000000000154e6574776f726b2053746174652047656e65736973000000000000000000000000000000000000000000000000000000000000000000000000000000000000034e53470000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Network State Genesis
Arg [1] : symbol (string): NSG
Arg [2] : _minter (address): 0x7bA6310416B3791CCd967219525b2ceBfCe14CC8

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000007ba6310416b3791ccd967219525b2cebfce14cc8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [4] : 4e6574776f726b2053746174652047656e657369730000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4e53470000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

181:1428:12:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1455:288:4;;;;;;;;;;-1:-1:-1;1455:288:4;;;;;:::i;:::-;;:::i;:::-;;;5763:14:15;;5756:22;5738:41;;5726:2;5711:18;1455:288:4;;;;;;;;2361:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;539:21:12:-;;;;;;;;;;-1:-1:-1;539:21:12;;;;-1:-1:-1;;;;;539:21:12;;;;;;-1:-1:-1;;;;;4837:32:15;;;4819:51;;4807:2;4792:18;539:21:12;4774:102:15;3780:217:4;;;;;;;;;;-1:-1:-1;3780:217:4;;;;;:::i;:::-;;:::i;3324:395::-;;;;;;;;;;-1:-1:-1;3324:395:4;;;;;:::i;:::-;;:::i;:::-;;4644:300;;;;;;;;;;-1:-1:-1;4644:300:4;;;;;:::i;:::-;;:::i;1438:167:12:-;;;;;;:::i;:::-;;:::i;5010:149:4:-;;;;;;;;;;-1:-1:-1;5010:149:4;;;;;:::i;:::-;;:::i;411:31:12:-;;;;;;;;;;-1:-1:-1;411:31:12;;;;-1:-1:-1;;;;;411:31:12;;;821:222;;;;;;;;;;-1:-1:-1;821:222:12;;;;;:::i;:::-;;:::i;2064:235:4:-;;;;;;;;;;-1:-1:-1;2064:235:4;;;;;:::i;:::-;;:::i;1802:205::-;;;;;;;;;;-1:-1:-1;1802:205:4;;;;;:::i;:::-;;:::i;:::-;;;13607:25:15;;;13595:2;13580:18;1802:205:4;13562:76:15;1691:145:13;;;;;;;;;;;;;:::i;1059:85::-;;;;;;;;;;-1:-1:-1;1131:6:13;;-1:-1:-1;;;;;1131:6:13;1059:85;;2523:102:4;;;;;;;;;;;;;:::i;4064:290::-;;;;;;;;;;-1:-1:-1;4064:290:4;;;;;:::i;:::-;;:::i;304:23:12:-;;;;;;;;;;;;;:::i;235:21::-;;;;;;;;;;;;;:::i;5225:282:4:-;;;;;;;;;;-1:-1:-1;5225:282:4;;;;;:::i;:::-;;:::i;1225:207:12:-;;;;;;;;;;-1:-1:-1;1225:207:12;;;;;:::i;:::-;;:::i;1049:170::-;;;;;;;;;;-1:-1:-1;1049:170:12;;;;;:::i;:::-;;:::i;4420:162:4:-;;;;;;;;;;-1:-1:-1;4420:162:4;;;;;:::i;:::-;-1:-1:-1;;;;;4540:25:4;;;4517:4;4540:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4420:162;1985:240:13;;;;;;;;;;-1:-1:-1;1985:240:13;;;;;:::i;:::-;;:::i;1455:288:4:-;1557:4;-1:-1:-1;;;;;;1580:40:4;;-1:-1:-1;;;1580:40:4;;:104;;-1:-1:-1;;;;;;;1636:48:4;;-1:-1:-1;;;1636:48:4;1580:104;:156;;;-1:-1:-1;;;;;;;;;;869:40:3;;;1700:36:4;1573:163;;1455:288;;;;:::o;2361:98::-;2415:13;2447:5;2440:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2361:98;:::o;3780:217::-;3856:7;7029:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7029:16:4;3875:73;;;;-1:-1:-1;;;3875:73:4;;11243:2:15;3875:73:4;;;11225:21:15;11282:2;11262:18;;;11255:30;11321:34;11301:18;;;11294:62;-1:-1:-1;;;11372:18:15;;;11365:42;11424:19;;3875:73:4;;;;;;;;;-1:-1:-1;3966:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;3966:24:4;;3780:217::o;3324:395::-;3404:13;3420:23;3435:7;3420:14;:23::i;:::-;3404:39;;3467:5;-1:-1:-1;;;;;3461:11:4;:2;-1:-1:-1;;;;;3461:11:4;;;3453:57;;;;-1:-1:-1;;;3453:57:4;;12843:2:15;3453:57:4;;;12825:21:15;12882:2;12862:18;;;12855:30;12921:34;12901:18;;;12894:62;-1:-1:-1;;;12972:18:15;;;12965:31;13013:19;;3453:57:4;12815:223:15;3453:57:4;665:10:2;-1:-1:-1;;;;;3529:21:4;;;;:69;;-1:-1:-1;3554:44:4;3578:5;665:10:2;3585:12:4;586:96:2;3554:44:4;3521:159;;;;-1:-1:-1;;;3521:159:4;;9279:2:15;3521:159:4;;;9261:21:15;9318:2;9298:18;;;9291:30;9357:34;9337:18;;;9330:62;9428:26;9408:18;;;9401:54;9472:19;;3521:159:4;9251:246:15;3521:159:4;3691:21;3700:2;3704:7;3691:8;:21::i;:::-;3324:395;;;:::o;4644:300::-;4803:41;665:10:2;4836:7:4;4803:18;:41::i;:::-;4795:103;;;;-1:-1:-1;;;4795:103:4;;;;;;;:::i;:::-;4909:28;4919:4;4925:2;4929:7;4909:9;:28::i;1438:167:12:-;1532:6;;-1:-1:-1;;;;;1532:6:12;1518:10;:20;1510:53;;;;-1:-1:-1;;;1510:53:12;;8930:2:15;1510:53:12;;;8912:21:15;8969:2;8949:18;;;8942:30;-1:-1:-1;;;8988:18:15;;;8981:50;9048:18;;1510:53:12;8902:170:15;1510:53:12;1573:25;1579:4;1585:12;1573:5;:25::i;:::-;1438:167;;:::o;5010:149:4:-;5113:39;5130:4;5136:2;5140:7;5113:39;;;;;;;;;;;;:16;:39::i;821:222:12:-;1131:6:13;;-1:-1:-1;;;;;1131:6:13;665:10:2;1271:23:13;1263:68;;;;-1:-1:-1;;;1263:68:13;;;;;;;:::i;:::-;905:7:12::1;899:21;;;;;:::i;:::-;:26:::0;;-1:-1:-1;891:67:12::1;;;::::0;-1:-1:-1;;;891:67:12;;10525:2:15;891:67:12::1;::::0;::::1;10507:21:15::0;10564:2;10544:18;;;10537:30;10603;10583:18;;;10576:58;10651:18;;891:67:12::1;10497:178:15::0;891:67:12::1;1019:17:::0;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;2064:235:4:-:0;2136:7;2171:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2171:16:4;2205:19;2197:73;;;;-1:-1:-1;;;2197:73:4;;10115:2:15;2197:73:4;;;10097:21:15;10154:2;10134:18;;;10127:30;10193:34;10173:18;;;10166:62;-1:-1:-1;;;10244:18:15;;;10237:39;10293:19;;2197:73:4;10087:231:15;1802:205:4;1874:7;-1:-1:-1;;;;;1901:19:4;;1893:74;;;;-1:-1:-1;;;1893:74:4;;9704:2:15;1893:74:4;;;9686:21:15;9743:2;9723:18;;;9716:30;9782:34;9762:18;;;9755:62;-1:-1:-1;;;9833:18:15;;;9826:40;9883:19;;1893:74:4;9676:232:15;1893:74:4;-1:-1:-1;;;;;;1984:16:4;;;;;:9;:16;;;;;;;1802:205::o;1691:145:13:-;1131:6;;-1:-1:-1;;;;;1131:6:13;665:10:2;1271:23:13;1263:68;;;;-1:-1:-1;;;1263:68:13;;;;;;;:::i;:::-;1781:6:::1;::::0;1760:40:::1;::::0;1797:1:::1;::::0;-1:-1:-1;;;;;1781:6:13::1;::::0;1760:40:::1;::::0;1797:1;;1760:40:::1;1810:6;:19:::0;;-1:-1:-1;;;;;;1810:19:13::1;::::0;;1691:145::o;2523:102:4:-;2579:13;2611:7;2604:14;;;;;:::i;4064:290::-;-1:-1:-1;;;;;4166:24:4;;665:10:2;4166:24:4;;4158:62;;;;-1:-1:-1;;;4158:62:4;;7804:2:15;4158:62:4;;;7786:21:15;7843:2;7823:18;;;7816:30;7882:27;7862:18;;;7855:55;7927:18;;4158:62:4;7776:175:15;4158:62:4;665:10:2;4231:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4231:42:4;;;;;;;;;;:53;;-1:-1:-1;;4231:53:4;;;;;;;:42;-1:-1:-1;;;;;4299:48:4;;4338:8;4299:48;;;;5763:14:15;5756:22;5738:41;;5726:2;5711:18;;5693:92;4299:48:4;;;;;;;;4064:290;;:::o;304:23:12:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;235:21::-;;;;;;;:::i;5225:282:4:-;5356:41;665:10:2;5389:7:4;5356:18;:41::i;:::-;5348:103;;;;-1:-1:-1;;;5348:103:4;;;;;;;:::i;:::-;5461:39;5475:4;5481:2;5485:7;5494:5;5461:13;:39::i;:::-;5225:282;;;;:::o;1225:207:12:-;7006:4:4;7029:16;;;:7;:16;;;;;;1298:13:12;;-1:-1:-1;;;;;7029:16:4;1323:76:12;;;;-1:-1:-1;;;1323:76:12;;12427:2:15;1323:76:12;;;12409:21:15;12466:2;12446:18;;;12439:30;12505:34;12485:18;;;12478:62;-1:-1:-1;;;12556:18:15;;;12549:45;12611:19;;1323:76:12;12399:237:15;1323:76:12;1416:9;1409:16;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1225:207;;;:::o;1049:170::-;1131:6:13;;-1:-1:-1;;;;;1131:6:13;665:10:2;1271:23:13;1263:68;;;;-1:-1:-1;;;1263:68:13;;;;;;;:::i;:::-;1130:9:12::1;1124:23;;;;;:::i;:::-;:28:::0;;-1:-1:-1;1116:71:12::1;;;::::0;-1:-1:-1;;;1116:71:12;;8158:2:15;1116:71:12::1;::::0;::::1;8140:21:15::0;8197:2;8177:18;;;8170:30;8236:32;8216:18;;;8209:60;8286:18;;1116:71:12::1;8130:180:15::0;1116:71:12::1;1197:15:::0;;::::1;::::0;:9:::1;::::0;:15:::1;::::0;::::1;::::0;::::1;:::i;1985:240:13:-:0;1131:6;;-1:-1:-1;;;;;1131:6:13;665:10:2;1271:23:13;1263:68;;;;-1:-1:-1;;;1263:68:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;2073:22:13;::::1;2065:73;;;::::0;-1:-1:-1;;;2065:73:13;;6635:2:15;2065:73:13::1;::::0;::::1;6617:21:15::0;6674:2;6654:18;;;6647:30;6713:34;6693:18;;;6686:62;-1:-1:-1;;;6764:18:15;;;6757:36;6810:19;;2065:73:13::1;6607:228:15::0;2065:73:13::1;2174:6;::::0;2153:38:::1;::::0;-1:-1:-1;;;;;2153:38:13;;::::1;::::0;2174:6:::1;::::0;2153:38:::1;::::0;2174:6:::1;::::0;2153:38:::1;2201:6;:17:::0;;-1:-1:-1;;;;;;2201:17:13::1;-1:-1:-1::0;;;;;2201:17:13;;;::::1;::::0;;;::::1;::::0;;1985:240::o;10705:171:4:-;10779:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;10779:29:4;-1:-1:-1;;;;;10779:29:4;;;;;;;;:24;;10832:23;10779:24;10832:14;:23::i;:::-;-1:-1:-1;;;;;10823:46:4;;;;;;;;;;;10705:171;;:::o;7224:351::-;7317:4;7029:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7029:16:4;7333:73;;;;-1:-1:-1;;;7333:73:4;;8517:2:15;7333:73:4;;;8499:21:15;8556:2;8536:18;;;8529:30;8595:34;8575:18;;;8568:62;-1:-1:-1;;;8646:18:15;;;8639:42;8698:19;;7333:73:4;8489:234:15;7333:73:4;7416:13;7432:23;7447:7;7432:14;:23::i;:::-;7416:39;;7484:5;-1:-1:-1;;;;;7473:16:4;:7;-1:-1:-1;;;;;7473:16:4;;:51;;;;7517:7;-1:-1:-1;;;;;7493:31:4;:20;7505:7;7493:11;:20::i;:::-;-1:-1:-1;;;;;7493:31:4;;7473:51;:94;;;-1:-1:-1;;;;;;4540:25:4;;;4517:4;4540:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7528:39;7465:103;7224:351;-1:-1:-1;;;;7224:351:4:o;10064:530::-;10188:4;-1:-1:-1;;;;;10161:31:4;:23;10176:7;10161:14;:23::i;:::-;-1:-1:-1;;;;;10161:31:4;;10153:85;;;;-1:-1:-1;;;10153:85:4;;12017:2:15;10153:85:4;;;11999:21:15;12056:2;12036:18;;;12029:30;12095:34;12075:18;;;12068:62;-1:-1:-1;;;12146:18:15;;;12139:39;12195:19;;10153:85:4;11989:231:15;10153:85:4;-1:-1:-1;;;;;10256:16:4;;10248:65;;;;-1:-1:-1;;;10248:65:4;;7399:2:15;10248:65:4;;;7381:21:15;7438:2;7418:18;;;7411:30;7477:34;7457:18;;;7450:62;-1:-1:-1;;;7528:18:15;;;7521:34;7572:19;;10248:65:4;7371:226:15;10248:65:4;10425:29;10442:1;10446:7;10425:8;:29::i;:::-;-1:-1:-1;;;;;10465:15:4;;;;;;:9;:15;;;;;:20;;10484:1;;10465:15;:20;;10484:1;;10465:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10495:13:4;;;;;;:9;:13;;;;;:18;;10512:1;;10495:13;:18;;10512:1;;10495:18;:::i;:::-;;;;-1:-1:-1;;10523:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10523:21:4;-1:-1:-1;;;;;10523:21:4;;;;;;;;;10560:27;;10523:16;;10560:27;;;;;;;10064:530;;;:::o;8803:372::-;-1:-1:-1;;;;;8882:16:4;;8874:61;;;;-1:-1:-1;;;8874:61:4;;10882:2:15;8874:61:4;;;10864:21:15;;;10901:18;;;10894:30;10960:34;10940:18;;;10933:62;11012:18;;8874:61:4;10854:182:15;8874:61:4;7006:4;7029:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7029:16:4;:30;8945:58;;;;-1:-1:-1;;;8945:58:4;;7042:2:15;8945:58:4;;;7024:21:15;7081:2;7061:18;;;7054:30;7120;7100:18;;;7093:58;7168:18;;8945:58:4;7014:178:15;8945:58:4;-1:-1:-1;;;;;9070:13:4;;;;;;:9;:13;;;;;:18;;9087:1;;9070:13;:18;;9087:1;;9070:18;:::i;:::-;;;;-1:-1:-1;;9098:16:4;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9098:21:4;-1:-1:-1;;;;;9098:21:4;;;;;;;;9135:33;;9098:16;;;9135:33;;9098:16;;9135:33;8803:372;;:::o;6369:269::-;6482:28;6492:4;6498:2;6502:7;6482:9;:28::i;:::-;6528:48;6551:4;6557:2;6561:7;6570:5;6528:22;:48::i;:::-;6520:111;;;;-1:-1:-1;;;6520:111:4;;;;;;;:::i;11429:824::-;11549:4;-1:-1:-1;;;;;11573:13:4;;1078:20:1;1116:8;11569:678:4;;11608:72;;-1:-1:-1;;;11608:72:4;;-1:-1:-1;;;;;11608:36:4;;;;;:72;;665:10:2;;11659:4:4;;11665:7;;11674:5;;11608:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11608:72:4;;;;;;;;-1:-1:-1;;11608:72:4;;;;;;;;;;;;:::i;:::-;;;11604:591;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11851:13:4;;11847:334;;11893:60;;-1:-1:-1;;;11893:60:4;;;;;;;:::i;11847:334::-;12133:6;12127:13;12118:6;12114:2;12110:15;12103:38;11604:591;-1:-1:-1;;;;;;11730:55:4;-1:-1:-1;;;11730:55:4;;-1:-1:-1;11723:62:4;;11569:678;-1:-1:-1;12232:4:4;11429:824;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:15;;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:15;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:15;;757:42;;747:2;;813:1;810;803:12;828:196;;940:2;928:9;919:7;915:23;911:32;908:2;;;961:6;953;946:22;908:2;989:29;1008:9;989:29;:::i;:::-;979:39;898:126;-1:-1:-1;;;898:126:15:o;1029:270::-;;;1158:2;1146:9;1137:7;1133:23;1129:32;1126:2;;;1179:6;1171;1164:22;1126:2;1207:29;1226:9;1207:29;:::i;:::-;1197:39;;1255:38;1289:2;1278:9;1274:18;1255:38;:::i;:::-;1245:48;;1116:183;;;;;:::o;1304:338::-;;;;1450:2;1438:9;1429:7;1425:23;1421:32;1418:2;;;1471:6;1463;1456:22;1418:2;1499:29;1518:9;1499:29;:::i;:::-;1489:39;;1547:38;1581:2;1570:9;1566:18;1547:38;:::i;:::-;1537:48;;1632:2;1621:9;1617:18;1604:32;1594:42;;1408:234;;;;;:::o;1647:696::-;;;;;1819:3;1807:9;1798:7;1794:23;1790:33;1787:2;;;1841:6;1833;1826:22;1787:2;1869:29;1888:9;1869:29;:::i;:::-;1859:39;;1917:38;1951:2;1940:9;1936:18;1917:38;:::i;:::-;1907:48;;2002:2;1991:9;1987:18;1974:32;1964:42;;2057:2;2046:9;2042:18;2029:32;2084:18;2076:6;2073:30;2070:2;;;2121:6;2113;2106:22;2070:2;2149:22;;2202:4;2194:13;;2190:27;-1:-1:-1;2180:2:15;;2236:6;2228;2221:22;2180:2;2264:73;2329:7;2324:2;2311:16;2306:2;2302;2298:11;2264:73;:::i;:::-;2254:83;;;1777:566;;;;;;;:::o;2348:367::-;;;2474:2;2462:9;2453:7;2449:23;2445:32;2442:2;;;2495:6;2487;2480:22;2442:2;2523:29;2542:9;2523:29;:::i;:::-;2513:39;;2602:2;2591:9;2587:18;2574:32;2649:5;2642:13;2635:21;2628:5;2625:32;2615:2;;2676:6;2668;2661:22;2615:2;2704:5;2694:15;;;2432:283;;;;;:::o;2720:264::-;;;2849:2;2837:9;2828:7;2824:23;2820:32;2817:2;;;2870:6;2862;2855:22;2817:2;2898:29;2917:9;2898:29;:::i;:::-;2888:39;2974:2;2959:18;;;;2946:32;;-1:-1:-1;;;2807:177:15:o;2989:255::-;;3100:2;3088:9;3079:7;3075:23;3071:32;3068:2;;;3121:6;3113;3106:22;3068:2;3165:9;3152:23;3184:30;3208:5;3184:30;:::i;3249:259::-;;3371:2;3359:9;3350:7;3346:23;3342:32;3339:2;;;3392:6;3384;3377:22;3339:2;3429:9;3423:16;3448:30;3472:5;3448:30;:::i;3513:480::-;;3635:2;3623:9;3614:7;3610:23;3606:32;3603:2;;;3656:6;3648;3641:22;3603:2;3701:9;3688:23;3734:18;3726:6;3723:30;3720:2;;;3771:6;3763;3756:22;3720:2;3799:22;;3852:4;3844:13;;3840:27;-1:-1:-1;3830:2:15;;3886:6;3878;3871:22;3830:2;3914:73;3979:7;3974:2;3961:16;3956:2;3952;3948:11;3914:73;:::i;3998:190::-;;4110:2;4098:9;4089:7;4085:23;4081:32;4078:2;;;4131:6;4123;4116:22;4078:2;-1:-1:-1;4159:23:15;;4068:120;-1:-1:-1;4068:120:15:o;4193:475::-;;4272:5;4266:12;4299:6;4294:3;4287:19;4324:3;4336:162;4350:6;4347:1;4344:13;4336:162;;;4412:4;4468:13;;;4464:22;;4458:29;4440:11;;;4436:20;;4429:59;4365:12;4336:162;;;4516:6;4513:1;4510:13;4507:2;;;4582:3;4575:4;4566:6;4561:3;4557:16;4553:27;4546:40;4507:2;-1:-1:-1;4650:2:15;4629:15;-1:-1:-1;;4625:29:15;4616:39;;;;4657:4;4612:50;;4242:426;-1:-1:-1;;4242:426:15:o;5105:488::-;-1:-1:-1;;;;;5374:15:15;;;5356:34;;5426:15;;5421:2;5406:18;;5399:43;5473:2;5458:18;;5451:34;;;5521:3;5516:2;5501:18;;5494:31;;;5105:488;;5542:45;;5567:19;;5559:6;5542:45;:::i;:::-;5534:53;5308:285;-1:-1:-1;;;;;;5308:285:15:o;5790:219::-;;5939:2;5928:9;5921:21;5959:44;5999:2;5988:9;5984:18;5976:6;5959:44;:::i;6014:414::-;6216:2;6198:21;;;6255:2;6235:18;;;6228:30;6294:34;6289:2;6274:18;;6267:62;-1:-1:-1;;;6360:2:15;6345:18;;6338:48;6418:3;6403:19;;6188:240::o;11454:356::-;11656:2;11638:21;;;11675:18;;;11668:30;11734:34;11729:2;11714:18;;11707:62;11801:2;11786:18;;11628:182::o;13043:413::-;13245:2;13227:21;;;13284:2;13264:18;;;13257:30;13323:34;13318:2;13303:18;;13296:62;-1:-1:-1;;;13389:2:15;13374:18;;13367:47;13446:3;13431:19;;13217:239::o;13643:128::-;;13714:1;13710:6;13707:1;13704:13;13701:2;;;13720:18;;:::i;:::-;-1:-1:-1;13756:9:15;;13691:80::o;13776:125::-;;13844:1;13841;13838:8;13835:2;;;13849:18;;:::i;:::-;-1:-1:-1;13886:9:15;;13825:76::o;13906:380::-;13985:1;13981:12;;;;14028;;;14049:2;;14103:4;14095:6;14091:17;14081:27;;14049:2;14156;14148:6;14145:14;14125:18;14122:38;14119:2;;;14202:10;14197:3;14193:20;14190:1;14183:31;14237:4;14234:1;14227:15;14265:4;14262:1;14255:15;14119:2;;13961:325;;;:::o;14291:127::-;14352:10;14347:3;14343:20;14340:1;14333:31;14383:4;14380:1;14373:15;14407:4;14404:1;14397:15;14423:127;14484:10;14479:3;14475:20;14472:1;14465:31;14515:4;14512:1;14505:15;14539:4;14536:1;14529:15;14555:131;-1:-1:-1;;;;;;14629:32:15;;14619:43;;14609:2;;14676:1;14673;14666:12;14609:2;14599:87;:::o

Swarm Source

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