ETH Price: $2,923.80 (+3.70%)
 

Overview

Max Total Supply

284 MV Hero Assembly

Holders

284

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MV Hero Assembly
0x34B97dF76e99123305b2e5F04500c95f432e663e
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MetaVisa

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-17
*/

/**
 *Submitted for verification at Etherscan.io on 2021-10-30
*/

// 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) {
        return msg.data;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @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;
    }
}

/**
 * @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;
}

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

/**
 * @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 ERC721URIStorage, 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();
    }
}

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

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

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

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

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

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

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

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

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

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

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

/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 */
contract MetaVisa is ERC721Enumerable,Ownable {
    using Counters for Counters.Counter;
    
    Counters.Counter private _tokenIdTracker;
    
    event Mint(address indexed from, address indexed to, uint256 indexed tokenId);
    
    mapping(address => bool) public isBuy;

    string private _baseTokenURI;

    uint256 public constant fee = 0.003 ether;

    address payable public constant feeAddress = payable(0xA8a3C316679F379220b9F974A14115c2156a8853);
    address public secretSigner = 0x91Ab7C2eF1Ea09Cf29Da32F4E04f6E387991BCDd;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;
    }

    function setSecretSigner(address secretSigner_) external virtual onlyOwner {
        require(secretSigner != address(0), "address invalid");
        secretSigner = secretSigner_;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }
    
    
    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(uint8 v, bytes32 r, bytes32 s) external virtual payable {
        require(address(0) != secretSigner, "mint: address(0) != secretSigner");
        require(secretSigner == getAddress(_toBytes(msg.sender),v,r,s), "mint: not qualified");
        require(!isBuy[msg.sender], "mint:You can only buy it once");
        require(fee <= msg.value, "mint: Ether value is not correct");
        require(totalSupply() + 1 <= 10000, "mint: Purchase would exceed max supply of 10000");
        feeAddress.transfer(msg.value);
        _tokenIdTracker.increment();
        uint256 tokenId = _tokenIdTracker.current();
        _mint(msg.sender, tokenId);
        isBuy[msg.sender]=true;
        emit Mint(address(0), msg.sender, tokenId);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override( ERC721Enumerable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    function getAddress(bytes memory m,uint8 v,bytes32 r,bytes32 s) internal pure returns (address){
        bytes32 hash = ECDSA.toEthSignedMessageHash(m);
        address signAddress = ECDSA.recover(hash,v,r,s);
        return signAddress;
    }

    function _toBytes(address a) internal pure returns (bytes memory b) {
        assembly {
            let m := mload(0x40)
            a := and(a, 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)
            mstore(
                add(m, 20),
                xor(0x140000000000000000000000000000000000000000, a)
            )
            mstore(0x40, add(m, 52))
            b := m
        }
    }

    receive() external payable {}

    fallback() external {}
    
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"stateMutability":"nonpayable","type":"fallback"},{"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":[],"name":"fee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"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":"","type":"address"}],"name":"isBuy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"mint","outputs":[],"stateMutability":"payable","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":[],"name":"secretSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"secretSigner_","type":"address"}],"name":"setSecretSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600f80546001600160a01b0319167391ab7c2ef1ea09cf29da32f4e04f6e387991bcdd1790553480156200003757600080fd5b5060405162002955380380620029558339810160408190526200005a916200026c565b825183908390620000739060009060208501906200011b565b508051620000899060019060208401906200011b565b505050620000a6620000a0620000c560201b60201c565b620000c9565b8051620000bb90600e9060208401906200011b565b505050506200034c565b3390565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012990620002f9565b90600052602060002090601f0160209004810192826200014d576000855562000198565b82601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b5b80821115620001a65760008155600101620001ab565b600082601f830112620001d2578081fd5b81516001600160401b0380821115620001ef57620001ef62000336565b6040516020601f8401601f191682018101838111838210171562000217576200021762000336565b60405283825285840181018710156200022e578485fd5b8492505b8383101562000251578583018101518284018201529182019162000232565b838311156200026257848185840101525b5095945050505050565b60008060006060848603121562000281578283fd5b83516001600160401b038082111562000298578485fd5b620002a687838801620001c1565b94506020860151915080821115620002bc578384fd5b620002ca87838801620001c1565b93506040860151915080821115620002e0578283fd5b50620002ef86828701620001c1565b9150509250925092565b6002810460018216806200030e57607f821691505b602082108114156200033057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6125f9806200035c6000396000f3fe60806040526004361061016a5760003560e01c806370a08231116100d1578063b88d4fde1161008a578063ddca3f4311610064578063ddca3f4314610405578063e985e9c51461041a578063ee97dec21461043a578063f2fde38b1461045a57610171565b8063b88d4fde146103a5578063c87b56dd146103c5578063d702087f146103e557610171565b806370a0823114610313578063715018a6146103335780638da5cb5b1461034857806395d89b411461035d57806399dfdb3e14610372578063a22cb4651461038557610171565b80632f745c59116101235780632f745c5914610269578063412753581461028957806342842e0e1461029e5780634d61537f146102be5780634f6ccce7146102d35780636352211e146102f357610171565b806301ffc9a71461018057806306fdde03146101b6578063081812fc146101d8578063095ea7b31461020557806318160ddd1461022757806323b872dd1461024957610171565b3661017157005b34801561017d57600080fd5b50005b34801561018c57600080fd5b506101a061019b366004611b37565b61047a565b6040516101ad9190611cc7565b60405180910390f35b3480156101c257600080fd5b506101cb61048d565b6040516101ad9190611cf0565b3480156101e457600080fd5b506101f86101f3366004611b6f565b61051f565b6040516101ad9190611c76565b34801561021157600080fd5b50610225610220366004611b0e565b61056b565b005b34801561023357600080fd5b5061023c610603565b6040516101ad9190612489565b34801561025557600080fd5b506102256102643660046119cd565b610609565b34801561027557600080fd5b5061023c610284366004611b0e565b610641565b34801561029557600080fd5b506101f8610693565b3480156102aa57600080fd5b506102256102b93660046119cd565b6106ab565b3480156102ca57600080fd5b506101f86106c6565b3480156102df57600080fd5b5061023c6102ee366004611b6f565b6106d5565b3480156102ff57600080fd5b506101f861030e366004611b6f565b610730565b34801561031f57600080fd5b5061023c61032e366004611981565b610765565b34801561033f57600080fd5b506102256107a9565b34801561035457600080fd5b506101f86107f4565b34801561036957600080fd5b506101cb610803565b610225610380366004611b87565b610812565b34801561039157600080fd5b506102256103a0366004611ad4565b6109b4565b3480156103b157600080fd5b506102256103c0366004611a08565b610a82565b3480156103d157600080fd5b506101cb6103e0366004611b6f565b610ac1565b3480156103f157600080fd5b50610225610400366004611981565b610be2565b34801561041157600080fd5b5061023c610c6b565b34801561042657600080fd5b506101a061043536600461199b565b610c76565b34801561044657600080fd5b506101a0610455366004611981565b610ca4565b34801561046657600080fd5b50610225610475366004611981565b610cb9565b600061048582610d2a565b90505b919050565b60606000805461049c90612501565b80601f01602080910402602001604051908101604052809291908181526020018280546104c890612501565b80156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b5050505050905090565b600061052a82610d4f565b61054f5760405162461bcd60e51b8152600401610546906121c8565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057682610730565b9050806001600160a01b0316836001600160a01b031614156105aa5760405162461bcd60e51b815260040161054690612318565b806001600160a01b03166105bc610d6c565b6001600160a01b031614806105d857506105d881610435610d6c565b6105f45760405162461bcd60e51b815260040161054690611fc1565b6105fe8383610d70565b505050565b60095490565b61061a610614610d6c565b82610dde565b6106365760405162461bcd60e51b81526004016105469061238e565b6105fe838383610e5b565b600061064c83610765565b821061066a5760405162461bcd60e51b815260040161054690611d9e565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b73a8a3c316679f379220b9f974a14115c2156a885381565b6105fe83838360405180602001604052806000815250610a82565b600f546001600160a01b031681565b60006106df610603565b82106106fd5760405162461bcd60e51b8152600401610546906123df565b6009828154811061071e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104855760405162461bcd60e51b815260040161054690612068565b60006001600160a01b03821661078d5760405162461bcd60e51b81526004016105469061201e565b506001600160a01b031660009081526003602052604090205490565b6107b1610d6c565b6001600160a01b03166107c26107f4565b6001600160a01b0316146107e85760405162461bcd60e51b815260040161054690612214565b6107f26000610f88565b565b600b546001600160a01b031690565b60606001805461049c90612501565b600f546001600160a01b031661083a5760405162461bcd60e51b815260040161054690612454565b61084e61084633610fda565b848484610ffe565b600f546001600160a01b0390811691161461087b5760405162461bcd60e51b815260040161054690611d3a565b336000908152600d602052604090205460ff16156108ab5760405162461bcd60e51b815260040161054690612292565b34660aa87bee53800011156108d25760405162461bcd60e51b815260040161054690612359565b6127106108dd610603565b6108e8906001612492565b11156109065760405162461bcd60e51b8152600401610546906120b1565b60405173a8a3c316679f379220b9f974a14115c2156a8853903480156108fc02916000818181858888f19350505050158015610946573d6000803e3d6000fd5b50610951600c611025565b600061095d600c61102e565b90506109693382611032565b336000818152600d6020526040808220805460ff1916600117905551839291907fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8908290a450505050565b6109bc610d6c565b6001600160a01b0316826001600160a01b031614156109ed5760405162461bcd60e51b815260040161054690611efc565b80600560006109fa610d6c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a3e610d6c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610a769190611cc7565b60405180910390a35050565b610a93610a8d610d6c565b83610dde565b610aaf5760405162461bcd60e51b81526004016105469061238e565b610abb84848484611111565b50505050565b6060610acc82610d4f565b610ae85760405162461bcd60e51b815260040161054690612177565b60008281526006602052604081208054610b0190612501565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d90612501565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b505050505090506000610b8b611144565b9050805160001415610b9f57509050610488565b815115610bd1578082604051602001610bb9929190611bec565b60405160208183030381529060405292505050610488565b610bda84611153565b949350505050565b610bea610d6c565b6001600160a01b0316610bfb6107f4565b6001600160a01b031614610c215760405162461bcd60e51b815260040161054690612214565b600f546001600160a01b0316610c495760405162461bcd60e51b81526004016105469061242b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b660aa87bee53800081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d6020526000908152604090205460ff1681565b610cc1610d6c565b6001600160a01b0316610cd26107f4565b6001600160a01b031614610cf85760405162461bcd60e51b815260040161054690612214565b6001600160a01b038116610d1e5760405162461bcd60e51b815260040161054690611e3b565b610d2781610f88565b50565b60006001600160e01b0319821663780e9d6360e01b14806104855750610485826111d6565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610da582610730565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610de982610d4f565b610e055760405162461bcd60e51b815260040161054690611f75565b6000610e1083610730565b9050806001600160a01b0316846001600160a01b03161480610e4b5750836001600160a01b0316610e408461051f565b6001600160a01b0316145b80610bda5750610bda8185610c76565b826001600160a01b0316610e6e82610730565b6001600160a01b031614610e945760405162461bcd60e51b815260040161054690612249565b6001600160a01b038216610eba5760405162461bcd60e51b815260040161054690611eb8565b610ec5838383611216565b610ed0600082610d70565b6001600160a01b0383166000908152600360205260408120805460019290610ef99084906124be565b90915550506001600160a01b0382166000908152600360205260408120805460019290610f27908490612492565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b0392909216600560a21b18601483015260348201905290565b60008061100a86611221565b9050600061101a8287878761125c565b979650505050505050565b80546001019055565b5490565b6001600160a01b0382166110585760405162461bcd60e51b815260040161054690612142565b61106181610d4f565b1561107e5760405162461bcd60e51b815260040161054690611e81565b61108a60008383611216565b6001600160a01b03821660009081526003602052604081208054600192906110b3908490612492565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61111c848484610e5b565b61112884848484611284565b610abb5760405162461bcd60e51b815260040161054690611de9565b6060600e805461049c90612501565b606061115e82610d4f565b61117a5760405162461bcd60e51b8152600401610546906122c9565b6000611184611144565b905060008151116111a457604051806020016040528060008152506111cf565b806111ae8461139c565b6040516020016111bf929190611bec565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b148061120757506001600160e01b03198216635b5e139f60e01b145b806104855750610485826114b7565b6105fe8383836114d0565b600061122d825161139c565b8260405160200161123f929190611c1b565b604051602081830303815290604052805190602001209050919050565b600080600061126d87878787611559565b9150915061127a81611639565b5095945050505050565b6000611298846001600160a01b0316611766565b1561139457836001600160a01b031663150b7a026112b4610d6c565b8786866040518563ffffffff1660e01b81526004016112d69493929190611c8a565b602060405180830381600087803b1580156112f057600080fd5b505af1925050508015611320575060408051601f3d908101601f1916820190925261131d91810190611b53565b60015b61137a573d80801561134e576040519150601f19603f3d011682016040523d82523d6000602084013e611353565b606091505b5080516113725760405162461bcd60e51b815260040161054690611de9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610bda565b506001610bda565b6060816113c157506040805180820190915260018152600360fc1b6020820152610488565b8160005b81156113eb57806113d58161253c565b91506113e49050600a836124aa565b91506113c5565b60008167ffffffffffffffff81111561141457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143e576020820181803683370190505b5090505b8415610bda576114536001836124be565b9150611460600a86612557565b61146b906030612492565b60f81b81838151811061148e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114b0600a866124aa565b9450611442565b6001600160e01b031981166301ffc9a760e01b14919050565b6114db8383836105fe565b6001600160a01b0383166114f7576114f28161176c565b61151a565b816001600160a01b0316836001600160a01b03161461151a5761151a83826117b0565b6001600160a01b038216611536576115318161184d565b6105fe565b826001600160a01b0316826001600160a01b0316146105fe576105fe8282611926565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115905750600090506003611630565b8460ff16601b141580156115a857508460ff16601c14155b156115b95750600090506004611630565b6000600187878787604051600081526020016040526040516115de9493929190611cd2565b6020604051602081039080840390855afa158015611600573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661162957600060019250925050611630565b9150600090505b94509492505050565b600081600481111561165b57634e487b7160e01b600052602160045260246000fd5b141561166657610d27565b600181600481111561168857634e487b7160e01b600052602160045260246000fd5b14156116a65760405162461bcd60e51b815260040161054690611d03565b60028160048111156116c857634e487b7160e01b600052602160045260246000fd5b14156116e65760405162461bcd60e51b815260040161054690611d67565b600381600481111561170857634e487b7160e01b600052602160045260246000fd5b14156117265760405162461bcd60e51b815260040161054690611f33565b600481600481111561174857634e487b7160e01b600052602160045260246000fd5b1415610d275760405162461bcd60e51b815260040161054690612100565b3b151590565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b600060016117bd84610765565b6117c791906124be565b60008381526008602052604090205490915080821461181a576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061185f906001906124be565b6000838152600a60205260408120546009805493945090928490811061189557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600983815481106118c457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061190a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061193183610765565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b80356001600160a01b038116811461048857600080fd5b600060208284031215611992578081fd5b6111cf8261196a565b600080604083850312156119ad578081fd5b6119b68361196a565b91506119c46020840161196a565b90509250929050565b6000806000606084860312156119e1578081fd5b6119ea8461196a565b92506119f86020850161196a565b9150604084013590509250925092565b60008060008060808587031215611a1d578081fd5b611a268561196a565b93506020611a3581870161196a565b935060408601359250606086013567ffffffffffffffff80821115611a58578384fd5b818801915088601f830112611a6b578384fd5b813581811115611a7d57611a7d612597565b604051601f8201601f1916810185018381118282101715611aa057611aa0612597565b60405281815283820185018b1015611ab6578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215611ae6578182fd5b611aef8361196a565b915060208301358015158114611b03578182fd5b809150509250929050565b60008060408385031215611b20578182fd5b611b298361196a565b946020939093013593505050565b600060208284031215611b48578081fd5b81356111cf816125ad565b600060208284031215611b64578081fd5b81516111cf816125ad565b600060208284031215611b80578081fd5b5035919050565b600080600060608486031215611b9b578283fd5b833560ff81168114611bab578384fd5b95602085013595506040909401359392505050565b60008151808452611bd88160208601602086016124d5565b601f01601f19169290920160200192915050565b60008351611bfe8184602088016124d5565b835190830190611c128183602088016124d5565b01949350505050565b60007f19457468657265756d205369676e6564204d6573736167653a0a00000000000082528351611c5381601a8501602088016124d5565b835190830190611c6a81601a8401602088016124d5565b01601a01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cbd90830184611bc0565b9695505050505050565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526111cf6020830184611bc0565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b6020808252601390820152721b5a5b9d0e881b9bdd081c5d585b1a599a5959606a1b604082015260600190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602f908201527f6d696e743a20507572636861736520776f756c6420657863656564206d61782060408201526e0737570706c79206f6620313030303608c1b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601d908201527f6d696e743a596f752063616e206f6e6c7920627579206974206f6e6365000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252818101527f6d696e743a2045746865722076616c7565206973206e6f7420636f7272656374604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252600f908201526e1859191c995cdcc81a5b9d985b1a59608a1b604082015260600190565b6020808252818101527f6d696e743a206164647265737328302920213d207365637265745369676e6572604082015260600190565b90815260200190565b600082198211156124a5576124a561256b565b500190565b6000826124b9576124b9612581565b500490565b6000828210156124d0576124d061256b565b500390565b60005b838110156124f05781810151838201526020016124d8565b83811115610abb5750506000910152565b60028104600182168061251557607f821691505b6020821081141561253657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125505761255061256b565b5060010190565b60008261256657612566612581565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d2757600080fdfea2646970667358221220e70533cfdf440d056c8a42214069ab41b044450c378325e0b54747f0e907bf2164736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000284d65746156697361204865726f20417373656d626c79202d204c696d697465642045646974696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104d56204865726f20417373656d626c7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f697066732d676174657761792e736c6f70652e66696e616e63652f697066732f516d58517262584148397857654b6363563751474d787a37575274466278475a75684a5656704a3534516e6733752f000000000000000000

Deployed Bytecode

0x60806040526004361061016a5760003560e01c806370a08231116100d1578063b88d4fde1161008a578063ddca3f4311610064578063ddca3f4314610405578063e985e9c51461041a578063ee97dec21461043a578063f2fde38b1461045a57610171565b8063b88d4fde146103a5578063c87b56dd146103c5578063d702087f146103e557610171565b806370a0823114610313578063715018a6146103335780638da5cb5b1461034857806395d89b411461035d57806399dfdb3e14610372578063a22cb4651461038557610171565b80632f745c59116101235780632f745c5914610269578063412753581461028957806342842e0e1461029e5780634d61537f146102be5780634f6ccce7146102d35780636352211e146102f357610171565b806301ffc9a71461018057806306fdde03146101b6578063081812fc146101d8578063095ea7b31461020557806318160ddd1461022757806323b872dd1461024957610171565b3661017157005b34801561017d57600080fd5b50005b34801561018c57600080fd5b506101a061019b366004611b37565b61047a565b6040516101ad9190611cc7565b60405180910390f35b3480156101c257600080fd5b506101cb61048d565b6040516101ad9190611cf0565b3480156101e457600080fd5b506101f86101f3366004611b6f565b61051f565b6040516101ad9190611c76565b34801561021157600080fd5b50610225610220366004611b0e565b61056b565b005b34801561023357600080fd5b5061023c610603565b6040516101ad9190612489565b34801561025557600080fd5b506102256102643660046119cd565b610609565b34801561027557600080fd5b5061023c610284366004611b0e565b610641565b34801561029557600080fd5b506101f8610693565b3480156102aa57600080fd5b506102256102b93660046119cd565b6106ab565b3480156102ca57600080fd5b506101f86106c6565b3480156102df57600080fd5b5061023c6102ee366004611b6f565b6106d5565b3480156102ff57600080fd5b506101f861030e366004611b6f565b610730565b34801561031f57600080fd5b5061023c61032e366004611981565b610765565b34801561033f57600080fd5b506102256107a9565b34801561035457600080fd5b506101f86107f4565b34801561036957600080fd5b506101cb610803565b610225610380366004611b87565b610812565b34801561039157600080fd5b506102256103a0366004611ad4565b6109b4565b3480156103b157600080fd5b506102256103c0366004611a08565b610a82565b3480156103d157600080fd5b506101cb6103e0366004611b6f565b610ac1565b3480156103f157600080fd5b50610225610400366004611981565b610be2565b34801561041157600080fd5b5061023c610c6b565b34801561042657600080fd5b506101a061043536600461199b565b610c76565b34801561044657600080fd5b506101a0610455366004611981565b610ca4565b34801561046657600080fd5b50610225610475366004611981565b610cb9565b600061048582610d2a565b90505b919050565b60606000805461049c90612501565b80601f01602080910402602001604051908101604052809291908181526020018280546104c890612501565b80156105155780601f106104ea57610100808354040283529160200191610515565b820191906000526020600020905b8154815290600101906020018083116104f857829003601f168201915b5050505050905090565b600061052a82610d4f565b61054f5760405162461bcd60e51b8152600401610546906121c8565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057682610730565b9050806001600160a01b0316836001600160a01b031614156105aa5760405162461bcd60e51b815260040161054690612318565b806001600160a01b03166105bc610d6c565b6001600160a01b031614806105d857506105d881610435610d6c565b6105f45760405162461bcd60e51b815260040161054690611fc1565b6105fe8383610d70565b505050565b60095490565b61061a610614610d6c565b82610dde565b6106365760405162461bcd60e51b81526004016105469061238e565b6105fe838383610e5b565b600061064c83610765565b821061066a5760405162461bcd60e51b815260040161054690611d9e565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b73a8a3c316679f379220b9f974a14115c2156a885381565b6105fe83838360405180602001604052806000815250610a82565b600f546001600160a01b031681565b60006106df610603565b82106106fd5760405162461bcd60e51b8152600401610546906123df565b6009828154811061071e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806104855760405162461bcd60e51b815260040161054690612068565b60006001600160a01b03821661078d5760405162461bcd60e51b81526004016105469061201e565b506001600160a01b031660009081526003602052604090205490565b6107b1610d6c565b6001600160a01b03166107c26107f4565b6001600160a01b0316146107e85760405162461bcd60e51b815260040161054690612214565b6107f26000610f88565b565b600b546001600160a01b031690565b60606001805461049c90612501565b600f546001600160a01b031661083a5760405162461bcd60e51b815260040161054690612454565b61084e61084633610fda565b848484610ffe565b600f546001600160a01b0390811691161461087b5760405162461bcd60e51b815260040161054690611d3a565b336000908152600d602052604090205460ff16156108ab5760405162461bcd60e51b815260040161054690612292565b34660aa87bee53800011156108d25760405162461bcd60e51b815260040161054690612359565b6127106108dd610603565b6108e8906001612492565b11156109065760405162461bcd60e51b8152600401610546906120b1565b60405173a8a3c316679f379220b9f974a14115c2156a8853903480156108fc02916000818181858888f19350505050158015610946573d6000803e3d6000fd5b50610951600c611025565b600061095d600c61102e565b90506109693382611032565b336000818152600d6020526040808220805460ff1916600117905551839291907fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f8908290a450505050565b6109bc610d6c565b6001600160a01b0316826001600160a01b031614156109ed5760405162461bcd60e51b815260040161054690611efc565b80600560006109fa610d6c565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610a3e610d6c565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610a769190611cc7565b60405180910390a35050565b610a93610a8d610d6c565b83610dde565b610aaf5760405162461bcd60e51b81526004016105469061238e565b610abb84848484611111565b50505050565b6060610acc82610d4f565b610ae85760405162461bcd60e51b815260040161054690612177565b60008281526006602052604081208054610b0190612501565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2d90612501565b8015610b7a5780601f10610b4f57610100808354040283529160200191610b7a565b820191906000526020600020905b815481529060010190602001808311610b5d57829003601f168201915b505050505090506000610b8b611144565b9050805160001415610b9f57509050610488565b815115610bd1578082604051602001610bb9929190611bec565b60405160208183030381529060405292505050610488565b610bda84611153565b949350505050565b610bea610d6c565b6001600160a01b0316610bfb6107f4565b6001600160a01b031614610c215760405162461bcd60e51b815260040161054690612214565b600f546001600160a01b0316610c495760405162461bcd60e51b81526004016105469061242b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b660aa87bee53800081565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b600d6020526000908152604090205460ff1681565b610cc1610d6c565b6001600160a01b0316610cd26107f4565b6001600160a01b031614610cf85760405162461bcd60e51b815260040161054690612214565b6001600160a01b038116610d1e5760405162461bcd60e51b815260040161054690611e3b565b610d2781610f88565b50565b60006001600160e01b0319821663780e9d6360e01b14806104855750610485826111d6565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610da582610730565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610de982610d4f565b610e055760405162461bcd60e51b815260040161054690611f75565b6000610e1083610730565b9050806001600160a01b0316846001600160a01b03161480610e4b5750836001600160a01b0316610e408461051f565b6001600160a01b0316145b80610bda5750610bda8185610c76565b826001600160a01b0316610e6e82610730565b6001600160a01b031614610e945760405162461bcd60e51b815260040161054690612249565b6001600160a01b038216610eba5760405162461bcd60e51b815260040161054690611eb8565b610ec5838383611216565b610ed0600082610d70565b6001600160a01b0383166000908152600360205260408120805460019290610ef99084906124be565b90915550506001600160a01b0382166000908152600360205260408120805460019290610f27908490612492565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b0392909216600560a21b18601483015260348201905290565b60008061100a86611221565b9050600061101a8287878761125c565b979650505050505050565b80546001019055565b5490565b6001600160a01b0382166110585760405162461bcd60e51b815260040161054690612142565b61106181610d4f565b1561107e5760405162461bcd60e51b815260040161054690611e81565b61108a60008383611216565b6001600160a01b03821660009081526003602052604081208054600192906110b3908490612492565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61111c848484610e5b565b61112884848484611284565b610abb5760405162461bcd60e51b815260040161054690611de9565b6060600e805461049c90612501565b606061115e82610d4f565b61117a5760405162461bcd60e51b8152600401610546906122c9565b6000611184611144565b905060008151116111a457604051806020016040528060008152506111cf565b806111ae8461139c565b6040516020016111bf929190611bec565b6040516020818303038152906040525b9392505050565b60006001600160e01b031982166380ac58cd60e01b148061120757506001600160e01b03198216635b5e139f60e01b145b806104855750610485826114b7565b6105fe8383836114d0565b600061122d825161139c565b8260405160200161123f929190611c1b565b604051602081830303815290604052805190602001209050919050565b600080600061126d87878787611559565b9150915061127a81611639565b5095945050505050565b6000611298846001600160a01b0316611766565b1561139457836001600160a01b031663150b7a026112b4610d6c565b8786866040518563ffffffff1660e01b81526004016112d69493929190611c8a565b602060405180830381600087803b1580156112f057600080fd5b505af1925050508015611320575060408051601f3d908101601f1916820190925261131d91810190611b53565b60015b61137a573d80801561134e576040519150601f19603f3d011682016040523d82523d6000602084013e611353565b606091505b5080516113725760405162461bcd60e51b815260040161054690611de9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610bda565b506001610bda565b6060816113c157506040805180820190915260018152600360fc1b6020820152610488565b8160005b81156113eb57806113d58161253c565b91506113e49050600a836124aa565b91506113c5565b60008167ffffffffffffffff81111561141457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561143e576020820181803683370190505b5090505b8415610bda576114536001836124be565b9150611460600a86612557565b61146b906030612492565b60f81b81838151811061148e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506114b0600a866124aa565b9450611442565b6001600160e01b031981166301ffc9a760e01b14919050565b6114db8383836105fe565b6001600160a01b0383166114f7576114f28161176c565b61151a565b816001600160a01b0316836001600160a01b03161461151a5761151a83826117b0565b6001600160a01b038216611536576115318161184d565b6105fe565b826001600160a01b0316826001600160a01b0316146105fe576105fe8282611926565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156115905750600090506003611630565b8460ff16601b141580156115a857508460ff16601c14155b156115b95750600090506004611630565b6000600187878787604051600081526020016040526040516115de9493929190611cd2565b6020604051602081039080840390855afa158015611600573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661162957600060019250925050611630565b9150600090505b94509492505050565b600081600481111561165b57634e487b7160e01b600052602160045260246000fd5b141561166657610d27565b600181600481111561168857634e487b7160e01b600052602160045260246000fd5b14156116a65760405162461bcd60e51b815260040161054690611d03565b60028160048111156116c857634e487b7160e01b600052602160045260246000fd5b14156116e65760405162461bcd60e51b815260040161054690611d67565b600381600481111561170857634e487b7160e01b600052602160045260246000fd5b14156117265760405162461bcd60e51b815260040161054690611f33565b600481600481111561174857634e487b7160e01b600052602160045260246000fd5b1415610d275760405162461bcd60e51b815260040161054690612100565b3b151590565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b600060016117bd84610765565b6117c791906124be565b60008381526008602052604090205490915080821461181a576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60095460009061185f906001906124be565b6000838152600a60205260408120546009805493945090928490811061189557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600983815481106118c457634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a9091526040808220849055858252812055600980548061190a57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061193183610765565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b80356001600160a01b038116811461048857600080fd5b600060208284031215611992578081fd5b6111cf8261196a565b600080604083850312156119ad578081fd5b6119b68361196a565b91506119c46020840161196a565b90509250929050565b6000806000606084860312156119e1578081fd5b6119ea8461196a565b92506119f86020850161196a565b9150604084013590509250925092565b60008060008060808587031215611a1d578081fd5b611a268561196a565b93506020611a3581870161196a565b935060408601359250606086013567ffffffffffffffff80821115611a58578384fd5b818801915088601f830112611a6b578384fd5b813581811115611a7d57611a7d612597565b604051601f8201601f1916810185018381118282101715611aa057611aa0612597565b60405281815283820185018b1015611ab6578586fd5b81858501868301379081019093019390935250939692955090935050565b60008060408385031215611ae6578182fd5b611aef8361196a565b915060208301358015158114611b03578182fd5b809150509250929050565b60008060408385031215611b20578182fd5b611b298361196a565b946020939093013593505050565b600060208284031215611b48578081fd5b81356111cf816125ad565b600060208284031215611b64578081fd5b81516111cf816125ad565b600060208284031215611b80578081fd5b5035919050565b600080600060608486031215611b9b578283fd5b833560ff81168114611bab578384fd5b95602085013595506040909401359392505050565b60008151808452611bd88160208601602086016124d5565b601f01601f19169290920160200192915050565b60008351611bfe8184602088016124d5565b835190830190611c128183602088016124d5565b01949350505050565b60007f19457468657265756d205369676e6564204d6573736167653a0a00000000000082528351611c5381601a8501602088016124d5565b835190830190611c6a81601a8401602088016124d5565b01601a01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611cbd90830184611bc0565b9695505050505050565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526111cf6020830184611bc0565b60208082526018908201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604082015260600190565b6020808252601390820152721b5a5b9d0e881b9bdd081c5d585b1a599a5959606a1b604082015260600190565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602f908201527f6d696e743a20507572636861736520776f756c6420657863656564206d61782060408201526e0737570706c79206f6620313030303608c1b606082015260800190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252601d908201527f6d696e743a596f752063616e206f6e6c7920627579206974206f6e6365000000604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252818101527f6d696e743a2045746865722076616c7565206973206e6f7420636f7272656374604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b6020808252600f908201526e1859191c995cdcc81a5b9d985b1a59608a1b604082015260600190565b6020808252818101527f6d696e743a206164647265737328302920213d207365637265745369676e6572604082015260600190565b90815260200190565b600082198211156124a5576124a561256b565b500190565b6000826124b9576124b9612581565b500490565b6000828210156124d0576124d061256b565b500390565b60005b838110156124f05781810151838201526020016124d8565b83811115610abb5750506000910152565b60028104600182168061251557607f821691505b6020821081141561253657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156125505761255061256b565b5060010190565b60008261256657612566612581565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d2757600080fdfea2646970667358221220e70533cfdf440d056c8a42214069ab41b044450c378325e0b54747f0e907bf2164736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000284d65746156697361204865726f20417373656d626c79202d204c696d697465642045646974696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104d56204865726f20417373656d626c7900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f697066732d676174657761792e736c6f70652e66696e616e63652f697066732f516d58517262584148397857654b6363563751474d787a37575274466278475a75684a5656704a3534516e6733752f000000000000000000

-----Decoded View---------------
Arg [0] : name (string): MetaVisa Hero Assembly - Limited Edition
Arg [1] : symbol (string): MV Hero Assembly
Arg [2] : baseTokenURI (string): https://ipfs-gateway.slope.finance/ipfs/QmXQrbXAH9xWeKccV7QGMxz7WRtFbxGZuhJVVpJ54Qng3u/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [4] : 4d65746156697361204865726f20417373656d626c79202d204c696d69746564
Arg [5] : 2045646974696f6e000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [7] : 4d56204865726f20417373656d626c7900000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [9] : 68747470733a2f2f697066732d676174657761792e736c6f70652e66696e616e
Arg [10] : 63652f697066732f516d58517262584148397857654b6363563751474d787a37
Arg [11] : 575274466278475a75684a5656704a3534516e6733752f000000000000000000


Deployed Bytecode Sourcemap

55431:3735:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58202:222;;;;;;;;;;-1:-1:-1;58202:222:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;20859:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22419:221::-;;;;;;;;;;-1:-1:-1;22419:221:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;21942:411::-;;;;;;;;;;-1:-1:-1;21942:411:0;;;;;:::i;:::-;;:::i;:::-;;36188:113;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23309:339::-;;;;;;;;;;-1:-1:-1;23309:339:0;;;;;:::i;:::-;;:::i;35856:256::-;;;;;;;;;;-1:-1:-1;35856:256:0;;;;;:::i;:::-;;:::i;55808:96::-;;;;;;;;;;;;;:::i;23719:185::-;;;;;;;;;;-1:-1:-1;23719:185:0;;;;;:::i;:::-;;:::i;55911:72::-;;;;;;;;;;;;;:::i;36378:233::-;;;;;;;;;;-1:-1:-1;36378:233:0;;;;;:::i;:::-;;:::i;20553:239::-;;;;;;;;;;-1:-1:-1;20553:239:0;;;;;:::i;:::-;;:::i;20283:208::-;;;;;;;;;;-1:-1:-1;20283:208:0;;;;;:::i;:::-;;:::i;53993:103::-;;;;;;;;;;;;;:::i;53342:87::-;;;;;;;;;;;;;:::i;21028:104::-;;;;;;;;;;;;;:::i;57153:753::-;;;;;;:::i;:::-;;:::i;22712:295::-;;;;;;;;;;-1:-1:-1;22712:295:0;;;;;:::i;:::-;;:::i;23975:328::-;;;;;;;;;;-1:-1:-1;23975:328:0;;;;;:::i;:::-;;:::i;32354:679::-;;;;;;;;;;-1:-1:-1;32354:679:0;;;;;:::i;:::-;;:::i;56446:187::-;;;;;;;;;;-1:-1:-1;56446:187:0;;;;;:::i;:::-;;:::i;55758:41::-;;;;;;;;;;;;;:::i;23078:164::-;;;;;;;;;;-1:-1:-1;23078:164:0;;;;;:::i;:::-;;:::i;55675:37::-;;;;;;;;;;-1:-1:-1;55675:37:0;;;;;:::i;:::-;;:::i;54251:201::-;;;;;;;;;;-1:-1:-1;54251:201:0;;;;;:::i;:::-;;:::i;58202:222::-;58351:4;58380:36;58404:11;58380:23;:36::i;:::-;58373:43;;58202:222;;;;:::o;20859:100::-;20913:13;20946:5;20939:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20859:100;:::o;22419:221::-;22495:7;22523:16;22531:7;22523;:16::i;:::-;22515:73;;;;-1:-1:-1;;;22515:73:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;22608:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22608:24:0;;22419:221::o;21942:411::-;22023:13;22039:23;22054:7;22039:14;:23::i;:::-;22023:39;;22087:5;-1:-1:-1;;;;;22081:11:0;:2;-1:-1:-1;;;;;22081:11:0;;;22073:57;;;;-1:-1:-1;;;22073:57:0;;;;;;;:::i;:::-;22181:5;-1:-1:-1;;;;;22165:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;22165:21:0;;:62;;;;22190:37;22207:5;22214:12;:10;:12::i;22190:37::-;22143:168;;;;-1:-1:-1;;;22143:168:0;;;;;;;:::i;:::-;22324:21;22333:2;22337:7;22324:8;:21::i;:::-;21942:411;;;:::o;36188:113::-;36276:10;:17;36188:113;:::o;23309:339::-;23504:41;23523:12;:10;:12::i;:::-;23537:7;23504:18;:41::i;:::-;23496:103;;;;-1:-1:-1;;;23496:103:0;;;;;;;:::i;:::-;23612:28;23622:4;23628:2;23632:7;23612:9;:28::i;35856:256::-;35953:7;35989:23;36006:5;35989:16;:23::i;:::-;35981:5;:31;35973:87;;;;-1:-1:-1;;;35973:87:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;36078:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;35856:256::o;55808:96::-;55861:42;55808:96;:::o;23719:185::-;23857:39;23874:4;23880:2;23884:7;23857:39;;;;;;;;;;;;:16;:39::i;55911:72::-;;;-1:-1:-1;;;;;55911:72:0;;:::o;36378:233::-;36453:7;36489:30;:28;:30::i;:::-;36481:5;:38;36473:95;;;;-1:-1:-1;;;36473:95:0;;;;;;;:::i;:::-;36586:10;36597:5;36586:17;;;;;;-1:-1:-1;;;36586:17:0;;;;;;;;;;;;;;;;;36579:24;;36378:233;;;:::o;20553:239::-;20625:7;20661:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20661:16:0;20696:19;20688:73;;;;-1:-1:-1;;;20688:73:0;;;;;;;:::i;20283:208::-;20355:7;-1:-1:-1;;;;;20383:19:0;;20375:74;;;;-1:-1:-1;;;20375:74:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;20467:16:0;;;;;:9;:16;;;;;;;20283:208::o;53993:103::-;53573:12;:10;:12::i;:::-;-1:-1:-1;;;;;53562:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;53562:23:0;;53554:68;;;;-1:-1:-1;;;53554:68:0;;;;;;;:::i;:::-;54058:30:::1;54085:1;54058:18;:30::i;:::-;53993:103::o:0;53342:87::-;53415:6;;-1:-1:-1;;;;;53415:6:0;53342:87;:::o;21028:104::-;21084:13;21117:7;21110:14;;;;;:::i;57153:753::-;57256:12;;-1:-1:-1;;;;;57256:12:0;57234:71;;;;-1:-1:-1;;;57234:71:0;;;;;;;:::i;:::-;57340:38;57351:20;57360:10;57351:8;:20::i;:::-;57372:1;57374;57376;57340:10;:38::i;:::-;57324:12;;-1:-1:-1;;;;;57324:12:0;;;:54;;;57316:86;;;;-1:-1:-1;;;57316:86:0;;;;;;;:::i;:::-;57428:10;57422:17;;;;:5;:17;;;;;;;;57421:18;57413:60;;;;-1:-1:-1;;;57413:60:0;;;;;;;:::i;:::-;57499:9;55788:11;57492:16;;57484:61;;;;-1:-1:-1;;;57484:61:0;;;;;;;:::i;:::-;57585:5;57564:13;:11;:13::i;:::-;:17;;57580:1;57564:17;:::i;:::-;:26;;57556:86;;;;-1:-1:-1;;;57556:86:0;;;;;;;:::i;:::-;57653:30;;55861:42;;57673:9;57653:30;;;;;;;;;57673:9;55861:42;57653:30;;;;;;;;;;;;;;;;;;;;;57694:27;:15;:25;:27::i;:::-;57732:15;57750:25;:15;:23;:25::i;:::-;57732:43;;57786:26;57792:10;57804:7;57786:5;:26::i;:::-;57829:10;57823:17;;;;:5;:17;;;;;;:22;;-1:-1:-1;;57823:22:0;57841:4;57823:22;;;57861:37;57890:7;;57829:10;57823:17;57861:37;;57823:17;;57861:37;57153:753;;;;:::o;22712:295::-;22827:12;:10;:12::i;:::-;-1:-1:-1;;;;;22815:24:0;:8;-1:-1:-1;;;;;22815:24:0;;;22807:62;;;;-1:-1:-1;;;22807:62:0;;;;;;;:::i;:::-;22927:8;22882:18;:32;22901:12;:10;:12::i;:::-;-1:-1:-1;;;;;22882:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;22882:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;22882:53:0;;;;;;;;;;;22966:12;:10;:12::i;:::-;-1:-1:-1;;;;;22951:48:0;;22990:8;22951:48;;;;;;:::i;:::-;;;;;;;;22712:295;;:::o;23975:328::-;24150:41;24169:12;:10;:12::i;:::-;24183:7;24150:18;:41::i;:::-;24142:103;;;;-1:-1:-1;;;24142:103:0;;;;;;;:::i;:::-;24256:39;24270:4;24276:2;24280:7;24289:5;24256:13;:39::i;:::-;23975:328;;;;:::o;32354:679::-;32427:13;32461:16;32469:7;32461;:16::i;:::-;32453:78;;;;-1:-1:-1;;;32453:78:0;;;;;;;:::i;:::-;32544:23;32570:19;;;:10;:19;;;;;32544:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32600:18;32621:10;:8;:10::i;:::-;32600:31;;32713:4;32707:18;32729:1;32707:23;32703:72;;;-1:-1:-1;32754:9:0;-1:-1:-1;32747:16:0;;32703:72;32879:23;;:27;32875:108;;32954:4;32960:9;32937:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32923:48;;;;;;32875:108;33002:23;33017:7;33002:14;:23::i;:::-;32995:30;32354:679;-1:-1:-1;;;;32354:679:0:o;56446:187::-;53573:12;:10;:12::i;:::-;-1:-1:-1;;;;;53562:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;53562:23:0;;53554:68;;;;-1:-1:-1;;;53554:68:0;;;;;;;:::i;:::-;56540:12:::1;::::0;-1:-1:-1;;;;;56540:12:0::1;56532:54;;;;-1:-1:-1::0;;;56532:54:0::1;;;;;;;:::i;:::-;56597:12;:28:::0;;-1:-1:-1;;;;;;56597:28:0::1;-1:-1:-1::0;;;;;56597:28:0;;;::::1;::::0;;;::::1;::::0;;56446:187::o;55758:41::-;55788:11;55758:41;:::o;23078:164::-;-1:-1:-1;;;;;23199:25:0;;;23175:4;23199:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23078:164::o;55675:37::-;;;;;;;;;;;;;;;:::o;54251:201::-;53573:12;:10;:12::i;:::-;-1:-1:-1;;;;;53562:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;53562:23:0;;53554:68;;;;-1:-1:-1;;;53554:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;54340:22:0;::::1;54332:73;;;;-1:-1:-1::0;;;54332:73:0::1;;;;;;;:::i;:::-;54416:28;54435:8;54416:18;:28::i;:::-;54251:201:::0;:::o;35548:224::-;35650:4;-1:-1:-1;;;;;;35674:50:0;;-1:-1:-1;;;35674:50:0;;:90;;;35728:36;35752:11;35728:23;:36::i;25813:127::-;25878:4;25902:16;;;:7;:16;;;;;;-1:-1:-1;;;;;25902:16:0;:30;;;25813:127::o;673:98::-;753:10;673:98;:::o;29795:174::-;29870:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;29870:29:0;-1:-1:-1;;;;;29870:29:0;;;;;;;;:24;;29924:23;29870:24;29924:14;:23::i;:::-;-1:-1:-1;;;;;29915:46:0;;;;;;;;;;;29795:174;;:::o;26107:348::-;26200:4;26225:16;26233:7;26225;:16::i;:::-;26217:73;;;;-1:-1:-1;;;26217:73:0;;;;;;;:::i;:::-;26301:13;26317:23;26332:7;26317:14;:23::i;:::-;26301:39;;26370:5;-1:-1:-1;;;;;26359:16:0;:7;-1:-1:-1;;;;;26359:16:0;;:51;;;;26403:7;-1:-1:-1;;;;;26379:31:0;:20;26391:7;26379:11;:20::i;:::-;-1:-1:-1;;;;;26379:31:0;;26359:51;:87;;;;26414:32;26431:5;26438:7;26414:16;:32::i;29099:578::-;29258:4;-1:-1:-1;;;;;29231:31:0;:23;29246:7;29231:14;:23::i;:::-;-1:-1:-1;;;;;29231:31:0;;29223:85;;;;-1:-1:-1;;;29223:85:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;29327:16:0;;29319:65;;;;-1:-1:-1;;;29319:65:0;;;;;;;:::i;:::-;29397:39;29418:4;29424:2;29428:7;29397:20;:39::i;:::-;29501:29;29518:1;29522:7;29501:8;:29::i;:::-;-1:-1:-1;;;;;29543:15:0;;;;;;:9;:15;;;;;:20;;29562:1;;29543:15;:20;;29562:1;;29543:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29574:13:0;;;;;;:9;:13;;;;;:18;;29591:1;;29574:13;:18;;29591:1;;29574:18;:::i;:::-;;;;-1:-1:-1;;29603:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29603:21:0;-1:-1:-1;;;;;29603:21:0;;;;;;;;;29642:27;;29603:16;;29642:27;;;;;;;29099:578;;;:::o;54612:191::-;54705:6;;;-1:-1:-1;;;;;54722:17:0;;;-1:-1:-1;;;;;;54722:17:0;;;;;;;54755:40;;54705:6;;;54722:17;54705:6;;54755:40;;54686:16;;54755:40;54612:191;;:::o;58687:403::-;58805:4;58799:11;;-1:-1:-1;;;;;58829:50:0;;;;-1:-1:-1;;;58947:52:0;58925:2;58918:10;;58893:121;59048:2;59041:10;;59028:24;;58799:11;58775:308::o;58432:247::-;58519:7;58538:12;58553:31;58582:1;58553:28;:31::i;:::-;58538:46;;58595:19;58617:25;58631:4;58636:1;58638;58640;58617:13;:25::i;:::-;58595:47;58432:247;-1:-1:-1;;;;;;;58432:247:0:o;42549:127::-;42638:19;;42656:1;42638:19;;;42549:127::o;42427:114::-;42519:14;;42427:114::o;27791:382::-;-1:-1:-1;;;;;27871:16:0;;27863:61;;;;-1:-1:-1;;;27863:61:0;;;;;;;:::i;:::-;27944:16;27952:7;27944;:16::i;:::-;27943:17;27935:58;;;;-1:-1:-1;;;27935:58:0;;;;;;;:::i;:::-;28006:45;28035:1;28039:2;28043:7;28006:20;:45::i;:::-;-1:-1:-1;;;;;28064:13:0;;;;;;:9;:13;;;;;:18;;28081:1;;28064:13;:18;;28081:1;;28064:18;:::i;:::-;;;;-1:-1:-1;;28093:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28093:21:0;-1:-1:-1;;;;;28093:21:0;;;;;;;;28132:33;;28093:16;;;28132:33;;28093:16;;28132:33;27791:382;;:::o;25185:315::-;25342:28;25352:4;25358:2;25362:7;25342:9;:28::i;:::-;25389:48;25412:4;25418:2;25422:7;25431:5;25389:22;:48::i;:::-;25381:111;;;;-1:-1:-1;;;25381:111:0;;;;;;;:::i;56641:114::-;56701:13;56734;56727:20;;;;;:::i;21203:334::-;21276:13;21310:16;21318:7;21310;:16::i;:::-;21302:76;;;;-1:-1:-1;;;21302:76:0;;;;;;;:::i;:::-;21391:21;21415:10;:8;:10::i;:::-;21391:34;;21467:1;21449:7;21443:21;:25;:86;;;;;;;;;;;;;;;;;21495:7;21504:18;:7;:16;:18::i;:::-;21478:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;21443:86;21436:93;21203:334;-1:-1:-1;;;21203:334:0:o;19914:305::-;20016:4;-1:-1:-1;;;;;;20053:40:0;;-1:-1:-1;;;20053:40:0;;:105;;-1:-1:-1;;;;;;;20110:48:0;;-1:-1:-1;;;20110:48:0;20053:105;:158;;;;20175:36;20199:11;20175:23;:36::i;57914:216::-;58077:45;58104:4;58110:2;58114:7;58077:26;:45::i;51672:198::-;51743:7;51831:26;51848:1;:8;51831:16;:26::i;:::-;51859:1;51780:81;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51770:92;;;;;;51763:99;;51672:198;;;:::o;50529:279::-;50657:7;50678:17;50697:18;50719:25;50730:4;50736:1;50739;50742;50719:10;:25::i;:::-;50677:67;;;;50755:18;50767:5;50755:11;:18::i;:::-;-1:-1:-1;50791:9:0;50529:279;-1:-1:-1;;;;;50529:279:0:o;30534:799::-;30689:4;30710:15;:2;-1:-1:-1;;;;;30710:13:0;;:15::i;:::-;30706:620;;;30762:2;-1:-1:-1;;;;;30746:36:0;;30783:12;:10;:12::i;:::-;30797:4;30803:7;30812:5;30746:72;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30746:72:0;;;;;;;;-1:-1:-1;;30746:72:0;;;;;;;;;;;;:::i;:::-;;;30742:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30988:13:0;;30984:272;;31031:60;;-1:-1:-1;;;31031:60:0;;;;;;;:::i;30984:272::-;31206:6;31200:13;31191:6;31187:2;31183:15;31176:38;30742:529;-1:-1:-1;;;;;;30869:51:0;-1:-1:-1;;;30869:51:0;;-1:-1:-1;30862:58:0;;30706:620;-1:-1:-1;31310:4:0;31303:11;;9127:723;9183:13;9404:10;9400:53;;-1:-1:-1;9431:10:0;;;;;;;;;;;;-1:-1:-1;;;9431:10:0;;;;;;9400:53;9478:5;9463:12;9519:78;9526:9;;9519:78;;9552:8;;;;:::i;:::-;;-1:-1:-1;9575:10:0;;-1:-1:-1;9583:2:0;9575:10;;:::i;:::-;;;9519:78;;;9607:19;9639:6;9629:17;;;;;;-1:-1:-1;;;9629:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9629:17:0;;9607:39;;9657:154;9664:10;;9657:154;;9691:11;9701:1;9691:11;;:::i;:::-;;-1:-1:-1;9760:10:0;9768:2;9760:5;:10;:::i;:::-;9747:24;;:2;:24;:::i;:::-;9734:39;;9717:6;9724;9717:14;;;;;;-1:-1:-1;;;9717:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;9717:56:0;;;;;;;;-1:-1:-1;9788:11:0;9797:2;9788:11;;:::i;:::-;;;9657:154;;12334:157;-1:-1:-1;;;;;;12443:40:0;;-1:-1:-1;;;12443:40:0;12334:157;;;:::o;37224:589::-;37368:45;37395:4;37401:2;37405:7;37368:26;:45::i;:::-;-1:-1:-1;;;;;37430:18:0;;37426:187;;37465:40;37497:7;37465:31;:40::i;:::-;37426:187;;;37535:2;-1:-1:-1;;;;;37527:10:0;:4;-1:-1:-1;;;;;37527:10:0;;37523:90;;37554:47;37587:4;37593:7;37554:32;:47::i;:::-;-1:-1:-1;;;;;37627:16:0;;37623:183;;37660:45;37697:7;37660:36;:45::i;:::-;37623:183;;;37733:4;-1:-1:-1;;;;;37727:10:0;:2;-1:-1:-1;;;;;37727:10:0;;37723:83;;37754:40;37782:2;37786:7;37754:27;:40::i;48758:1632::-;48889:7;;49823:66;49810:79;;49806:163;;;-1:-1:-1;49922:1:0;;-1:-1:-1;49926:30:0;49906:51;;49806:163;49983:1;:7;;49988:2;49983:7;;:18;;;;;49994:1;:7;;49999:2;49994:7;;49983:18;49979:102;;;-1:-1:-1;50034:1:0;;-1:-1:-1;50038:30:0;50018:51;;49979:102;50178:14;50195:24;50205:4;50211:1;50214;50217;50195:24;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50195:24:0;;-1:-1:-1;;50195:24:0;;;-1:-1:-1;;;;;;;50234:20:0;;50230:103;;50287:1;50291:29;50271:50;;;;;;;50230:103;50353:6;-1:-1:-1;50361:20:0;;-1:-1:-1;48758:1632:0;;;;;;;;:::o;43420:643::-;43498:20;43489:5;:29;;;;;;-1:-1:-1;;;43489:29:0;;;;;;;;;;43485:571;;;43535:7;;43485:571;43596:29;43587:5;:38;;;;;;-1:-1:-1;;;43587:38:0;;;;;;;;;;43583:473;;;43642:34;;-1:-1:-1;;;43642:34:0;;;;;;;:::i;43583:473::-;43707:35;43698:5;:44;;;;;;-1:-1:-1;;;43698:44:0;;;;;;;;;;43694:362;;;43759:41;;-1:-1:-1;;;43759:41:0;;;;;;;:::i;43694:362::-;43831:30;43822:5;:39;;;;;;-1:-1:-1;;;43822:39:0;;;;;;;;;;43818:238;;;43878:44;;-1:-1:-1;;;43878:44:0;;;;;;;:::i;43818:238::-;43953:30;43944:5;:39;;;;;;-1:-1:-1;;;43944:39:0;;;;;;;;;;43940:116;;;44000:44;;-1:-1:-1;;;44000:44:0;;;;;;;:::i;1570:387::-;1893:20;1941:8;;;1570:387::o;38536:164::-;38640:10;:17;;38613:24;;;;:15;:24;;;;;:44;;;38668:24;;;;;;;;;;;;38536:164::o;39327:988::-;39593:22;39643:1;39618:22;39635:4;39618:16;:22::i;:::-;:26;;;;:::i;:::-;39655:18;39676:26;;;:17;:26;;;;;;39593:51;;-1:-1:-1;39809:28:0;;;39805:328;;-1:-1:-1;;;;;39876:18:0;;39854:19;39876:18;;;:12;:18;;;;;;;;:34;;;;;;;;;39927:30;;;;;;:44;;;40044:30;;:17;:30;;;;;:43;;;39805:328;-1:-1:-1;40229:26:0;;;;:17;:26;;;;;;;;40222:33;;;-1:-1:-1;;;;;40273:18:0;;;;;:12;:18;;;;;:34;;;;;;;40266:41;39327:988::o;40610:1079::-;40888:10;:17;40863:22;;40888:21;;40908:1;;40888:21;:::i;:::-;40920:18;40941:24;;;:15;:24;;;;;;41314:10;:26;;40863:46;;-1:-1:-1;40941:24:0;;40863:46;;41314:26;;;;-1:-1:-1;;;41314:26:0;;;;;;;;;;;;;;;;;41292:48;;41378:11;41353:10;41364;41353:22;;;;;;-1:-1:-1;;;41353:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;41458:28;;;:15;:28;;;;;;;:41;;;41630:24;;;;;41623:31;41665:10;:16;;;;;-1:-1:-1;;;41665:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;40610:1079;;;;:::o;38114:221::-;38199:14;38216:20;38233:2;38216:16;:20::i;:::-;-1:-1:-1;;;;;38247:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;38292:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;38114:221:0:o;14:175:1:-;84:20;;-1:-1:-1;;;;;133:31:1;;123:42;;113:2;;179:1;176;169:12;194:198;;306:2;294:9;285:7;281:23;277:32;274:2;;;327:6;319;312:22;274:2;355:31;376:9;355:31;:::i;397:274::-;;;526:2;514:9;505:7;501:23;497:32;494:2;;;547:6;539;532:22;494:2;575:31;596:9;575:31;:::i;:::-;565:41;;625:40;661:2;650:9;646:18;625:40;:::i;:::-;615:50;;484:187;;;;;:::o;676:342::-;;;;822:2;810:9;801:7;797:23;793:32;790:2;;;843:6;835;828:22;790:2;871:31;892:9;871:31;:::i;:::-;861:41;;921:40;957:2;946:9;942:18;921:40;:::i;:::-;911:50;;1008:2;997:9;993:18;980:32;970:42;;780:238;;;;;:::o;1023:1178::-;;;;;1195:3;1183:9;1174:7;1170:23;1166:33;1163:2;;;1217:6;1209;1202:22;1163:2;1245:31;1266:9;1245:31;:::i;:::-;1235:41;;1295:2;1316:40;1352:2;1341:9;1337:18;1316:40;:::i;:::-;1306:50;;1403:2;1392:9;1388:18;1375:32;1365:42;;1458:2;1447:9;1443:18;1430:32;1481:18;1522:2;1514:6;1511:14;1508:2;;;1543:6;1535;1528:22;1508:2;1586:6;1575:9;1571:22;1561:32;;1631:7;1624:4;1620:2;1616:13;1612:27;1602:2;;1658:6;1650;1643:22;1602:2;1699;1686:16;1721:2;1717;1714:10;1711:2;;;1727:18;;:::i;:::-;1776:2;1770:9;1845:2;1826:13;;-1:-1:-1;;1822:27:1;1810:40;;1806:49;;1870:18;;;1890:22;;;1867:46;1864:2;;;1916:18;;:::i;:::-;1952:2;1945:22;1976:18;;;2013:11;;;2009:20;;2006:33;-1:-1:-1;2003:2:1;;;2057:6;2049;2042:22;2003:2;2118;2113;2109;2105:11;2100:2;2092:6;2088:15;2075:46;2141:15;;;2137:24;;;2130:40;;;;-1:-1:-1;1153:1048:1;;;;-1:-1:-1;1153:1048:1;;-1:-1:-1;;1153:1048:1:o;2206:369::-;;;2332:2;2320:9;2311:7;2307:23;2303:32;2300:2;;;2353:6;2345;2338:22;2300:2;2381:31;2402:9;2381:31;:::i;:::-;2371:41;;2462:2;2451:9;2447:18;2434:32;2509:5;2502:13;2495:21;2488:5;2485:32;2475:2;;2536:6;2528;2521:22;2475:2;2564:5;2554:15;;;2290:285;;;;;:::o;2580:266::-;;;2709:2;2697:9;2688:7;2684:23;2680:32;2677:2;;;2730:6;2722;2715:22;2677:2;2758:31;2779:9;2758:31;:::i;:::-;2748:41;2836:2;2821:18;;;;2808:32;;-1:-1:-1;;;2667:179:1:o;2851:257::-;;2962:2;2950:9;2941:7;2937:23;2933:32;2930:2;;;2983:6;2975;2968:22;2930:2;3027:9;3014:23;3046:32;3072:5;3046:32;:::i;3113:261::-;;3235:2;3223:9;3214:7;3210:23;3206:32;3203:2;;;3256:6;3248;3241:22;3203:2;3293:9;3287:16;3312:32;3338:5;3312:32;:::i;3379:190::-;;3491:2;3479:9;3470:7;3466:23;3462:32;3459:2;;;3512:6;3504;3497:22;3459:2;-1:-1:-1;3540:23:1;;3449:120;-1:-1:-1;3449:120:1:o;3574:425::-;;;;3718:2;3706:9;3697:7;3693:23;3689:32;3686:2;;;3739:6;3731;3724:22;3686:2;3783:9;3770:23;3833:4;3826:5;3822:16;3815:5;3812:27;3802:2;;3858:6;3850;3843:22;3802:2;3886:5;3938:2;3923:18;;3910:32;;-1:-1:-1;3989:2:1;3974:18;;;3961:32;;3676:323;-1:-1:-1;;;3676:323:1:o;4004:259::-;;4085:5;4079:12;4112:6;4107:3;4100:19;4128:63;4184:6;4177:4;4172:3;4168:14;4161:4;4154:5;4150:16;4128:63;:::i;:::-;4245:2;4224:15;-1:-1:-1;;4220:29:1;4211:39;;;;4252:4;4207:50;;4055:208;-1:-1:-1;;4055:208:1:o;4268:470::-;;4485:6;4479:13;4501:53;4547:6;4542:3;4535:4;4527:6;4523:17;4501:53;:::i;:::-;4617:13;;4576:16;;;;4639:57;4617:13;4576:16;4673:4;4661:17;;4639:57;:::i;:::-;4712:20;;4455:283;-1:-1:-1;;;;4455:283:1:o;4743:675::-;;5051:66;5046:3;5039:79;5147:6;5141:13;5163:62;5218:6;5213:2;5208:3;5204:12;5197:4;5189:6;5185:17;5163:62;:::i;:::-;5285:13;;5244:16;;;;5307:63;5285:13;5356:2;5348:11;;5341:4;5329:17;;5307:63;:::i;:::-;5390:17;5409:2;5386:26;;5029:389;-1:-1:-1;;;;5029:389:1:o;5423:203::-;-1:-1:-1;;;;;5587:32:1;;;;5569:51;;5557:2;5542:18;;5524:102::o;5855:490::-;-1:-1:-1;;;;;6124:15:1;;;6106:34;;6176:15;;6171:2;6156:18;;6149:43;6223:2;6208:18;;6201:34;;;6271:3;6266:2;6251:18;;6244:31;;;5855:490;;6292:47;;6319:19;;6311:6;6292:47;:::i;:::-;6284:55;6058:287;-1:-1:-1;;;;;;6058:287:1:o;6350:187::-;6515:14;;6508:22;6490:41;;6478:2;6463:18;;6445:92::o;6542:398::-;6769:25;;;6842:4;6830:17;;;;6825:2;6810:18;;6803:45;6879:2;6864:18;;6857:34;6922:2;6907:18;;6900:34;6756:3;6741:19;;6723:217::o;6945:221::-;;7094:2;7083:9;7076:21;7114:46;7156:2;7145:9;7141:18;7133:6;7114:46;:::i;7171:348::-;7373:2;7355:21;;;7412:2;7392:18;;;7385:30;7451:26;7446:2;7431:18;;7424:54;7510:2;7495:18;;7345:174::o;7524:343::-;7726:2;7708:21;;;7765:2;7745:18;;;7738:30;-1:-1:-1;;;7799:2:1;7784:18;;7777:49;7858:2;7843:18;;7698:169::o;7872:355::-;8074:2;8056:21;;;8113:2;8093:18;;;8086:30;8152:33;8147:2;8132:18;;8125:61;8218:2;8203:18;;8046:181::o;8232:407::-;8434:2;8416:21;;;8473:2;8453:18;;;8446:30;8512:34;8507:2;8492:18;;8485:62;-1:-1:-1;;;8578:2:1;8563:18;;8556:41;8629:3;8614:19;;8406:233::o;8644:414::-;8846:2;8828:21;;;8885:2;8865:18;;;8858:30;8924:34;8919:2;8904:18;;8897:62;-1:-1:-1;;;8990:2:1;8975:18;;8968:48;9048:3;9033:19;;8818:240::o;9063:402::-;9265:2;9247:21;;;9304:2;9284:18;;;9277:30;9343:34;9338:2;9323:18;;9316:62;-1:-1:-1;;;9409:2:1;9394:18;;9387:36;9455:3;9440:19;;9237:228::o;9470:352::-;9672:2;9654:21;;;9711:2;9691:18;;;9684:30;9750;9745:2;9730:18;;9723:58;9813:2;9798:18;;9644:178::o;9827:400::-;10029:2;10011:21;;;10068:2;10048:18;;;10041:30;10107:34;10102:2;10087:18;;10080:62;-1:-1:-1;;;10173:2:1;10158:18;;10151:34;10217:3;10202:19;;10001:226::o;10232:349::-;10434:2;10416:21;;;10473:2;10453:18;;;10446:30;10512:27;10507:2;10492:18;;10485:55;10572:2;10557:18;;10406:175::o;10586:398::-;10788:2;10770:21;;;10827:2;10807:18;;;10800:30;10866:34;10861:2;10846:18;;10839:62;-1:-1:-1;;;10932:2:1;10917:18;;10910:32;10974:3;10959:19;;10760:224::o;10989:408::-;11191:2;11173:21;;;11230:2;11210:18;;;11203:30;11269:34;11264:2;11249:18;;11242:62;-1:-1:-1;;;11335:2:1;11320:18;;11313:42;11387:3;11372:19;;11163:234::o;11402:420::-;11604:2;11586:21;;;11643:2;11623:18;;;11616:30;11682:34;11677:2;11662:18;;11655:62;11753:26;11748:2;11733:18;;11726:54;11812:3;11797:19;;11576:246::o;11827:406::-;12029:2;12011:21;;;12068:2;12048:18;;;12041:30;12107:34;12102:2;12087:18;;12080:62;-1:-1:-1;;;12173:2:1;12158:18;;12151:40;12223:3;12208:19;;12001:232::o;12238:405::-;12440:2;12422:21;;;12479:2;12459:18;;;12452:30;12518:34;12513:2;12498:18;;12491:62;-1:-1:-1;;;12584:2:1;12569:18;;12562:39;12633:3;12618:19;;12412:231::o;12648:411::-;12850:2;12832:21;;;12889:2;12869:18;;;12862:30;12928:34;12923:2;12908:18;;12901:62;-1:-1:-1;;;12994:2:1;12979:18;;12972:45;13049:3;13034:19;;12822:237::o;13064:398::-;13266:2;13248:21;;;13305:2;13285:18;;;13278:30;13344:34;13339:2;13324:18;;13317:62;-1:-1:-1;;;13410:2:1;13395:18;;13388:32;13452:3;13437:19;;13238:224::o;13467:356::-;13669:2;13651:21;;;13688:18;;;13681:30;13747:34;13742:2;13727:18;;13720:62;13814:2;13799:18;;13641:182::o;13828:413::-;14030:2;14012:21;;;14069:2;14049:18;;;14042:30;14108:34;14103:2;14088:18;;14081:62;-1:-1:-1;;;14174:2:1;14159:18;;14152:47;14231:3;14216:19;;14002:239::o;14246:408::-;14448:2;14430:21;;;14487:2;14467:18;;;14460:30;14526:34;14521:2;14506:18;;14499:62;-1:-1:-1;;;14592:2:1;14577:18;;14570:42;14644:3;14629:19;;14420:234::o;14659:356::-;14861:2;14843:21;;;14880:18;;;14873:30;14939:34;14934:2;14919:18;;14912:62;15006:2;14991:18;;14833:182::o;15020:405::-;15222:2;15204:21;;;15261:2;15241:18;;;15234:30;15300:34;15295:2;15280:18;;15273:62;-1:-1:-1;;;15366:2:1;15351:18;;15344:39;15415:3;15400:19;;15194:231::o;15430:353::-;15632:2;15614:21;;;15671:2;15651:18;;;15644:30;15710:31;15705:2;15690:18;;15683:59;15774:2;15759:18;;15604:179::o;15788:411::-;15990:2;15972:21;;;16029:2;16009:18;;;16002:30;16068:34;16063:2;16048:18;;16041:62;-1:-1:-1;;;16134:2:1;16119:18;;16112:45;16189:3;16174:19;;15962:237::o;16204:397::-;16406:2;16388:21;;;16445:2;16425:18;;;16418:30;16484:34;16479:2;16464:18;;16457:62;-1:-1:-1;;;16550:2:1;16535:18;;16528:31;16591:3;16576:19;;16378:223::o;16606:356::-;16808:2;16790:21;;;16827:18;;;16820:30;16886:34;16881:2;16866:18;;16859:62;16953:2;16938:18;;16780:182::o;16967:413::-;17169:2;17151:21;;;17208:2;17188:18;;;17181:30;17247:34;17242:2;17227:18;;17220:62;-1:-1:-1;;;17313:2:1;17298:18;;17291:47;17370:3;17355:19;;17141:239::o;17385:408::-;17587:2;17569:21;;;17626:2;17606:18;;;17599:30;17665:34;17660:2;17645:18;;17638:62;-1:-1:-1;;;17731:2:1;17716:18;;17709:42;17783:3;17768:19;;17559:234::o;17798:339::-;18000:2;17982:21;;;18039:2;18019:18;;;18012:30;-1:-1:-1;;;18073:2:1;18058:18;;18051:45;18128:2;18113:18;;17972:165::o;18142:356::-;18344:2;18326:21;;;18363:18;;;18356:30;18422:34;18417:2;18402:18;;18395:62;18489:2;18474:18;;18316:182::o;18503:177::-;18649:25;;;18637:2;18622:18;;18604:76::o;18685:128::-;;18756:1;18752:6;18749:1;18746:13;18743:2;;;18762:18;;:::i;:::-;-1:-1:-1;18798:9:1;;18733:80::o;18818:120::-;;18884:1;18874:2;;18889:18;;:::i;:::-;-1:-1:-1;18923:9:1;;18864:74::o;18943:125::-;;19011:1;19008;19005:8;19002:2;;;19016:18;;:::i;:::-;-1:-1:-1;19053:9:1;;18992:76::o;19073:258::-;19145:1;19155:113;19169:6;19166:1;19163:13;19155:113;;;19245:11;;;19239:18;19226:11;;;19219:39;19191:2;19184:10;19155:113;;;19286:6;19283:1;19280:13;19277:2;;;-1:-1:-1;;19321:1:1;19303:16;;19296:27;19126:205::o;19336:380::-;19421:1;19411:12;;19468:1;19458:12;;;19479:2;;19533:4;19525:6;19521:17;19511:27;;19479:2;19586;19578:6;19575:14;19555:18;19552:38;19549:2;;;19632:10;19627:3;19623:20;19620:1;19613:31;19667:4;19664:1;19657:15;19695:4;19692:1;19685:15;19549:2;;19391:325;;;:::o;19721:135::-;;-1:-1:-1;;19781:17:1;;19778:2;;;19801:18;;:::i;:::-;-1:-1:-1;19848:1:1;19837:13;;19768:88::o;19861:112::-;;19919:1;19909:2;;19924:18;;:::i;:::-;-1:-1:-1;19958:9:1;;19899:74::o;19978:127::-;20039:10;20034:3;20030:20;20027:1;20020:31;20070:4;20067:1;20060:15;20094:4;20091:1;20084:15;20110:127;20171:10;20166:3;20162:20;20159:1;20152:31;20202:4;20199:1;20192:15;20226:4;20223:1;20216:15;20242:127;20303:10;20298:3;20294:20;20291:1;20284:31;20334:4;20331:1;20324:15;20358:4;20355:1;20348:15;20374:133;-1:-1:-1;;;;;;20450:32:1;;20440:43;;20430:2;;20497:1;20494;20487:12

Swarm Source

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