Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
NFT
Overview
Max Total Supply
0
Holders
1,319
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:
Artifacts
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract Artifacts is AccessControl, Ownable, ERC1155Supply { address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; mapping(uint256 => string) public tokenIdToUri; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE"); address private _manager = 0xf5383b4e0d3EDDA3B6c091e51AbE58F882c98ce3; constructor() ERC1155("ipfs://") { _setupRole(DEFAULT_ADMIN_ROLE, msg.sender); _setupRole(DEFAULT_ADMIN_ROLE, _manager); } receive() external payable {} modifier onlyOwnerOrManager() { require( owner() == _msgSender() || _manager == _msgSender(), "Caller not the owner or manager" ); _; } function setTokenIdURI(string memory newuri, uint256 tokenId) public onlyOwnerOrManager { tokenIdToUri[tokenId] = newuri; } function setProxyRegistry(address preg) external onlyOwnerOrManager { proxyRegistryAddress = preg; } function uri(uint256 _tokenId) public view override returns (string memory) { return tokenIdToUri[_tokenId]; } function setManager(address manager) external onlyOwnerOrManager { _manager = manager; } function withdraw() public onlyOwnerOrManager { payable(msg.sender).transfer(address(this).balance); } function mintTo( address _to, uint256 tokenId, uint256 amount ) external onlyRole(MINTER_ROLE) { _mint(_to, tokenId, amount, ""); } function burn( address account, uint256 id, uint256 amount ) external { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, amount); } function burnAsBurner( address account, uint256 id, uint256 amount ) external onlyRole(BURNER_ROLE) { _burn(account, id, amount); } // allow gasless listings on opensea function isApprovedForAll(address owner, address operator) public view override returns (bool) { ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } function supportsInterface(bytes4 interfaceId) public view override(AccessControl, ERC1155) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnAsBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintTo","outputs":[],"stateMutability":"nonpayable","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":"address","name":"manager","type":"address"}],"name":"setManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"preg","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"setTokenIdURI","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":"uint256","name":"","type":"uint256"}],"name":"tokenIdToUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405273a5409ec958c83c3f309868babaca7c86dcb077c1600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f5383b4e0d3edda3b6c091e51abe58f882c98ce3600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550348015620000bb57600080fd5b506040518060400160405280600781526020017f697066733a2f2f0000000000000000000000000000000000000000000000000081525062000112620001066200017660201b60201c565b6200017e60201b60201c565b62000123816200024460201b60201c565b50620001396000801b336200026060201b60201c565b620001706000801b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166200026060201b60201c565b620004e6565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600490805190602001906200025c929190620003d1565b5050565b6200027282826200027660201b60201c565b5050565b6200028882826200036760201b60201c565b6200036357600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620003086200017660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620003df9062000481565b90600052602060002090601f0160209004810192826200040357600085556200044f565b82601f106200041e57805160ff19168380011785556200044f565b828001600101855582156200044f579182015b828111156200044e57825182559160200191906001019062000431565b5b5090506200045e919062000462565b5090565b5b808211156200047d57600081600090555060010162000463565b5090565b600060028204905060018216806200049a57607f821691505b60208210811415620004b157620004b0620004b7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614c8380620004f66000396000f3fe6080604052600436106101d05760003560e01c80638da5cb5b116100f7578063d0ebdbe711610095578063e985e9c511610064578063e985e9c5146106a0578063f242432a146106dd578063f2fde38b14610706578063f5298aca1461072f576101d7565b8063d0ebdbe7146105fa578063d47792d914610623578063d53913931461064c578063d547741f14610677576101d7565b8063a22cb465116100d1578063a22cb46514610540578063adfdeef914610569578063bd85b03914610592578063cd7c0326146105cf576101d7565b80638da5cb5b146104ad57806391d14854146104d8578063a217fddf14610515576101d7565b80632eb2c2d61161016f5780634e1273f41161013e5780634e1273f4146103f35780634f558e791461043057806357bc9fd41461046d578063715018a614610496576101d7565b80632eb2c2d6146103615780632f2ff15d1461038a57806336568abe146103b35780633ccfd60b146103dc576101d7565b8063119d209a116101ab578063119d209a14610293578063248a9ca3146102d0578063282c51f31461030d5780632baf2acb14610338576101d7565b8062fdd58e146101dc57806301ffc9a7146102195780630e89341c14610256576101d7565b366101d757005b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061364b565b610758565b60405161021091906140c7565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b91906137a7565b610822565b60405161024d9190613e2f565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190613876565b610834565b60405161028a9190613e65565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b59190613876565b6108d9565b6040516102c79190613e65565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190613742565b610979565b6040516103049190613e4a565b60405180910390f35b34801561031957600080fd5b50610322610998565b60405161032f9190613e4a565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613687565b6109bc565b005b34801561036d57600080fd5b50610388600480360381019061038391906134c1565b610a0f565b005b34801561039657600080fd5b506103b160048036038101906103ac919061376b565b610ab0565b005b3480156103bf57600080fd5b506103da60048036038101906103d5919061376b565b610ad9565b005b3480156103e857600080fd5b506103f1610b5c565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906136d6565b610c80565b6040516104279190613dd6565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190613876565b610e31565b6040516104649190613e2f565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613687565b610e45565b005b3480156104a257600080fd5b506104ab610e88565b005b3480156104b957600080fd5b506104c2610f10565b6040516104cf9190613cf9565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa919061376b565b610f3a565b60405161050c9190613e2f565b60405180910390f35b34801561052157600080fd5b5061052a610fa4565b6040516105379190613e4a565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061360f565b610fab565b005b34801561057557600080fd5b50610590600480360381019061058b919061345c565b610fc1565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613876565b6110e0565b6040516105c691906140c7565b60405180910390f35b3480156105db57600080fd5b506105e46110fd565b6040516105f19190613cf9565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c919061345c565b611123565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613822565b611242565b005b34801561065857600080fd5b50610661611349565b60405161066e9190613e4a565b60405180910390f35b34801561068357600080fd5b5061069e6004803603810190610699919061376b565b61136d565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613485565b611396565b6040516106d49190613e2f565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff9190613580565b611498565b005b34801561071257600080fd5b5061072d6004803603810190610728919061345c565b611539565b005b34801561073b57600080fd5b5061075660048036038101906107519190613687565b611631565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c090613ee7565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061082d826116ce565b9050919050565b606060076000838152602001908152602001600020805461085490614446565b80601f016020809104026020016040519081016040528092919081815260200182805461088090614446565b80156108cd5780601f106108a2576101008083540402835291602001916108cd565b820191906000526020600020905b8154815290600101906020018083116108b057829003601f168201915b50505050509050919050565b600760205280600052604060002060009150905080546108f890614446565b80601f016020809104026020016040519081016040528092919081815260200182805461092490614446565b80156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505081565b6000806000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109ee816109e96117b0565b6117b8565b610a0984848460405180602001604052806000815250611855565b50505050565b610a176117b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a5d5750610a5c85610a576117b0565b611396565b5b610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9390613f87565b60405180910390fd5b610aa985858585856119ec565b5050505050565b610ab982610979565b610aca81610ac56117b0565b6117b8565b610ad48383611d4f565b505050565b610ae16117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b45906140a7565b60405180910390fd5b610b588282611e2f565b5050565b610b646117b0565b73ffffffffffffffffffffffffffffffffffffffff16610b82610f10565b73ffffffffffffffffffffffffffffffffffffffff161480610bf85750610ba76117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90614087565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c7d573d6000803e3d6000fd5b50565b60608151835114610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614027565b60405180910390fd5b6000835167ffffffffffffffff811115610d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d375781602001602082028036833780820191505090505b50905060005b8451811015610e2657610dd0858281518110610d82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610dc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610758565b828281518110610e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e1f906144a9565b9050610d3d565b508091505092915050565b600080610e3d836110e0565b119050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610e7781610e726117b0565b6117b8565b610e82848484611f10565b50505050565b610e906117b0565b73ffffffffffffffffffffffffffffffffffffffff16610eae610f10565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90613fe7565b60405180910390fd5b610f0e600061212f565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610fbd610fb66117b0565b83836121f5565b5050565b610fc96117b0565b73ffffffffffffffffffffffffffffffffffffffff16610fe7610f10565b73ffffffffffffffffffffffffffffffffffffffff16148061105d575061100c6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390614087565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060056000838152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61112b6117b0565b73ffffffffffffffffffffffffffffffffffffffff16611149610f10565b73ffffffffffffffffffffffffffffffffffffffff1614806111bf575061116e6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614087565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61124a6117b0565b73ffffffffffffffffffffffffffffffffffffffff16611268610f10565b73ffffffffffffffffffffffffffffffffffffffff1614806112de575061128d6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490614087565b60405180910390fd5b8160076000838152602001908152602001600020908051906020019061134492919061312a565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61137682610979565b611387816113826117b0565b6117b8565b6113918383611e2f565b505050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161140e9190613cf9565b60206040518083038186803b15801561142657600080fd5b505afa15801561143a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145e91906137f9565b73ffffffffffffffffffffffffffffffffffffffff161415611484576001915050611492565b61148e8484612362565b9150505b92915050565b6114a06117b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114e657506114e5856114e06117b0565b611396565b5b611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90613f47565b60405180910390fd5b61153285858585856123f6565b5050505050565b6115416117b0565b73ffffffffffffffffffffffffffffffffffffffff1661155f610f10565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90613fe7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c90613f07565b60405180910390fd5b61162e8161212f565b50565b6116396117b0565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061167f575061167e836116796117b0565b611396565b5b6116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613f47565b60405180910390fd5b6116c9838383611f10565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061179957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117a957506117a88261267b565b5b9050919050565b600033905090565b6117c28282610f3a565b611851576117e78173ffffffffffffffffffffffffffffffffffffffff1660146126f5565b6117f58360001c60206126f5565b604051602001611806929190613cbf565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118489190613e65565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90614067565b60405180910390fd5b60006118cf6117b0565b90506118f0816000876118e1886129ef565b6118ea886129ef565b87612ab5565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119509190614266565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516119ce9291906140e2565b60405180910390a46119e581600087878787612cc7565b5050505050565b8151835114611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790614047565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790613f67565b60405180910390fd5b6000611aaa6117b0565b9050611aba818787878787612ab5565b60005b8451811015611cba576000858281518110611b01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611b46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90613fc7565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9f9190614266565b9250508190555050505080611cb3906144a9565b9050611abd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d31929190613df8565b60405180910390a4611d47818787878787612eae565b505050505050565b611d598282610f3a565b611e2b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611dd06117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e398282610f3a565b15611f0c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611eb16117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7790613fa7565b60405180910390fd5b6000611f8a6117b0565b9050611fba81856000611f9c876129ef565b611fa5876129ef565b60405180602001604052806000815250612ab5565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204990613f27565b60405180910390fd5b8281036002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121209291906140e2565b60405180910390a45050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b90614007565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123559190613e2f565b60405180910390a3505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d90613f67565b60405180910390fd5b60006124706117b0565b9050612490818787612481886129ef565b61248a886129ef565b87612ab5565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f90613fc7565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125df9190614266565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161265c9291906140e2565b60405180910390a4612672828888888888612cc7565b50505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126ee57506126ed82613095565b5b9050919050565b60606000600283600261270891906142bc565b6127129190614266565b67ffffffffffffffff811115612751577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127835781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106127e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061286b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026128ab91906142bc565b6128b59190614266565b90505b60018111156129a1577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061291d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061295a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061299a9061441c565b90506128b8565b50600084146129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613ea7565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff811115612a34577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612a625781602001602082028036833780820191505090505b5090508281600081518110612aa0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612ac38686868686866130ff565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612bc15760005b8351811015612bbf57828181518110612b3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160056000868481518110612b82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ba79190614266565b9250508190555080612bb8906144a9565b9050612afb565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbf5760005b8351811015612cbd57828181518110612c3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160056000868481518110612c80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ca59190614316565b9250508190555080612cb6906144a9565b9050612bf9565b505b505050505050565b612ce68473ffffffffffffffffffffffffffffffffffffffff16613107565b15612ea6578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d2c959493929190613d7c565b602060405180830381600087803b158015612d4657600080fd5b505af1925050508015612d7757506040513d601f19601f82011682018060405250810190612d7491906137d0565b60015b612e1d57612d8361457f565b806308c379a01415612de05750612d98614b2d565b80612da35750612de2565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd79190613e65565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1490613e87565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9b90613ec7565b60405180910390fd5b505b505050505050565b612ecd8473ffffffffffffffffffffffffffffffffffffffff16613107565b1561308d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f13959493929190613d14565b602060405180830381600087803b158015612f2d57600080fd5b505af1925050508015612f5e57506040513d601f19601f82011682018060405250810190612f5b91906137d0565b60015b61300457612f6a61457f565b806308c379a01415612fc75750612f7f614b2d565b80612f8a5750612fc9565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbe9190613e65565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90613e87565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461308b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308290613ec7565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461313690614446565b90600052602060002090601f016020900481019282613158576000855561319f565b82601f1061317157805160ff191683800117855561319f565b8280016001018555821561319f579182015b8281111561319e578251825591602001919060010190613183565b5b5090506131ac91906131b0565b5090565b5b808211156131c95760008160009055506001016131b1565b5090565b60006131e06131db84614130565b61410b565b905080838252602082019050828560208602820111156131ff57600080fd5b60005b8581101561322f57816132158882613321565b845260208401935060208301925050600181019050613202565b5050509392505050565b600061324c6132478461415c565b61410b565b9050808382526020820190508285602086028201111561326b57600080fd5b60005b8581101561329b57816132818882613447565b84526020840193506020830192505060018101905061326e565b5050509392505050565b60006132b86132b384614188565b61410b565b9050828152602081018484840111156132d057600080fd5b6132db8482856143da565b509392505050565b60006132f66132f1846141b9565b61410b565b90508281526020810184848401111561330e57600080fd5b6133198482856143da565b509392505050565b60008135905061333081614bc3565b92915050565b600082601f83011261334757600080fd5b81356133578482602086016131cd565b91505092915050565b600082601f83011261337157600080fd5b8135613381848260208601613239565b91505092915050565b60008135905061339981614bda565b92915050565b6000813590506133ae81614bf1565b92915050565b6000813590506133c381614c08565b92915050565b6000815190506133d881614c08565b92915050565b600082601f8301126133ef57600080fd5b81356133ff8482602086016132a5565b91505092915050565b60008151905061341781614c1f565b92915050565b600082601f83011261342e57600080fd5b813561343e8482602086016132e3565b91505092915050565b60008135905061345681614c36565b92915050565b60006020828403121561346e57600080fd5b600061347c84828501613321565b91505092915050565b6000806040838503121561349857600080fd5b60006134a685828601613321565b92505060206134b785828601613321565b9150509250929050565b600080600080600060a086880312156134d957600080fd5b60006134e788828901613321565b95505060206134f888828901613321565b945050604086013567ffffffffffffffff81111561351557600080fd5b61352188828901613360565b935050606086013567ffffffffffffffff81111561353e57600080fd5b61354a88828901613360565b925050608086013567ffffffffffffffff81111561356757600080fd5b613573888289016133de565b9150509295509295909350565b600080600080600060a0868803121561359857600080fd5b60006135a688828901613321565b95505060206135b788828901613321565b94505060406135c888828901613447565b93505060606135d988828901613447565b925050608086013567ffffffffffffffff8111156135f657600080fd5b613602888289016133de565b9150509295509295909350565b6000806040838503121561362257600080fd5b600061363085828601613321565b92505060206136418582860161338a565b9150509250929050565b6000806040838503121561365e57600080fd5b600061366c85828601613321565b925050602061367d85828601613447565b9150509250929050565b60008060006060848603121561369c57600080fd5b60006136aa86828701613321565b93505060206136bb86828701613447565b92505060406136cc86828701613447565b9150509250925092565b600080604083850312156136e957600080fd5b600083013567ffffffffffffffff81111561370357600080fd5b61370f85828601613336565b925050602083013567ffffffffffffffff81111561372c57600080fd5b61373885828601613360565b9150509250929050565b60006020828403121561375457600080fd5b60006137628482850161339f565b91505092915050565b6000806040838503121561377e57600080fd5b600061378c8582860161339f565b925050602061379d85828601613321565b9150509250929050565b6000602082840312156137b957600080fd5b60006137c7848285016133b4565b91505092915050565b6000602082840312156137e257600080fd5b60006137f0848285016133c9565b91505092915050565b60006020828403121561380b57600080fd5b600061381984828501613408565b91505092915050565b6000806040838503121561383557600080fd5b600083013567ffffffffffffffff81111561384f57600080fd5b61385b8582860161341d565b925050602061386c85828601613447565b9150509250929050565b60006020828403121561388857600080fd5b600061389684828501613447565b91505092915050565b60006138ab8383613ca1565b60208301905092915050565b6138c08161434a565b82525050565b60006138d1826141fa565b6138db8185614228565b93506138e6836141ea565b8060005b838110156139175781516138fe888261389f565b97506139098361421b565b9250506001810190506138ea565b5085935050505092915050565b61392d8161435c565b82525050565b61393c81614368565b82525050565b600061394d82614205565b6139578185614239565b93506139678185602086016143e9565b613970816145a1565b840191505092915050565b600061398682614210565b613990818561424a565b93506139a08185602086016143e9565b6139a9816145a1565b840191505092915050565b60006139bf82614210565b6139c9818561425b565b93506139d98185602086016143e9565b80840191505092915050565b60006139f260348361424a565b91506139fd826145bf565b604082019050919050565b6000613a1560208361424a565b9150613a208261460e565b602082019050919050565b6000613a3860288361424a565b9150613a4382614637565b604082019050919050565b6000613a5b602b8361424a565b9150613a6682614686565b604082019050919050565b6000613a7e60268361424a565b9150613a89826146d5565b604082019050919050565b6000613aa160248361424a565b9150613aac82614724565b604082019050919050565b6000613ac460298361424a565b9150613acf82614773565b604082019050919050565b6000613ae760258361424a565b9150613af2826147c2565b604082019050919050565b6000613b0a60328361424a565b9150613b1582614811565b604082019050919050565b6000613b2d60238361424a565b9150613b3882614860565b604082019050919050565b6000613b50602a8361424a565b9150613b5b826148af565b604082019050919050565b6000613b7360208361424a565b9150613b7e826148fe565b602082019050919050565b6000613b9660178361425b565b9150613ba182614927565b601782019050919050565b6000613bb960298361424a565b9150613bc482614950565b604082019050919050565b6000613bdc60298361424a565b9150613be78261499f565b604082019050919050565b6000613bff60288361424a565b9150613c0a826149ee565b604082019050919050565b6000613c2260218361424a565b9150613c2d82614a3d565b604082019050919050565b6000613c45601f8361424a565b9150613c5082614a8c565b602082019050919050565b6000613c6860118361425b565b9150613c7382614ab5565b601182019050919050565b6000613c8b602f8361424a565b9150613c9682614ade565b604082019050919050565b613caa816143d0565b82525050565b613cb9816143d0565b82525050565b6000613cca82613b89565b9150613cd682856139b4565b9150613ce182613c5b565b9150613ced82846139b4565b91508190509392505050565b6000602082019050613d0e60008301846138b7565b92915050565b600060a082019050613d2960008301886138b7565b613d3660208301876138b7565b8181036040830152613d4881866138c6565b90508181036060830152613d5c81856138c6565b90508181036080830152613d708184613942565b90509695505050505050565b600060a082019050613d9160008301886138b7565b613d9e60208301876138b7565b613dab6040830186613cb0565b613db86060830185613cb0565b8181036080830152613dca8184613942565b90509695505050505050565b60006020820190508181036000830152613df081846138c6565b905092915050565b60006040820190508181036000830152613e1281856138c6565b90508181036020830152613e2681846138c6565b90509392505050565b6000602082019050613e446000830184613924565b92915050565b6000602082019050613e5f6000830184613933565b92915050565b60006020820190508181036000830152613e7f818461397b565b905092915050565b60006020820190508181036000830152613ea0816139e5565b9050919050565b60006020820190508181036000830152613ec081613a08565b9050919050565b60006020820190508181036000830152613ee081613a2b565b9050919050565b60006020820190508181036000830152613f0081613a4e565b9050919050565b60006020820190508181036000830152613f2081613a71565b9050919050565b60006020820190508181036000830152613f4081613a94565b9050919050565b60006020820190508181036000830152613f6081613ab7565b9050919050565b60006020820190508181036000830152613f8081613ada565b9050919050565b60006020820190508181036000830152613fa081613afd565b9050919050565b60006020820190508181036000830152613fc081613b20565b9050919050565b60006020820190508181036000830152613fe081613b43565b9050919050565b6000602082019050818103600083015261400081613b66565b9050919050565b6000602082019050818103600083015261402081613bac565b9050919050565b6000602082019050818103600083015261404081613bcf565b9050919050565b6000602082019050818103600083015261406081613bf2565b9050919050565b6000602082019050818103600083015261408081613c15565b9050919050565b600060208201905081810360008301526140a081613c38565b9050919050565b600060208201905081810360008301526140c081613c7e565b9050919050565b60006020820190506140dc6000830184613cb0565b92915050565b60006040820190506140f76000830185613cb0565b6141046020830184613cb0565b9392505050565b6000614115614126565b90506141218282614478565b919050565b6000604051905090565b600067ffffffffffffffff82111561414b5761414a614550565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561417757614176614550565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156141a3576141a2614550565b5b6141ac826145a1565b9050602081019050919050565b600067ffffffffffffffff8211156141d4576141d3614550565b5b6141dd826145a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614271826143d0565b915061427c836143d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b1576142b06144f2565b5b828201905092915050565b60006142c7826143d0565b91506142d2836143d0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561430b5761430a6144f2565b5b828202905092915050565b6000614321826143d0565b915061432c836143d0565b92508282101561433f5761433e6144f2565b5b828203905092915050565b6000614355826143b0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006143a98261434a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144075780820151818401526020810190506143ec565b83811115614416576000848401525b50505050565b6000614427826143d0565b9150600082141561443b5761443a6144f2565b5b600182039050919050565b6000600282049050600182168061445e57607f821691505b6020821081141561447257614471614521565b5b50919050565b614481826145a1565b810181811067ffffffffffffffff821117156144a05761449f614550565b5b80604052505050565b60006144b4826143d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144e7576144e66144f2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561459e5760046000803e61459b6000516145b2565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206e6f7420746865206f776e6572206f72206d616e6167657200600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015614b3d57614bc0565b614b45614126565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b6d575050614bc0565b808201805167ffffffffffffffff811115614b8b5750505050614bc0565b80602083010160043d038501811115614ba8575050505050614bc0565b614bb782602001850186614478565b82955050505050505b90565b614bcc8161434a565b8114614bd757600080fd5b50565b614be38161435c565b8114614bee57600080fd5b50565b614bfa81614368565b8114614c0557600080fd5b50565b614c1181614372565b8114614c1c57600080fd5b50565b614c288161439e565b8114614c3357600080fd5b50565b614c3f816143d0565b8114614c4a57600080fd5b5056fea2646970667358221220445ef1f6f0c24405c2c37816c20bb91ac57e6f9e8cf9175ff1f2e1c04c93a3c364736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101d05760003560e01c80638da5cb5b116100f7578063d0ebdbe711610095578063e985e9c511610064578063e985e9c5146106a0578063f242432a146106dd578063f2fde38b14610706578063f5298aca1461072f576101d7565b8063d0ebdbe7146105fa578063d47792d914610623578063d53913931461064c578063d547741f14610677576101d7565b8063a22cb465116100d1578063a22cb46514610540578063adfdeef914610569578063bd85b03914610592578063cd7c0326146105cf576101d7565b80638da5cb5b146104ad57806391d14854146104d8578063a217fddf14610515576101d7565b80632eb2c2d61161016f5780634e1273f41161013e5780634e1273f4146103f35780634f558e791461043057806357bc9fd41461046d578063715018a614610496576101d7565b80632eb2c2d6146103615780632f2ff15d1461038a57806336568abe146103b35780633ccfd60b146103dc576101d7565b8063119d209a116101ab578063119d209a14610293578063248a9ca3146102d0578063282c51f31461030d5780632baf2acb14610338576101d7565b8062fdd58e146101dc57806301ffc9a7146102195780630e89341c14610256576101d7565b366101d757005b600080fd5b3480156101e857600080fd5b5061020360048036038101906101fe919061364b565b610758565b60405161021091906140c7565b60405180910390f35b34801561022557600080fd5b50610240600480360381019061023b91906137a7565b610822565b60405161024d9190613e2f565b60405180910390f35b34801561026257600080fd5b5061027d60048036038101906102789190613876565b610834565b60405161028a9190613e65565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b59190613876565b6108d9565b6040516102c79190613e65565b60405180910390f35b3480156102dc57600080fd5b506102f760048036038101906102f29190613742565b610979565b6040516103049190613e4a565b60405180910390f35b34801561031957600080fd5b50610322610998565b60405161032f9190613e4a565b60405180910390f35b34801561034457600080fd5b5061035f600480360381019061035a9190613687565b6109bc565b005b34801561036d57600080fd5b50610388600480360381019061038391906134c1565b610a0f565b005b34801561039657600080fd5b506103b160048036038101906103ac919061376b565b610ab0565b005b3480156103bf57600080fd5b506103da60048036038101906103d5919061376b565b610ad9565b005b3480156103e857600080fd5b506103f1610b5c565b005b3480156103ff57600080fd5b5061041a600480360381019061041591906136d6565b610c80565b6040516104279190613dd6565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190613876565b610e31565b6040516104649190613e2f565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f9190613687565b610e45565b005b3480156104a257600080fd5b506104ab610e88565b005b3480156104b957600080fd5b506104c2610f10565b6040516104cf9190613cf9565b60405180910390f35b3480156104e457600080fd5b506104ff60048036038101906104fa919061376b565b610f3a565b60405161050c9190613e2f565b60405180910390f35b34801561052157600080fd5b5061052a610fa4565b6040516105379190613e4a565b60405180910390f35b34801561054c57600080fd5b506105676004803603810190610562919061360f565b610fab565b005b34801561057557600080fd5b50610590600480360381019061058b919061345c565b610fc1565b005b34801561059e57600080fd5b506105b960048036038101906105b49190613876565b6110e0565b6040516105c691906140c7565b60405180910390f35b3480156105db57600080fd5b506105e46110fd565b6040516105f19190613cf9565b60405180910390f35b34801561060657600080fd5b50610621600480360381019061061c919061345c565b611123565b005b34801561062f57600080fd5b5061064a60048036038101906106459190613822565b611242565b005b34801561065857600080fd5b50610661611349565b60405161066e9190613e4a565b60405180910390f35b34801561068357600080fd5b5061069e6004803603810190610699919061376b565b61136d565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190613485565b611396565b6040516106d49190613e2f565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff9190613580565b611498565b005b34801561071257600080fd5b5061072d6004803603810190610728919061345c565b611539565b005b34801561073b57600080fd5b5061075660048036038101906107519190613687565b611631565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c090613ee7565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b600061082d826116ce565b9050919050565b606060076000838152602001908152602001600020805461085490614446565b80601f016020809104026020016040519081016040528092919081815260200182805461088090614446565b80156108cd5780601f106108a2576101008083540402835291602001916108cd565b820191906000526020600020905b8154815290600101906020018083116108b057829003601f168201915b50505050509050919050565b600760205280600052604060002060009150905080546108f890614446565b80601f016020809104026020016040519081016040528092919081815260200182805461092490614446565b80156109715780601f1061094657610100808354040283529160200191610971565b820191906000526020600020905b81548152906001019060200180831161095457829003601f168201915b505050505081565b6000806000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66109ee816109e96117b0565b6117b8565b610a0984848460405180602001604052806000815250611855565b50505050565b610a176117b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a5d5750610a5c85610a576117b0565b611396565b5b610a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9390613f87565b60405180910390fd5b610aa985858585856119ec565b5050505050565b610ab982610979565b610aca81610ac56117b0565b6117b8565b610ad48383611d4f565b505050565b610ae16117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b45906140a7565b60405180910390fd5b610b588282611e2f565b5050565b610b646117b0565b73ffffffffffffffffffffffffffffffffffffffff16610b82610f10565b73ffffffffffffffffffffffffffffffffffffffff161480610bf85750610ba76117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610c37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c2e90614087565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610c7d573d6000803e3d6000fd5b50565b60608151835114610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90614027565b60405180910390fd5b6000835167ffffffffffffffff811115610d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610d375781602001602082028036833780820191505090505b50905060005b8451811015610e2657610dd0858281518110610d82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610dc3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610758565b828281518110610e09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610e1f906144a9565b9050610d3d565b508091505092915050565b600080610e3d836110e0565b119050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610e7781610e726117b0565b6117b8565b610e82848484611f10565b50505050565b610e906117b0565b73ffffffffffffffffffffffffffffffffffffffff16610eae610f10565b73ffffffffffffffffffffffffffffffffffffffff1614610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90613fe7565b60405180910390fd5b610f0e600061212f565b565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b81565b610fbd610fb66117b0565b83836121f5565b5050565b610fc96117b0565b73ffffffffffffffffffffffffffffffffffffffff16610fe7610f10565b73ffffffffffffffffffffffffffffffffffffffff16148061105d575061100c6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61109c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109390614087565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060056000838152602001908152602001600020549050919050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61112b6117b0565b73ffffffffffffffffffffffffffffffffffffffff16611149610f10565b73ffffffffffffffffffffffffffffffffffffffff1614806111bf575061116e6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6111fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f590614087565b60405180910390fd5b80600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61124a6117b0565b73ffffffffffffffffffffffffffffffffffffffff16611268610f10565b73ffffffffffffffffffffffffffffffffffffffff1614806112de575061128d6117b0565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b61131d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131490614087565b60405180910390fd5b8160076000838152602001908152602001600020908051906020019061134492919061312a565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61137682610979565b611387816113826117b0565b6117b8565b6113918383611e2f565b505050565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b815260040161140e9190613cf9565b60206040518083038186803b15801561142657600080fd5b505afa15801561143a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145e91906137f9565b73ffffffffffffffffffffffffffffffffffffffff161415611484576001915050611492565b61148e8484612362565b9150505b92915050565b6114a06117b0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114e657506114e5856114e06117b0565b611396565b5b611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90613f47565b60405180910390fd5b61153285858585856123f6565b5050505050565b6115416117b0565b73ffffffffffffffffffffffffffffffffffffffff1661155f610f10565b73ffffffffffffffffffffffffffffffffffffffff16146115b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ac90613fe7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161c90613f07565b60405180910390fd5b61162e8161212f565b50565b6116396117b0565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061167f575061167e836116796117b0565b611396565b5b6116be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b590613f47565b60405180910390fd5b6116c9838383611f10565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061179957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117a957506117a88261267b565b5b9050919050565b600033905090565b6117c28282610f3a565b611851576117e78173ffffffffffffffffffffffffffffffffffffffff1660146126f5565b6117f58360001c60206126f5565b604051602001611806929190613cbf565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118489190613e65565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156118c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bc90614067565b60405180910390fd5b60006118cf6117b0565b90506118f0816000876118e1886129ef565b6118ea886129ef565b87612ab5565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119509190614266565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516119ce9291906140e2565b60405180910390a46119e581600087878787612cc7565b5050505050565b8151835114611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790614047565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9790613f67565b60405180910390fd5b6000611aaa6117b0565b9050611aba818787878787612ab5565b60005b8451811015611cba576000858281518110611b01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611b46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060006002600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdf90613fc7565b60405180910390fd5b8181036002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816002600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c9f9190614266565b9250508190555050505080611cb3906144a9565b9050611abd565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611d31929190613df8565b60405180910390a4611d47818787878787612eae565b505050505050565b611d598282610f3a565b611e2b57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611dd06117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611e398282610f3a565b15611f0c57600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611eb16117b0565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7790613fa7565b60405180910390fd5b6000611f8a6117b0565b9050611fba81856000611f9c876129ef565b611fa5876129ef565b60405180602001604052806000815250612ab5565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612052576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204990613f27565b60405180910390fd5b8281036002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516121209291906140e2565b60405180910390a45050505050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161225b90614007565b60405180910390fd5b80600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516123559190613e2f565b60405180910390a3505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612466576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161245d90613f67565b60405180910390fd5b60006124706117b0565b9050612490818787612481886129ef565b61248a886129ef565b87612ab5565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612528576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251f90613fc7565b60405180910390fd5b8381036002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125df9190614266565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161265c9291906140e2565b60405180910390a4612672828888888888612cc7565b50505050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806126ee57506126ed82613095565b5b9050919050565b60606000600283600261270891906142bc565b6127129190614266565b67ffffffffffffffff811115612751577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156127835781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106127e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061286b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026128ab91906142bc565b6128b59190614266565b90505b60018111156129a1577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061291d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b82828151811061295a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061299a9061441c565b90506128b8565b50600084146129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc90613ea7565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff811115612a34577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015612a625781602001602082028036833780820191505090505b5090508281600081518110612aa0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b612ac38686868686866130ff565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612bc15760005b8351811015612bbf57828181518110612b3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160056000868481518110612b82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ba79190614266565b9250508190555080612bb8906144a9565b9050612afb565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbf5760005b8351811015612cbd57828181518110612c3b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160056000868481518110612c80577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015181526020019081526020016000206000828254612ca59190614316565b9250508190555080612cb6906144a9565b9050612bf9565b505b505050505050565b612ce68473ffffffffffffffffffffffffffffffffffffffff16613107565b15612ea6578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612d2c959493929190613d7c565b602060405180830381600087803b158015612d4657600080fd5b505af1925050508015612d7757506040513d601f19601f82011682018060405250810190612d7491906137d0565b60015b612e1d57612d8361457f565b806308c379a01415612de05750612d98614b2d565b80612da35750612de2565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd79190613e65565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e1490613e87565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ea4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9b90613ec7565b60405180910390fd5b505b505050505050565b612ecd8473ffffffffffffffffffffffffffffffffffffffff16613107565b1561308d578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612f13959493929190613d14565b602060405180830381600087803b158015612f2d57600080fd5b505af1925050508015612f5e57506040513d601f19601f82011682018060405250810190612f5b91906137d0565b60015b61300457612f6a61457f565b806308c379a01415612fc75750612f7f614b2d565b80612f8a5750612fc9565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbe9190613e65565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ffb90613e87565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461308b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308290613ec7565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461313690614446565b90600052602060002090601f016020900481019282613158576000855561319f565b82601f1061317157805160ff191683800117855561319f565b8280016001018555821561319f579182015b8281111561319e578251825591602001919060010190613183565b5b5090506131ac91906131b0565b5090565b5b808211156131c95760008160009055506001016131b1565b5090565b60006131e06131db84614130565b61410b565b905080838252602082019050828560208602820111156131ff57600080fd5b60005b8581101561322f57816132158882613321565b845260208401935060208301925050600181019050613202565b5050509392505050565b600061324c6132478461415c565b61410b565b9050808382526020820190508285602086028201111561326b57600080fd5b60005b8581101561329b57816132818882613447565b84526020840193506020830192505060018101905061326e565b5050509392505050565b60006132b86132b384614188565b61410b565b9050828152602081018484840111156132d057600080fd5b6132db8482856143da565b509392505050565b60006132f66132f1846141b9565b61410b565b90508281526020810184848401111561330e57600080fd5b6133198482856143da565b509392505050565b60008135905061333081614bc3565b92915050565b600082601f83011261334757600080fd5b81356133578482602086016131cd565b91505092915050565b600082601f83011261337157600080fd5b8135613381848260208601613239565b91505092915050565b60008135905061339981614bda565b92915050565b6000813590506133ae81614bf1565b92915050565b6000813590506133c381614c08565b92915050565b6000815190506133d881614c08565b92915050565b600082601f8301126133ef57600080fd5b81356133ff8482602086016132a5565b91505092915050565b60008151905061341781614c1f565b92915050565b600082601f83011261342e57600080fd5b813561343e8482602086016132e3565b91505092915050565b60008135905061345681614c36565b92915050565b60006020828403121561346e57600080fd5b600061347c84828501613321565b91505092915050565b6000806040838503121561349857600080fd5b60006134a685828601613321565b92505060206134b785828601613321565b9150509250929050565b600080600080600060a086880312156134d957600080fd5b60006134e788828901613321565b95505060206134f888828901613321565b945050604086013567ffffffffffffffff81111561351557600080fd5b61352188828901613360565b935050606086013567ffffffffffffffff81111561353e57600080fd5b61354a88828901613360565b925050608086013567ffffffffffffffff81111561356757600080fd5b613573888289016133de565b9150509295509295909350565b600080600080600060a0868803121561359857600080fd5b60006135a688828901613321565b95505060206135b788828901613321565b94505060406135c888828901613447565b93505060606135d988828901613447565b925050608086013567ffffffffffffffff8111156135f657600080fd5b613602888289016133de565b9150509295509295909350565b6000806040838503121561362257600080fd5b600061363085828601613321565b92505060206136418582860161338a565b9150509250929050565b6000806040838503121561365e57600080fd5b600061366c85828601613321565b925050602061367d85828601613447565b9150509250929050565b60008060006060848603121561369c57600080fd5b60006136aa86828701613321565b93505060206136bb86828701613447565b92505060406136cc86828701613447565b9150509250925092565b600080604083850312156136e957600080fd5b600083013567ffffffffffffffff81111561370357600080fd5b61370f85828601613336565b925050602083013567ffffffffffffffff81111561372c57600080fd5b61373885828601613360565b9150509250929050565b60006020828403121561375457600080fd5b60006137628482850161339f565b91505092915050565b6000806040838503121561377e57600080fd5b600061378c8582860161339f565b925050602061379d85828601613321565b9150509250929050565b6000602082840312156137b957600080fd5b60006137c7848285016133b4565b91505092915050565b6000602082840312156137e257600080fd5b60006137f0848285016133c9565b91505092915050565b60006020828403121561380b57600080fd5b600061381984828501613408565b91505092915050565b6000806040838503121561383557600080fd5b600083013567ffffffffffffffff81111561384f57600080fd5b61385b8582860161341d565b925050602061386c85828601613447565b9150509250929050565b60006020828403121561388857600080fd5b600061389684828501613447565b91505092915050565b60006138ab8383613ca1565b60208301905092915050565b6138c08161434a565b82525050565b60006138d1826141fa565b6138db8185614228565b93506138e6836141ea565b8060005b838110156139175781516138fe888261389f565b97506139098361421b565b9250506001810190506138ea565b5085935050505092915050565b61392d8161435c565b82525050565b61393c81614368565b82525050565b600061394d82614205565b6139578185614239565b93506139678185602086016143e9565b613970816145a1565b840191505092915050565b600061398682614210565b613990818561424a565b93506139a08185602086016143e9565b6139a9816145a1565b840191505092915050565b60006139bf82614210565b6139c9818561425b565b93506139d98185602086016143e9565b80840191505092915050565b60006139f260348361424a565b91506139fd826145bf565b604082019050919050565b6000613a1560208361424a565b9150613a208261460e565b602082019050919050565b6000613a3860288361424a565b9150613a4382614637565b604082019050919050565b6000613a5b602b8361424a565b9150613a6682614686565b604082019050919050565b6000613a7e60268361424a565b9150613a89826146d5565b604082019050919050565b6000613aa160248361424a565b9150613aac82614724565b604082019050919050565b6000613ac460298361424a565b9150613acf82614773565b604082019050919050565b6000613ae760258361424a565b9150613af2826147c2565b604082019050919050565b6000613b0a60328361424a565b9150613b1582614811565b604082019050919050565b6000613b2d60238361424a565b9150613b3882614860565b604082019050919050565b6000613b50602a8361424a565b9150613b5b826148af565b604082019050919050565b6000613b7360208361424a565b9150613b7e826148fe565b602082019050919050565b6000613b9660178361425b565b9150613ba182614927565b601782019050919050565b6000613bb960298361424a565b9150613bc482614950565b604082019050919050565b6000613bdc60298361424a565b9150613be78261499f565b604082019050919050565b6000613bff60288361424a565b9150613c0a826149ee565b604082019050919050565b6000613c2260218361424a565b9150613c2d82614a3d565b604082019050919050565b6000613c45601f8361424a565b9150613c5082614a8c565b602082019050919050565b6000613c6860118361425b565b9150613c7382614ab5565b601182019050919050565b6000613c8b602f8361424a565b9150613c9682614ade565b604082019050919050565b613caa816143d0565b82525050565b613cb9816143d0565b82525050565b6000613cca82613b89565b9150613cd682856139b4565b9150613ce182613c5b565b9150613ced82846139b4565b91508190509392505050565b6000602082019050613d0e60008301846138b7565b92915050565b600060a082019050613d2960008301886138b7565b613d3660208301876138b7565b8181036040830152613d4881866138c6565b90508181036060830152613d5c81856138c6565b90508181036080830152613d708184613942565b90509695505050505050565b600060a082019050613d9160008301886138b7565b613d9e60208301876138b7565b613dab6040830186613cb0565b613db86060830185613cb0565b8181036080830152613dca8184613942565b90509695505050505050565b60006020820190508181036000830152613df081846138c6565b905092915050565b60006040820190508181036000830152613e1281856138c6565b90508181036020830152613e2681846138c6565b90509392505050565b6000602082019050613e446000830184613924565b92915050565b6000602082019050613e5f6000830184613933565b92915050565b60006020820190508181036000830152613e7f818461397b565b905092915050565b60006020820190508181036000830152613ea0816139e5565b9050919050565b60006020820190508181036000830152613ec081613a08565b9050919050565b60006020820190508181036000830152613ee081613a2b565b9050919050565b60006020820190508181036000830152613f0081613a4e565b9050919050565b60006020820190508181036000830152613f2081613a71565b9050919050565b60006020820190508181036000830152613f4081613a94565b9050919050565b60006020820190508181036000830152613f6081613ab7565b9050919050565b60006020820190508181036000830152613f8081613ada565b9050919050565b60006020820190508181036000830152613fa081613afd565b9050919050565b60006020820190508181036000830152613fc081613b20565b9050919050565b60006020820190508181036000830152613fe081613b43565b9050919050565b6000602082019050818103600083015261400081613b66565b9050919050565b6000602082019050818103600083015261402081613bac565b9050919050565b6000602082019050818103600083015261404081613bcf565b9050919050565b6000602082019050818103600083015261406081613bf2565b9050919050565b6000602082019050818103600083015261408081613c15565b9050919050565b600060208201905081810360008301526140a081613c38565b9050919050565b600060208201905081810360008301526140c081613c7e565b9050919050565b60006020820190506140dc6000830184613cb0565b92915050565b60006040820190506140f76000830185613cb0565b6141046020830184613cb0565b9392505050565b6000614115614126565b90506141218282614478565b919050565b6000604051905090565b600067ffffffffffffffff82111561414b5761414a614550565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561417757614176614550565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156141a3576141a2614550565b5b6141ac826145a1565b9050602081019050919050565b600067ffffffffffffffff8211156141d4576141d3614550565b5b6141dd826145a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614271826143d0565b915061427c836143d0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142b1576142b06144f2565b5b828201905092915050565b60006142c7826143d0565b91506142d2836143d0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561430b5761430a6144f2565b5b828202905092915050565b6000614321826143d0565b915061432c836143d0565b92508282101561433f5761433e6144f2565b5b828203905092915050565b6000614355826143b0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60006143a98261434a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156144075780820151818401526020810190506143ec565b83811115614416576000848401525b50505050565b6000614427826143d0565b9150600082141561443b5761443a6144f2565b5b600182039050919050565b6000600282049050600182168061445e57607f821691505b6020821081141561447257614471614521565b5b50919050565b614481826145a1565b810181811067ffffffffffffffff821117156144a05761449f614550565b5b80604052505050565b60006144b4826143d0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156144e7576144e66144f2565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561459e5760046000803e61459b6000516145b2565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f43616c6c6572206e6f7420746865206f776e6572206f72206d616e6167657200600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015614b3d57614bc0565b614b45614126565b60043d036004823e80513d602482011167ffffffffffffffff82111715614b6d575050614bc0565b808201805167ffffffffffffffff811115614b8b5750505050614bc0565b80602083010160043d038501811115614ba8575050505050614bc0565b614bb782602001850186614478565b82955050505050505b90565b614bcc8161434a565b8114614bd757600080fd5b50565b614be38161435c565b8114614bee57600080fd5b50565b614bfa81614368565b8114614c0557600080fd5b50565b614c1181614372565b8114614c1c57600080fd5b50565b614c288161439e565b8114614c3357600080fd5b50565b614c3f816143d0565b8114614c4a57600080fd5b5056fea2646970667358221220445ef1f6f0c24405c2c37816c20bb91ac57e6f9e8cf9175ff1f2e1c04c93a3c364736f6c63430008040033
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.