Overview
TokenID
1
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JukiResource
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; /// @author yuru@GASPACK twitter.com/0xYuru /// @dev aa0cdefd28cd450477ec80c28ecf3574 0x8fd31bb99658cb203b8c9034baf3f836c2bc2422fd30380fa30b8eade122618d3ca64095830cac2c0e84bc22910eef206eb43d54f71069f8d9e66cf8e4dcabec1c contract JukiResource is ERC1155, Pausable, EIP712, ReentrancyGuard, Ownable { using ECDSA for bytes32; using Strings for uint256; mapping(address => bool) private rewardContracts; mapping(uint256 => bool) public tokenIds; string private baseURI; string public name = "Jukiverse Resources"; string public symbol = "JRESOURCE"; bool public isActive; address public signer; bytes32 public constant RESOURCES_TYPEHASH = keccak256("Resources(address player,uint256[] tokenIds,uint256[] tokenAmounts,uint256 nonce)"); event Claimed(address owner, uint256 nonce); modifier notContract() { require(!_isContract(_msgSender()), "NOT_ALLOWED_CONTRACT"); require(_msgSender() == tx.origin, "NOT_ALLOWED_PROXY"); _; } modifier approvedCaller(){ require(rewardContracts[msg.sender], "Invalid Caller"); _; } mapping(address => uint256) public playerNonce; constructor(string memory _uri, address _signer, address _dev) ERC1155(_uri) EIP712("JUKIRESOURCE", "1.0.0") { baseURI = _uri; signer = _signer; tokenIds[1] = true; tokenIds[2] = true; tokenIds[3] = true; tokenIds[888] = true; isActive = true; _mint(_dev, 1, 1, ""); _mint(_dev, 2, 1, ""); _mint(_dev, 3, 1, ""); _mint(_dev, 888, 1, ""); _transferOwnership(_dev); } function appendToken(uint256 _tokenId) external onlyOwner { tokenIds[_tokenId] = true; } function setRewardContract(address _contractAddress, bool _status) external onlyOwner { rewardContracts[_contractAddress] = _status; } function burn(address _from, uint256[] calldata _ids, uint256[] calldata _amounts) external approvedCaller { _burnBatch(_from, _ids, _amounts); } function setBaseURI(string calldata _uri) external onlyOwner { baseURI = _uri; } function mint(uint256[] calldata _tokenIds, uint256[] calldata _tokenAmounts, uint256 _nonce, bytes calldata _signature) external notContract nonReentrant { require(isActive, "NOT_ACTIVE"); require(_verify(msg.sender, _tokenIds, _tokenAmounts, _nonce, _signature) == signer, "INVALID_SIGNATURE"); require(playerNonce[msg.sender] == _nonce, "INVALID_NONCE"); playerNonce[msg.sender]++; _mintBatch(msg.sender, _tokenIds, _tokenAmounts, ""); emit Claimed(msg.sender, _nonce); } function gib(address _to, uint256[] calldata _ids, uint256[] calldata _amounts) external approvedCaller { _mintBatch(_to, _ids, _amounts, ""); } /// @notice Set signer for whitelist/redeem NFT. /// @param _signer address of signer function setSigner(address _signer) external onlyOwner { signer = _signer; } /// @notice Set signer for whitelist/redeem NFT. /// @param _status state function setActive(bool _status) external onlyOwner { isActive = _status; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal whenNotPaused override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } function _verify(address _player, uint256[] calldata _tokenIds, uint256[] calldata _tokenAmounts, uint256 _nonce, bytes calldata _sign) internal view returns (address) { bytes32 digest = _hashTypedDataV4( keccak256(abi.encode( RESOURCES_TYPEHASH, _player, keccak256(abi.encodePacked(_tokenIds)), keccak256(abi.encodePacked(_tokenAmounts)), _nonce )) ); return ECDSA.recover(digest, _sign); } function _isContract(address _addr) internal view returns (bool) { uint256 size; assembly { size := extcodesize(_addr) } return size > 0; } function uri(uint256 typeId) public view override returns (string memory) { require( tokenIds[typeId], "URI requested for invalid token type" ); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, typeId.toString())) : baseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @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, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// 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); } }
// 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); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_signer","type":"address"},{"internalType":"address","name":"_dev","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"RESOURCES_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"appendToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"gib","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_tokenAmounts","type":"uint256[]"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"playerNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setRewardContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"tokenIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
61018060405260136101408190527f4a756b697665727365205265736f7572636573000000000000000000000000006101609081526200004391600991906200076b565b50604080518082019091526009808252684a5245534f5552434560b81b60209092019182526200007691600a916200076b565b503480156200008457600080fd5b506040516200401b3803806200401b833981016040819052620000a791620008a6565b6040518060400160405280600c81526020016b4a554b495245534f5552434560a01b815250604051806040016040528060058152602001640312e302e360dc1b81525084620000fc816200033c60201b60201c565b506003805460ff19169055815160209283012081519183019190912060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818801819052818301969096526060810194909452608080850193909352308483018190528151808603909301835260c094850190915281519190950120905291909152610120526001600455620001a63362000355565b8251620001bb9060089060208601906200076b565b50600b8054600760209081527fb39221ace053465ec3453ce2b36430bd138b997ecea25c1043da0c366812b8288054600160ff1991821681179092557fb7c774451310d1be4108bc180d1b52823cb0ee0274a6c0081bcaf94f115fb96d80548216831790557f3be6fd20d5acfde5b873b48692cd31f4d3c7e8ee8a813af4696af8859e5ca6c6805482168317905561037860009081527f12cf8e3ad80576fd6c1cc376f12d359b5f683ecb73b7767663fb6eaa0599699c80548316841790556001600160a81b03199094166101006001600160a01b03891602909116178117909355604080519182019052908152620002b89183918190620003a7565b620002dd816002600160405180602001604052806000815250620003a760201b60201c565b62000302816003600160405180602001604052806000815250620003a760201b60201c565b6200032881610378600160405180602001604052806000815250620003a760201b60201c565b620003338162000355565b50505062000b50565b8051620003519060029060208401906200076b565b5050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0384166200040d5760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084015b60405180910390fd5b3362000433816000876200042188620004ce565b6200042c88620004ce565b876200051c565b6000848152602081815260408083206001600160a01b038916845290915281208054859290620004659084906200096e565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4620004c78160008787878762000587565b5050505050565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106200050b576200050b62000995565b602090810291909101015292915050565b60035460ff1615620005645760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000404565b6200057f8686868686866200057f60201b6200134f1760201c565b505050505050565b620005a6846001600160a01b03166200075c60201b620013571760201c565b156200057f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190620005e29089908990889088908890600401620009d9565b6020604051808303816000875af192505050801562000620575060408051601f3d908101601f191682019092526200061d9181019062000a20565b60015b620006e0576200062f62000a53565b806308c379a0036200066f57506200064662000a70565b8062000653575062000671565b8060405162461bcd60e51b815260040162000404919062000aff565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e746572000000000000000000000000606482015260840162000404565b6001600160e01b0319811663f23a6e6160e01b14620007535760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b606482015260840162000404565b50505050505050565b6001600160a01b03163b151590565b828054620007799062000b14565b90600052602060002090601f0160209004810192826200079d5760008555620007e8565b82601f10620007b857805160ff1916838001178555620007e8565b82800160010185558215620007e8579182015b82811115620007e8578251825591602001919060010190620007cb565b50620007f6929150620007fa565b5090565b5b80821115620007f65760008155600101620007fb565b634e487b7160e01b600052604160045260246000fd5b601f8201601f191681016001600160401b03811182821017156200084f576200084f62000811565b6040525050565b60005b838110156200087357818101518382015260200162000859565b8381111562000883576000848401525b50505050565b80516001600160a01b0381168114620008a157600080fd5b919050565b600080600060608486031215620008bc57600080fd5b83516001600160401b0380821115620008d457600080fd5b818601915086601f830112620008e957600080fd5b815181811115620008fe57620008fe62000811565b604051915062000919601f8201601f19166020018362000827565b8082528760208285010111156200092f57600080fd5b6200094281602084016020860162000856565b5093506200095590506020850162000889565b9150620009656040850162000889565b90509250925092565b600082198211156200099057634e487b7160e01b600052601160045260246000fd5b500190565b634e487b7160e01b600052603260045260246000fd5b60008151808452620009c581602086016020860162000856565b601f01601f19169290920160200192915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009062000a1590830184620009ab565b979650505050505050565b60006020828403121562000a3357600080fd5b81516001600160e01b03198116811462000a4c57600080fd5b9392505050565b600060033d111562000a6d5760046000803e5060005160e01c5b90565b600060443d101562000a7f5790565b6040516003193d81016004833e81513d6001600160401b03808311602484018310171562000aaf57505050505090565b828501915081518181111562000ac85750505050505090565b843d870101602082850101111562000ae35750505050505090565b62000af46020828601018762000827565b509095945050505050565b60208152600062000a4c6020830184620009ab565b600181811c9082168062000b2957607f821691505b60208210810362000b4a57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516101205161347b62000ba0600039600061250b0152600061255a015260006125350152600061248e015260006124b8015260006124e2015261347b6000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c80635c975abb1161010457806395d89b41116100a2578063d58778d611610071578063d58778d6146103e4578063e985e9c514610407578063f242432a14610443578063f2fde38b1461045657600080fd5b806395d89b41146103a3578063a22cb465146103ab578063acec338a146103be578063b7fe3e19146103d157600080fd5b80637f74e509116100de5780637f74e509146103645780638456cb59146103775780638bbc870e1461037f5780638da5cb5b1461039257600080fd5b80635c975abb1461033e5780636c19e78314610349578063715018a61461035c57600080fd5b8063238ac933116101715780633db0f8ab1161014b5780633db0f8ab146102f05780633f4ba83a146103035780634e1273f41461030b57806355f804b31461032b57600080fd5b8063238ac933146102985780632db3d5ca146102c85780632eb2c2d6146102dd57600080fd5b80630e89341c116101ad5780630e89341c1461023157806315e5324614610244578063206ebeb61461026457806322f3e2d41461028b57600080fd5b8062fdd58e146101d357806301ffc9a7146101f957806306fdde031461021c575b600080fd5b6101e66101e13660046129c3565b610469565b6040519081526020015b60405180910390f35b61020c610207366004612a03565b610512565b60405190151581526020016101f0565b6102246105af565b6040516101f09190612a83565b61022461023f366004612a96565b61063d565b6101e6610252366004612aaf565b600c6020526000908152604090205481565b6101e67f86509e98c75fc199dc9f6ff949b18e75bff35e9685b92e95923716a82bfda67681565b600b5461020c9060ff1681565b600b546102b09061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101f0565b6102db6102d6366004612b51565b61079a565b005b6102db6102eb366004612d41565b610a99565b6102db6102fe366004612deb565b610b3b565b6102db610c08565b61031e610319366004612e6c565b610c6c565b6040516101f09190612f72565b6102db610339366004612f85565b610daa565b60035460ff1661020c565b6102db610357366004612aaf565b610e15565b6102db610eae565b6102db610372366004612deb565b610f12565b6102db610fed565b6102db61038d366004612fd7565b61104f565b6005546001600160a01b03166102b0565b6102246110d4565b6102db6103b9366004612fd7565b6110e1565b6102db6103cc36600461300a565b6110f0565b6102db6103df366004612a96565b61115d565b61020c6103f2366004612a96565b60076020526000908152604090205460ff1681565b61020c610415366004613025565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102db61045136600461304f565b6111d2565b6102db610464366004612aaf565b61126d565b60006001600160a01b0383166104ec5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061057557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105a957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b600980546105bc906130b4565b80601f01602080910402602001604051908101604052809291908181526020018280546105e8906130b4565b80156106355780601f1061060a57610100808354040283529160200191610635565b820191906000526020600020905b81548152906001019060200180831161061857829003601f168201915b505050505081565b60008181526007602052604090205460609060ff166106c35760405162461bcd60e51b8152602060048201526024808201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e2060448201527f747970650000000000000000000000000000000000000000000000000000000060648201526084016104e3565b6000600880546106d2906130b4565b90501161076957600880546106e6906130b4565b80601f0160208091040260200160405190810160405280929190818152602001828054610712906130b4565b801561075f5780601f106107345761010080835404028352916020019161075f565b820191906000526020600020905b81548152906001019060200180831161074257829003601f168201915b50505050506105a9565b600861077483611366565b60405160200161078592919061310a565b60405160208183030381529060405292915050565b333b156107e95760405162461bcd60e51b815260206004820152601460248201527f4e4f545f414c4c4f5745445f434f4e545241435400000000000000000000000060448201526064016104e3565b3332146108385760405162461bcd60e51b815260206004820152601160248201527f4e4f545f414c4c4f5745445f50524f585900000000000000000000000000000060448201526064016104e3565b60026004540361088a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104e3565b6002600455600b5460ff166108e15760405162461bcd60e51b815260206004820152600a60248201527f4e4f545f4143544956450000000000000000000000000000000000000000000060448201526064016104e3565b600b5461010090046001600160a01b031661090233898989898989896114a3565b6001600160a01b0316146109585760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f5349474e415455524500000000000000000000000000000060448201526064016104e3565b336000908152600c602052604090205483146109b65760405162461bcd60e51b815260206004820152600d60248201527f494e56414c49445f4e4f4e43450000000000000000000000000000000000000060448201526064016104e3565b336000908152600c602052604081208054916109d1836131c6565b9190505550610a523388888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a9182918501908490808284376000920182905250604080516020810190915290815292506115ba915050565b60408051338152602081018590527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a1505060016004555050505050565b6001600160a01b038516331480610ab55750610ab58533610415565b610b275760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016104e3565b610b3485858585856117ab565b5050505050565b3360009081526006602052604090205460ff16610b9a5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642043616c6c657200000000000000000000000000000000000060448201526064016104e3565b610b348585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250611a0f92505050565b6005546001600160a01b03163314610c625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a611c89565b565b60608151835114610ce55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016104e3565b6000835167ffffffffffffffff811115610d0157610d01612bf5565b604051908082528060200260200182016040528015610d2a578160200160208202803683370190505b50905060005b8451811015610da257610d75858281518110610d4e57610d4e6131df565b6020026020010151858381518110610d6857610d686131df565b6020026020010151610469565b828281518110610d8757610d876131df565b6020908102919091010152610d9b816131c6565b9050610d30565b509392505050565b6005546001600160a01b03163314610e045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610e106008838361290e565b505050565b6005546001600160a01b03163314610e6f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600b80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6005546001600160a01b03163314610f085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a6000611d25565b3360009081526006602052604090205460ff16610f715760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642043616c6c657200000000000000000000000000000000000060448201526064016104e3565b610b3485858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040805160208089028281018201909352888252909350889250879182918501908490808284376000920182905250604080516020810190915290815292506115ba915050565b6005546001600160a01b031633146110475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a611d8f565b6005546001600160a01b031633146110a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600a80546105bc906130b4565b6110ec338383611e17565b5050565b6005546001600160a01b0316331461114a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600b805460ff1916911515919091179055565b6005546001600160a01b031633146111b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6000908152600760205260409020805460ff19166001179055565b6001600160a01b0385163314806111ee57506111ee8533610415565b6112605760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016104e3565b610b348585858585611f0b565b6005546001600160a01b031633146112c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6001600160a01b0381166113435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104e3565b61134c81611d25565b50565b505050505050565b6001600160a01b03163b151590565b6060816000036113a957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156113d357806113bd816131c6565b91506113cc9050600a8361320b565b91506113ad565b60008167ffffffffffffffff8111156113ee576113ee612bf5565b6040519080825280601f01601f191660200182016040528015611418576020820181803683370190505b5090505b841561149b5761142d60018361321f565b915061143a600a86613236565b61144590603061324a565b60f81b81838151811061145a5761145a6131df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611494600a8661320b565b945061141c565b949350505050565b60008061156a7f86509e98c75fc199dc9f6ff949b18e75bff35e9685b92e95923716a82bfda6768b8b8b6040516020016114de929190613262565b604051602081830303815290604052805190602001208a8a604051602001611507929190613262565b60408051601f198184030181528282528051602091820120908301959095526001600160a01b03909316928101929092526060820152608081019190915260a0810187905260c001604051602081830303815290604052805190602001206120b8565b90506115ac8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061212192505050565b9a9950505050505050505050565b6001600160a01b0384166116365760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104e3565b81518351146116985760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b336116a88160008787878761213d565b60005b8451811015611743578381815181106116c6576116c66131df565b60200260200101516000808784815181106116e3576116e36131df565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461172b919061324a565b9091555081905061173b816131c6565b9150506116ab565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117949291906132a7565b60405180910390a4610b3481600087878787612195565b815183511461180d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b6001600160a01b0384166118715760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b3361188081878787878761213d565b60005b84518110156119a95760008582815181106118a0576118a06131df565b6020026020010151905060008583815181106118be576118be6131df565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156119515760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016104e3565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061198e90849061324a565b92505081905550505050806119a2906131c6565b9050611883565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119f99291906132a7565b60405180910390a461134f818787878787612195565b6001600160a01b038316611a8b5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104e3565b8051825114611aed5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b6000339050611b108185600086866040518060200160405280600081525061213d565b60005b8351811015611c2a576000848281518110611b3057611b306131df565b602002602001015190506000848381518110611b4e57611b4e6131df565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611bf35760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104e3565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611c22816131c6565b915050611b13565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611c7b9291906132a7565b60405180910390a450505050565b60035460ff16611cdb5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016104e3565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60035460ff1615611de25760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104e3565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d083390565b816001600160a01b0316836001600160a01b031603611e9e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016104e3565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611f6f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b33611f8e818787611f7f8861233a565b611f888861233a565b8761213d565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156120125760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016104e3565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061204f90849061324a565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46120af828888888888612385565b50505050505050565b60006105a96120c5612481565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061213085856125ab565b91509150610da281612619565b60035460ff16156121905760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104e3565b61134f565b6001600160a01b0384163b1561134f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906121d990899089908890889088906004016132cc565b6020604051808303816000875af1925050508015612214575060408051601f3d908101601f191682019092526122119181019061332a565b60015b6122c957612220613347565b806308c379a0036122595750612234613362565b8061223f575061225b565b8060405162461bcd60e51b81526004016104e39190612a83565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016104e3565b6001600160e01b0319811663bc197c8160e01b146120af5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016104e3565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612374576123746131df565b602090810291909101015292915050565b6001600160a01b0384163b1561134f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906123c990899089908890889088906004016133ec565b6020604051808303816000875af1925050508015612404575060408051601f3d908101601f191682019092526124019181019061332a565b60015b61241057612220613347565b6001600160e01b0319811663f23a6e6160e01b146120af5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016104e3565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156124da57507f000000000000000000000000000000000000000000000000000000000000000046145b1561250457507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b60008082516041036125e15760208301516040840151606085015160001a6125d5878285856127cf565b94509450505050612612565b825160400361260a57602083015160408401516125ff8683836128bc565b935093505050612612565b506000905060025b9250929050565b600081600481111561262d5761262d61342f565b036126355750565b60018160048111156126495761264961342f565b036126965760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104e3565b60028160048111156126aa576126aa61342f565b036126f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104e3565b600381600481111561270b5761270b61342f565b036127635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104e3565b60048160048111156127775761277761342f565b0361134c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104e3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561280657506000905060036128b3565b8460ff16601b1415801561281e57508460ff16601c14155b1561282f57506000905060046128b3565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612883573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128ac576000600192509250506128b3565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816128f260ff86901c601b61324a565b9050612900878288856127cf565b935093505050935093915050565b82805461291a906130b4565b90600052602060002090601f01602090048101928261293c5760008555612982565b82601f106129555782800160ff19823516178555612982565b82800160010185558215612982579182015b82811115612982578235825591602001919060010190612967565b5061298e929150612992565b5090565b5b8082111561298e5760008155600101612993565b80356001600160a01b03811681146129be57600080fd5b919050565b600080604083850312156129d657600080fd5b6129df836129a7565b946020939093013593505050565b6001600160e01b03198116811461134c57600080fd5b600060208284031215612a1557600080fd5b8135612a20816129ed565b9392505050565b60005b83811015612a42578181015183820152602001612a2a565b83811115612a51576000848401525b50505050565b60008151808452612a6f816020860160208601612a27565b601f01601f19169290920160200192915050565b602081526000612a206020830184612a57565b600060208284031215612aa857600080fd5b5035919050565b600060208284031215612ac157600080fd5b612a20826129a7565b60008083601f840112612adc57600080fd5b50813567ffffffffffffffff811115612af457600080fd5b6020830191508360208260051b850101111561261257600080fd5b60008083601f840112612b2157600080fd5b50813567ffffffffffffffff811115612b3957600080fd5b60208301915083602082850101111561261257600080fd5b60008060008060008060006080888a031215612b6c57600080fd5b873567ffffffffffffffff80821115612b8457600080fd5b612b908b838c01612aca565b909950975060208a0135915080821115612ba957600080fd5b612bb58b838c01612aca565b909750955060408a0135945060608a0135915080821115612bd557600080fd5b50612be28a828b01612b0f565b989b979a50959850939692959293505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612c3157612c31612bf5565b6040525050565b600067ffffffffffffffff821115612c5257612c52612bf5565b5060051b60200190565b600082601f830112612c6d57600080fd5b81356020612c7a82612c38565b604051612c878282612c0b565b83815260059390931b8501820192828101915086841115612ca757600080fd5b8286015b84811015612cc25780358352918301918301612cab565b509695505050505050565b600082601f830112612cde57600080fd5b813567ffffffffffffffff811115612cf857612cf8612bf5565b604051612d0f601f8301601f191660200182612c0b565b818152846020838601011115612d2457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612d5957600080fd5b612d62866129a7565b9450612d70602087016129a7565b9350604086013567ffffffffffffffff80821115612d8d57600080fd5b612d9989838a01612c5c565b94506060880135915080821115612daf57600080fd5b612dbb89838a01612c5c565b93506080880135915080821115612dd157600080fd5b50612dde88828901612ccd565b9150509295509295909350565b600080600080600060608688031215612e0357600080fd5b612e0c866129a7565b9450602086013567ffffffffffffffff80821115612e2957600080fd5b612e3589838a01612aca565b90965094506040880135915080821115612e4e57600080fd5b50612e5b88828901612aca565b969995985093965092949392505050565b60008060408385031215612e7f57600080fd5b823567ffffffffffffffff80821115612e9757600080fd5b818501915085601f830112612eab57600080fd5b81356020612eb882612c38565b604051612ec58282612c0b565b83815260059390931b8501820192828101915089841115612ee557600080fd5b948201945b83861015612f0a57612efb866129a7565b82529482019490820190612eea565b96505086013592505080821115612f2057600080fd5b50612f2d85828601612c5c565b9150509250929050565b600081518084526020808501945080840160005b83811015612f6757815187529582019590820190600101612f4b565b509495945050505050565b602081526000612a206020830184612f37565b60008060208385031215612f9857600080fd5b823567ffffffffffffffff811115612faf57600080fd5b612fbb85828601612b0f565b90969095509350505050565b803580151581146129be57600080fd5b60008060408385031215612fea57600080fd5b612ff3836129a7565b915061300160208401612fc7565b90509250929050565b60006020828403121561301c57600080fd5b612a2082612fc7565b6000806040838503121561303857600080fd5b613041836129a7565b9150613001602084016129a7565b600080600080600060a0868803121561306757600080fd5b613070866129a7565b945061307e602087016129a7565b93506040860135925060608601359150608086013567ffffffffffffffff8111156130a857600080fd5b612dde88828901612ccd565b600181811c908216806130c857607f821691505b6020821081036130e857634e487b7160e01b600052602260045260246000fd5b50919050565b60008151613100818560208601612a27565b9290920192915050565b600080845481600182811c91508083168061312657607f831692505b6020808410820361314557634e487b7160e01b86526022600452602486fd5b818015613159576001811461316a57613197565b60ff19861689528489019650613197565b60008b81526020902060005b8681101561318f5781548b820152908501908301613176565b505084890196505b5050505050506131a781856130ee565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000600182016131d8576131d86131b0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b60008261321a5761321a6131f5565b500490565b600082821015613231576132316131b0565b500390565b600082613245576132456131f5565b500690565b6000821982111561325d5761325d6131b0565b500190565b60007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561329157600080fd5b8260051b80858437600092019182525092915050565b6040815260006132ba6040830185612f37565b82810360208401526131a78185612f37565b60006001600160a01b03808816835280871660208401525060a060408301526132f860a0830186612f37565b828103606084015261330a8186612f37565b9050828103608084015261331e8185612a57565b98975050505050505050565b60006020828403121561333c57600080fd5b8151612a20816129ed565b600060033d11156125a85760046000803e5060005160e01c90565b600060443d10156133705790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156133a057505050505090565b82850191508151818111156133b85750505050505090565b843d87010160208285010111156133d25750505050505090565b6133e160208286010187612c0b565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261342460a0830184612a57565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220748245df8d7a7a732cef79d73d09539b07afa6c67cb5bf3023c1b1fb0c5ca93f64736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000060000000000000000000000000fefe1c4bd53bbc3c5c91c96c38719de66c92999b000000000000000000000000c1f27b9a03eaf544f657f42dd66cd6f123b8b6780000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e55733435634564435752396362786459525a367641577948744e343748637448724e6576423452515432342f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c80635c975abb1161010457806395d89b41116100a2578063d58778d611610071578063d58778d6146103e4578063e985e9c514610407578063f242432a14610443578063f2fde38b1461045657600080fd5b806395d89b41146103a3578063a22cb465146103ab578063acec338a146103be578063b7fe3e19146103d157600080fd5b80637f74e509116100de5780637f74e509146103645780638456cb59146103775780638bbc870e1461037f5780638da5cb5b1461039257600080fd5b80635c975abb1461033e5780636c19e78314610349578063715018a61461035c57600080fd5b8063238ac933116101715780633db0f8ab1161014b5780633db0f8ab146102f05780633f4ba83a146103035780634e1273f41461030b57806355f804b31461032b57600080fd5b8063238ac933146102985780632db3d5ca146102c85780632eb2c2d6146102dd57600080fd5b80630e89341c116101ad5780630e89341c1461023157806315e5324614610244578063206ebeb61461026457806322f3e2d41461028b57600080fd5b8062fdd58e146101d357806301ffc9a7146101f957806306fdde031461021c575b600080fd5b6101e66101e13660046129c3565b610469565b6040519081526020015b60405180910390f35b61020c610207366004612a03565b610512565b60405190151581526020016101f0565b6102246105af565b6040516101f09190612a83565b61022461023f366004612a96565b61063d565b6101e6610252366004612aaf565b600c6020526000908152604090205481565b6101e67f86509e98c75fc199dc9f6ff949b18e75bff35e9685b92e95923716a82bfda67681565b600b5461020c9060ff1681565b600b546102b09061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101f0565b6102db6102d6366004612b51565b61079a565b005b6102db6102eb366004612d41565b610a99565b6102db6102fe366004612deb565b610b3b565b6102db610c08565b61031e610319366004612e6c565b610c6c565b6040516101f09190612f72565b6102db610339366004612f85565b610daa565b60035460ff1661020c565b6102db610357366004612aaf565b610e15565b6102db610eae565b6102db610372366004612deb565b610f12565b6102db610fed565b6102db61038d366004612fd7565b61104f565b6005546001600160a01b03166102b0565b6102246110d4565b6102db6103b9366004612fd7565b6110e1565b6102db6103cc36600461300a565b6110f0565b6102db6103df366004612a96565b61115d565b61020c6103f2366004612a96565b60076020526000908152604090205460ff1681565b61020c610415366004613025565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b6102db61045136600461304f565b6111d2565b6102db610464366004612aaf565b61126d565b60006001600160a01b0383166104ec5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152602081815260408083206001600160a01b03949094168352929052205490565b60006001600160e01b031982167fd9b67a2600000000000000000000000000000000000000000000000000000000148061057557506001600160e01b031982167f0e89341c00000000000000000000000000000000000000000000000000000000145b806105a957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b600980546105bc906130b4565b80601f01602080910402602001604051908101604052809291908181526020018280546105e8906130b4565b80156106355780601f1061060a57610100808354040283529160200191610635565b820191906000526020600020905b81548152906001019060200180831161061857829003601f168201915b505050505081565b60008181526007602052604090205460609060ff166106c35760405162461bcd60e51b8152602060048201526024808201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e2060448201527f747970650000000000000000000000000000000000000000000000000000000060648201526084016104e3565b6000600880546106d2906130b4565b90501161076957600880546106e6906130b4565b80601f0160208091040260200160405190810160405280929190818152602001828054610712906130b4565b801561075f5780601f106107345761010080835404028352916020019161075f565b820191906000526020600020905b81548152906001019060200180831161074257829003601f168201915b50505050506105a9565b600861077483611366565b60405160200161078592919061310a565b60405160208183030381529060405292915050565b333b156107e95760405162461bcd60e51b815260206004820152601460248201527f4e4f545f414c4c4f5745445f434f4e545241435400000000000000000000000060448201526064016104e3565b3332146108385760405162461bcd60e51b815260206004820152601160248201527f4e4f545f414c4c4f5745445f50524f585900000000000000000000000000000060448201526064016104e3565b60026004540361088a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104e3565b6002600455600b5460ff166108e15760405162461bcd60e51b815260206004820152600a60248201527f4e4f545f4143544956450000000000000000000000000000000000000000000060448201526064016104e3565b600b5461010090046001600160a01b031661090233898989898989896114a3565b6001600160a01b0316146109585760405162461bcd60e51b815260206004820152601160248201527f494e56414c49445f5349474e415455524500000000000000000000000000000060448201526064016104e3565b336000908152600c602052604090205483146109b65760405162461bcd60e51b815260206004820152600d60248201527f494e56414c49445f4e4f4e43450000000000000000000000000000000000000060448201526064016104e3565b336000908152600c602052604081208054916109d1836131c6565b9190505550610a523388888080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808c0282810182019093528b82529093508b92508a9182918501908490808284376000920182905250604080516020810190915290815292506115ba915050565b60408051338152602081018590527fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a910160405180910390a1505060016004555050505050565b6001600160a01b038516331480610ab55750610ab58533610415565b610b275760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016104e3565b610b3485858585856117ab565b5050505050565b3360009081526006602052604090205460ff16610b9a5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642043616c6c657200000000000000000000000000000000000060448201526064016104e3565b610b348585858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808902828101820190935288825290935088925087918291850190849080828437600092019190915250611a0f92505050565b6005546001600160a01b03163314610c625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a611c89565b565b60608151835114610ce55760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016104e3565b6000835167ffffffffffffffff811115610d0157610d01612bf5565b604051908082528060200260200182016040528015610d2a578160200160208202803683370190505b50905060005b8451811015610da257610d75858281518110610d4e57610d4e6131df565b6020026020010151858381518110610d6857610d686131df565b6020026020010151610469565b828281518110610d8757610d876131df565b6020908102919091010152610d9b816131c6565b9050610d30565b509392505050565b6005546001600160a01b03163314610e045760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610e106008838361290e565b505050565b6005546001600160a01b03163314610e6f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600b80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b6005546001600160a01b03163314610f085760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a6000611d25565b3360009081526006602052604090205460ff16610f715760405162461bcd60e51b815260206004820152600e60248201527f496e76616c69642043616c6c657200000000000000000000000000000000000060448201526064016104e3565b610b3485858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040805160208089028281018201909352888252909350889250879182918501908490808284376000920182905250604080516020810190915290815292506115ba915050565b6005546001600160a01b031633146110475760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b610c6a611d8f565b6005546001600160a01b031633146110a95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b600a80546105bc906130b4565b6110ec338383611e17565b5050565b6005546001600160a01b0316331461114a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600b805460ff1916911515919091179055565b6005546001600160a01b031633146111b75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6000908152600760205260409020805460ff19166001179055565b6001600160a01b0385163314806111ee57506111ee8533610415565b6112605760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016104e3565b610b348585858585611f0b565b6005546001600160a01b031633146112c75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b6001600160a01b0381166113435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104e3565b61134c81611d25565b50565b505050505050565b6001600160a01b03163b151590565b6060816000036113a957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156113d357806113bd816131c6565b91506113cc9050600a8361320b565b91506113ad565b60008167ffffffffffffffff8111156113ee576113ee612bf5565b6040519080825280601f01601f191660200182016040528015611418576020820181803683370190505b5090505b841561149b5761142d60018361321f565b915061143a600a86613236565b61144590603061324a565b60f81b81838151811061145a5761145a6131df565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611494600a8661320b565b945061141c565b949350505050565b60008061156a7f86509e98c75fc199dc9f6ff949b18e75bff35e9685b92e95923716a82bfda6768b8b8b6040516020016114de929190613262565b604051602081830303815290604052805190602001208a8a604051602001611507929190613262565b60408051601f198184030181528282528051602091820120908301959095526001600160a01b03909316928101929092526060820152608081019190915260a0810187905260c001604051602081830303815290604052805190602001206120b8565b90506115ac8185858080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061212192505050565b9a9950505050505050505050565b6001600160a01b0384166116365760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104e3565b81518351146116985760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b336116a88160008787878761213d565b60005b8451811015611743578381815181106116c6576116c66131df565b60200260200101516000808784815181106116e3576116e36131df565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461172b919061324a565b9091555081905061173b816131c6565b9150506116ab565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117949291906132a7565b60405180910390a4610b3481600087878787612195565b815183511461180d5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b6001600160a01b0384166118715760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b3361188081878787878761213d565b60005b84518110156119a95760008582815181106118a0576118a06131df565b6020026020010151905060008583815181106118be576118be6131df565b602090810291909101810151600084815280835260408082206001600160a01b038e1683529093529190912054909150818110156119515760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016104e3565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b1682528120805484929061198e90849061324a565b92505081905550505050806119a2906131c6565b9050611883565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516119f99291906132a7565b60405180910390a461134f818787878787612195565b6001600160a01b038316611a8b5760405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104e3565b8051825114611aed5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016104e3565b6000339050611b108185600086866040518060200160405280600081525061213d565b60005b8351811015611c2a576000848281518110611b3057611b306131df565b602002602001015190506000848381518110611b4e57611b4e6131df565b602090810291909101810151600084815280835260408082206001600160a01b038c168352909352919091205490915081811015611bf35760405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c60448201527f616e63650000000000000000000000000000000000000000000000000000000060648201526084016104e3565b6000928352602083815260408085206001600160a01b038b1686529091529092209103905580611c22816131c6565b915050611b13565b5060006001600160a01b0316846001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611c7b9291906132a7565b60405180910390a450505050565b60035460ff16611cdb5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016104e3565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60035460ff1615611de25760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104e3565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d083390565b816001600160a01b0316836001600160a01b031603611e9e5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016104e3565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6001600160a01b038416611f6f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b33611f8e818787611f7f8861233a565b611f888861233a565b8761213d565b6000848152602081815260408083206001600160a01b038a168452909152902054838110156120125760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b60648201526084016104e3565b6000858152602081815260408083206001600160a01b038b811685529252808320878503905590881682528120805486929061204f90849061324a565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46120af828888888888612385565b50505050505050565b60006105a96120c5612481565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061213085856125ab565b91509150610da281612619565b60035460ff16156121905760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016104e3565b61134f565b6001600160a01b0384163b1561134f5760405163bc197c8160e01b81526001600160a01b0385169063bc197c81906121d990899089908890889088906004016132cc565b6020604051808303816000875af1925050508015612214575060408051601f3d908101601f191682019092526122119181019061332a565b60015b6122c957612220613347565b806308c379a0036122595750612234613362565b8061223f575061225b565b8060405162461bcd60e51b81526004016104e39190612a83565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016104e3565b6001600160e01b0319811663bc197c8160e01b146120af5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016104e3565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612374576123746131df565b602090810291909101015292915050565b6001600160a01b0384163b1561134f5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e61906123c990899089908890889088906004016133ec565b6020604051808303816000875af1925050508015612404575060408051601f3d908101601f191682019092526124019181019061332a565b60015b61241057612220613347565b6001600160e01b0319811663f23a6e6160e01b146120af5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b60648201526084016104e3565b6000306001600160a01b037f000000000000000000000000223c30f378168e3bc0b0a671855e5a6af918255a161480156124da57507f000000000000000000000000000000000000000000000000000000000000000146145b1561250457507faf0a2cfac1c0ebd9bd9e60ef955609f62c71ef50a2df22ee32d97560781063f990565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f24768fdc66069ead15fb44f615e16477c2364c63b30f07bd24abe697ea0910ca828401527f06c015bd22b4c69690933c1058878ebdfef31f9aaae40bbe86d8a09fe1b2972c60608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b60008082516041036125e15760208301516040840151606085015160001a6125d5878285856127cf565b94509450505050612612565b825160400361260a57602083015160408401516125ff8683836128bc565b935093505050612612565b506000905060025b9250929050565b600081600481111561262d5761262d61342f565b036126355750565b60018160048111156126495761264961342f565b036126965760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104e3565b60028160048111156126aa576126aa61342f565b036126f75760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104e3565b600381600481111561270b5761270b61342f565b036127635760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016104e3565b60048160048111156127775761277761342f565b0361134c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016104e3565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561280657506000905060036128b3565b8460ff16601b1415801561281e57508460ff16601c14155b1561282f57506000905060046128b3565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015612883573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166128ac576000600192509250506128b3565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816128f260ff86901c601b61324a565b9050612900878288856127cf565b935093505050935093915050565b82805461291a906130b4565b90600052602060002090601f01602090048101928261293c5760008555612982565b82601f106129555782800160ff19823516178555612982565b82800160010185558215612982579182015b82811115612982578235825591602001919060010190612967565b5061298e929150612992565b5090565b5b8082111561298e5760008155600101612993565b80356001600160a01b03811681146129be57600080fd5b919050565b600080604083850312156129d657600080fd5b6129df836129a7565b946020939093013593505050565b6001600160e01b03198116811461134c57600080fd5b600060208284031215612a1557600080fd5b8135612a20816129ed565b9392505050565b60005b83811015612a42578181015183820152602001612a2a565b83811115612a51576000848401525b50505050565b60008151808452612a6f816020860160208601612a27565b601f01601f19169290920160200192915050565b602081526000612a206020830184612a57565b600060208284031215612aa857600080fd5b5035919050565b600060208284031215612ac157600080fd5b612a20826129a7565b60008083601f840112612adc57600080fd5b50813567ffffffffffffffff811115612af457600080fd5b6020830191508360208260051b850101111561261257600080fd5b60008083601f840112612b2157600080fd5b50813567ffffffffffffffff811115612b3957600080fd5b60208301915083602082850101111561261257600080fd5b60008060008060008060006080888a031215612b6c57600080fd5b873567ffffffffffffffff80821115612b8457600080fd5b612b908b838c01612aca565b909950975060208a0135915080821115612ba957600080fd5b612bb58b838c01612aca565b909750955060408a0135945060608a0135915080821115612bd557600080fd5b50612be28a828b01612b0f565b989b979a50959850939692959293505050565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715612c3157612c31612bf5565b6040525050565b600067ffffffffffffffff821115612c5257612c52612bf5565b5060051b60200190565b600082601f830112612c6d57600080fd5b81356020612c7a82612c38565b604051612c878282612c0b565b83815260059390931b8501820192828101915086841115612ca757600080fd5b8286015b84811015612cc25780358352918301918301612cab565b509695505050505050565b600082601f830112612cde57600080fd5b813567ffffffffffffffff811115612cf857612cf8612bf5565b604051612d0f601f8301601f191660200182612c0b565b818152846020838601011115612d2457600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215612d5957600080fd5b612d62866129a7565b9450612d70602087016129a7565b9350604086013567ffffffffffffffff80821115612d8d57600080fd5b612d9989838a01612c5c565b94506060880135915080821115612daf57600080fd5b612dbb89838a01612c5c565b93506080880135915080821115612dd157600080fd5b50612dde88828901612ccd565b9150509295509295909350565b600080600080600060608688031215612e0357600080fd5b612e0c866129a7565b9450602086013567ffffffffffffffff80821115612e2957600080fd5b612e3589838a01612aca565b90965094506040880135915080821115612e4e57600080fd5b50612e5b88828901612aca565b969995985093965092949392505050565b60008060408385031215612e7f57600080fd5b823567ffffffffffffffff80821115612e9757600080fd5b818501915085601f830112612eab57600080fd5b81356020612eb882612c38565b604051612ec58282612c0b565b83815260059390931b8501820192828101915089841115612ee557600080fd5b948201945b83861015612f0a57612efb866129a7565b82529482019490820190612eea565b96505086013592505080821115612f2057600080fd5b50612f2d85828601612c5c565b9150509250929050565b600081518084526020808501945080840160005b83811015612f6757815187529582019590820190600101612f4b565b509495945050505050565b602081526000612a206020830184612f37565b60008060208385031215612f9857600080fd5b823567ffffffffffffffff811115612faf57600080fd5b612fbb85828601612b0f565b90969095509350505050565b803580151581146129be57600080fd5b60008060408385031215612fea57600080fd5b612ff3836129a7565b915061300160208401612fc7565b90509250929050565b60006020828403121561301c57600080fd5b612a2082612fc7565b6000806040838503121561303857600080fd5b613041836129a7565b9150613001602084016129a7565b600080600080600060a0868803121561306757600080fd5b613070866129a7565b945061307e602087016129a7565b93506040860135925060608601359150608086013567ffffffffffffffff8111156130a857600080fd5b612dde88828901612ccd565b600181811c908216806130c857607f821691505b6020821081036130e857634e487b7160e01b600052602260045260246000fd5b50919050565b60008151613100818560208601612a27565b9290920192915050565b600080845481600182811c91508083168061312657607f831692505b6020808410820361314557634e487b7160e01b86526022600452602486fd5b818015613159576001811461316a57613197565b60ff19861689528489019650613197565b60008b81526020902060005b8681101561318f5781548b820152908501908301613176565b505084890196505b5050505050506131a781856130ee565b95945050505050565b634e487b7160e01b600052601160045260246000fd5b6000600182016131d8576131d86131b0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601260045260246000fd5b60008261321a5761321a6131f5565b500490565b600082821015613231576132316131b0565b500390565b600082613245576132456131f5565b500690565b6000821982111561325d5761325d6131b0565b500190565b60007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561329157600080fd5b8260051b80858437600092019182525092915050565b6040815260006132ba6040830185612f37565b82810360208401526131a78185612f37565b60006001600160a01b03808816835280871660208401525060a060408301526132f860a0830186612f37565b828103606084015261330a8186612f37565b9050828103608084015261331e8185612a57565b98975050505050505050565b60006020828403121561333c57600080fd5b8151612a20816129ed565b600060033d11156125a85760046000803e5060005160e01c90565b600060443d10156133705790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156133a057505050505090565b82850191508151818111156133b85750505050505090565b843d87010160208285010111156133d25750505050505090565b6133e160208286010187612c0b565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261342460a0830184612a57565b979650505050505050565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220748245df8d7a7a732cef79d73d09539b07afa6c67cb5bf3023c1b1fb0c5ca93f64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000fefe1c4bd53bbc3c5c91c96c38719de66c92999b000000000000000000000000c1f27b9a03eaf544f657f42dd66cd6f123b8b6780000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e55733435634564435752396362786459525a367641577948744e343748637448724e6576423452515432342f00000000000000000000
-----Decoded View---------------
Arg [0] : _uri (string): ipfs://QmNUs45cEdCWR9cbxdYRZ6vAWyHtN47HctHrNevB4RQT24/
Arg [1] : _signer (address): 0xFEFE1c4bD53BBC3c5c91C96C38719de66c92999B
Arg [2] : _dev (address): 0xc1f27b9A03EaF544F657f42dD66cD6f123b8b678
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 000000000000000000000000fefe1c4bd53bbc3c5c91c96c38719de66c92999b
Arg [2] : 000000000000000000000000c1f27b9a03eaf544f657f42dd66cd6f123b8b678
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d4e55733435634564435752396362786459525a36764157
Arg [5] : 7948744e343748637448724e6576423452515432342f00000000000000000000
Loading...
Loading
Loading...
Loading
[ 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.