ETH Price: $2,690.71 (+0.83%)

Token

Wonder Game (WONDER)
 

Overview

Max Total Supply

0 WONDER

Holders

545

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 WONDER
0xa567027c7a7a5f3b2e2e58de823cef0c3d5e1e1f
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:
WonderGameCharacterInventory

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : WonderGameCharacterInventory.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./WonderlandAccessControl.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract WonderGameCharacterInventory is ERC721, WonderlandAccessControl,Ownable {
    using Strings for uint256;
    string private baseURI;
    mapping(uint256 => string) private _secondaryTokenURI;

    event SecondaryTokenURIUpdated(uint256 tokenId, string oldUri, string newUri);

    constructor(
        string memory name_, 
        string memory symbol_,
       string memory __baseURI
    ) 
        ERC721(name_, symbol_)
        Ownable()

    {
       baseURI = __baseURI;
    }




    function _character(uint256 _tokenId) internal pure returns (uint256) {
        uint256 mask = 0x00000000000000000000000000000000000000000000000FFFF0000;
        return (_tokenId & mask) >> 16;
    }

    function character(uint256 _tokenId) public view returns (uint256){
        require(_exists(_tokenId), "Token does not exist");
        return _character(_tokenId);
    }

   function setBaseURI(string memory __baseURI) public onlyOwner {
       baseURI = __baseURI;
   }

   function _baseURI() internal override view returns (string memory) {
       return baseURI;
   }

    function _mint(address _to, uint256 _tokenId, string memory _secondaryTokenUri, uint256 _generation) internal {
        _mint(_to, _tokenId);
        _setSecondaryTokenURI(_tokenId, _secondaryTokenUri);
    }

   function mintBatch(address _to, uint256[] memory _tokenIds,string[] memory _secondaryTokenUris, uint256 _generation) public onlyRole(MINTER_ROLE) {
       require(_tokenIds.length == _secondaryTokenUris.length, "Invalid token data");
       for(uint256 i=0;i<_tokenIds.length;i++) {
           _mint(_to, _tokenIds[i], _secondaryTokenUris[i], _generation);
       }
   }

    function mint(address _to,uint256 _tokenId,string memory _secondaryTokenUri,uint256 _generation)public onlyRole(MINTER_ROLE){
        _mint(_to,_tokenId,_secondaryTokenUri,_generation);
    }

    function _setSecondaryTokenURI(uint256 _tokenId, string memory _tokenUri) internal {
        _secondaryTokenURI[_tokenId] = _tokenUri;
    }

    function setSecondaryTokenUri(uint256 _tokenId, string memory _tokenUri) public onlyOwner {
        emit SecondaryTokenURIUpdated(_tokenId, _secondaryTokenURI[_tokenId], _tokenUri);
        _setSecondaryTokenURI(_tokenId, _tokenUri);
    }

    function secondaryTokenURI(uint256 _tokenId) public view returns (string memory) {
        return _secondaryTokenURI[_tokenId];
    }

    function burn(uint256 _tokenId) public {
        require(ownerOf(_tokenId) == msg.sender, "Only owner can burn token");
        _burn(_tokenId);
        delete _secondaryTokenURI[_tokenId];
    }

    function getMinter()external view returns(bytes32){
        return getRoleAdmin(MINTER_ROLE);
    }
    function supportsInterface(bytes4 interfaceId) public override (ERC721, AccessControl) view returns (bool) {
        return super.supportsInterface(interfaceId);
    }

}

File 2 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 14 : WonderlandAccessControl.sol
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/AccessControl.sol";

abstract contract WonderlandAccessControl is AccessControl {
    bytes32 internal constant MINTER_ROLE = 0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6; // keccak256(abi.encodePacked("MINTER_ROLE"));
    bytes32 internal constant HANDLER_ROLE = 0x8ee6ed50dc250dbccf4d86bd88d4956ab55c7de37d1fed5508924b70da11fe8b;

    constructor() {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

}

File 4 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

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

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

File 6 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 7 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 8 of 14 : IERC721Metadata.sol
// 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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

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

File 10 of 14 : Context.sol
// 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;
    }
}

File 11 of 14 : ERC165.sol
// 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;
    }
}

File 12 of 14 : IERC165.sol
// 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);
}

