Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
100
Holders
33
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RNFT
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/access/AccessControlEnumerable.sol"; /** @title An OpenSea delegate proxy contract which we include for whitelisting. @author OpenSea */ contract OwnableDelegateProxy { } /** @title An OpenSea proxy registry contract which we include for whitelisting. @author OpenSea */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * * @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 RNFT is Context, ERC165, IERC1155, IERC1155MetadataURI, AccessControlEnumerable, Ownable { 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; uint256 public vipTokenId = 1; /// Specifically whitelist an OpenSea proxy registry address. address public proxyRegistryAddress; /** * @dev See {_setURI}. */ constructor(string memory uri_, address _proxyRegistryAddress) { _setURI(uri_); proxyRegistryAddress = _proxyRegistryAddress; _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _mint(_msgSender(), vipTokenId, 100, ""); } function updateURI(string memory uri_) public { require( hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "RNFT: must have admin role to update" ); _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165, AccessControlEnumerable) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @notice Convert uint256 to string * @param _i Unsigned integer to convert to string */ function _uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for all token types. It relies * on the token type ID substituion 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 _id) external view override returns (string memory) { return string(abi.encodePacked(_uri, _uint2str(_id))); } /** * @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), "RNFT: 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, "RNFT: 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 { require( _msgSender() != operator, "RNFT: setting approval status for self" ); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(account)) == operator) { return true; } return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safe`}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require(to != address(0), "RNFT: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "RNFT: caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer( operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data ); uint256 fromBalance = _balances[id][from]; require( fromBalance >= amount, "RNFT: insufficient balance for transfer" ); _balances[id][from] = fromBalance - amount; _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, 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( ids.length == amounts.length, "RNFT: ids and amounts length mismatch" ); require(to != address(0), "RNFT: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "RNFT: transfer caller is not owner nor approved" ); 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, "RNFT: insufficient balance for transfer" ); _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 `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "RNFT: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer( operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data ); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck( operator, address(0), account, 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), "RNFT: mint to the zero address"); require( ids.length == amounts.length, "RNFT: 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 `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "RNFT: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer( operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "" ); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "RNFT: burn amount exceeds balance"); _balances[id][account] = accountBalance - amount; emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "RNFT: burn from the zero address"); require( ids.length == amounts.length, "RNFT: ids and amounts length mismatch" ); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require( accountBalance >= amount, "RNFT: burn amount exceeds balance" ); _balances[id][account] = accountBalance - amount; } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @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(to).onERC1155Received.selector ) { revert("RNFT: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("RNFT: 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(to).onERC1155BatchReceived.selector ) { revert("RNFT: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("RNFT: 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 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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * _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. 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. 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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./AccessControl.sol"; import "../utils/structs/EnumerableSet.sol"; /** * @dev External interface of AccessControlEnumerable declared to support ERC165 detection. */ interface IAccessControlEnumerable { function getRoleMember(bytes32 role, uint256 index) external view returns (address); function getRoleMemberCount(bytes32 role) external view returns (uint256); } /** * @dev Extension of {AccessControl} that allows enumerating the members of each role. */ abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl { using EnumerableSet for EnumerableSet.AddressSet; mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view override returns (address) { return _roleMembers[role].at(index); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view override returns (uint256) { return _roleMembers[role].length(); } /** * @dev Overload {grantRole} to track enumerable memberships */ function grantRole(bytes32 role, address account) public virtual override { super.grantRole(role, account); _roleMembers[role].add(account); } /** * @dev Overload {revokeRole} to track enumerable memberships */ function revokeRole(bytes32 role, address account) public virtual override { super.revokeRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {renounceRole} to track enumerable memberships */ function renounceRole(bytes32 role, address account) public virtual override { super.renounceRole(role, account); _roleMembers[role].remove(account); } /** * @dev Overload {_setupRole} to track enumerable memberships */ function _setupRole(bytes32 role, address account) internal virtual override { super._setupRole(role, account); _roleMembers[role].add(account); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { function hasRole(bytes32 role, address account) external view returns (bool); function getRoleAdmin(bytes32 role) external view returns (bytes32); function grantRole(bytes32 role, address account) external; function revokeRole(bytes32 role, address account) external; function renounceRole(bytes32 role, address account) external; } /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping (address => bool) members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view override returns (bool) { return _roles[role].members[account]; } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override { require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, getRoleAdmin(role), adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"updateURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vipTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016006553480156200001657600080fd5b50604051620050d8380380620050d883398181016040528101906200003c919062000a68565b60006200004e620001a060201b60201c565b905080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620000fe82620001a860201b60201c565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620001636000801b62000157620001a060201b60201c565b620001c460201b60201c565b6200019862000177620001a060201b60201c565b6006546064604051806020016040528060008152506200020c60201b60201c565b505062001108565b600033905090565b8060059080519060200190620001c0929190620008ec565b5050565b620001db8282620003d260201b6200171d1760201c565b620002078160016000858152602001908152602001600020620003e860201b6200172b1790919060201c565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156200027f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002769062000d44565b60405180910390fd5b600062000291620001a060201b60201c565b9050620002ca81600087620002ac886200042060201b60201c565b620002bd886200042060201b60201c565b87620004e960201b60201c565b826003600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200032c919062000e32565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051620003ac92919062000d66565b60405180910390a4620003cb81600087878787620004f160201b60201c565b5050505050565b620003e48282620006e160201b60201c565b5050565b600062000418836000018373ffffffffffffffffffffffffffffffffffffffff1660001b620007d260201b60201c565b905092915050565b60606000600167ffffffffffffffff81111562000466577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015620004955781602001602082028036833780820191505090505b5090508281600081518110620004d4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b6200051d8473ffffffffffffffffffffffffffffffffffffffff166200084c60201b6200175b1760201c565b15620006d9578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016200056695949392919062000c78565b602060405180830381600087803b1580156200058157600080fd5b505af1925050508015620005b557506040513d601f19601f82011682018060405250810190620005b2919062000a3c565b60015b6200064d57620005c462001010565b80620005d1575062000610565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000607919062000cdc565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006449062000d00565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614620006d7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006ce9062000d22565b60405180910390fd5b505b505050505050565b620006f382826200085f60201b60201c565b620007ce57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000773620001a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000620007e68383620008c960201b60201c565b6200084157826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905062000846565b600090505b92915050565b600080823b905060008111915050919050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b828054620008fa9062000f2f565b90600052602060002090601f0160209004810192826200091e57600085556200096a565b82601f106200093957805160ff19168380011785556200096a565b828001600101855582156200096a579182015b82811115620009695782518255916020019190600101906200094c565b5b5090506200097991906200097d565b5090565b5b80821115620009985760008160009055506001016200097e565b5090565b6000620009b3620009ad8462000dc7565b62000d93565b905082815260208101848484011115620009cc57600080fd5b620009d984828562000ef9565b509392505050565b600081519050620009f281620010d4565b92915050565b60008151905062000a0981620010ee565b92915050565b600082601f83011262000a2157600080fd5b815162000a338482602086016200099c565b91505092915050565b60006020828403121562000a4f57600080fd5b600062000a5f84828501620009f8565b91505092915050565b6000806040838503121562000a7c57600080fd5b600083015167ffffffffffffffff81111562000a9757600080fd5b62000aa58582860162000a0f565b925050602062000ab885828601620009e1565b9150509250929050565b62000acd8162000e8f565b82525050565b600062000ae08262000dfa565b62000aec818562000e10565b935062000afe81856020860162000ef9565b62000b098162000ff2565b840191505092915050565b600062000b218262000e05565b62000b2d818562000e21565b935062000b3f81856020860162000ef9565b62000b4a8162000ff2565b840191505092915050565b600062000b6460318362000e21565b91507f524e46543a207472616e7366657220746f206e6f6e204552433131353552656360008301527f656976657220696d706c656d656e7465720000000000000000000000000000006020830152604082019050919050565b600062000bcc60258362000e21565b91507f524e46543a204552433131353552656365697665722072656a6563746564207460008301527f6f6b656e730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600062000c34601e8362000e21565b91507f524e46543a206d696e7420746f20746865207a65726f206164647265737300006000830152602082019050919050565b62000c728162000eef565b82525050565b600060a08201905062000c8f600083018862000ac2565b62000c9e602083018762000ac2565b62000cad604083018662000c67565b62000cbc606083018562000c67565b818103608083015262000cd0818462000ad3565b90509695505050505050565b6000602082019050818103600083015262000cf8818462000b14565b905092915050565b6000602082019050818103600083015262000d1b8162000b55565b9050919050565b6000602082019050818103600083015262000d3d8162000bbd565b9050919050565b6000602082019050818103600083015262000d5f8162000c25565b9050919050565b600060408201905062000d7d600083018562000c67565b62000d8c602083018462000c67565b9392505050565b6000604051905081810181811067ffffffffffffffff8211171562000dbd5762000dbc62000fc3565b5b8060405250919050565b600067ffffffffffffffff82111562000de55762000de462000fc3565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600062000e3f8262000eef565b915062000e4c8362000eef565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e845762000e8362000f65565b5b828201905092915050565b600062000e9c8262000ecf565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000f1957808201518184015260208101905062000efc565b8381111562000f29576000848401525b50505050565b6000600282049050600182168062000f4857607f821691505b6020821081141562000f5f5762000f5e62000f94565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156200102257620010d1565b60046000803e6200103560005162001003565b6308c379a08114620010485750620010d1565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156200107657505050620010d1565b808201805167ffffffffffffffff81111562001097575050505050620010d1565b8060208301013d8501811115620010b457505050505050620010d1565b620010bf8262000ff2565b60208401016040528296505050505050505b90565b620010df8162000e8f565b8114620010eb57600080fd5b50565b620010f98162000ea3565b81146200110557600080fd5b50565b613fc080620011186000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c806391d14854116100b8578063cd7c03261161007c578063cd7c032614610398578063d547741f146103b6578063e985e9c5146103d2578063f242432a14610402578063f2fde38b1461041e578063fbb8f6931461043a57610141565b806391d14854146102e2578063a217fddf14610312578063a22cb46514610330578063c30f4a5a1461034c578063ca15c8731461036857610141565b80632f2ff15d1161010a5780632f2ff15d1461022257806336568abe1461023e5780634e1273f41461025a578063715018a61461028a5780638da5cb5b146102945780639010d07c146102b257610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a6578063248a9ca3146101d65780632eb2c2d614610206575b600080fd5b610160600480360381019061015b9190612a89565b610458565b60405161016d919061390c565b60405180910390f35b610190600480360381019061018b9190612bd2565b610522565b60405161019d9190613694565b60405180910390f35b6101c060048036038101906101bb9190612c8e565b610604565b6040516101cd91906136ca565b60405180910390f35b6101f060048036038101906101eb9190612b31565b610638565b6040516101fd91906136af565b60405180910390f35b610220600480360381019061021b91906128ff565b610657565b005b61023c60048036038101906102379190612b5a565b610a50565b005b61025860048036038101906102539190612b5a565b610a84565b005b610274600480360381019061026f9190612ac5565b610ab8565b604051610281919061363b565b60405180910390f35b610292610c69565b005b61029c610da6565b6040516102a9919061355e565b60405180910390f35b6102cc60048036038101906102c79190612b96565b610dd0565b6040516102d9919061355e565b60405180910390f35b6102fc60048036038101906102f79190612b5a565b610dff565b6040516103099190613694565b60405180910390f35b61031a610e69565b60405161032791906136af565b60405180910390f35b61034a60048036038101906103459190612a4d565b610e70565b005b61036660048036038101906103619190612c4d565b610ff1565b005b610382600480360381019061037d9190612b31565b611050565b60405161038f919061390c565b60405180910390f35b6103a0611074565b6040516103ad919061355e565b60405180910390f35b6103d060048036038101906103cb9190612b5a565b61109a565b005b6103ec60048036038101906103e791906128c3565b6110ce565b6040516103f99190613694565b60405180910390f35b61041c600480360381019061041791906129be565b611250565b005b6104386004803603810190610433919061289a565b61156b565b005b610442611717565b60405161044f919061390c565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c09061376c565b60405180910390fd5b6003600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ed57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fd57506105fc8261176e565b5b9050919050565b60606005610611836117e8565b60405160200161062292919061353a565b6040516020818303038152906040529050919050565b6000806000838152602001908152602001600020600101549050919050565b815183511461069b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610692906138ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061378c565b60405180910390fd5b6107136119bd565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107595750610758856107536119bd565b6110ce565b5b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f9061388c565b60405180910390fd5b60006107a26119bd565b90506107b28187878787876119c5565b60005b84518110156109bb5760008582815181106107f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061083e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006003600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d79061386c565b60405180910390fd5b81816108ec9190613be2565b6003600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109a09190613aca565b92505081905550505050806109b490613d27565b90506107b5565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610a3292919061365d565b60405180910390a4610a488187878787876119cd565b505050505050565b610a5a8282611b9d565b610a7f816001600085815260200190815260200160002061172b90919063ffffffff16565b505050565b610a8e8282611c03565b610ab38160016000858152602001908152602001600020611c8690919063ffffffff16565b505050565b60608151835114610afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af5906138ec565b60405180910390fd5b6000835167ffffffffffffffff811115610b41577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610b6f5781602001602082028036833780820191505090505b50905060005b8451811015610c5e57610c08858281518110610bba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610bfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610458565b828281518110610c41577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610c5790613d27565b9050610b75565b508091505092915050565b610c716119bd565b73ffffffffffffffffffffffffffffffffffffffff16610c8f610da6565b73ffffffffffffffffffffffffffffffffffffffff1614610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9061382c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610df78260016000868152602001908152602001600020611cb690919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610e8f6119bd565b73ffffffffffffffffffffffffffffffffffffffff161415610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd9061372c565b60405180910390fd5b8060046000610ef36119bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fa06119bd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe59190613694565b60405180910390a35050565b6110056000801b6110006119bd565b610dff565b611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b9061384c565b60405180910390fd5b61104d81611cd0565b50565b600061106d60016000848152602001908152602001600020611cea565b9050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110a48282611cff565b6110c98160016000858152602001908152602001600020611c8690919063ffffffff16565b505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611146919061355e565b60206040518083038186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190612c24565b73ffffffffffffffffffffffffffffffffffffffff1614156111bc57600191505061124a565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b79061378c565b60405180910390fd5b6112c86119bd565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061130e575061130d856113086119bd565b6110ce565b5b61134d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113449061380c565b60405180910390fd5b60006113576119bd565b905061137781878761136888611d65565b61137188611d65565b876119c5565b60006003600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561140f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114069061386c565b60405180910390fd5b838161141b9190613be2565b6003600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836003600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114cf9190613aca565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161154c929190613927565b60405180910390a4611562828888888888611e2b565b50505050505050565b6115736119bd565b73ffffffffffffffffffffffffffffffffffffffff16611591610da6565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de9061382c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e9061374c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60065481565b6117278282611ffb565b5050565b6000611753836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6120db565b905092915050565b600080823b905060008111915050919050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117e157506117e08261214b565b5b9050919050565b60606000821415611830576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506119b8565b600082905060005b6000821461186257808061184b90613d27565b915050600a8261185b9190613b57565b9150611838565b60008167ffffffffffffffff8111156118a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118d65781602001600182028036833780820191505090505b50905060008290505b600086146119b0576001816118f49190613be2565b90506000600a80886119069190613b57565b6119109190613b88565b8761191b9190613be2565b60306119279190613b20565b905060008160f81b90508084848151811061196b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886119a79190613b57565b975050506118df565b819450505050505b919050565b600033905090565b505050505050565b6119ec8473ffffffffffffffffffffffffffffffffffffffff1661175b565b15611b95578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611a32959493929190613579565b602060405180830381600087803b158015611a4c57600080fd5b505af1925050508015611a7d57506040513d601f19601f82011682018060405250810190611a7a9190612bfb565b60015b611b0c57611a89613e4a565b80611a945750611ad1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac891906136ca565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b03906137ac565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a906137ec565b60405180910390fd5b505b505050505050565b611bb6611ba983610638565b611bb16119bd565b610dff565b611bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bec9061370c565b60405180910390fd5b611bff8282611ffb565b5050565b611c0b6119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906138cc565b60405180910390fd5b611c8282826121c5565b5050565b6000611cae836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6122a6565b905092915050565b6000611cc58360000183612430565b60001c905092915050565b8060059080519060200190611ce6929190612568565b5050565b6000611cf8826000016124ca565b9050919050565b611d18611d0b83610638565b611d136119bd565b610dff565b611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e906137cc565b60405180910390fd5b611d6182826121c5565b5050565b60606000600167ffffffffffffffff811115611daa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611dd85781602001602082028036833780820191505090505b5090508281600081518110611e16577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611e4a8473ffffffffffffffffffffffffffffffffffffffff1661175b565b15611ff3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e909594939291906135e1565b602060405180830381600087803b158015611eaa57600080fd5b505af1925050508015611edb57506040513d601f19601f82011682018060405250810190611ed89190612bfb565b60015b611f6a57611ee7613e4a565b80611ef25750611f2f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2691906136ca565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f61906137ac565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe8906137ec565b60405180910390fd5b505b505050505050565b6120058282610dff565b6120d757600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061207c6119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006120e783836124db565b612140578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612145565b600090505b92915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121be57506121bd826124fe565b5b9050919050565b6121cf8282610dff565b156122a257600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122476119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146124245760006001826122d89190613be2565b90506000600186600001805490506122f09190613be2565b90506000866000018281548110612330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061237a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836123959190613aca565b87600101600083815260200190815260200160002081905550866000018054806123e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061242a565b60009150505b92915050565b60008183600001805490501161247b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612472906136ec565b60405180910390fd5b8260000182815481106124b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461257490613cf5565b90600052602060002090601f01602090048101928261259657600085556125dd565b82601f106125af57805160ff19168380011785556125dd565b828001600101855582156125dd579182015b828111156125dc5782518255916020019190600101906125c1565b5b5090506125ea91906125ee565b5090565b5b808211156126075760008160009055506001016125ef565b5090565b600061261e61261984613981565b613950565b9050808382526020820190508285602086028201111561263d57600080fd5b60005b8581101561266d5781612653888261275f565b845260208401935060208301925050600181019050612640565b5050509392505050565b600061268a612685846139ad565b613950565b905080838252602082019050828560208602820111156126a957600080fd5b60005b858110156126d957816126bf8882612885565b8452602084019350602083019250506001810190506126ac565b5050509392505050565b60006126f66126f1846139d9565b613950565b90508281526020810184848401111561270e57600080fd5b612719848285613cb3565b509392505050565b600061273461272f84613a09565b613950565b90508281526020810184848401111561274c57600080fd5b612757848285613cb3565b509392505050565b60008135905061276e81613f00565b92915050565b600082601f83011261278557600080fd5b813561279584826020860161260b565b91505092915050565b600082601f8301126127af57600080fd5b81356127bf848260208601612677565b91505092915050565b6000813590506127d781613f17565b92915050565b6000813590506127ec81613f2e565b92915050565b60008135905061280181613f45565b92915050565b60008151905061281681613f45565b92915050565b600082601f83011261282d57600080fd5b813561283d8482602086016126e3565b91505092915050565b60008151905061285581613f5c565b92915050565b600082601f83011261286c57600080fd5b813561287c848260208601612721565b91505092915050565b60008135905061289481613f73565b92915050565b6000602082840312156128ac57600080fd5b60006128ba8482850161275f565b91505092915050565b600080604083850312156128d657600080fd5b60006128e48582860161275f565b92505060206128f58582860161275f565b9150509250929050565b600080600080600060a0868803121561291757600080fd5b60006129258882890161275f565b95505060206129368882890161275f565b945050604086013567ffffffffffffffff81111561295357600080fd5b61295f8882890161279e565b935050606086013567ffffffffffffffff81111561297c57600080fd5b6129888882890161279e565b925050608086013567ffffffffffffffff8111156129a557600080fd5b6129b18882890161281c565b9150509295509295909350565b600080600080600060a086880312156129d657600080fd5b60006129e48882890161275f565b95505060206129f58882890161275f565b9450506040612a0688828901612885565b9350506060612a1788828901612885565b925050608086013567ffffffffffffffff811115612a3457600080fd5b612a408882890161281c565b9150509295509295909350565b60008060408385031215612a6057600080fd5b6000612a6e8582860161275f565b9250506020612a7f858286016127c8565b9150509250929050565b60008060408385031215612a9c57600080fd5b6000612aaa8582860161275f565b9250506020612abb85828601612885565b9150509250929050565b60008060408385031215612ad857600080fd5b600083013567ffffffffffffffff811115612af257600080fd5b612afe85828601612774565b925050602083013567ffffffffffffffff811115612b1b57600080fd5b612b278582860161279e565b9150509250929050565b600060208284031215612b4357600080fd5b6000612b51848285016127dd565b91505092915050565b60008060408385031215612b6d57600080fd5b6000612b7b858286016127dd565b9250506020612b8c8582860161275f565b9150509250929050565b60008060408385031215612ba957600080fd5b6000612bb7858286016127dd565b9250506020612bc885828601612885565b9150509250929050565b600060208284031215612be457600080fd5b6000612bf2848285016127f2565b91505092915050565b600060208284031215612c0d57600080fd5b6000612c1b84828501612807565b91505092915050565b600060208284031215612c3657600080fd5b6000612c4484828501612846565b91505092915050565b600060208284031215612c5f57600080fd5b600082013567ffffffffffffffff811115612c7957600080fd5b612c858482850161285b565b91505092915050565b600060208284031215612ca057600080fd5b6000612cae84828501612885565b91505092915050565b6000612cc3838361351c565b60208301905092915050565b612cd881613c16565b82525050565b6000612ce982613a5e565b612cf38185613a8c565b9350612cfe83613a39565b8060005b83811015612d2f578151612d168882612cb7565b9750612d2183613a7f565b925050600181019050612d02565b5085935050505092915050565b612d4581613c28565b82525050565b612d5481613c34565b82525050565b6000612d6582613a69565b612d6f8185613a9d565b9350612d7f818560208601613cc2565b612d8881613e2c565b840191505092915050565b6000612d9e82613a74565b612da88185613aae565b9350612db8818560208601613cc2565b612dc181613e2c565b840191505092915050565b6000612dd782613a74565b612de18185613abf565b9350612df1818560208601613cc2565b80840191505092915050565b60008154612e0a81613cf5565b612e148186613abf565b94506001821660008114612e2f5760018114612e4057612e73565b60ff19831686528186019350612e73565b612e4985613a49565b60005b83811015612e6b57815481890152600182019150602081019050612e4c565b838801955050505b50505092915050565b6000612e89602283613aae565b91507f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612eef602f83613aae565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b6000612f55602683613aae565b91507f524e46543a2073657474696e6720617070726f76616c2073746174757320666f60008301527f722073656c6600000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fbb602683613aae565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613021602883613aae565b91507f524e46543a2062616c616e636520717565727920666f7220746865207a65726f60008301527f20616464726573730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613087602283613aae565b91507f524e46543a207472616e7366657220746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130ed603183613aae565b91507f524e46543a207472616e7366657220746f206e6f6e204552433131353552656360008301527f656976657220696d706c656d656e7465720000000000000000000000000000006020830152604082019050919050565b6000613153603083613aae565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006131b9602583613aae565b91507f524e46543a204552433131353552656365697665722072656a6563746564207460008301527f6f6b656e730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061321f602683613aae565b91507f524e46543a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060008301527f70726f76656400000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613285602083613aae565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006132c5602483613aae565b91507f524e46543a206d75737420686176652061646d696e20726f6c6520746f20757060008301527f64617465000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061332b602783613aae565b91507f524e46543a20696e73756666696369656e742062616c616e636520666f72207460008301527f72616e73666572000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613391602f83613aae565b91507f524e46543a207472616e736665722063616c6c6572206973206e6f74206f776e60008301527f6572206e6f7220617070726f76656400000000000000000000000000000000006020830152604082019050919050565b60006133f7602583613aae565b91507f524e46543a2069647320616e6420616d6f756e7473206c656e677468206d697360008301527f6d617463680000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061345d602f83613aae565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b60006134c3602683613aae565b91507f524e46543a206163636f756e747320616e6420696473206c656e677468206d6960008301527f736d6174636800000000000000000000000000000000000000000000000000006020830152604082019050919050565b61352581613c9c565b82525050565b61353481613c9c565b82525050565b60006135468285612dfd565b91506135528284612dcc565b91508190509392505050565b60006020820190506135736000830184612ccf565b92915050565b600060a08201905061358e6000830188612ccf565b61359b6020830187612ccf565b81810360408301526135ad8186612cde565b905081810360608301526135c18185612cde565b905081810360808301526135d58184612d5a565b90509695505050505050565b600060a0820190506135f66000830188612ccf565b6136036020830187612ccf565b613610604083018661352b565b61361d606083018561352b565b818103608083015261362f8184612d5a565b90509695505050505050565b600060208201905081810360008301526136558184612cde565b905092915050565b600060408201905081810360008301526136778185612cde565b9050818103602083015261368b8184612cde565b90509392505050565b60006020820190506136a96000830184612d3c565b92915050565b60006020820190506136c46000830184612d4b565b92915050565b600060208201905081810360008301526136e48184612d93565b905092915050565b6000602082019050818103600083015261370581612e7c565b9050919050565b6000602082019050818103600083015261372581612ee2565b9050919050565b6000602082019050818103600083015261374581612f48565b9050919050565b6000602082019050818103600083015261376581612fae565b9050919050565b6000602082019050818103600083015261378581613014565b9050919050565b600060208201905081810360008301526137a58161307a565b9050919050565b600060208201905081810360008301526137c5816130e0565b9050919050565b600060208201905081810360008301526137e581613146565b9050919050565b60006020820190508181036000830152613805816131ac565b9050919050565b6000602082019050818103600083015261382581613212565b9050919050565b6000602082019050818103600083015261384581613278565b9050919050565b60006020820190508181036000830152613865816132b8565b9050919050565b600060208201905081810360008301526138858161331e565b9050919050565b600060208201905081810360008301526138a581613384565b9050919050565b600060208201905081810360008301526138c5816133ea565b9050919050565b600060208201905081810360008301526138e581613450565b9050919050565b60006020820190508181036000830152613905816134b6565b9050919050565b6000602082019050613921600083018461352b565b92915050565b600060408201905061393c600083018561352b565b613949602083018461352b565b9392505050565b6000604051905081810181811067ffffffffffffffff8211171561397757613976613dfd565b5b8060405250919050565b600067ffffffffffffffff82111561399c5761399b613dfd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139c8576139c7613dfd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139f4576139f3613dfd565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613a2457613a23613dfd565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad582613c9c565b9150613ae083613c9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1557613b14613d70565b5b828201905092915050565b6000613b2b82613ca6565b9150613b3683613ca6565b92508260ff03821115613b4c57613b4b613d70565b5b828201905092915050565b6000613b6282613c9c565b9150613b6d83613c9c565b925082613b7d57613b7c613d9f565b5b828204905092915050565b6000613b9382613c9c565b9150613b9e83613c9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613bd757613bd6613d70565b5b828202905092915050565b6000613bed82613c9c565b9150613bf883613c9c565b925082821015613c0b57613c0a613d70565b5b828203905092915050565b6000613c2182613c7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613c7582613c16565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613ce0578082015181840152602081019050613cc5565b83811115613cef576000848401525b50505050565b60006002820490506001821680613d0d57607f821691505b60208210811415613d2157613d20613dce565b5b50919050565b6000613d3282613c9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d6557613d64613d70565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015613e5a57613efd565b60046000803e613e6b600051613e3d565b6308c379a08114613e7c5750613efd565b60405160043d036004823e80513d602482011167ffffffffffffffff82111715613ea857505050613efd565b808201805167ffffffffffffffff811115613ec7575050505050613efd565b8060208301013d8501811115613ee257505050505050613efd565b613eeb82613e2c565b60208401016040528296505050505050505b90565b613f0981613c16565b8114613f1457600080fd5b50565b613f2081613c28565b8114613f2b57600080fd5b50565b613f3781613c34565b8114613f4257600080fd5b50565b613f4e81613c3e565b8114613f5957600080fd5b50565b613f6581613c6a565b8114613f7057600080fd5b50565b613f7c81613c9c565b8114613f8757600080fd5b5056fea2646970667358221220219b054c4a3826f849b5046b9ee3a0753f1b64132a88e1a3ecb81f5c086bbe7c64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e7265666c65637464616f2e636f6d2f6170692f6974656d2f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101415760003560e01c806391d14854116100b8578063cd7c03261161007c578063cd7c032614610398578063d547741f146103b6578063e985e9c5146103d2578063f242432a14610402578063f2fde38b1461041e578063fbb8f6931461043a57610141565b806391d14854146102e2578063a217fddf14610312578063a22cb46514610330578063c30f4a5a1461034c578063ca15c8731461036857610141565b80632f2ff15d1161010a5780632f2ff15d1461022257806336568abe1461023e5780634e1273f41461025a578063715018a61461028a5780638da5cb5b146102945780639010d07c146102b257610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a6578063248a9ca3146101d65780632eb2c2d614610206575b600080fd5b610160600480360381019061015b9190612a89565b610458565b60405161016d919061390c565b60405180910390f35b610190600480360381019061018b9190612bd2565b610522565b60405161019d9190613694565b60405180910390f35b6101c060048036038101906101bb9190612c8e565b610604565b6040516101cd91906136ca565b60405180910390f35b6101f060048036038101906101eb9190612b31565b610638565b6040516101fd91906136af565b60405180910390f35b610220600480360381019061021b91906128ff565b610657565b005b61023c60048036038101906102379190612b5a565b610a50565b005b61025860048036038101906102539190612b5a565b610a84565b005b610274600480360381019061026f9190612ac5565b610ab8565b604051610281919061363b565b60405180910390f35b610292610c69565b005b61029c610da6565b6040516102a9919061355e565b60405180910390f35b6102cc60048036038101906102c79190612b96565b610dd0565b6040516102d9919061355e565b60405180910390f35b6102fc60048036038101906102f79190612b5a565b610dff565b6040516103099190613694565b60405180910390f35b61031a610e69565b60405161032791906136af565b60405180910390f35b61034a60048036038101906103459190612a4d565b610e70565b005b61036660048036038101906103619190612c4d565b610ff1565b005b610382600480360381019061037d9190612b31565b611050565b60405161038f919061390c565b60405180910390f35b6103a0611074565b6040516103ad919061355e565b60405180910390f35b6103d060048036038101906103cb9190612b5a565b61109a565b005b6103ec60048036038101906103e791906128c3565b6110ce565b6040516103f99190613694565b60405180910390f35b61041c600480360381019061041791906129be565b611250565b005b6104386004803603810190610433919061289a565b61156b565b005b610442611717565b60405161044f919061390c565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c09061376c565b60405180910390fd5b6003600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ed57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fd57506105fc8261176e565b5b9050919050565b60606005610611836117e8565b60405160200161062292919061353a565b6040516020818303038152906040529050919050565b6000806000838152602001908152602001600020600101549050919050565b815183511461069b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610692906138ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561070b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107029061378c565b60405180910390fd5b6107136119bd565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107595750610758856107536119bd565b6110ce565b5b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f9061388c565b60405180910390fd5b60006107a26119bd565b90506107b28187878787876119c5565b60005b84518110156109bb5760008582815181106107f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600085838151811061083e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006003600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156108e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d79061386c565b60405180910390fd5b81816108ec9190613be2565b6003600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816003600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109a09190613aca565b92505081905550505050806109b490613d27565b90506107b5565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051610a3292919061365d565b60405180910390a4610a488187878787876119cd565b505050505050565b610a5a8282611b9d565b610a7f816001600085815260200190815260200160002061172b90919063ffffffff16565b505050565b610a8e8282611c03565b610ab38160016000858152602001908152602001600020611c8690919063ffffffff16565b505050565b60608151835114610afe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af5906138ec565b60405180910390fd5b6000835167ffffffffffffffff811115610b41577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610b6f5781602001602082028036833780820191505090505b50905060005b8451811015610c5e57610c08858281518110610bba577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610bfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610458565b828281518110610c41577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610c5790613d27565b9050610b75565b508091505092915050565b610c716119bd565b73ffffffffffffffffffffffffffffffffffffffff16610c8f610da6565b73ffffffffffffffffffffffffffffffffffffffff1614610ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdc9061382c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610df78260016000868152602001908152602001600020611cb690919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff16610e8f6119bd565b73ffffffffffffffffffffffffffffffffffffffff161415610ee6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edd9061372c565b60405180910390fd5b8060046000610ef36119bd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16610fa06119bd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610fe59190613694565b60405180910390a35050565b6110056000801b6110006119bd565b610dff565b611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b9061384c565b60405180910390fd5b61104d81611cd0565b50565b600061106d60016000848152602001908152602001600020611cea565b9050919050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6110a48282611cff565b6110c98160016000858152602001908152602001600020611c8690919063ffffffff16565b505050565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401611146919061355e565b60206040518083038186803b15801561115e57600080fd5b505afa158015611172573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111969190612c24565b73ffffffffffffffffffffffffffffffffffffffff1614156111bc57600191505061124a565b600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169150505b92915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156112c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b79061378c565b60405180910390fd5b6112c86119bd565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061130e575061130d856113086119bd565b6110ce565b5b61134d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113449061380c565b60405180910390fd5b60006113576119bd565b905061137781878761136888611d65565b61137188611d65565b876119c5565b60006003600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508381101561140f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114069061386c565b60405180910390fd5b838161141b9190613be2565b6003600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836003600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114cf9190613aca565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161154c929190613927565b60405180910390a4611562828888888888611e2b565b50505050505050565b6115736119bd565b73ffffffffffffffffffffffffffffffffffffffff16611591610da6565b73ffffffffffffffffffffffffffffffffffffffff16146115e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115de9061382c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611657576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164e9061374c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60065481565b6117278282611ffb565b5050565b6000611753836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6120db565b905092915050565b600080823b905060008111915050919050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117e157506117e08261214b565b5b9050919050565b60606000821415611830576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506119b8565b600082905060005b6000821461186257808061184b90613d27565b915050600a8261185b9190613b57565b9150611838565b60008167ffffffffffffffff8111156118a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156118d65781602001600182028036833780820191505090505b50905060008290505b600086146119b0576001816118f49190613be2565b90506000600a80886119069190613b57565b6119109190613b88565b8761191b9190613be2565b60306119279190613b20565b905060008160f81b90508084848151811061196b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a886119a79190613b57565b975050506118df565b819450505050505b919050565b600033905090565b505050505050565b6119ec8473ffffffffffffffffffffffffffffffffffffffff1661175b565b15611b95578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611a32959493929190613579565b602060405180830381600087803b158015611a4c57600080fd5b505af1925050508015611a7d57506040513d601f19601f82011682018060405250810190611a7a9190612bfb565b60015b611b0c57611a89613e4a565b80611a945750611ad1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac891906136ca565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b03906137ac565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611b93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8a906137ec565b60405180910390fd5b505b505050505050565b611bb6611ba983610638565b611bb16119bd565b610dff565b611bf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bec9061370c565b60405180910390fd5b611bff8282611ffb565b5050565b611c0b6119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906138cc565b60405180910390fd5b611c8282826121c5565b5050565b6000611cae836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6122a6565b905092915050565b6000611cc58360000183612430565b60001c905092915050565b8060059080519060200190611ce6929190612568565b5050565b6000611cf8826000016124ca565b9050919050565b611d18611d0b83610638565b611d136119bd565b610dff565b611d57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4e906137cc565b60405180910390fd5b611d6182826121c5565b5050565b60606000600167ffffffffffffffff811115611daa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611dd85781602001602082028036833780820191505090505b5090508281600081518110611e16577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b611e4a8473ffffffffffffffffffffffffffffffffffffffff1661175b565b15611ff3578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611e909594939291906135e1565b602060405180830381600087803b158015611eaa57600080fd5b505af1925050508015611edb57506040513d601f19601f82011682018060405250810190611ed89190612bfb565b60015b611f6a57611ee7613e4a565b80611ef25750611f2f565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2691906136ca565b60405180910390fd5b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f61906137ac565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe8906137ec565b60405180910390fd5b505b505050505050565b6120058282610dff565b6120d757600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061207c6119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006120e783836124db565b612140578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612145565b600090505b92915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121be57506121bd826124fe565b5b9050919050565b6121cf8282610dff565b156122a257600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506122476119bd565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600080836001016000848152602001908152602001600020549050600081146124245760006001826122d89190613be2565b90506000600186600001805490506122f09190613be2565b90506000866000018281548110612330577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061237a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836123959190613aca565b87600101600083815260200190815260200160002081905550866000018054806123e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061242a565b60009150505b92915050565b60008183600001805490501161247b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612472906136ec565b60405180910390fd5b8260000182815481106124b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b82805461257490613cf5565b90600052602060002090601f01602090048101928261259657600085556125dd565b82601f106125af57805160ff19168380011785556125dd565b828001600101855582156125dd579182015b828111156125dc5782518255916020019190600101906125c1565b5b5090506125ea91906125ee565b5090565b5b808211156126075760008160009055506001016125ef565b5090565b600061261e61261984613981565b613950565b9050808382526020820190508285602086028201111561263d57600080fd5b60005b8581101561266d5781612653888261275f565b845260208401935060208301925050600181019050612640565b5050509392505050565b600061268a612685846139ad565b613950565b905080838252602082019050828560208602820111156126a957600080fd5b60005b858110156126d957816126bf8882612885565b8452602084019350602083019250506001810190506126ac565b5050509392505050565b60006126f66126f1846139d9565b613950565b90508281526020810184848401111561270e57600080fd5b612719848285613cb3565b509392505050565b600061273461272f84613a09565b613950565b90508281526020810184848401111561274c57600080fd5b612757848285613cb3565b509392505050565b60008135905061276e81613f00565b92915050565b600082601f83011261278557600080fd5b813561279584826020860161260b565b91505092915050565b600082601f8301126127af57600080fd5b81356127bf848260208601612677565b91505092915050565b6000813590506127d781613f17565b92915050565b6000813590506127ec81613f2e565b92915050565b60008135905061280181613f45565b92915050565b60008151905061281681613f45565b92915050565b600082601f83011261282d57600080fd5b813561283d8482602086016126e3565b91505092915050565b60008151905061285581613f5c565b92915050565b600082601f83011261286c57600080fd5b813561287c848260208601612721565b91505092915050565b60008135905061289481613f73565b92915050565b6000602082840312156128ac57600080fd5b60006128ba8482850161275f565b91505092915050565b600080604083850312156128d657600080fd5b60006128e48582860161275f565b92505060206128f58582860161275f565b9150509250929050565b600080600080600060a0868803121561291757600080fd5b60006129258882890161275f565b95505060206129368882890161275f565b945050604086013567ffffffffffffffff81111561295357600080fd5b61295f8882890161279e565b935050606086013567ffffffffffffffff81111561297c57600080fd5b6129888882890161279e565b925050608086013567ffffffffffffffff8111156129a557600080fd5b6129b18882890161281c565b9150509295509295909350565b600080600080600060a086880312156129d657600080fd5b60006129e48882890161275f565b95505060206129f58882890161275f565b9450506040612a0688828901612885565b9350506060612a1788828901612885565b925050608086013567ffffffffffffffff811115612a3457600080fd5b612a408882890161281c565b9150509295509295909350565b60008060408385031215612a6057600080fd5b6000612a6e8582860161275f565b9250506020612a7f858286016127c8565b9150509250929050565b60008060408385031215612a9c57600080fd5b6000612aaa8582860161275f565b9250506020612abb85828601612885565b9150509250929050565b60008060408385031215612ad857600080fd5b600083013567ffffffffffffffff811115612af257600080fd5b612afe85828601612774565b925050602083013567ffffffffffffffff811115612b1b57600080fd5b612b278582860161279e565b9150509250929050565b600060208284031215612b4357600080fd5b6000612b51848285016127dd565b91505092915050565b60008060408385031215612b6d57600080fd5b6000612b7b858286016127dd565b9250506020612b8c8582860161275f565b9150509250929050565b60008060408385031215612ba957600080fd5b6000612bb7858286016127dd565b9250506020612bc885828601612885565b9150509250929050565b600060208284031215612be457600080fd5b6000612bf2848285016127f2565b91505092915050565b600060208284031215612c0d57600080fd5b6000612c1b84828501612807565b91505092915050565b600060208284031215612c3657600080fd5b6000612c4484828501612846565b91505092915050565b600060208284031215612c5f57600080fd5b600082013567ffffffffffffffff811115612c7957600080fd5b612c858482850161285b565b91505092915050565b600060208284031215612ca057600080fd5b6000612cae84828501612885565b91505092915050565b6000612cc3838361351c565b60208301905092915050565b612cd881613c16565b82525050565b6000612ce982613a5e565b612cf38185613a8c565b9350612cfe83613a39565b8060005b83811015612d2f578151612d168882612cb7565b9750612d2183613a7f565b925050600181019050612d02565b5085935050505092915050565b612d4581613c28565b82525050565b612d5481613c34565b82525050565b6000612d6582613a69565b612d6f8185613a9d565b9350612d7f818560208601613cc2565b612d8881613e2c565b840191505092915050565b6000612d9e82613a74565b612da88185613aae565b9350612db8818560208601613cc2565b612dc181613e2c565b840191505092915050565b6000612dd782613a74565b612de18185613abf565b9350612df1818560208601613cc2565b80840191505092915050565b60008154612e0a81613cf5565b612e148186613abf565b94506001821660008114612e2f5760018114612e4057612e73565b60ff19831686528186019350612e73565b612e4985613a49565b60005b83811015612e6b57815481890152600182019150602081019050612e4c565b838801955050505b50505092915050565b6000612e89602283613aae565b91507f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612eef602f83613aae565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f206772616e7400000000000000000000000000000000006020830152604082019050919050565b6000612f55602683613aae565b91507f524e46543a2073657474696e6720617070726f76616c2073746174757320666f60008301527f722073656c6600000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000612fbb602683613aae565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613021602883613aae565b91507f524e46543a2062616c616e636520717565727920666f7220746865207a65726f60008301527f20616464726573730000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613087602283613aae565b91507f524e46543a207472616e7366657220746f20746865207a65726f20616464726560008301527f73730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006130ed603183613aae565b91507f524e46543a207472616e7366657220746f206e6f6e204552433131353552656360008301527f656976657220696d706c656d656e7465720000000000000000000000000000006020830152604082019050919050565b6000613153603083613aae565b91507f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008301527f2061646d696e20746f207265766f6b65000000000000000000000000000000006020830152604082019050919050565b60006131b9602583613aae565b91507f524e46543a204552433131353552656365697665722072656a6563746564207460008301527f6f6b656e730000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061321f602683613aae565b91507f524e46543a2063616c6c6572206973206e6f74206f776e6572206e6f7220617060008301527f70726f76656400000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613285602083613aae565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b60006132c5602483613aae565b91507f524e46543a206d75737420686176652061646d696e20726f6c6520746f20757060008301527f64617465000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061332b602783613aae565b91507f524e46543a20696e73756666696369656e742062616c616e636520666f72207460008301527f72616e73666572000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613391602f83613aae565b91507f524e46543a207472616e736665722063616c6c6572206973206e6f74206f776e60008301527f6572206e6f7220617070726f76656400000000000000000000000000000000006020830152604082019050919050565b60006133f7602583613aae565b91507f524e46543a2069647320616e6420616d6f756e7473206c656e677468206d697360008301527f6d617463680000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061345d602f83613aae565b91507f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008301527f20726f6c657320666f722073656c6600000000000000000000000000000000006020830152604082019050919050565b60006134c3602683613aae565b91507f524e46543a206163636f756e747320616e6420696473206c656e677468206d6960008301527f736d6174636800000000000000000000000000000000000000000000000000006020830152604082019050919050565b61352581613c9c565b82525050565b61353481613c9c565b82525050565b60006135468285612dfd565b91506135528284612dcc565b91508190509392505050565b60006020820190506135736000830184612ccf565b92915050565b600060a08201905061358e6000830188612ccf565b61359b6020830187612ccf565b81810360408301526135ad8186612cde565b905081810360608301526135c18185612cde565b905081810360808301526135d58184612d5a565b90509695505050505050565b600060a0820190506135f66000830188612ccf565b6136036020830187612ccf565b613610604083018661352b565b61361d606083018561352b565b818103608083015261362f8184612d5a565b90509695505050505050565b600060208201905081810360008301526136558184612cde565b905092915050565b600060408201905081810360008301526136778185612cde565b9050818103602083015261368b8184612cde565b90509392505050565b60006020820190506136a96000830184612d3c565b92915050565b60006020820190506136c46000830184612d4b565b92915050565b600060208201905081810360008301526136e48184612d93565b905092915050565b6000602082019050818103600083015261370581612e7c565b9050919050565b6000602082019050818103600083015261372581612ee2565b9050919050565b6000602082019050818103600083015261374581612f48565b9050919050565b6000602082019050818103600083015261376581612fae565b9050919050565b6000602082019050818103600083015261378581613014565b9050919050565b600060208201905081810360008301526137a58161307a565b9050919050565b600060208201905081810360008301526137c5816130e0565b9050919050565b600060208201905081810360008301526137e581613146565b9050919050565b60006020820190508181036000830152613805816131ac565b9050919050565b6000602082019050818103600083015261382581613212565b9050919050565b6000602082019050818103600083015261384581613278565b9050919050565b60006020820190508181036000830152613865816132b8565b9050919050565b600060208201905081810360008301526138858161331e565b9050919050565b600060208201905081810360008301526138a581613384565b9050919050565b600060208201905081810360008301526138c5816133ea565b9050919050565b600060208201905081810360008301526138e581613450565b9050919050565b60006020820190508181036000830152613905816134b6565b9050919050565b6000602082019050613921600083018461352b565b92915050565b600060408201905061393c600083018561352b565b613949602083018461352b565b9392505050565b6000604051905081810181811067ffffffffffffffff8211171561397757613976613dfd565b5b8060405250919050565b600067ffffffffffffffff82111561399c5761399b613dfd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139c8576139c7613dfd565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156139f4576139f3613dfd565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115613a2457613a23613dfd565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613ad582613c9c565b9150613ae083613c9c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613b1557613b14613d70565b5b828201905092915050565b6000613b2b82613ca6565b9150613b3683613ca6565b92508260ff03821115613b4c57613b4b613d70565b5b828201905092915050565b6000613b6282613c9c565b9150613b6d83613c9c565b925082613b7d57613b7c613d9f565b5b828204905092915050565b6000613b9382613c9c565b9150613b9e83613c9c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613bd757613bd6613d70565b5b828202905092915050565b6000613bed82613c9c565b9150613bf883613c9c565b925082821015613c0b57613c0a613d70565b5b828203905092915050565b6000613c2182613c7c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000613c7582613c16565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613ce0578082015181840152602081019050613cc5565b83811115613cef576000848401525b50505050565b60006002820490506001821680613d0d57607f821691505b60208210811415613d2157613d20613dce565b5b50919050565b6000613d3282613c9c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613d6557613d64613d70565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d1015613e5a57613efd565b60046000803e613e6b600051613e3d565b6308c379a08114613e7c5750613efd565b60405160043d036004823e80513d602482011167ffffffffffffffff82111715613ea857505050613efd565b808201805167ffffffffffffffff811115613ec7575050505050613efd565b8060208301013d8501811115613ee257505050505050613efd565b613eeb82613e2c565b60208401016040528296505050505050505b90565b613f0981613c16565b8114613f1457600080fd5b50565b613f2081613c28565b8114613f2b57600080fd5b50565b613f3781613c34565b8114613f4257600080fd5b50565b613f4e81613c3e565b8114613f5957600080fd5b50565b613f6581613c6a565b8114613f7057600080fd5b50565b613f7c81613c9c565b8114613f8757600080fd5b5056fea2646970667358221220219b054c4a3826f849b5046b9ee3a0753f1b64132a88e1a3ecb81f5c086bbe7c64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e7265666c65637464616f2e636f6d2f6170692f6974656d2f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : uri_ (string): https://api.reflectdao.com/api/item/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [3] : 68747470733a2f2f6170692e7265666c65637464616f2e636f6d2f6170692f69
Arg [4] : 74656d2f00000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.