ETH Price: $2,164.23 (+0.76%)

Token

Avator (Avator)
 

Overview

Max Total Supply

0 Avator

Holders

52

Transfers

-
0 (0%)

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

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:
Avator

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Avator is ERC721URIStorage {
    string baseURI;
    address public owner;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    constructor(string memory baseURI_) ERC721("Avator", "Avator") {
        owner = msg.sender;
        baseURI = baseURI_;
        _tokenIds.increment();
    }

    function mint(address player)
        public
        onlyOwner
    {
        uint256 newItemId = _tokenIds.current();
        _mint(player, newItemId);
        _tokenIds.increment();
    }

    function setBaseURI(string memory baseURI_) external onlyOwner  {
        baseURI = baseURI_;
    }

    function tokenURI(uint tokenId) public view override returns (string memory) {
        return string.concat(baseURI, Strings.toString(tokenId), ".json");
    }

    function setOwner(address owner_) external onlyOwner {
        owner = owner_;
    }

    modifier onlyOwner(){
        require(msg.sender == owner,"NOT_OWNER");
        _;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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 Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @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) {
        _requireMinted(tokenId);

        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 See {ERC721-_burn}. This override additionally checks to see if a
     * token-specific URI was set for the token, and if so, it deletes the token URI from
     * the storage mapping.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        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: invalid token ID");
        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) {
        _requireMinted(tokenId);

        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 overridden 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 token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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: caller is not token 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: caller is not token 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) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @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 {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

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

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

File 10 of 12 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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;

    /**
     * @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 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"baseURI_","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":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"player","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"}],"name":"setOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620031e0380380620031e08339818101604052810190620000379190620002e3565b6040518060400160405280600681526020017f417661746f7200000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f417661746f7200000000000000000000000000000000000000000000000000008152508160009081620000b491906200057f565b508060019081620000c691906200057f565b50505033600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600790816200011b91906200057f565b506200013360096200013a60201b62000c481760201c565b5062000666565b6001816000016000828254019250508190555050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620001b9826200016e565b810181811067ffffffffffffffff82111715620001db57620001da6200017f565b5b80604052505050565b6000620001f062000150565b9050620001fe8282620001ae565b919050565b600067ffffffffffffffff8211156200022157620002206200017f565b5b6200022c826200016e565b9050602081019050919050565b60005b83811015620002595780820151818401526020810190506200023c565b60008484015250505050565b60006200027c620002768462000203565b620001e4565b9050828152602081018484840111156200029b576200029a62000169565b5b620002a884828562000239565b509392505050565b600082601f830112620002c857620002c762000164565b5b8151620002da84826020860162000265565b91505092915050565b600060208284031215620002fc57620002fb6200015a565b5b600082015167ffffffffffffffff8111156200031d576200031c6200015f565b5b6200032b84828501620002b0565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200038757607f821691505b6020821081036200039d576200039c6200033f565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004077fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620003c8565b620004138683620003c8565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004606200045a62000454846200042b565b62000435565b6200042b565b9050919050565b6000819050919050565b6200047c836200043f565b620004946200048b8262000467565b848454620003d5565b825550505050565b600090565b620004ab6200049c565b620004b881848462000471565b505050565b5b81811015620004e057620004d4600082620004a1565b600181019050620004be565b5050565b601f8211156200052f57620004f981620003a3565b6200050484620003b8565b8101602085101562000514578190505b6200052c6200052385620003b8565b830182620004bd565b50505b505050565b600082821c905092915050565b6000620005546000198460080262000534565b1980831691505092915050565b60006200056f838362000541565b9150826002028217905092915050565b6200058a8262000334565b67ffffffffffffffff811115620005a657620005a56200017f565b5b620005b282546200036e565b620005bf828285620004e4565b600060209050601f831160018114620005f75760008415620005e2578287015190505b620005ee858262000561565b8655506200065e565b601f1984166200060786620003a3565b60005b8281101562000631578489015182556001820191506020850194506020810190506200060a565b868310156200065157848901516200064d601f89168262000541565b8355505b6001600288020188555050505b505050505050565b612b6a80620006766000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80636352211e116100a257806395d89b411161007157806395d89b41146102b4578063a22cb465146102d2578063b88d4fde146102ee578063c87b56dd1461030a578063e985e9c51461033a5761010b565b80636352211e1461021a5780636a6278421461024a57806370a08231146102665780638da5cb5b146102965761010b565b806313af4035116100de57806313af4035146101aa57806323b872dd146101c657806342842e0e146101e257806355f804b3146101fe5761010b565b806301ffc9a71461011057806306fdde0314610140578063081812fc1461015e578063095ea7b31461018e575b600080fd5b61012a6004803603810190610125919061186a565b61036a565b60405161013791906118b2565b60405180910390f35b61014861044c565b604051610155919061195d565b60405180910390f35b610178600480360381019061017391906119b5565b6104de565b6040516101859190611a23565b60405180910390f35b6101a860048036038101906101a39190611a6a565b610524565b005b6101c460048036038101906101bf9190611aaa565b61063b565b005b6101e060048036038101906101db9190611ad7565b61070f565b005b6101fc60048036038101906101f79190611ad7565b61076f565b005b61021860048036038101906102139190611c5f565b61078f565b005b610234600480360381019061022f91906119b5565b610832565b6040516102419190611a23565b60405180910390f35b610264600480360381019061025f9190611aaa565b6108e3565b005b610280600480360381019061027b9190611aaa565b610999565b60405161028d9190611cb7565b60405180910390f35b61029e610a50565b6040516102ab9190611a23565b60405180910390f35b6102bc610a76565b6040516102c9919061195d565b60405180910390f35b6102ec60048036038101906102e79190611cfe565b610b08565b005b61030860048036038101906103039190611ddf565b610b1e565b005b610324600480360381019061031f91906119b5565b610b80565b604051610331919061195d565b60405180910390f35b610354600480360381019061034f9190611e62565b610bb4565b60405161036191906118b2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061043557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610445575061044482610c5e565b5b9050919050565b60606000805461045b90611ed1565b80601f016020809104026020016040519081016040528092919081815260200182805461048790611ed1565b80156104d45780601f106104a9576101008083540402835291602001916104d4565b820191906000526020600020905b8154815290600101906020018083116104b757829003601f168201915b5050505050905090565b60006104e982610cc8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061052f82610832565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361059f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059690611f74565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105be610d13565b73ffffffffffffffffffffffffffffffffffffffff1614806105ed57506105ec816105e7610d13565b610bb4565b5b61062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062390612006565b60405180910390fd5b6106368383610d1b565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290612072565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61072061071a610d13565b82610dd4565b61075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690612104565b60405180910390fd5b61076a838383610e69565b505050565b61078a83838360405180602001604052806000815250610b1e565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461081f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081690612072565b60405180910390fd5b806007908161082e91906122d0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d1906123ee565b60405180910390fd5b80915050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90612072565b60405180910390fd5b600061097f60096110cf565b905061098b82826110dd565b6109956009610c48565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090612480565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610a8590611ed1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab190611ed1565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b610b1a610b13610d13565b83836112b6565b5050565b610b2f610b29610d13565b83610dd4565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590612104565b60405180910390fd5b610b7a84848484611422565b50505050565b60606007610b8d8361147e565b604051602001610b9e929190612585565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610cd1816115de565b610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d07906123ee565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610d8e83610832565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610de083610832565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610e225750610e218185610bb4565b5b80610e6057508373ffffffffffffffffffffffffffffffffffffffff16610e48846104de565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610e8982610832565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed69061262a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f45906126bc565b60405180910390fd5b610f5983838361164a565b610f64600082610d1b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb4919061270b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461100b919061273f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110ca83838361164f565b505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361114c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611143906127bf565b60405180910390fd5b611155816115de565b15611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c9061282b565b60405180910390fd5b6111a16000838361164a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111f1919061273f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b26000838361164f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90612897565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141591906118b2565b60405180910390a3505050565b61142d848484610e69565b61143984848484611654565b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90612929565b60405180910390fd5b50505050565b6060600082036114c5576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506115d9565b600082905060005b600082146114f75780806114e090612949565b915050600a826114f091906129c0565b91506114cd565b60008167ffffffffffffffff81111561151357611512611b34565b5b6040519080825280601f01601f1916602001820160405280156115455781602001600182028036833780820191505090505b5090505b600085146115d25760018261155e919061270b565b9150600a8561156d91906129f1565b6030611579919061273f565b60f81b81838151811061158f5761158e612a22565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115cb91906129c0565b9450611549565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006116758473ffffffffffffffffffffffffffffffffffffffff166117db565b156117ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261169e610d13565b8786866040518563ffffffff1660e01b81526004016116c09493929190612aa6565b6020604051808303816000875af19250505080156116fc57506040513d601f19601f820116820180604052508101906116f99190612b07565b60015b61177e573d806000811461172c576040519150601f19603f3d011682016040523d82523d6000602084013e611731565b606091505b506000815103611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90612929565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506117d3565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61184781611812565b811461185257600080fd5b50565b6000813590506118648161183e565b92915050565b6000602082840312156118805761187f611808565b5b600061188e84828501611855565b91505092915050565b60008115159050919050565b6118ac81611897565b82525050565b60006020820190506118c760008301846118a3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119075780820151818401526020810190506118ec565b60008484015250505050565b6000601f19601f8301169050919050565b600061192f826118cd565b61193981856118d8565b93506119498185602086016118e9565b61195281611913565b840191505092915050565b600060208201905081810360008301526119778184611924565b905092915050565b6000819050919050565b6119928161197f565b811461199d57600080fd5b50565b6000813590506119af81611989565b92915050565b6000602082840312156119cb576119ca611808565b5b60006119d9848285016119a0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a0d826119e2565b9050919050565b611a1d81611a02565b82525050565b6000602082019050611a386000830184611a14565b92915050565b611a4781611a02565b8114611a5257600080fd5b50565b600081359050611a6481611a3e565b92915050565b60008060408385031215611a8157611a80611808565b5b6000611a8f85828601611a55565b9250506020611aa0858286016119a0565b9150509250929050565b600060208284031215611ac057611abf611808565b5b6000611ace84828501611a55565b91505092915050565b600080600060608486031215611af057611aef611808565b5b6000611afe86828701611a55565b9350506020611b0f86828701611a55565b9250506040611b20868287016119a0565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b6c82611913565b810181811067ffffffffffffffff82111715611b8b57611b8a611b34565b5b80604052505050565b6000611b9e6117fe565b9050611baa8282611b63565b919050565b600067ffffffffffffffff821115611bca57611bc9611b34565b5b611bd382611913565b9050602081019050919050565b82818337600083830152505050565b6000611c02611bfd84611baf565b611b94565b905082815260208101848484011115611c1e57611c1d611b2f565b5b611c29848285611be0565b509392505050565b600082601f830112611c4657611c45611b2a565b5b8135611c56848260208601611bef565b91505092915050565b600060208284031215611c7557611c74611808565b5b600082013567ffffffffffffffff811115611c9357611c9261180d565b5b611c9f84828501611c31565b91505092915050565b611cb18161197f565b82525050565b6000602082019050611ccc6000830184611ca8565b92915050565b611cdb81611897565b8114611ce657600080fd5b50565b600081359050611cf881611cd2565b92915050565b60008060408385031215611d1557611d14611808565b5b6000611d2385828601611a55565b9250506020611d3485828601611ce9565b9150509250929050565b600067ffffffffffffffff821115611d5957611d58611b34565b5b611d6282611913565b9050602081019050919050565b6000611d82611d7d84611d3e565b611b94565b905082815260208101848484011115611d9e57611d9d611b2f565b5b611da9848285611be0565b509392505050565b600082601f830112611dc657611dc5611b2a565b5b8135611dd6848260208601611d6f565b91505092915050565b60008060008060808587031215611df957611df8611808565b5b6000611e0787828801611a55565b9450506020611e1887828801611a55565b9350506040611e29878288016119a0565b925050606085013567ffffffffffffffff811115611e4a57611e4961180d565b5b611e5687828801611db1565b91505092959194509250565b60008060408385031215611e7957611e78611808565b5b6000611e8785828601611a55565b9250506020611e9885828601611a55565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ee957607f821691505b602082108103611efc57611efb611ea2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611f5e6021836118d8565b9150611f6982611f02565b604082019050919050565b60006020820190508181036000830152611f8d81611f51565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611ff0603e836118d8565b9150611ffb82611f94565b604082019050919050565b6000602082019050818103600083015261201f81611fe3565b9050919050565b7f4e4f545f4f574e45520000000000000000000000000000000000000000000000600082015250565b600061205c6009836118d8565b915061206782612026565b602082019050919050565b6000602082019050818103600083015261208b8161204f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006120ee602e836118d8565b91506120f982612092565b604082019050919050565b6000602082019050818103600083015261211d816120e1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026121867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612149565b6121908683612149565b95508019841693508086168417925050509392505050565b6000819050919050565b60006121cd6121c86121c38461197f565b6121a8565b61197f565b9050919050565b6000819050919050565b6121e7836121b2565b6121fb6121f3826121d4565b848454612156565b825550505050565b600090565b612210612203565b61221b8184846121de565b505050565b5b8181101561223f57612234600082612208565b600181019050612221565b5050565b601f8211156122845761225581612124565b61225e84612139565b8101602085101561226d578190505b61228161227985612139565b830182612220565b50505b505050565b600082821c905092915050565b60006122a760001984600802612289565b1980831691505092915050565b60006122c08383612296565b9150826002028217905092915050565b6122d9826118cd565b67ffffffffffffffff8111156122f2576122f1611b34565b5b6122fc8254611ed1565b612307828285612243565b600060209050601f83116001811461233a5760008415612328578287015190505b61233285826122b4565b86555061239a565b601f19841661234886612124565b60005b828110156123705784890151825560018201915060208501945060208101905061234b565b8683101561238d5784890151612389601f891682612296565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006123d86018836118d8565b91506123e3826123a2565b602082019050919050565b60006020820190508181036000830152612407816123cb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061246a6029836118d8565b91506124758261240e565b604082019050919050565b600060208201905081810360008301526124998161245d565b9050919050565b600081905092915050565b600081546124b881611ed1565b6124c281866124a0565b945060018216600081146124dd57600181146124f257612525565b60ff1983168652811515820286019350612525565b6124fb85612124565b60005b8381101561251d578154818901526001820191506020810190506124fe565b838801955050505b50505092915050565b6000612539826118cd565b61254381856124a0565b93506125538185602086016118e9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061259182856124ab565b915061259d828461252e565b91506125a88261255f565b6005820191508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006126146025836118d8565b915061261f826125b8565b604082019050919050565b6000602082019050818103600083015261264381612607565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006126a66024836118d8565b91506126b18261264a565b604082019050919050565b600060208201905081810360008301526126d581612699565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006127168261197f565b91506127218361197f565b9250828203905081811115612739576127386126dc565b5b92915050565b600061274a8261197f565b91506127558361197f565b925082820190508082111561276d5761276c6126dc565b5b92915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006127a96020836118d8565b91506127b482612773565b602082019050919050565b600060208201905081810360008301526127d88161279c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612815601c836118d8565b9150612820826127df565b602082019050919050565b6000602082019050818103600083015261284481612808565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006128816019836118d8565b915061288c8261284b565b602082019050919050565b600060208201905081810360008301526128b081612874565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006129136032836118d8565b915061291e826128b7565b604082019050919050565b6000602082019050818103600083015261294281612906565b9050919050565b60006129548261197f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612986576129856126dc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006129cb8261197f565b91506129d68361197f565b9250826129e6576129e5612991565b5b828204905092915050565b60006129fc8261197f565b9150612a078361197f565b925082612a1757612a16612991565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612a7882612a51565b612a828185612a5c565b9350612a928185602086016118e9565b612a9b81611913565b840191505092915050565b6000608082019050612abb6000830187611a14565b612ac86020830186611a14565b612ad56040830185611ca8565b8181036060830152612ae78184612a6d565b905095945050505050565b600081519050612b018161183e565b92915050565b600060208284031215612b1d57612b1c611808565b5b6000612b2b84828501612af2565b9150509291505056fea26469706673582212206e4d592f295c9777387e22ae14858d6a722bbf94ddd5d0de21b3cc5ceb398c7a64736f6c634300081100330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f617661746f722f6d61696e2f6a736f6e732f0000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80636352211e116100a257806395d89b411161007157806395d89b41146102b4578063a22cb465146102d2578063b88d4fde146102ee578063c87b56dd1461030a578063e985e9c51461033a5761010b565b80636352211e1461021a5780636a6278421461024a57806370a08231146102665780638da5cb5b146102965761010b565b806313af4035116100de57806313af4035146101aa57806323b872dd146101c657806342842e0e146101e257806355f804b3146101fe5761010b565b806301ffc9a71461011057806306fdde0314610140578063081812fc1461015e578063095ea7b31461018e575b600080fd5b61012a6004803603810190610125919061186a565b61036a565b60405161013791906118b2565b60405180910390f35b61014861044c565b604051610155919061195d565b60405180910390f35b610178600480360381019061017391906119b5565b6104de565b6040516101859190611a23565b60405180910390f35b6101a860048036038101906101a39190611a6a565b610524565b005b6101c460048036038101906101bf9190611aaa565b61063b565b005b6101e060048036038101906101db9190611ad7565b61070f565b005b6101fc60048036038101906101f79190611ad7565b61076f565b005b61021860048036038101906102139190611c5f565b61078f565b005b610234600480360381019061022f91906119b5565b610832565b6040516102419190611a23565b60405180910390f35b610264600480360381019061025f9190611aaa565b6108e3565b005b610280600480360381019061027b9190611aaa565b610999565b60405161028d9190611cb7565b60405180910390f35b61029e610a50565b6040516102ab9190611a23565b60405180910390f35b6102bc610a76565b6040516102c9919061195d565b60405180910390f35b6102ec60048036038101906102e79190611cfe565b610b08565b005b61030860048036038101906103039190611ddf565b610b1e565b005b610324600480360381019061031f91906119b5565b610b80565b604051610331919061195d565b60405180910390f35b610354600480360381019061034f9190611e62565b610bb4565b60405161036191906118b2565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061043557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610445575061044482610c5e565b5b9050919050565b60606000805461045b90611ed1565b80601f016020809104026020016040519081016040528092919081815260200182805461048790611ed1565b80156104d45780601f106104a9576101008083540402835291602001916104d4565b820191906000526020600020905b8154815290600101906020018083116104b757829003601f168201915b5050505050905090565b60006104e982610cc8565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061052f82610832565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361059f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161059690611f74565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166105be610d13565b73ffffffffffffffffffffffffffffffffffffffff1614806105ed57506105ec816105e7610d13565b610bb4565b5b61062c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062390612006565b60405180910390fd5b6106368383610d1b565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146106cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c290612072565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61072061071a610d13565b82610dd4565b61075f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075690612104565b60405180910390fd5b61076a838383610e69565b505050565b61078a83838360405180602001604052806000815250610b1e565b505050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461081f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081690612072565b60405180910390fd5b806007908161082e91906122d0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d1906123ee565b60405180910390fd5b80915050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610973576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096a90612072565b60405180910390fd5b600061097f60096110cf565b905061098b82826110dd565b6109956009610c48565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0090612480565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060018054610a8590611ed1565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab190611ed1565b8015610afe5780601f10610ad357610100808354040283529160200191610afe565b820191906000526020600020905b815481529060010190602001808311610ae157829003601f168201915b5050505050905090565b610b1a610b13610d13565b83836112b6565b5050565b610b2f610b29610d13565b83610dd4565b610b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6590612104565b60405180910390fd5b610b7a84848484611422565b50505050565b60606007610b8d8361147e565b604051602001610b9e929190612585565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b610cd1816115de565b610d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d07906123ee565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610d8e83610832565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610de083610832565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480610e225750610e218185610bb4565b5b80610e6057508373ffffffffffffffffffffffffffffffffffffffff16610e48846104de565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16610e8982610832565b73ffffffffffffffffffffffffffffffffffffffff1614610edf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed69061262a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610f4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f45906126bc565b60405180910390fd5b610f5983838361164a565b610f64600082610d1b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610fb4919061270b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461100b919061273f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110ca83838361164f565b505050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361114c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611143906127bf565b60405180910390fd5b611155816115de565b15611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c9061282b565b60405180910390fd5b6111a16000838361164a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111f1919061273f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46112b26000838361164f565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90612897565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161141591906118b2565b60405180910390a3505050565b61142d848484610e69565b61143984848484611654565b611478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146f90612929565b60405180910390fd5b50505050565b6060600082036114c5576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506115d9565b600082905060005b600082146114f75780806114e090612949565b915050600a826114f091906129c0565b91506114cd565b60008167ffffffffffffffff81111561151357611512611b34565b5b6040519080825280601f01601f1916602001820160405280156115455781602001600182028036833780820191505090505b5090505b600085146115d25760018261155e919061270b565b9150600a8561156d91906129f1565b6030611579919061273f565b60f81b81838151811061158f5761158e612a22565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856115cb91906129c0565b9450611549565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006116758473ffffffffffffffffffffffffffffffffffffffff166117db565b156117ce578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261169e610d13565b8786866040518563ffffffff1660e01b81526004016116c09493929190612aa6565b6020604051808303816000875af19250505080156116fc57506040513d601f19601f820116820180604052508101906116f99190612b07565b60015b61177e573d806000811461172c576040519150601f19603f3d011682016040523d82523d6000602084013e611731565b606091505b506000815103611776576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176d90612929565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506117d3565b600190505b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61184781611812565b811461185257600080fd5b50565b6000813590506118648161183e565b92915050565b6000602082840312156118805761187f611808565b5b600061188e84828501611855565b91505092915050565b60008115159050919050565b6118ac81611897565b82525050565b60006020820190506118c760008301846118a3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156119075780820151818401526020810190506118ec565b60008484015250505050565b6000601f19601f8301169050919050565b600061192f826118cd565b61193981856118d8565b93506119498185602086016118e9565b61195281611913565b840191505092915050565b600060208201905081810360008301526119778184611924565b905092915050565b6000819050919050565b6119928161197f565b811461199d57600080fd5b50565b6000813590506119af81611989565b92915050565b6000602082840312156119cb576119ca611808565b5b60006119d9848285016119a0565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611a0d826119e2565b9050919050565b611a1d81611a02565b82525050565b6000602082019050611a386000830184611a14565b92915050565b611a4781611a02565b8114611a5257600080fd5b50565b600081359050611a6481611a3e565b92915050565b60008060408385031215611a8157611a80611808565b5b6000611a8f85828601611a55565b9250506020611aa0858286016119a0565b9150509250929050565b600060208284031215611ac057611abf611808565b5b6000611ace84828501611a55565b91505092915050565b600080600060608486031215611af057611aef611808565b5b6000611afe86828701611a55565b9350506020611b0f86828701611a55565b9250506040611b20868287016119a0565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611b6c82611913565b810181811067ffffffffffffffff82111715611b8b57611b8a611b34565b5b80604052505050565b6000611b9e6117fe565b9050611baa8282611b63565b919050565b600067ffffffffffffffff821115611bca57611bc9611b34565b5b611bd382611913565b9050602081019050919050565b82818337600083830152505050565b6000611c02611bfd84611baf565b611b94565b905082815260208101848484011115611c1e57611c1d611b2f565b5b611c29848285611be0565b509392505050565b600082601f830112611c4657611c45611b2a565b5b8135611c56848260208601611bef565b91505092915050565b600060208284031215611c7557611c74611808565b5b600082013567ffffffffffffffff811115611c9357611c9261180d565b5b611c9f84828501611c31565b91505092915050565b611cb18161197f565b82525050565b6000602082019050611ccc6000830184611ca8565b92915050565b611cdb81611897565b8114611ce657600080fd5b50565b600081359050611cf881611cd2565b92915050565b60008060408385031215611d1557611d14611808565b5b6000611d2385828601611a55565b9250506020611d3485828601611ce9565b9150509250929050565b600067ffffffffffffffff821115611d5957611d58611b34565b5b611d6282611913565b9050602081019050919050565b6000611d82611d7d84611d3e565b611b94565b905082815260208101848484011115611d9e57611d9d611b2f565b5b611da9848285611be0565b509392505050565b600082601f830112611dc657611dc5611b2a565b5b8135611dd6848260208601611d6f565b91505092915050565b60008060008060808587031215611df957611df8611808565b5b6000611e0787828801611a55565b9450506020611e1887828801611a55565b9350506040611e29878288016119a0565b925050606085013567ffffffffffffffff811115611e4a57611e4961180d565b5b611e5687828801611db1565b91505092959194509250565b60008060408385031215611e7957611e78611808565b5b6000611e8785828601611a55565b9250506020611e9885828601611a55565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680611ee957607f821691505b602082108103611efc57611efb611ea2565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000611f5e6021836118d8565b9150611f6982611f02565b604082019050919050565b60006020820190508181036000830152611f8d81611f51565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000611ff0603e836118d8565b9150611ffb82611f94565b604082019050919050565b6000602082019050818103600083015261201f81611fe3565b9050919050565b7f4e4f545f4f574e45520000000000000000000000000000000000000000000000600082015250565b600061205c6009836118d8565b915061206782612026565b602082019050919050565b6000602082019050818103600083015261208b8161204f565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006120ee602e836118d8565b91506120f982612092565b604082019050919050565b6000602082019050818103600083015261211d816120e1565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026121867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612149565b6121908683612149565b95508019841693508086168417925050509392505050565b6000819050919050565b60006121cd6121c86121c38461197f565b6121a8565b61197f565b9050919050565b6000819050919050565b6121e7836121b2565b6121fb6121f3826121d4565b848454612156565b825550505050565b600090565b612210612203565b61221b8184846121de565b505050565b5b8181101561223f57612234600082612208565b600181019050612221565b5050565b601f8211156122845761225581612124565b61225e84612139565b8101602085101561226d578190505b61228161227985612139565b830182612220565b50505b505050565b600082821c905092915050565b60006122a760001984600802612289565b1980831691505092915050565b60006122c08383612296565b9150826002028217905092915050565b6122d9826118cd565b67ffffffffffffffff8111156122f2576122f1611b34565b5b6122fc8254611ed1565b612307828285612243565b600060209050601f83116001811461233a5760008415612328578287015190505b61233285826122b4565b86555061239a565b601f19841661234886612124565b60005b828110156123705784890151825560018201915060208501945060208101905061234b565b8683101561238d5784890151612389601f891682612296565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006123d86018836118d8565b91506123e3826123a2565b602082019050919050565b60006020820190508181036000830152612407816123cb565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b600061246a6029836118d8565b91506124758261240e565b604082019050919050565b600060208201905081810360008301526124998161245d565b9050919050565b600081905092915050565b600081546124b881611ed1565b6124c281866124a0565b945060018216600081146124dd57600181146124f257612525565b60ff1983168652811515820286019350612525565b6124fb85612124565b60005b8381101561251d578154818901526001820191506020810190506124fe565b838801955050505b50505092915050565b6000612539826118cd565b61254381856124a0565b93506125538185602086016118e9565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815250565b600061259182856124ab565b915061259d828461252e565b91506125a88261255f565b6005820191508190509392505050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006126146025836118d8565b915061261f826125b8565b604082019050919050565b6000602082019050818103600083015261264381612607565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006126a66024836118d8565b91506126b18261264a565b604082019050919050565b600060208201905081810360008301526126d581612699565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006127168261197f565b91506127218361197f565b9250828203905081811115612739576127386126dc565b5b92915050565b600061274a8261197f565b91506127558361197f565b925082820190508082111561276d5761276c6126dc565b5b92915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006127a96020836118d8565b91506127b482612773565b602082019050919050565b600060208201905081810360008301526127d88161279c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000612815601c836118d8565b9150612820826127df565b602082019050919050565b6000602082019050818103600083015261284481612808565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006128816019836118d8565b915061288c8261284b565b602082019050919050565b600060208201905081810360008301526128b081612874565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006129136032836118d8565b915061291e826128b7565b604082019050919050565b6000602082019050818103600083015261294281612906565b9050919050565b60006129548261197f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612986576129856126dc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006129cb8261197f565b91506129d68361197f565b9250826129e6576129e5612991565b5b828204905092915050565b60006129fc8261197f565b9150612a078361197f565b925082612a1757612a16612991565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612a7882612a51565b612a828185612a5c565b9350612a928185602086016118e9565b612a9b81611913565b840191505092915050565b6000608082019050612abb6000830187611a14565b612ac86020830186611a14565b612ad56040830185611ca8565b8181036060830152612ae78184612a6d565b905095945050505050565b600081519050612b018161183e565b92915050565b600060208284031215612b1d57612b1c611808565b5b6000612b2b84828501612af2565b9150509291505056fea26469706673582212206e4d592f295c9777387e22ae14858d6a722bbf94ddd5d0de21b3cc5ceb398c7a64736f6c63430008110033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003e68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f6d2f6b61736f646573796e2f617661746f722f6d61696e2f6a736f6e732f0000

-----Decoded View---------------
Arg [0] : baseURI_ (string): https://raw.githubusercontent.com/kasodesyn/avator/main/jsons/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003e
Arg [2] : 68747470733a2f2f7261772e67697468756275736572636f6e74656e742e636f
Arg [3] : 6d2f6b61736f646573796e2f617661746f722f6d61696e2f6a736f6e732f0000


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.