File 13 of 14 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

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

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

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

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

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 14 of 14 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"oldUri","type":"string"},{"indexed":false,"internalType":"string","name":"newUri","type":"string"}],"name":"SecondaryTokenURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"character","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":[],"name":"getMinter","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_secondaryTokenUri","type":"string"},{"internalType":"uint256","name":"_generation","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_secondaryTokenUris","type":"string[]"},{"internalType":"uint256","name":"_generation","type":"uint256"}],"name":"mintBatch","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"secondaryTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_tokenUri","type":"string"}],"name":"setSecondaryTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004b4638038062004b46833981810160405281019062000037919062000427565b828281600090805190602001906200005192919062000305565b5080600190805190602001906200006a92919062000305565b505050620000826000801b33620000c460201b60201c565b620000a262000096620000da60201b60201c565b620000e260201b60201c565b8060089080519060200190620000ba92919062000305565b5050505062000638565b620000d68282620001a860201b60201c565b5050565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001ba82826200029a60201b60201c565b620002965760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200023b620000da60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82805462000313906200055d565b90600052602060002090601f01602090048101928262000337576000855562000383565b82601f106200035257805160ff191683800117855562000383565b8280016001018555821562000383579182015b828111156200038257825182559160200191906001019062000365565b5b50905062000392919062000396565b5090565b5b80821115620003b157600081600090555060010162000397565b5090565b6000620003cc620003c684620004f1565b620004c8565b905082815260208101848484011115620003e557600080fd5b620003f284828562000527565b509392505050565b600082601f8301126200040c57600080fd5b81516200041e848260208601620003b5565b91505092915050565b6000806000606084860312156200043d57600080fd5b600084015167ffffffffffffffff8111156200045857600080fd5b6200046686828701620003fa565b935050602084015167ffffffffffffffff8111156200048457600080fd5b6200049286828701620003fa565b925050604084015167ffffffffffffffff811115620004b057600080fd5b620004be86828701620003fa565b9150509250925092565b6000620004d4620004e7565b9050620004e2828262000593565b919050565b6000604051905090565b600067ffffffffffffffff8211156200050f576200050e620005f8565b5b6200051a8262000627565b9050602081019050919050565b60005b83811015620005475780820151818401526020810190506200052a565b8381111562000557576000848401525b50505050565b600060028204905060018216806200057657607f821691505b602082108114156200058d576200058c620005c9565b5b50919050565b6200059e8262000627565b810181811067ffffffffffffffff82111715620005c057620005bf620005f8565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6144fe80620006486000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063a22cb465116100a2578063d5ccdb9511610071578063d5ccdb9514610561578063e985e9c51461057d578063f2fde38b146105ad578063f3667517146105c9576101da565b8063a22cb465146104dd578063b88d4fde146104f9578063c87b56dd14610515578063d547741f14610545576101da565b806391d14854116100de57806391d148541461044157806395d89b4114610471578063965d918b1461048f578063a217fddf146104bf576101da565b8063715018a6146103fd57806389500014146104075780638da5cb5b14610423576101da565b80632f2ff15d1161017c578063468f25b01161014b578063468f25b01461035157806355f804b3146103815780636352211e1461039d57806370a08231146103cd576101da565b80632f2ff15d146102e157806336568abe146102fd57806342842e0e1461031957806342966c6814610335576101da565b806308a8d7aa116101b857806308a8d7aa1461025d578063095ea7b31461027957806323b872dd14610295578063248a9ca3146102b1576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190613027565b6105e7565b6040516102069190613680565b60405180910390f35b6102176105f9565b60405161022491906136b6565b60405180910390f35b610247600480360381019061024291906130ba565b61068b565b6040516102549190613619565b60405180910390f35b61027760048036038101906102729190612f47565b610710565b005b610293600480360381019061028e9190612f0b565b610758565b005b6102af60048036038101906102aa9190612d72565b610870565b005b6102cb60048036038101906102c69190612fc2565b6108d0565b6040516102d8919061369b565b60405180910390f35b6102fb60048036038101906102f69190612feb565b6108f0565b005b61031760048036038101906103129190612feb565b610919565b005b610333600480360381019061032e9190612d72565b61099c565b005b61034f600480360381019061034a91906130ba565b6109bc565b005b61036b600480360381019061036691906130ba565b610a5d565b6040516103789190613978565b60405180910390f35b61039b60048036038101906103969190613079565b610ab7565b005b6103b760048036038101906103b291906130ba565b610b4d565b6040516103c49190613619565b60405180910390f35b6103e760048036038101906103e29190612d0d565b610bff565b6040516103f49190613978565b60405180910390f35b610405610cb7565b005b610421600480360381019061041c91906130e3565b610d3f565b005b61042b610e16565b6040516104389190613619565b60405180910390f35b61045b60048036038101906104569190612feb565b610e40565b6040516104689190613680565b60405180910390f35b610479610eab565b60405161048691906136b6565b60405180910390f35b6104a960048036038101906104a491906130ba565b610f3d565b6040516104b691906136b6565b60405180910390f35b6104c7610fe2565b6040516104d4919061369b565b60405180910390f35b6104f760048036038101906104f29190612ecf565b610fe9565b005b610513600480360381019061050e9190612dc1565b610fff565b005b61052f600480360381019061052a91906130ba565b611061565b60405161053c91906136b6565b60405180910390f35b61055f600480360381019061055a9190612feb565b611108565b005b61057b60048036038101906105769190612e3c565b611131565b005b61059760048036038101906105929190612d36565b61125d565b6040516105a49190613680565b60405180910390f35b6105c760048036038101906105c29190612d0d565b6112f1565b005b6105d16113e9565b6040516105de919061369b565b60405180910390f35b60006105f28261141c565b9050919050565b60606000805461060890613d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461063490613d0e565b80156106815780601f1061065657610100808354040283529160200191610681565b820191906000526020600020905b81548152906001019060200180831161066457829003601f168201915b5050505050905090565b600061069682611496565b6106d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cc906138b8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b61074581610740611502565b61150a565b610751858585856115a7565b5050505050565b600061076382610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90613918565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f3611502565b73ffffffffffffffffffffffffffffffffffffffff16148061082257506108218161081c611502565b61125d565b5b610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085890613838565b60405180910390fd5b61086b83836115c1565b505050565b61088161087b611502565b8261167a565b6108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b790613938565b60405180910390fd5b6108cb838383611758565b505050565b600060066000838152602001908152602001600020600101549050919050565b6108f9826108d0565b61090a81610905611502565b61150a565b61091483836119bf565b505050565b610921611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590613958565b60405180910390fd5b6109988282611aa0565b5050565b6109b783838360405180602001604052806000815250610fff565b505050565b3373ffffffffffffffffffffffffffffffffffffffff166109dc82610b4d565b73ffffffffffffffffffffffffffffffffffffffff1614610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990613778565b60405180910390fd5b610a3b81611b82565b600960008281526020019081526020016000206000610a5a9190612996565b50565b6000610a6882611496565b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906137f8565b60405180910390fd5b610ab082611c9f565b9050919050565b610abf611502565b73ffffffffffffffffffffffffffffffffffffffff16610add610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a906138d8565b60405180910390fd5b8060089080519060200190610b499291906129d6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613878565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6790613858565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610cbf611502565b73ffffffffffffffffffffffffffffffffffffffff16610cdd610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a906138d8565b60405180910390fd5b610d3d6000611cb8565b565b610d47611502565b73ffffffffffffffffffffffffffffffffffffffff16610d65610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906138d8565b60405180910390fd5b7f3101033d6f94823ad71207e33e3f1cb60c8737406a349c864dee1457d28f737e826009600085815260200190815260200160002083604051610e0093929190613993565b60405180910390a1610e128282611d7e565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610eba90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee690613d0e565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b5050505050905090565b6060600960008381526020019081526020016000208054610f5d90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8990613d0e565b8015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b50505050509050919050565b6000801b81565b610ffb610ff4611502565b8383611daa565b5050565b61101061100a611502565b8361167a565b61104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613938565b60405180910390fd5b61105b84848484611f17565b50505050565b606061106c82611496565b6110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a2906138f8565b60405180910390fd5b60006110b5611f73565b905060008151116110d55760405180602001604052806000815250611100565b806110df84612005565b6040516020016110f09291906135bb565b6040516020818303038152906040525b915050919050565b611111826108d0565b6111228161111d611502565b61150a565b61112c8383611aa0565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b61116681611161611502565b61150a565b82518451146111aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a1906137d8565b60405180910390fd5b60005b845181101561125557611242868683815181106111f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868481518110611234577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151866115a7565b808061124d90613d71565b9150506111ad565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112f9611502565b73ffffffffffffffffffffffffffffffffffffffff16611317610e16565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611364906138d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d490613718565b60405180910390fd5b6113e681611cb8565b50565b60006114177f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b6108d0565b905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061148f575061148e826121b2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b6115148282610e40565b6115a3576115398173ffffffffffffffffffffffffffffffffffffffff166014612294565b6115478360001c6020612294565b6040516020016115589291906135df565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a91906136b6565b60405180910390fd5b5050565b6115b1848461258e565b6115bb8383611d7e565b50505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163483610b4d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061168582611496565b6116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90613818565b60405180910390fd5b60006116cf83610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061173e57508373ffffffffffffffffffffffffffffffffffffffff166117268461068b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061174f575061174e818561125d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177882610b4d565b73ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590613738565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613798565b60405180910390fd5b611849838383612768565b6118546000826115c1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a49190613bf0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118fb9190613b0f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119ba83838361276d565b505050565b6119c98282610e40565b611a9c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a41611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611aaa8282610e40565b15611b7e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b23611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b8d82610b4d565b9050611b9b81600084612768565b611ba66000836115c1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf69190613bf0565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9b8160008461276d565b5050565b60008063ffff000090506010818416901c915050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600960008481526020019081526020016000209080519060200190611da59291906129d6565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e10906137b8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0a9190613680565b60405180910390a3505050565b611f22848484611758565b611f2e84848484612772565b611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906136f8565b60405180910390fd5b50505050565b606060088054611f8290613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611fae90613d0e565b8015611ffb5780601f10611fd057610100808354040283529160200191611ffb565b820191906000526020600020905b815481529060010190602001808311611fde57829003601f168201915b5050505050905090565b6060600082141561204d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121ad565b600082905060005b6000821461207f57808061206890613d71565b915050600a826120789190613b65565b9150612055565b60008167ffffffffffffffff8111156120c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120f35781602001600182028036833780820191505090505b5090505b600085146121a65760018261210c9190613bf0565b9150600a8561211b9190613dba565b60306121279190613b0f565b60f81b818381518110612163577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561219f9190613b65565b94506120f7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228d575061228c82612909565b5b9050919050565b6060600060028360026122a79190613b96565b6122b19190613b0f565b67ffffffffffffffff8111156122f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123225781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061240a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261244a9190613b96565b6124549190613b0f565b90505b6001811115612540577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106124f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061253990613ce4565b9050612457565b5060008414612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b906136d8565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f590613898565b60405180910390fd5b61260781611496565b15612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e90613758565b60405180910390fd5b61265360008383612768565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a39190613b0f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127646000838361276d565b5050565b505050565b505050565b60006127938473ffffffffffffffffffffffffffffffffffffffff16612973565b156128fc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127bc611502565b8786866040518563ffffffff1660e01b81526004016127de9493929190613634565b602060405180830381600087803b1580156127f857600080fd5b505af192505050801561282957506040513d601f19601f820116820180604052508101906128269190613050565b60015b6128ac573d8060008114612859576040519150601f19603f3d011682016040523d82523d6000602084013e61285e565b606091505b506000815114156128a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289b906136f8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612901565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5080546129a290613d0e565b6000825580601f106129b457506129d3565b601f0160209004906000526020600020908101906129d29190612a5c565b5b50565b8280546129e290613d0e565b90600052602060002090601f016020900481019282612a045760008555612a4b565b82601f10612a1d57805160ff1916838001178555612a4b565b82800160010185558215612a4b579182015b82811115612a4a578251825591602001919060010190612a2f565b5b509050612a589190612a5c565b5090565b5b80821115612a75576000816000905550600101612a5d565b5090565b6000612a8c612a87846139fd565b6139d8565b90508083825260208201905082856020860282011115612aab57600080fd5b60005b85811015612af557813567ffffffffffffffff811115612acd57600080fd5b808601612ada8982612cce565b85526020850194506020840193505050600181019050612aae565b5050509392505050565b6000612b12612b0d84613a29565b6139d8565b90508083825260208201905082856020860282011115612b3157600080fd5b60005b85811015612b615781612b478882612cf8565b845260208401935060208301925050600181019050612b34565b5050509392505050565b6000612b7e612b7984613a55565b6139d8565b905082815260208101848484011115612b9657600080fd5b612ba1848285613ca2565b509392505050565b6000612bbc612bb784613a86565b6139d8565b905082815260208101848484011115612bd457600080fd5b612bdf848285613ca2565b509392505050565b600081359050612bf681614455565b92915050565b600082601f830112612c0d57600080fd5b8135612c1d848260208601612a79565b91505092915050565b600082601f830112612c3757600080fd5b8135612c47848260208601612aff565b91505092915050565b600081359050612c5f8161446c565b92915050565b600081359050612c7481614483565b92915050565b600081359050612c898161449a565b92915050565b600081519050612c9e8161449a565b92915050565b600082601f830112612cb557600080fd5b8135612cc5848260208601612b6b565b91505092915050565b600082601f830112612cdf57600080fd5b8135612cef848260208601612ba9565b91505092915050565b600081359050612d07816144b1565b92915050565b600060208284031215612d1f57600080fd5b6000612d2d84828501612be7565b91505092915050565b60008060408385031215612d4957600080fd5b6000612d5785828601612be7565b9250506020612d6885828601612be7565b9150509250929050565b600080600060608486031215612d8757600080fd5b6000612d9586828701612be7565b9350506020612da686828701612be7565b9250506040612db786828701612cf8565b9150509250925092565b60008060008060808587031215612dd757600080fd5b6000612de587828801612be7565b9450506020612df687828801612be7565b9350506040612e0787828801612cf8565b925050606085013567ffffffffffffffff811115612e2457600080fd5b612e3087828801612ca4565b91505092959194509250565b60008060008060808587031215612e5257600080fd5b6000612e6087828801612be7565b945050602085013567ffffffffffffffff811115612e7d57600080fd5b612e8987828801612c26565b935050604085013567ffffffffffffffff811115612ea657600080fd5b612eb287828801612bfc565b9250506060612ec387828801612cf8565b91505092959194509250565b60008060408385031215612ee257600080fd5b6000612ef085828601612be7565b9250506020612f0185828601612c50565b9150509250929050565b60008060408385031215612f1e57600080fd5b6000612f2c85828601612be7565b9250506020612f3d85828601612cf8565b9150509250929050565b60008060008060808587031215612f5d57600080fd5b6000612f6b87828801612be7565b9450506020612f7c87828801612cf8565b935050604085013567ffffffffffffffff811115612f9957600080fd5b612fa587828801612cce565b9250506060612fb687828801612cf8565b91505092959194509250565b600060208284031215612fd457600080fd5b6000612fe284828501612c65565b91505092915050565b60008060408385031215612ffe57600080fd5b600061300c85828601612c65565b925050602061301d85828601612be7565b9150509250929050565b60006020828403121561303957600080fd5b600061304784828501612c7a565b91505092915050565b60006020828403121561306257600080fd5b600061307084828501612c8f565b91505092915050565b60006020828403121561308b57600080fd5b600082013567ffffffffffffffff8111156130a557600080fd5b6130b184828501612cce565b91505092915050565b6000602082840312156130cc57600080fd5b60006130da84828501612cf8565b91505092915050565b600080604083850312156130f657600080fd5b600061310485828601612cf8565b925050602083013567ffffffffffffffff81111561312157600080fd5b61312d85828601612cce565b9150509250929050565b61314081613c24565b82525050565b61314f81613c36565b82525050565b61315e81613c42565b82525050565b600061316f82613acc565b6131798185613ae2565b9350613189818560208601613cb1565b61319281613ea7565b840191505092915050565b60006131a882613ad7565b6131b28185613af3565b93506131c2818560208601613cb1565b6131cb81613ea7565b840191505092915050565b60006131e182613ad7565b6131eb8185613b04565b93506131fb818560208601613cb1565b80840191505092915050565b6000815461321481613d0e565b61321e8186613af3565b94506001821660008114613239576001811461324b5761327e565b60ff198316865260208601935061327e565b61325485613ab7565b60005b8381101561327657815481890152600182019150602081019050613257565b808801955050505b50505092915050565b6000613294602083613af3565b915061329f82613eb8565b602082019050919050565b60006132b7603283613af3565b91506132c282613ee1565b604082019050919050565b60006132da602683613af3565b91506132e582613f30565b604082019050919050565b60006132fd602583613af3565b915061330882613f7f565b604082019050919050565b6000613320601c83613af3565b915061332b82613fce565b602082019050919050565b6000613343601983613af3565b915061334e82613ff7565b602082019050919050565b6000613366602483613af3565b915061337182614020565b604082019050919050565b6000613389601983613af3565b91506133948261406f565b602082019050919050565b60006133ac601283613af3565b91506133b782614098565b602082019050919050565b60006133cf601483613af3565b91506133da826140c1565b602082019050919050565b60006133f2602c83613af3565b91506133fd826140ea565b604082019050919050565b6000613415603883613af3565b915061342082614139565b604082019050919050565b6000613438602a83613af3565b915061344382614188565b604082019050919050565b600061345b602983613af3565b9150613466826141d7565b604082019050919050565b600061347e602083613af3565b915061348982614226565b602082019050919050565b60006134a1602c83613af3565b91506134ac8261424f565b604082019050919050565b60006134c4602083613af3565b91506134cf8261429e565b602082019050919050565b60006134e7602f83613af3565b91506134f2826142c7565b604082019050919050565b600061350a602183613af3565b915061351582614316565b604082019050919050565b600061352d603183613af3565b915061353882614365565b604082019050919050565b6000613550601783613b04565b915061355b826143b4565b601782019050919050565b6000613573601183613b04565b915061357e826143dd565b601182019050919050565b6000613596602f83613af3565b91506135a182614406565b604082019050919050565b6135b581613c98565b82525050565b60006135c782856131d6565b91506135d382846131d6565b91508190509392505050565b60006135ea82613543565b91506135f682856131d6565b915061360182613566565b915061360d82846131d6565b91508190509392505050565b600060208201905061362e6000830184613137565b92915050565b60006080820190506136496000830187613137565b6136566020830186613137565b61366360408301856135ac565b81810360608301526136758184613164565b905095945050505050565b60006020820190506136956000830184613146565b92915050565b60006020820190506136b06000830184613155565b92915050565b600060208201905081810360008301526136d0818461319d565b905092915050565b600060208201905081810360008301526136f181613287565b9050919050565b60006020820190508181036000830152613711816132aa565b9050919050565b60006020820190508181036000830152613731816132cd565b9050919050565b60006020820190508181036000830152613751816132f0565b9050919050565b6000602082019050818103600083015261377181613313565b9050919050565b6000602082019050818103600083015261379181613336565b9050919050565b600060208201905081810360008301526137b181613359565b9050919050565b600060208201905081810360008301526137d18161337c565b9050919050565b600060208201905081810360008301526137f18161339f565b9050919050565b60006020820190508181036000830152613811816133c2565b9050919050565b60006020820190508181036000830152613831816133e5565b9050919050565b6000602082019050818103600083015261385181613408565b9050919050565b600060208201905081810360008301526138718161342b565b9050919050565b600060208201905081810360008301526138918161344e565b9050919050565b600060208201905081810360008301526138b181613471565b9050919050565b600060208201905081810360008301526138d181613494565b9050919050565b600060208201905081810360008301526138f1816134b7565b9050919050565b60006020820190508181036000830152613911816134da565b9050919050565b60006020820190508181036000830152613931816134fd565b9050919050565b6000602082019050818103600083015261395181613520565b9050919050565b6000602082019050818103600083015261397181613589565b9050919050565b600060208201905061398d60008301846135ac565b92915050565b60006060820190506139a860008301866135ac565b81810360208301526139ba8185613207565b905081810360408301526139ce818461319d565b9050949350505050565b60006139e26139f3565b90506139ee8282613d40565b919050565b6000604051905090565b600067ffffffffffffffff821115613a1857613a17613e78565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a4457613a43613e78565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a7057613a6f613e78565b5b613a7982613ea7565b9050602081019050919050565b600067ffffffffffffffff821115613aa157613aa0613e78565b5b613aaa82613ea7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b1a82613c98565b9150613b2583613c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b5a57613b59613deb565b5b828201905092915050565b6000613b7082613c98565b9150613b7b83613c98565b925082613b8b57613b8a613e1a565b5b828204905092915050565b6000613ba182613c98565b9150613bac83613c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613be557613be4613deb565b5b828202905092915050565b6000613bfb82613c98565b9150613c0683613c98565b925082821015613c1957613c18613deb565b5b828203905092915050565b6000613c2f82613c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ccf578082015181840152602081019050613cb4565b83811115613cde576000848401525b50505050565b6000613cef82613c98565b91506000821415613d0357613d02613deb565b5b600182039050919050565b60006002820490506001821680613d2657607f821691505b60208210811415613d3a57613d39613e49565b5b50919050565b613d4982613ea7565b810181811067ffffffffffffffff82111715613d6857613d67613e78565b5b80604052505050565b6000613d7c82613c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613daf57613dae613deb565b5b600182019050919050565b6000613dc582613c98565b9150613dd083613c98565b925082613de057613ddf613e1a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f6e6c79206f776e65722063616e206275726e20746f6b656e00000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e76616c696420746f6b656e20646174610000000000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61445e81613c24565b811461446957600080fd5b50565b61447581613c36565b811461448057600080fd5b50565b61448c81613c42565b811461449757600080fd5b50565b6144a381613c4c565b81146144ae57600080fd5b50565b6144ba81613c98565b81146144c557600080fd5b5056fea2646970667358221220468fd480ba333058ee98479a958f63d7524bab6232f596830fe8570601111d9264736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b576f6e6465722047616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006574f4e4445520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6d657461646174612e776f6e6465722e67616d652f746f6b656e2f0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063715018a611610104578063a22cb465116100a2578063d5ccdb9511610071578063d5ccdb9514610561578063e985e9c51461057d578063f2fde38b146105ad578063f3667517146105c9576101da565b8063a22cb465146104dd578063b88d4fde146104f9578063c87b56dd14610515578063d547741f14610545576101da565b806391d14854116100de57806391d148541461044157806395d89b4114610471578063965d918b1461048f578063a217fddf146104bf576101da565b8063715018a6146103fd57806389500014146104075780638da5cb5b14610423576101da565b80632f2ff15d1161017c578063468f25b01161014b578063468f25b01461035157806355f804b3146103815780636352211e1461039d57806370a08231146103cd576101da565b80632f2ff15d146102e157806336568abe146102fd57806342842e0e1461031957806342966c6814610335576101da565b806308a8d7aa116101b857806308a8d7aa1461025d578063095ea7b31461027957806323b872dd14610295578063248a9ca3146102b1576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190613027565b6105e7565b6040516102069190613680565b60405180910390f35b6102176105f9565b60405161022491906136b6565b60405180910390f35b610247600480360381019061024291906130ba565b61068b565b6040516102549190613619565b60405180910390f35b61027760048036038101906102729190612f47565b610710565b005b610293600480360381019061028e9190612f0b565b610758565b005b6102af60048036038101906102aa9190612d72565b610870565b005b6102cb60048036038101906102c69190612fc2565b6108d0565b6040516102d8919061369b565b60405180910390f35b6102fb60048036038101906102f69190612feb565b6108f0565b005b61031760048036038101906103129190612feb565b610919565b005b610333600480360381019061032e9190612d72565b61099c565b005b61034f600480360381019061034a91906130ba565b6109bc565b005b61036b600480360381019061036691906130ba565b610a5d565b6040516103789190613978565b60405180910390f35b61039b60048036038101906103969190613079565b610ab7565b005b6103b760048036038101906103b291906130ba565b610b4d565b6040516103c49190613619565b60405180910390f35b6103e760048036038101906103e29190612d0d565b610bff565b6040516103f49190613978565b60405180910390f35b610405610cb7565b005b610421600480360381019061041c91906130e3565b610d3f565b005b61042b610e16565b6040516104389190613619565b60405180910390f35b61045b60048036038101906104569190612feb565b610e40565b6040516104689190613680565b60405180910390f35b610479610eab565b60405161048691906136b6565b60405180910390f35b6104a960048036038101906104a491906130ba565b610f3d565b6040516104b691906136b6565b60405180910390f35b6104c7610fe2565b6040516104d4919061369b565b60405180910390f35b6104f760048036038101906104f29190612ecf565b610fe9565b005b610513600480360381019061050e9190612dc1565b610fff565b005b61052f600480360381019061052a91906130ba565b611061565b60405161053c91906136b6565b60405180910390f35b61055f600480360381019061055a9190612feb565b611108565b005b61057b60048036038101906105769190612e3c565b611131565b005b61059760048036038101906105929190612d36565b61125d565b6040516105a49190613680565b60405180910390f35b6105c760048036038101906105c29190612d0d565b6112f1565b005b6105d16113e9565b6040516105de919061369b565b60405180910390f35b60006105f28261141c565b9050919050565b60606000805461060890613d0e565b80601f016020809104026020016040519081016040528092919081815260200182805461063490613d0e565b80156106815780601f1061065657610100808354040283529160200191610681565b820191906000526020600020905b81548152906001019060200180831161066457829003601f168201915b5050505050905090565b600061069682611496565b6106d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106cc906138b8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b61074581610740611502565b61150a565b610751858585856115a7565b5050505050565b600061076382610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107cb90613918565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107f3611502565b73ffffffffffffffffffffffffffffffffffffffff16148061082257506108218161081c611502565b61125d565b5b610861576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085890613838565b60405180910390fd5b61086b83836115c1565b505050565b61088161087b611502565b8261167a565b6108c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b790613938565b60405180910390fd5b6108cb838383611758565b505050565b600060066000838152602001908152602001600020600101549050919050565b6108f9826108d0565b61090a81610905611502565b61150a565b61091483836119bf565b505050565b610921611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590613958565b60405180910390fd5b6109988282611aa0565b5050565b6109b783838360405180602001604052806000815250610fff565b505050565b3373ffffffffffffffffffffffffffffffffffffffff166109dc82610b4d565b73ffffffffffffffffffffffffffffffffffffffff1614610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2990613778565b60405180910390fd5b610a3b81611b82565b600960008281526020019081526020016000206000610a5a9190612996565b50565b6000610a6882611496565b610aa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9e906137f8565b60405180910390fd5b610ab082611c9f565b9050919050565b610abf611502565b73ffffffffffffffffffffffffffffffffffffffff16610add610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a906138d8565b60405180910390fd5b8060089080519060200190610b499291906129d6565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613878565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6790613858565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610cbf611502565b73ffffffffffffffffffffffffffffffffffffffff16610cdd610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610d33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2a906138d8565b60405180910390fd5b610d3d6000611cb8565b565b610d47611502565b73ffffffffffffffffffffffffffffffffffffffff16610d65610e16565b73ffffffffffffffffffffffffffffffffffffffff1614610dbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db2906138d8565b60405180910390fd5b7f3101033d6f94823ad71207e33e3f1cb60c8737406a349c864dee1457d28f737e826009600085815260200190815260200160002083604051610e0093929190613993565b60405180910390a1610e128282611d7e565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610eba90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee690613d0e565b8015610f335780601f10610f0857610100808354040283529160200191610f33565b820191906000526020600020905b815481529060010190602001808311610f1657829003601f168201915b5050505050905090565b6060600960008381526020019081526020016000208054610f5d90613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8990613d0e565b8015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b50505050509050919050565b6000801b81565b610ffb610ff4611502565b8383611daa565b5050565b61101061100a611502565b8361167a565b61104f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104690613938565b60405180910390fd5b61105b84848484611f17565b50505050565b606061106c82611496565b6110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a2906138f8565b60405180910390fd5b60006110b5611f73565b905060008151116110d55760405180602001604052806000815250611100565b806110df84612005565b6040516020016110f09291906135bb565b6040516020818303038152906040525b915050919050565b611111826108d0565b6111228161111d611502565b61150a565b61112c8383611aa0565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b61116681611161611502565b61150a565b82518451146111aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a1906137d8565b60405180910390fd5b60005b845181101561125557611242868683815181106111f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151868481518110611234577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151866115a7565b808061124d90613d71565b9150506111ad565b505050505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112f9611502565b73ffffffffffffffffffffffffffffffffffffffff16611317610e16565b73ffffffffffffffffffffffffffffffffffffffff161461136d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611364906138d8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d490613718565b60405180910390fd5b6113e681611cb8565b50565b60006114177f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a660001b6108d0565b905090565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061148f575061148e826121b2565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b6115148282610e40565b6115a3576115398173ffffffffffffffffffffffffffffffffffffffff166014612294565b6115478360001c6020612294565b6040516020016115589291906135df565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a91906136b6565b60405180910390fd5b5050565b6115b1848461258e565b6115bb8383611d7e565b50505050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661163483610b4d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061168582611496565b6116c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bb90613818565b60405180910390fd5b60006116cf83610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061173e57508373ffffffffffffffffffffffffffffffffffffffff166117268461068b565b73ffffffffffffffffffffffffffffffffffffffff16145b8061174f575061174e818561125d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661177882610b4d565b73ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c590613738565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561183e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183590613798565b60405180910390fd5b611849838383612768565b6118546000826115c1565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118a49190613bf0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118fb9190613b0f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46119ba83838361276d565b505050565b6119c98282610e40565b611a9c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a41611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611aaa8282610e40565b15611b7e5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b23611502565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000611b8d82610b4d565b9050611b9b81600084612768565b611ba66000836115c1565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf69190613bf0565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c9b8160008461276d565b5050565b60008063ffff000090506010818416901c915050919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600960008481526020019081526020016000209080519060200190611da59291906129d6565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e10906137b8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0a9190613680565b60405180910390a3505050565b611f22848484611758565b611f2e84848484612772565b611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906136f8565b60405180910390fd5b50505050565b606060088054611f8290613d0e565b80601f0160208091040260200160405190810160405280929190818152602001828054611fae90613d0e565b8015611ffb5780601f10611fd057610100808354040283529160200191611ffb565b820191906000526020600020905b815481529060010190602001808311611fde57829003601f168201915b5050505050905090565b6060600082141561204d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121ad565b600082905060005b6000821461207f57808061206890613d71565b915050600a826120789190613b65565b9150612055565b60008167ffffffffffffffff8111156120c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156120f35781602001600182028036833780820191505090505b5090505b600085146121a65760018261210c9190613bf0565b9150600a8561211b9190613dba565b60306121279190613b0f565b60f81b818381518110612163577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561219f9190613b65565b94506120f7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228d575061228c82612909565b5b9050919050565b6060600060028360026122a79190613b96565b6122b19190613b0f565b67ffffffffffffffff8111156122f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123225781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061240a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261244a9190613b96565b6124549190613b0f565b90505b6001811115612540577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106124bc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b8282815181106124f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061253990613ce4565b9050612457565b5060008414612584576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257b906136d8565b60405180910390fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f590613898565b60405180910390fd5b61260781611496565b15612647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263e90613758565b60405180910390fd5b61265360008383612768565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a39190613b0f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127646000838361276d565b5050565b505050565b505050565b60006127938473ffffffffffffffffffffffffffffffffffffffff16612973565b156128fc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127bc611502565b8786866040518563ffffffff1660e01b81526004016127de9493929190613634565b602060405180830381600087803b1580156127f857600080fd5b505af192505050801561282957506040513d601f19601f820116820180604052508101906128269190613050565b60015b6128ac573d8060008114612859576040519150601f19603f3d011682016040523d82523d6000602084013e61285e565b606091505b506000815114156128a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289b906136f8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612901565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5080546129a290613d0e565b6000825580601f106129b457506129d3565b601f0160209004906000526020600020908101906129d29190612a5c565b5b50565b8280546129e290613d0e565b90600052602060002090601f016020900481019282612a045760008555612a4b565b82601f10612a1d57805160ff1916838001178555612a4b565b82800160010185558215612a4b579182015b82811115612a4a578251825591602001919060010190612a2f565b5b509050612a589190612a5c565b5090565b5b80821115612a75576000816000905550600101612a5d565b5090565b6000612a8c612a87846139fd565b6139d8565b90508083825260208201905082856020860282011115612aab57600080fd5b60005b85811015612af557813567ffffffffffffffff811115612acd57600080fd5b808601612ada8982612cce565b85526020850194506020840193505050600181019050612aae565b5050509392505050565b6000612b12612b0d84613a29565b6139d8565b90508083825260208201905082856020860282011115612b3157600080fd5b60005b85811015612b615781612b478882612cf8565b845260208401935060208301925050600181019050612b34565b5050509392505050565b6000612b7e612b7984613a55565b6139d8565b905082815260208101848484011115612b9657600080fd5b612ba1848285613ca2565b509392505050565b6000612bbc612bb784613a86565b6139d8565b905082815260208101848484011115612bd457600080fd5b612bdf848285613ca2565b509392505050565b600081359050612bf681614455565b92915050565b600082601f830112612c0d57600080fd5b8135612c1d848260208601612a79565b91505092915050565b600082601f830112612c3757600080fd5b8135612c47848260208601612aff565b91505092915050565b600081359050612c5f8161446c565b92915050565b600081359050612c7481614483565b92915050565b600081359050612c898161449a565b92915050565b600081519050612c9e8161449a565b92915050565b600082601f830112612cb557600080fd5b8135612cc5848260208601612b6b565b91505092915050565b600082601f830112612cdf57600080fd5b8135612cef848260208601612ba9565b91505092915050565b600081359050612d07816144b1565b92915050565b600060208284031215612d1f57600080fd5b6000612d2d84828501612be7565b91505092915050565b60008060408385031215612d4957600080fd5b6000612d5785828601612be7565b9250506020612d6885828601612be7565b9150509250929050565b600080600060608486031215612d8757600080fd5b6000612d9586828701612be7565b9350506020612da686828701612be7565b9250506040612db786828701612cf8565b9150509250925092565b60008060008060808587031215612dd757600080fd5b6000612de587828801612be7565b9450506020612df687828801612be7565b9350506040612e0787828801612cf8565b925050606085013567ffffffffffffffff811115612e2457600080fd5b612e3087828801612ca4565b91505092959194509250565b60008060008060808587031215612e5257600080fd5b6000612e6087828801612be7565b945050602085013567ffffffffffffffff811115612e7d57600080fd5b612e8987828801612c26565b935050604085013567ffffffffffffffff811115612ea657600080fd5b612eb287828801612bfc565b9250506060612ec387828801612cf8565b91505092959194509250565b60008060408385031215612ee257600080fd5b6000612ef085828601612be7565b9250506020612f0185828601612c50565b9150509250929050565b60008060408385031215612f1e57600080fd5b6000612f2c85828601612be7565b9250506020612f3d85828601612cf8565b9150509250929050565b60008060008060808587031215612f5d57600080fd5b6000612f6b87828801612be7565b9450506020612f7c87828801612cf8565b935050604085013567ffffffffffffffff811115612f9957600080fd5b612fa587828801612cce565b9250506060612fb687828801612cf8565b91505092959194509250565b600060208284031215612fd457600080fd5b6000612fe284828501612c65565b91505092915050565b60008060408385031215612ffe57600080fd5b600061300c85828601612c65565b925050602061301d85828601612be7565b9150509250929050565b60006020828403121561303957600080fd5b600061304784828501612c7a565b91505092915050565b60006020828403121561306257600080fd5b600061307084828501612c8f565b91505092915050565b60006020828403121561308b57600080fd5b600082013567ffffffffffffffff8111156130a557600080fd5b6130b184828501612cce565b91505092915050565b6000602082840312156130cc57600080fd5b60006130da84828501612cf8565b91505092915050565b600080604083850312156130f657600080fd5b600061310485828601612cf8565b925050602083013567ffffffffffffffff81111561312157600080fd5b61312d85828601612cce565b9150509250929050565b61314081613c24565b82525050565b61314f81613c36565b82525050565b61315e81613c42565b82525050565b600061316f82613acc565b6131798185613ae2565b9350613189818560208601613cb1565b61319281613ea7565b840191505092915050565b60006131a882613ad7565b6131b28185613af3565b93506131c2818560208601613cb1565b6131cb81613ea7565b840191505092915050565b60006131e182613ad7565b6131eb8185613b04565b93506131fb818560208601613cb1565b80840191505092915050565b6000815461321481613d0e565b61321e8186613af3565b94506001821660008114613239576001811461324b5761327e565b60ff198316865260208601935061327e565b61325485613ab7565b60005b8381101561327657815481890152600182019150602081019050613257565b808801955050505b50505092915050565b6000613294602083613af3565b915061329f82613eb8565b602082019050919050565b60006132b7603283613af3565b91506132c282613ee1565b604082019050919050565b60006132da602683613af3565b91506132e582613f30565b604082019050919050565b60006132fd602583613af3565b915061330882613f7f565b604082019050919050565b6000613320601c83613af3565b915061332b82613fce565b602082019050919050565b6000613343601983613af3565b915061334e82613ff7565b602082019050919050565b6000613366602483613af3565b915061337182614020565b604082019050919050565b6000613389601983613af3565b91506133948261406f565b602082019050919050565b60006133ac601283613af3565b91506133b782614098565b602082019050919050565b60006133cf601483613af3565b91506133da826140c1565b602082019050919050565b60006133f2602c83613af3565b91506133fd826140ea565b604082019050919050565b6000613415603883613af3565b915061342082614139565b604082019050919050565b6000613438602a83613af3565b915061344382614188565b604082019050919050565b600061345b602983613af3565b9150613466826141d7565b604082019050919050565b600061347e602083613af3565b915061348982614226565b602082019050919050565b60006134a1602c83613af3565b91506134ac8261424f565b604082019050919050565b60006134c4602083613af3565b91506134cf8261429e565b602082019050919050565b60006134e7602f83613af3565b91506134f2826142c7565b604082019050919050565b600061350a602183613af3565b915061351582614316565b604082019050919050565b600061352d603183613af3565b915061353882614365565b604082019050919050565b6000613550601783613b04565b915061355b826143b4565b601782019050919050565b6000613573601183613b04565b915061357e826143dd565b601182019050919050565b6000613596602f83613af3565b91506135a182614406565b604082019050919050565b6135b581613c98565b82525050565b60006135c782856131d6565b91506135d382846131d6565b91508190509392505050565b60006135ea82613543565b91506135f682856131d6565b915061360182613566565b915061360d82846131d6565b91508190509392505050565b600060208201905061362e6000830184613137565b92915050565b60006080820190506136496000830187613137565b6136566020830186613137565b61366360408301856135ac565b81810360608301526136758184613164565b905095945050505050565b60006020820190506136956000830184613146565b92915050565b60006020820190506136b06000830184613155565b92915050565b600060208201905081810360008301526136d0818461319d565b905092915050565b600060208201905081810360008301526136f181613287565b9050919050565b60006020820190508181036000830152613711816132aa565b9050919050565b60006020820190508181036000830152613731816132cd565b9050919050565b60006020820190508181036000830152613751816132f0565b9050919050565b6000602082019050818103600083015261377181613313565b9050919050565b6000602082019050818103600083015261379181613336565b9050919050565b600060208201905081810360008301526137b181613359565b9050919050565b600060208201905081810360008301526137d18161337c565b9050919050565b600060208201905081810360008301526137f18161339f565b9050919050565b60006020820190508181036000830152613811816133c2565b9050919050565b60006020820190508181036000830152613831816133e5565b9050919050565b6000602082019050818103600083015261385181613408565b9050919050565b600060208201905081810360008301526138718161342b565b9050919050565b600060208201905081810360008301526138918161344e565b9050919050565b600060208201905081810360008301526138b181613471565b9050919050565b600060208201905081810360008301526138d181613494565b9050919050565b600060208201905081810360008301526138f1816134b7565b9050919050565b60006020820190508181036000830152613911816134da565b9050919050565b60006020820190508181036000830152613931816134fd565b9050919050565b6000602082019050818103600083015261395181613520565b9050919050565b6000602082019050818103600083015261397181613589565b9050919050565b600060208201905061398d60008301846135ac565b92915050565b60006060820190506139a860008301866135ac565b81810360208301526139ba8185613207565b905081810360408301526139ce818461319d565b9050949350505050565b60006139e26139f3565b90506139ee8282613d40565b919050565b6000604051905090565b600067ffffffffffffffff821115613a1857613a17613e78565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a4457613a43613e78565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613a7057613a6f613e78565b5b613a7982613ea7565b9050602081019050919050565b600067ffffffffffffffff821115613aa157613aa0613e78565b5b613aaa82613ea7565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613b1a82613c98565b9150613b2583613c98565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b5a57613b59613deb565b5b828201905092915050565b6000613b7082613c98565b9150613b7b83613c98565b925082613b8b57613b8a613e1a565b5b828204905092915050565b6000613ba182613c98565b9150613bac83613c98565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613be557613be4613deb565b5b828202905092915050565b6000613bfb82613c98565b9150613c0683613c98565b925082821015613c1957613c18613deb565b5b828203905092915050565b6000613c2f82613c78565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613ccf578082015181840152602081019050613cb4565b83811115613cde576000848401525b50505050565b6000613cef82613c98565b91506000821415613d0357613d02613deb565b5b600182039050919050565b60006002820490506001821680613d2657607f821691505b60208210811415613d3a57613d39613e49565b5b50919050565b613d4982613ea7565b810181811067ffffffffffffffff82111715613d6857613d67613e78565b5b80604052505050565b6000613d7c82613c98565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613daf57613dae613deb565b5b600182019050919050565b6000613dc582613c98565b9150613dd083613c98565b925082613de057613ddf613e1a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4f6e6c79206f776e65722063616e206275726e20746f6b656e00000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e76616c696420746f6b656e20646174610000000000000000000000000000600082015250565b7f546f6b656e20646f6573206e6f74206578697374000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b61445e81613c24565b811461446957600080fd5b50565b61447581613c36565b811461448057600080fd5b50565b61448c81613c42565b811461449757600080fd5b50565b6144a381613c4c565b81146144ae57600080fd5b50565b6144ba81613c98565b81146144c557600080fd5b5056fea2646970667358221220468fd480ba333058ee98479a958f63d7524bab6232f596830fe8570601111d9264736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000b576f6e6465722047616d650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006574f4e4445520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002368747470733a2f2f6d657461646174612e776f6e6465722e67616d652f746f6b656e2f0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Wonder Game
Arg [1] : symbol_ (string): WONDER
Arg [2] : __baseURI (string): https://metadata.wonder.game/token/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 576f6e6465722047616d65000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 574f4e4445520000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000023
Arg [8] : 68747470733a2f2f6d657461646174612e776f6e6465722e67616d652f746f6b
Arg [9] : 656e2f0000000000000000000000000000000000000000000000000000000000


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.