ERC-1155
Overview
Max Total Supply
800
Holders
436
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:
RiumSpaces
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract RiumSpaces is ERC1155URIStorage, Ownable { uint256 public maxId = 1000; bool public metaDataFrozen; bool[1001] private isMSFixed; string private _baseURI = ""; mapping(uint256 => uint256) private currentSupply; mapping(uint256 => uint256) public maxSupply; mapping(uint256 => string) private _tokenURIs; constructor() ERC1155("") {} modifier notFrozen() { require(!metaDataFrozen, "Metadata is permanently frozen"); _; } function mint(address to, uint256 id, uint256 amount, bytes memory data) public onlyOwner { require(currentSupply[id] + amount <= maxSupply[id], "It'll exceed the max supply"); require(currentSupply[id] != maxSupply[id], "Already reached max supply"); currentSupply[id] += amount; _mint(to, id, amount, data); } function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public onlyOwner { for (uint256 i = 0; i < ids.length; i++) { require(1 <= ids[i], "id must be in 1 to 1000"); require(ids[i] <= maxId, "id must be in 1 to 1000"); require(currentSupply[ids[i]] + amounts[i] <= maxSupply[ids[i]], "It'll exceed the max supply"); require(currentSupply[ids[i]] != maxSupply[ids[i]], "Already reached max supply"); } for (uint256 i = 0; i < ids.length; i++) { currentSupply[ids[i]] += amounts[i]; } _mintBatch(to, ids, amounts, data); } function isExist(uint256 _id) internal view returns(bool) { return getCurrentSupply(_id) > 0; } function isfrozen() external view returns(bool) { return metaDataFrozen; } function isMaxSupplyFixed(uint256 _id) public view returns(bool) { require(1 <= _id, "id must be in 1 to 1000"); require(_id <= maxId, "id must be in 1 to 1000"); return isMSFixed[_id]; } function uri(uint256 tokenId) public view override returns (string memory) { string memory tokenURI = _tokenURIs[tokenId]; return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId); } function freeze() external onlyOwner { require(!metaDataFrozen, "MetaData is already frozen"); metaDataFrozen = true; } function setBaseURI(string memory _newBaseURI) public onlyOwner notFrozen { _setBaseURI(_newBaseURI); } function setEachURI(uint256 _id, string memory _newURI) public onlyOwner notFrozen { require(isExist(_id), "Query for nonexistent token"); _setURI(_id, _newURI); } function setMaxSupply(uint256 _id, uint256 _maxSupply) public onlyOwner notFrozen { require(!isMaxSupplyFixed(_id), "MaxSupply already fixed"); require(_maxSupply > 0, "MaxSupply must be over 0"); isMSFixed[_id] = true; _setMaxSupply(_id, _maxSupply); } function _setMaxSupply(uint256 _id, uint256 _maxSupply) internal { maxSupply[_id] = _maxSupply; } function getCurrentSupply(uint256 _id) public view returns(uint256) { return currentSupply[_id]; } }
// 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 (last updated v4.6.0) (token/ERC1155/extensions/ERC1155URIStorage.sol) pragma solidity ^0.8.0; import "../../../utils/Strings.sol"; import "../ERC1155.sol"; /** * @dev ERC1155 token with storage based token URI management. * Inspired by the ERC721URIStorage extension * * _Available since v4.6._ */ abstract contract ERC1155URIStorage is ERC1155 { using Strings for uint256; // Optional base URI string private _baseURI = ""; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the concatenation of the `_baseURI` * and the token-specific uri if the latter is set * * This enables the following behaviors: * * - if `_tokenURIs[tokenId]` is set, then the result is the concatenation * of `_baseURI` and `_tokenURIs[tokenId]` (keep in mind that `_baseURI` * is empty per default); * * - if `_tokenURIs[tokenId]` is NOT set then we fallback to `super.uri()` * which in most cases will contain `ERC1155._uri`; * * - if `_tokenURIs[tokenId]` is NOT set, and if the parents do not have a * uri value set, then the result is empty. */ function uri(uint256 tokenId) public view virtual override returns (string memory) { string memory tokenURI = _tokenURIs[tokenId]; // If token URI is set, concatenate base URI and tokenURI (via abi.encodePacked). return bytes(tokenURI).length > 0 ? string(abi.encodePacked(_baseURI, tokenURI)) : super.uri(tokenId); } /** * @dev Sets `tokenURI` as the tokenURI of `tokenId`. */ function _setURI(uint256 tokenId, string memory tokenURI) internal virtual { _tokenURIs[tokenId] = tokenURI; emit URI(uri(tokenId), tokenId); } /** * @dev Sets `baseURI` as the `_baseURI` for all tokens */ function _setBaseURI(string memory baseURI) internal virtual { _baseURI = baseURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, 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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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); _afterTokenTransfer(operator, from, to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _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(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); 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); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @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); _afterTokenTransfer(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 {} /** * @dev Hook that is called after 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 _afterTokenTransfer( 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 v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "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":"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":[{"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":[],"name":"freeze","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"getCurrentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"isMaxSupplyFixed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isfrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metaDataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"string","name":"_newURI","type":"string"}],"name":"setEachURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526040518060200160405280600081525060039081620000249190620003ff565b506103e860065560405180602001604052806000815250602890816200004b9190620003ff565b503480156200005957600080fd5b50604051806020016040528060008152506200007b81620000a260201b60201c565b506200009c62000090620000b760201b60201c565b620000bf60201b60201c565b620004e6565b8060029081620000b39190620003ff565b5050565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200020757607f821691505b6020821081036200021d576200021c620001bf565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620002877fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000248565b62000293868362000248565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002e0620002da620002d484620002ab565b620002b5565b620002ab565b9050919050565b6000819050919050565b620002fc83620002bf565b620003146200030b82620002e7565b84845462000255565b825550505050565b600090565b6200032b6200031c565b62000338818484620002f1565b505050565b5b8181101562000360576200035460008262000321565b6001810190506200033e565b5050565b601f821115620003af57620003798162000223565b620003848462000238565b8101602085101562000394578190505b620003ac620003a38562000238565b8301826200033d565b50505b505050565b600082821c905092915050565b6000620003d460001984600802620003b4565b1980831691505092915050565b6000620003ef8383620003c1565b9150826002028217905092915050565b6200040a8262000185565b67ffffffffffffffff81111562000426576200042562000190565b5b620004328254620001ee565b6200043f82828562000364565b600060209050601f83116001811462000477576000841562000462578287015190505b6200046e8582620003e1565b865550620004de565b601f198416620004878662000223565b60005b82811015620004b1578489015182556001820191506020850194506020810190506200048a565b86831015620004d15784890151620004cd601f891682620003c1565b8355505b6001600288020188555050505b505050505050565b6146a880620004f66000396000f3fe608060405234801561001057600080fd5b506004361061014c5760003560e01c8063715018a6116100c3578063a23545821161007c578063a235458214610385578063c5ea3c65146103a3578063dc4b4320146103c1578063e985e9c5146103f1578063f242432a14610421578063f2fde38b1461043d5761014c565b8063715018a6146102d7578063731133e9146102e1578063869f7594146102fd5780638d491b701461032d5780638da5cb5b1461034b578063a22cb465146103695761014c565b8063317d957311610115578063317d95731461021957806337da577c1461023557806346f5303d146102515780634e1273f41461028157806355f804b3146102b157806362a5af3b146102cd5761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b15780631f7fdffa146101e15780632eb2c2d6146101fd575b600080fd5b61016b60048036038101906101669190612972565b610459565b60405161017891906129c1565b60405180910390f35b61019b60048036038101906101969190612a34565b610521565b6040516101a89190612a7c565b60405180910390f35b6101cb60048036038101906101c69190612a97565b610603565b6040516101d89190612b54565b60405180910390f35b6101fb60048036038101906101f69190612d73565b6106e8565b005b61021760048036038101906102129190612e2e565b610a2f565b005b610233600480360381019061022e9190612f9e565b610ad0565b005b61024f600480360381019061024a9190612ffa565b610bf2565b005b61026b60048036038101906102669190612a97565b610d8e565b60405161027891906129c1565b60405180910390f35b61029b600480360381019061029691906130fd565b610dab565b6040516102a89190613233565b60405180910390f35b6102cb60048036038101906102c69190613255565b610ec4565b005b6102d5610f9c565b005b6102df611085565b005b6102fb60048036038101906102f6919061329e565b61110d565b005b61031760048036038101906103129190612a97565b6112a1565b60405161032491906129c1565b60405180910390f35b6103356112b9565b6040516103429190612a7c565b60405180910390f35b6103536112d0565b6040516103609190613330565b60405180910390f35b610383600480360381019061037e9190613377565b6112fa565b005b61038d611310565b60405161039a9190612a7c565b60405180910390f35b6103ab611323565b6040516103b891906129c1565b60405180910390f35b6103db60048036038101906103d69190612a97565b611329565b6040516103e89190612a7c565b60405180910390f35b61040b600480360381019061040691906133b7565b6113e6565b6040516104189190612a7c565b60405180910390f35b61043b600480360381019061043691906133f7565b61147a565b005b6104576004803603810190610452919061348e565b61151b565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c09061352d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ec57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fc57506105fb82611612565b5b9050919050565b60606000602b600084815260200190815260200160002080546106259061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546106519061357c565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905060008151116106bc576106b78361167c565b6106e0565b6028816040516020016106d0929190613681565b6040516020818303038152906040525b915050919050565b6106f0611761565b73ffffffffffffffffffffffffffffffffffffffff1661070e6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075b906136f1565b60405180910390fd5b60005b835181101561099e5783818151811061078357610782613711565b5b6020026020010151600111156107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061378c565b60405180910390fd5b6006548482815181106107e4576107e3613711565b5b6020026020010151111561082d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108249061378c565b60405180910390fd5b602a600085838151811061084457610843613711565b5b602002602001015181526020019081526020016000205483828151811061086e5761086d613711565b5b60200260200101516029600087858151811061088d5761088c613711565b5b60200260200101518152602001908152602001600020546108ae91906137db565b11156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061385b565b60405180910390fd5b602a600085838151811061090657610905613711565b5b60200260200101518152602001908152602001600020546029600086848151811061093457610933613711565b5b60200260200101518152602001908152602001600020540361098b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610982906138c7565b60405180910390fd5b8080610996906138e7565b915050610767565b5060005b8351811015610a1c578281815181106109be576109bd613711565b5b6020026020010151602960008684815181106109dd576109dc613711565b5b602002602001015181526020019081526020016000206000828254610a0291906137db565b925050819055508080610a14906138e7565b9150506109a2565b50610a2984848484611769565b50505050565b610a37611761565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a7d5750610a7c85610a77611761565b6113e6565b5b610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab3906139a1565b60405180910390fd5b610ac98585858585611995565b5050505050565b610ad8611761565b73ffffffffffffffffffffffffffffffffffffffff16610af66112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390613a0d565b60405180910390fd5b610ba582611cb6565b610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90613a79565b60405180910390fd5b610bee8282611cca565b5050565b610bfa611761565b73ffffffffffffffffffffffffffffffffffffffff16610c186112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c65906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613a0d565b60405180910390fd5b610cc782611329565b15610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe90613ae5565b60405180910390fd5b60008111610d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4190613b51565b60405180910390fd5b60016008836103e98110610d6157610d60613711565b5b602091828204019190066101000a81548160ff021916908315150217905550610d8a8282611d2f565b5050565b600060296000838152602001908152602001600020549050919050565b60608151835114610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de890613be3565b60405180910390fd5b6000835167ffffffffffffffff811115610e0e57610e0d612b7b565b5b604051908082528060200260200182016040528015610e3c5781602001602082028036833780820191505090505b50905060005b8451811015610eb957610e89858281518110610e6157610e60613711565b5b6020026020010151858381518110610e7c57610e7b613711565b5b6020026020010151610459565b828281518110610e9c57610e9b613711565b5b60200260200101818152505080610eb2906138e7565b9050610e42565b508091505092915050565b610ecc611761565b73ffffffffffffffffffffffffffffffffffffffff16610eea6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790613a0d565b60405180910390fd5b610f9981611d4b565b50565b610fa4611761565b73ffffffffffffffffffffffffffffffffffffffff16610fc26112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f906136f1565b60405180910390fd5b600760009054906101000a900460ff1615611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90613c4f565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b61108d611761565b73ffffffffffffffffffffffffffffffffffffffff166110ab6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f8906136f1565b60405180910390fd5b61110b6000611d5e565b565b611115611761565b73ffffffffffffffffffffffffffffffffffffffff166111336112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611180906136f1565b60405180910390fd5b602a6000848152602001908152602001600020548260296000868152602001908152602001600020546111bc91906137db565b11156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f49061385b565b60405180910390fd5b602a600084815260200190815260200160002054602960008581526020019081526020016000205403611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906138c7565b60405180910390fd5b8160296000858152602001908152602001600020600082825461128891906137db565b9250508190555061129b84848484611e24565b50505050565b602a6020528060005260406000206000915090505481565b6000600760009054906101000a900460ff16905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61130c611305611761565b8383611fd4565b5050565b600760009054906101000a900460ff1681565b60065481565b6000816001111561136f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113669061378c565b60405180910390fd5b6006548211156113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab9061378c565b60405180910390fd5b6008826103e981106113c9576113c8613711565b5b602091828204019190069054906101000a900460ff169050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611482611761565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114c857506114c7856114c2611761565b6113e6565b5b611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613ce1565b60405180910390fd5b6115148585858585612140565b5050505050565b611523611761565b73ffffffffffffffffffffffffffffffffffffffff166115416112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158e906136f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90613d73565b60405180910390fd5b61160f81611d5e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060046000848152602001908152602001600020805461169e9061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546116ca9061357c565b80156117175780601f106116ec57610100808354040283529160200191611717565b820191906000526020600020905b8154815290600101906020018083116116fa57829003601f168201915b50505050509050600081511161173557611730836123db565b611759565b600381604051602001611749929190613681565b6040516020818303038152906040525b915050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613e05565b60405180910390fd5b815183511461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613e97565b60405180910390fd5b6000611826611761565b90506118378160008787878761246f565b60005b84518110156118f05783818151811061185657611855613711565b5b602002602001015160008087848151811061187457611873613711565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d691906137db565b9250508190555080806118e8906138e7565b91505061183a565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611968929190613eb7565b60405180910390a461197f81600087878787612477565b61198e8160008787878761247f565b5050505050565b81518351146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090613e97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f90613f60565b60405180910390fd5b6000611a52611761565b9050611a6281878787878761246f565b60005b8451811015611c13576000858281518110611a8357611a82613711565b5b602002602001015190506000858381518110611aa257611aa1613711565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90613ff2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf891906137db565b9250508190555050505080611c0c906138e7565b9050611a65565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c8a929190613eb7565b60405180910390a4611ca0818787878787612477565b611cae81878787878761247f565b505050505050565b600080611cc283610d8e565b119050919050565b80600460008481526020019081526020016000209081611cea91906141a9565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b611d1684610603565b604051611d239190612b54565b60405180910390a25050565b80602a6000848152602001908152602001600020819055505050565b8060039081611d5a91906141a9565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a90613e05565b60405180910390fd5b6000611e9d611761565b90506000611eaa85612656565b90506000611eb785612656565b9050611ec88360008985858961246f565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2791906137db565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611fa592919061427b565b60405180910390a4611fbc83600089858589612477565b611fcb836000898989896126d0565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614316565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121339190612a7c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690613f60565b60405180910390fd5b60006121b9611761565b905060006121c685612656565b905060006121d385612656565b90506121e383898985858961246f565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561227a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227190613ff2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461232f91906137db565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516123ac92919061427b565b60405180910390a46123c2848a8a86868a612477565b6123d0848a8a8a8a8a6126d0565b505050505050505050565b6060600280546123ea9061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546124169061357c565b80156124635780601f1061243857610100808354040283529160200191612463565b820191906000526020600020905b81548152906001019060200180831161244657829003601f168201915b50505050509050919050565b505050505050565b505050505050565b61249e8473ffffffffffffffffffffffffffffffffffffffff166128a7565b1561264e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124e495949392919061438b565b6020604051808303816000875af192505050801561252057506040513d601f19601f8201168201806040525081019061251d9190614408565b60015b6125c55761252c614442565b806308c379a0036125885750612540614464565b8061254b575061258a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257f9190612b54565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90614566565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461264c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612643906145f8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561267557612674612b7b565b5b6040519080825280602002602001820160405280156126a35781602001602082028036833780820191505090505b50905082816000815181106126bb576126ba613711565b5b60200260200101818152505080915050919050565b6126ef8473ffffffffffffffffffffffffffffffffffffffff166128a7565b1561289f578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612735959493929190614618565b6020604051808303816000875af192505050801561277157506040513d601f19601f8201168201806040525081019061276e9190614408565b60015b6128165761277d614442565b806308c379a0036127d95750612791614464565b8061279c57506127db565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d09190612b54565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280d90614566565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461289d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612894906145f8565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612909826128de565b9050919050565b612919816128fe565b811461292457600080fd5b50565b60008135905061293681612910565b92915050565b6000819050919050565b61294f8161293c565b811461295a57600080fd5b50565b60008135905061296c81612946565b92915050565b60008060408385031215612989576129886128d4565b5b600061299785828601612927565b92505060206129a88582860161295d565b9150509250929050565b6129bb8161293c565b82525050565b60006020820190506129d660008301846129b2565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a11816129dc565b8114612a1c57600080fd5b50565b600081359050612a2e81612a08565b92915050565b600060208284031215612a4a57612a496128d4565b5b6000612a5884828501612a1f565b91505092915050565b60008115159050919050565b612a7681612a61565b82525050565b6000602082019050612a916000830184612a6d565b92915050565b600060208284031215612aad57612aac6128d4565b5b6000612abb8482850161295d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612afe578082015181840152602081019050612ae3565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b2682612ac4565b612b308185612acf565b9350612b40818560208601612ae0565b612b4981612b0a565b840191505092915050565b60006020820190508181036000830152612b6e8184612b1b565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bb382612b0a565b810181811067ffffffffffffffff82111715612bd257612bd1612b7b565b5b80604052505050565b6000612be56128ca565b9050612bf18282612baa565b919050565b600067ffffffffffffffff821115612c1157612c10612b7b565b5b602082029050602081019050919050565b600080fd5b6000612c3a612c3584612bf6565b612bdb565b90508083825260208201905060208402830185811115612c5d57612c5c612c22565b5b835b81811015612c865780612c72888261295d565b845260208401935050602081019050612c5f565b5050509392505050565b600082601f830112612ca557612ca4612b76565b5b8135612cb5848260208601612c27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612cde57612cdd612b7b565b5b612ce782612b0a565b9050602081019050919050565b82818337600083830152505050565b6000612d16612d1184612cc3565b612bdb565b905082815260208101848484011115612d3257612d31612cbe565b5b612d3d848285612cf4565b509392505050565b600082601f830112612d5a57612d59612b76565b5b8135612d6a848260208601612d03565b91505092915050565b60008060008060808587031215612d8d57612d8c6128d4565b5b6000612d9b87828801612927565b945050602085013567ffffffffffffffff811115612dbc57612dbb6128d9565b5b612dc887828801612c90565b935050604085013567ffffffffffffffff811115612de957612de86128d9565b5b612df587828801612c90565b925050606085013567ffffffffffffffff811115612e1657612e156128d9565b5b612e2287828801612d45565b91505092959194509250565b600080600080600060a08688031215612e4a57612e496128d4565b5b6000612e5888828901612927565b9550506020612e6988828901612927565b945050604086013567ffffffffffffffff811115612e8a57612e896128d9565b5b612e9688828901612c90565b935050606086013567ffffffffffffffff811115612eb757612eb66128d9565b5b612ec388828901612c90565b925050608086013567ffffffffffffffff811115612ee457612ee36128d9565b5b612ef088828901612d45565b9150509295509295909350565b600067ffffffffffffffff821115612f1857612f17612b7b565b5b612f2182612b0a565b9050602081019050919050565b6000612f41612f3c84612efd565b612bdb565b905082815260208101848484011115612f5d57612f5c612cbe565b5b612f68848285612cf4565b509392505050565b600082601f830112612f8557612f84612b76565b5b8135612f95848260208601612f2e565b91505092915050565b60008060408385031215612fb557612fb46128d4565b5b6000612fc38582860161295d565b925050602083013567ffffffffffffffff811115612fe457612fe36128d9565b5b612ff085828601612f70565b9150509250929050565b60008060408385031215613011576130106128d4565b5b600061301f8582860161295d565b92505060206130308582860161295d565b9150509250929050565b600067ffffffffffffffff82111561305557613054612b7b565b5b602082029050602081019050919050565b60006130796130748461303a565b612bdb565b9050808382526020820190506020840283018581111561309c5761309b612c22565b5b835b818110156130c557806130b18882612927565b84526020840193505060208101905061309e565b5050509392505050565b600082601f8301126130e4576130e3612b76565b5b81356130f4848260208601613066565b91505092915050565b60008060408385031215613114576131136128d4565b5b600083013567ffffffffffffffff811115613132576131316128d9565b5b61313e858286016130cf565b925050602083013567ffffffffffffffff81111561315f5761315e6128d9565b5b61316b85828601612c90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6131aa8161293c565b82525050565b60006131bc83836131a1565b60208301905092915050565b6000602082019050919050565b60006131e082613175565b6131ea8185613180565b93506131f583613191565b8060005b8381101561322657815161320d88826131b0565b9750613218836131c8565b9250506001810190506131f9565b5085935050505092915050565b6000602082019050818103600083015261324d81846131d5565b905092915050565b60006020828403121561326b5761326a6128d4565b5b600082013567ffffffffffffffff811115613289576132886128d9565b5b61329584828501612f70565b91505092915050565b600080600080608085870312156132b8576132b76128d4565b5b60006132c687828801612927565b94505060206132d78782880161295d565b93505060406132e88782880161295d565b925050606085013567ffffffffffffffff811115613309576133086128d9565b5b61331587828801612d45565b91505092959194509250565b61332a816128fe565b82525050565b60006020820190506133456000830184613321565b92915050565b61335481612a61565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b6000806040838503121561338e5761338d6128d4565b5b600061339c85828601612927565b92505060206133ad85828601613362565b9150509250929050565b600080604083850312156133ce576133cd6128d4565b5b60006133dc85828601612927565b92505060206133ed85828601612927565b9150509250929050565b600080600080600060a08688031215613413576134126128d4565b5b600061342188828901612927565b955050602061343288828901612927565b94505060406134438882890161295d565b93505060606134548882890161295d565b925050608086013567ffffffffffffffff811115613475576134746128d9565b5b61348188828901612d45565b9150509295509295909350565b6000602082840312156134a4576134a36128d4565b5b60006134b284828501612927565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613517602b83612acf565b9150613522826134bb565b604082019050919050565b600060208201905081810360008301526135468161350a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061359457607f821691505b6020821081036135a7576135a661354d565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546135da8161357c565b6135e481866135ad565b945060018216600081146135ff576001811461361457613647565b60ff1983168652811515820286019350613647565b61361d856135b8565b60005b8381101561363f57815481890152600182019150602081019050613620565b838801955050505b50505092915050565b600061365b82612ac4565b61366581856135ad565b9350613675818560208601612ae0565b80840191505092915050565b600061368d82856135cd565b91506136998284613650565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136db602083612acf565b91506136e6826136a5565b602082019050919050565b6000602082019050818103600083015261370a816136ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f6964206d75737420626520696e203120746f2031303030000000000000000000600082015250565b6000613776601783612acf565b915061378182613740565b602082019050919050565b600060208201905081810360008301526137a581613769565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e68261293c565b91506137f18361293c565b9250828201905080821115613809576138086137ac565b5b92915050565b7f4974276c6c2065786365656420746865206d617820737570706c790000000000600082015250565b6000613845601b83612acf565b91506138508261380f565b602082019050919050565b6000602082019050818103600083015261387481613838565b9050919050565b7f416c72656164792072656163686564206d617820737570706c79000000000000600082015250565b60006138b1601a83612acf565b91506138bc8261387b565b602082019050919050565b600060208201905081810360008301526138e0816138a4565b9050919050565b60006138f28261293c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613924576139236137ac565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061398b603283612acf565b91506139968261392f565b604082019050919050565b600060208201905081810360008301526139ba8161397e565b9050919050565b7f4d65746164617461206973207065726d616e656e746c792066726f7a656e0000600082015250565b60006139f7601e83612acf565b9150613a02826139c1565b602082019050919050565b60006020820190508181036000830152613a26816139ea565b9050919050565b7f517565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000600082015250565b6000613a63601b83612acf565b9150613a6e82613a2d565b602082019050919050565b60006020820190508181036000830152613a9281613a56565b9050919050565b7f4d6178537570706c7920616c7265616479206669786564000000000000000000600082015250565b6000613acf601783612acf565b9150613ada82613a99565b602082019050919050565b60006020820190508181036000830152613afe81613ac2565b9050919050565b7f4d6178537570706c79206d757374206265206f76657220300000000000000000600082015250565b6000613b3b601883612acf565b9150613b4682613b05565b602082019050919050565b60006020820190508181036000830152613b6a81613b2e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613bcd602983612acf565b9150613bd882613b71565b604082019050919050565b60006020820190508181036000830152613bfc81613bc0565b9050919050565b7f4d6574614461746120697320616c72656164792066726f7a656e000000000000600082015250565b6000613c39601a83612acf565b9150613c4482613c03565b602082019050919050565b60006020820190508181036000830152613c6881613c2c565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ccb602983612acf565b9150613cd682613c6f565b604082019050919050565b60006020820190508181036000830152613cfa81613cbe565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d5d602683612acf565b9150613d6882613d01565b604082019050919050565b60006020820190508181036000830152613d8c81613d50565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613def602183612acf565b9150613dfa82613d93565b604082019050919050565b60006020820190508181036000830152613e1e81613de2565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613e81602883612acf565b9150613e8c82613e25565b604082019050919050565b60006020820190508181036000830152613eb081613e74565b9050919050565b60006040820190508181036000830152613ed181856131d5565b90508181036020830152613ee581846131d5565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613f4a602583612acf565b9150613f5582613eee565b604082019050919050565b60006020820190508181036000830152613f7981613f3d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613fdc602a83612acf565b9150613fe782613f80565b604082019050919050565b6000602082019050818103600083015261400b81613fcf565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261405f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614022565b6140698683614022565b95508019841693508086168417925050509392505050565b6000819050919050565b60006140a66140a161409c8461293c565b614081565b61293c565b9050919050565b6000819050919050565b6140c08361408b565b6140d46140cc826140ad565b84845461402f565b825550505050565b600090565b6140e96140dc565b6140f48184846140b7565b505050565b5b818110156141185761410d6000826140e1565b6001810190506140fa565b5050565b601f82111561415d5761412e816135b8565b61413784614012565b81016020851015614146578190505b61415a61415285614012565b8301826140f9565b50505b505050565b600082821c905092915050565b600061418060001984600802614162565b1980831691505092915050565b6000614199838361416f565b9150826002028217905092915050565b6141b282612ac4565b67ffffffffffffffff8111156141cb576141ca612b7b565b5b6141d5825461357c565b6141e082828561411c565b600060209050601f8311600181146142135760008415614201578287015190505b61420b858261418d565b865550614273565b601f198416614221866135b8565b60005b8281101561424957848901518255600182019150602085019450602081019050614224565b868310156142665784890151614262601f89168261416f565b8355505b6001600288020188555050505b505050505050565b600060408201905061429060008301856129b2565b61429d60208301846129b2565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614300602983612acf565b915061430b826142a4565b604082019050919050565b6000602082019050818103600083015261432f816142f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061435d82614336565b6143678185614341565b9350614377818560208601612ae0565b61438081612b0a565b840191505092915050565b600060a0820190506143a06000830188613321565b6143ad6020830187613321565b81810360408301526143bf81866131d5565b905081810360608301526143d381856131d5565b905081810360808301526143e78184614352565b90509695505050505050565b60008151905061440281612a08565b92915050565b60006020828403121561441e5761441d6128d4565b5b600061442c848285016143f3565b91505092915050565b60008160e01c9050919050565b600060033d11156144615760046000803e61445e600051614435565b90505b90565b600060443d106144f1576144766128ca565b60043d036004823e80513d602482011167ffffffffffffffff8211171561449e5750506144f1565b808201805167ffffffffffffffff8111156144bc57505050506144f1565b80602083010160043d0385018111156144d95750505050506144f1565b6144e882602001850186612baa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614550603483612acf565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006145e2602883612acf565b91506145ed82614586565b604082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b600060a08201905061462d6000830188613321565b61463a6020830187613321565b61464760408301866129b2565b61465460608301856129b2565b81810360808301526146668184614352565b9050969550505050505056fea2646970667358221220d90e3a066d670c099c9c50da5b631835bef45a4fdf8187a56832553c416f72e464736f6c63430008100033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014c5760003560e01c8063715018a6116100c3578063a23545821161007c578063a235458214610385578063c5ea3c65146103a3578063dc4b4320146103c1578063e985e9c5146103f1578063f242432a14610421578063f2fde38b1461043d5761014c565b8063715018a6146102d7578063731133e9146102e1578063869f7594146102fd5780638d491b701461032d5780638da5cb5b1461034b578063a22cb465146103695761014c565b8063317d957311610115578063317d95731461021957806337da577c1461023557806346f5303d146102515780634e1273f41461028157806355f804b3146102b157806362a5af3b146102cd5761014c565b8062fdd58e1461015157806301ffc9a7146101815780630e89341c146101b15780631f7fdffa146101e15780632eb2c2d6146101fd575b600080fd5b61016b60048036038101906101669190612972565b610459565b60405161017891906129c1565b60405180910390f35b61019b60048036038101906101969190612a34565b610521565b6040516101a89190612a7c565b60405180910390f35b6101cb60048036038101906101c69190612a97565b610603565b6040516101d89190612b54565b60405180910390f35b6101fb60048036038101906101f69190612d73565b6106e8565b005b61021760048036038101906102129190612e2e565b610a2f565b005b610233600480360381019061022e9190612f9e565b610ad0565b005b61024f600480360381019061024a9190612ffa565b610bf2565b005b61026b60048036038101906102669190612a97565b610d8e565b60405161027891906129c1565b60405180910390f35b61029b600480360381019061029691906130fd565b610dab565b6040516102a89190613233565b60405180910390f35b6102cb60048036038101906102c69190613255565b610ec4565b005b6102d5610f9c565b005b6102df611085565b005b6102fb60048036038101906102f6919061329e565b61110d565b005b61031760048036038101906103129190612a97565b6112a1565b60405161032491906129c1565b60405180910390f35b6103356112b9565b6040516103429190612a7c565b60405180910390f35b6103536112d0565b6040516103609190613330565b60405180910390f35b610383600480360381019061037e9190613377565b6112fa565b005b61038d611310565b60405161039a9190612a7c565b60405180910390f35b6103ab611323565b6040516103b891906129c1565b60405180910390f35b6103db60048036038101906103d69190612a97565b611329565b6040516103e89190612a7c565b60405180910390f35b61040b600480360381019061040691906133b7565b6113e6565b6040516104189190612a7c565b60405180910390f35b61043b600480360381019061043691906133f7565b61147a565b005b6104576004803603810190610452919061348e565b61151b565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036104c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104c09061352d565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ec57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105fc57506105fb82611612565b5b9050919050565b60606000602b600084815260200190815260200160002080546106259061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546106519061357c565b801561069e5780601f106106735761010080835404028352916020019161069e565b820191906000526020600020905b81548152906001019060200180831161068157829003601f168201915b5050505050905060008151116106bc576106b78361167c565b6106e0565b6028816040516020016106d0929190613681565b6040516020818303038152906040525b915050919050565b6106f0611761565b73ffffffffffffffffffffffffffffffffffffffff1661070e6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075b906136f1565b60405180910390fd5b60005b835181101561099e5783818151811061078357610782613711565b5b6020026020010151600111156107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061378c565b60405180910390fd5b6006548482815181106107e4576107e3613711565b5b6020026020010151111561082d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108249061378c565b60405180910390fd5b602a600085838151811061084457610843613711565b5b602002602001015181526020019081526020016000205483828151811061086e5761086d613711565b5b60200260200101516029600087858151811061088d5761088c613711565b5b60200260200101518152602001908152602001600020546108ae91906137db565b11156108ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108e69061385b565b60405180910390fd5b602a600085838151811061090657610905613711565b5b60200260200101518152602001908152602001600020546029600086848151811061093457610933613711565b5b60200260200101518152602001908152602001600020540361098b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610982906138c7565b60405180910390fd5b8080610996906138e7565b915050610767565b5060005b8351811015610a1c578281815181106109be576109bd613711565b5b6020026020010151602960008684815181106109dd576109dc613711565b5b602002602001015181526020019081526020016000206000828254610a0291906137db565b925050819055508080610a14906138e7565b9150506109a2565b50610a2984848484611769565b50505050565b610a37611761565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610a7d5750610a7c85610a77611761565b6113e6565b5b610abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab3906139a1565b60405180910390fd5b610ac98585858585611995565b5050505050565b610ad8611761565b73ffffffffffffffffffffffffffffffffffffffff16610af66112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9390613a0d565b60405180910390fd5b610ba582611cb6565b610be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdb90613a79565b60405180910390fd5b610bee8282611cca565b5050565b610bfa611761565b73ffffffffffffffffffffffffffffffffffffffff16610c186112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c65906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590613a0d565b60405180910390fd5b610cc782611329565b15610d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfe90613ae5565b60405180910390fd5b60008111610d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4190613b51565b60405180910390fd5b60016008836103e98110610d6157610d60613711565b5b602091828204019190066101000a81548160ff021916908315150217905550610d8a8282611d2f565b5050565b600060296000838152602001908152602001600020549050919050565b60608151835114610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de890613be3565b60405180910390fd5b6000835167ffffffffffffffff811115610e0e57610e0d612b7b565b5b604051908082528060200260200182016040528015610e3c5781602001602082028036833780820191505090505b50905060005b8451811015610eb957610e89858281518110610e6157610e60613711565b5b6020026020010151858381518110610e7c57610e7b613711565b5b6020026020010151610459565b828281518110610e9c57610e9b613711565b5b60200260200101818152505080610eb2906138e7565b9050610e42565b508091505092915050565b610ecc611761565b73ffffffffffffffffffffffffffffffffffffffff16610eea6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614610f40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f37906136f1565b60405180910390fd5b600760009054906101000a900460ff1615610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790613a0d565b60405180910390fd5b610f9981611d4b565b50565b610fa4611761565b73ffffffffffffffffffffffffffffffffffffffff16610fc26112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100f906136f1565b60405180910390fd5b600760009054906101000a900460ff1615611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90613c4f565b60405180910390fd5b6001600760006101000a81548160ff021916908315150217905550565b61108d611761565b73ffffffffffffffffffffffffffffffffffffffff166110ab6112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611101576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f8906136f1565b60405180910390fd5b61110b6000611d5e565b565b611115611761565b73ffffffffffffffffffffffffffffffffffffffff166111336112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611180906136f1565b60405180910390fd5b602a6000848152602001908152602001600020548260296000868152602001908152602001600020546111bc91906137db565b11156111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f49061385b565b60405180910390fd5b602a600084815260200190815260200160002054602960008581526020019081526020016000205403611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c906138c7565b60405180910390fd5b8160296000858152602001908152602001600020600082825461128891906137db565b9250508190555061129b84848484611e24565b50505050565b602a6020528060005260406000206000915090505481565b6000600760009054906101000a900460ff16905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61130c611305611761565b8383611fd4565b5050565b600760009054906101000a900460ff1681565b60065481565b6000816001111561136f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113669061378c565b60405180910390fd5b6006548211156113b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ab9061378c565b60405180910390fd5b6008826103e981106113c9576113c8613711565b5b602091828204019190069054906101000a900460ff169050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611482611761565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806114c857506114c7856114c2611761565b6113e6565b5b611507576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fe90613ce1565b60405180910390fd5b6115148585858585612140565b5050505050565b611523611761565b73ffffffffffffffffffffffffffffffffffffffff166115416112d0565b73ffffffffffffffffffffffffffffffffffffffff1614611597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158e906136f1565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fd90613d73565b60405180910390fd5b61160f81611d5e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6060600060046000848152602001908152602001600020805461169e9061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546116ca9061357c565b80156117175780601f106116ec57610100808354040283529160200191611717565b820191906000526020600020905b8154815290600101906020018083116116fa57829003601f168201915b50505050509050600081511161173557611730836123db565b611759565b600381604051602001611749929190613681565b6040516020818303038152906040525b915050919050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613e05565b60405180910390fd5b815183511461181c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181390613e97565b60405180910390fd5b6000611826611761565b90506118378160008787878761246f565b60005b84518110156118f05783818151811061185657611855613711565b5b602002602001015160008087848151811061187457611873613711565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118d691906137db565b9250508190555080806118e8906138e7565b91505061183a565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611968929190613eb7565b60405180910390a461197f81600087878787612477565b61198e8160008787878761247f565b5050505050565b81518351146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d090613e97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f90613f60565b60405180910390fd5b6000611a52611761565b9050611a6281878787878761246f565b60005b8451811015611c13576000858281518110611a8357611a82613711565b5b602002602001015190506000858381518110611aa257611aa1613711565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90613ff2565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611bf891906137db565b9250508190555050505080611c0c906138e7565b9050611a65565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611c8a929190613eb7565b60405180910390a4611ca0818787878787612477565b611cae81878787878761247f565b505050505050565b600080611cc283610d8e565b119050919050565b80600460008481526020019081526020016000209081611cea91906141a9565b50817f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b611d1684610603565b604051611d239190612b54565b60405180910390a25050565b80602a6000848152602001908152602001600020819055505050565b8060039081611d5a91906141a9565b5050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611e93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8a90613e05565b60405180910390fd5b6000611e9d611761565b90506000611eaa85612656565b90506000611eb785612656565b9050611ec88360008985858961246f565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f2791906137db565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611fa592919061427b565b60405180910390a4611fbc83600089858589612477565b611fcb836000898989896126d0565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612042576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203990614316565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121339190612a7c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a690613f60565b60405180910390fd5b60006121b9611761565b905060006121c685612656565b905060006121d385612656565b90506121e383898985858961246f565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508581101561227a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227190613ff2565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461232f91906137db565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a6040516123ac92919061427b565b60405180910390a46123c2848a8a86868a612477565b6123d0848a8a8a8a8a6126d0565b505050505050505050565b6060600280546123ea9061357c565b80601f01602080910402602001604051908101604052809291908181526020018280546124169061357c565b80156124635780601f1061243857610100808354040283529160200191612463565b820191906000526020600020905b81548152906001019060200180831161244657829003601f168201915b50505050509050919050565b505050505050565b505050505050565b61249e8473ffffffffffffffffffffffffffffffffffffffff166128a7565b1561264e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016124e495949392919061438b565b6020604051808303816000875af192505050801561252057506040513d601f19601f8201168201806040525081019061251d9190614408565b60015b6125c55761252c614442565b806308c379a0036125885750612540614464565b8061254b575061258a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257f9190612b54565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc90614566565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461264c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612643906145f8565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561267557612674612b7b565b5b6040519080825280602002602001820160405280156126a35781602001602082028036833780820191505090505b50905082816000815181106126bb576126ba613711565b5b60200260200101818152505080915050919050565b6126ef8473ffffffffffffffffffffffffffffffffffffffff166128a7565b1561289f578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612735959493929190614618565b6020604051808303816000875af192505050801561277157506040513d601f19601f8201168201806040525081019061276e9190614408565b60015b6128165761277d614442565b806308c379a0036127d95750612791614464565b8061279c57506127db565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d09190612b54565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280d90614566565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461289d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612894906145f8565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612909826128de565b9050919050565b612919816128fe565b811461292457600080fd5b50565b60008135905061293681612910565b92915050565b6000819050919050565b61294f8161293c565b811461295a57600080fd5b50565b60008135905061296c81612946565b92915050565b60008060408385031215612989576129886128d4565b5b600061299785828601612927565b92505060206129a88582860161295d565b9150509250929050565b6129bb8161293c565b82525050565b60006020820190506129d660008301846129b2565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a11816129dc565b8114612a1c57600080fd5b50565b600081359050612a2e81612a08565b92915050565b600060208284031215612a4a57612a496128d4565b5b6000612a5884828501612a1f565b91505092915050565b60008115159050919050565b612a7681612a61565b82525050565b6000602082019050612a916000830184612a6d565b92915050565b600060208284031215612aad57612aac6128d4565b5b6000612abb8482850161295d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612afe578082015181840152602081019050612ae3565b60008484015250505050565b6000601f19601f8301169050919050565b6000612b2682612ac4565b612b308185612acf565b9350612b40818560208601612ae0565b612b4981612b0a565b840191505092915050565b60006020820190508181036000830152612b6e8184612b1b565b905092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612bb382612b0a565b810181811067ffffffffffffffff82111715612bd257612bd1612b7b565b5b80604052505050565b6000612be56128ca565b9050612bf18282612baa565b919050565b600067ffffffffffffffff821115612c1157612c10612b7b565b5b602082029050602081019050919050565b600080fd5b6000612c3a612c3584612bf6565b612bdb565b90508083825260208201905060208402830185811115612c5d57612c5c612c22565b5b835b81811015612c865780612c72888261295d565b845260208401935050602081019050612c5f565b5050509392505050565b600082601f830112612ca557612ca4612b76565b5b8135612cb5848260208601612c27565b91505092915050565b600080fd5b600067ffffffffffffffff821115612cde57612cdd612b7b565b5b612ce782612b0a565b9050602081019050919050565b82818337600083830152505050565b6000612d16612d1184612cc3565b612bdb565b905082815260208101848484011115612d3257612d31612cbe565b5b612d3d848285612cf4565b509392505050565b600082601f830112612d5a57612d59612b76565b5b8135612d6a848260208601612d03565b91505092915050565b60008060008060808587031215612d8d57612d8c6128d4565b5b6000612d9b87828801612927565b945050602085013567ffffffffffffffff811115612dbc57612dbb6128d9565b5b612dc887828801612c90565b935050604085013567ffffffffffffffff811115612de957612de86128d9565b5b612df587828801612c90565b925050606085013567ffffffffffffffff811115612e1657612e156128d9565b5b612e2287828801612d45565b91505092959194509250565b600080600080600060a08688031215612e4a57612e496128d4565b5b6000612e5888828901612927565b9550506020612e6988828901612927565b945050604086013567ffffffffffffffff811115612e8a57612e896128d9565b5b612e9688828901612c90565b935050606086013567ffffffffffffffff811115612eb757612eb66128d9565b5b612ec388828901612c90565b925050608086013567ffffffffffffffff811115612ee457612ee36128d9565b5b612ef088828901612d45565b9150509295509295909350565b600067ffffffffffffffff821115612f1857612f17612b7b565b5b612f2182612b0a565b9050602081019050919050565b6000612f41612f3c84612efd565b612bdb565b905082815260208101848484011115612f5d57612f5c612cbe565b5b612f68848285612cf4565b509392505050565b600082601f830112612f8557612f84612b76565b5b8135612f95848260208601612f2e565b91505092915050565b60008060408385031215612fb557612fb46128d4565b5b6000612fc38582860161295d565b925050602083013567ffffffffffffffff811115612fe457612fe36128d9565b5b612ff085828601612f70565b9150509250929050565b60008060408385031215613011576130106128d4565b5b600061301f8582860161295d565b92505060206130308582860161295d565b9150509250929050565b600067ffffffffffffffff82111561305557613054612b7b565b5b602082029050602081019050919050565b60006130796130748461303a565b612bdb565b9050808382526020820190506020840283018581111561309c5761309b612c22565b5b835b818110156130c557806130b18882612927565b84526020840193505060208101905061309e565b5050509392505050565b600082601f8301126130e4576130e3612b76565b5b81356130f4848260208601613066565b91505092915050565b60008060408385031215613114576131136128d4565b5b600083013567ffffffffffffffff811115613132576131316128d9565b5b61313e858286016130cf565b925050602083013567ffffffffffffffff81111561315f5761315e6128d9565b5b61316b85828601612c90565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6131aa8161293c565b82525050565b60006131bc83836131a1565b60208301905092915050565b6000602082019050919050565b60006131e082613175565b6131ea8185613180565b93506131f583613191565b8060005b8381101561322657815161320d88826131b0565b9750613218836131c8565b9250506001810190506131f9565b5085935050505092915050565b6000602082019050818103600083015261324d81846131d5565b905092915050565b60006020828403121561326b5761326a6128d4565b5b600082013567ffffffffffffffff811115613289576132886128d9565b5b61329584828501612f70565b91505092915050565b600080600080608085870312156132b8576132b76128d4565b5b60006132c687828801612927565b94505060206132d78782880161295d565b93505060406132e88782880161295d565b925050606085013567ffffffffffffffff811115613309576133086128d9565b5b61331587828801612d45565b91505092959194509250565b61332a816128fe565b82525050565b60006020820190506133456000830184613321565b92915050565b61335481612a61565b811461335f57600080fd5b50565b6000813590506133718161334b565b92915050565b6000806040838503121561338e5761338d6128d4565b5b600061339c85828601612927565b92505060206133ad85828601613362565b9150509250929050565b600080604083850312156133ce576133cd6128d4565b5b60006133dc85828601612927565b92505060206133ed85828601612927565b9150509250929050565b600080600080600060a08688031215613413576134126128d4565b5b600061342188828901612927565b955050602061343288828901612927565b94505060406134438882890161295d565b93505060606134548882890161295d565b925050608086013567ffffffffffffffff811115613475576134746128d9565b5b61348188828901612d45565b9150509295509295909350565b6000602082840312156134a4576134a36128d4565b5b60006134b284828501612927565b91505092915050565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613517602b83612acf565b9150613522826134bb565b604082019050919050565b600060208201905081810360008301526135468161350a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061359457607f821691505b6020821081036135a7576135a661354d565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546135da8161357c565b6135e481866135ad565b945060018216600081146135ff576001811461361457613647565b60ff1983168652811515820286019350613647565b61361d856135b8565b60005b8381101561363f57815481890152600182019150602081019050613620565b838801955050505b50505092915050565b600061365b82612ac4565b61366581856135ad565b9350613675818560208601612ae0565b80840191505092915050565b600061368d82856135cd565b91506136998284613650565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136db602083612acf565b91506136e6826136a5565b602082019050919050565b6000602082019050818103600083015261370a816136ce565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f6964206d75737420626520696e203120746f2031303030000000000000000000600082015250565b6000613776601783612acf565b915061378182613740565b602082019050919050565b600060208201905081810360008301526137a581613769565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006137e68261293c565b91506137f18361293c565b9250828201905080821115613809576138086137ac565b5b92915050565b7f4974276c6c2065786365656420746865206d617820737570706c790000000000600082015250565b6000613845601b83612acf565b91506138508261380f565b602082019050919050565b6000602082019050818103600083015261387481613838565b9050919050565b7f416c72656164792072656163686564206d617820737570706c79000000000000600082015250565b60006138b1601a83612acf565b91506138bc8261387b565b602082019050919050565b600060208201905081810360008301526138e0816138a4565b9050919050565b60006138f28261293c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613924576139236137ac565b5b600182019050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b600061398b603283612acf565b91506139968261392f565b604082019050919050565b600060208201905081810360008301526139ba8161397e565b9050919050565b7f4d65746164617461206973207065726d616e656e746c792066726f7a656e0000600082015250565b60006139f7601e83612acf565b9150613a02826139c1565b602082019050919050565b60006020820190508181036000830152613a26816139ea565b9050919050565b7f517565727920666f72206e6f6e6578697374656e7420746f6b656e0000000000600082015250565b6000613a63601b83612acf565b9150613a6e82613a2d565b602082019050919050565b60006020820190508181036000830152613a9281613a56565b9050919050565b7f4d6178537570706c7920616c7265616479206669786564000000000000000000600082015250565b6000613acf601783612acf565b9150613ada82613a99565b602082019050919050565b60006020820190508181036000830152613afe81613ac2565b9050919050565b7f4d6178537570706c79206d757374206265206f76657220300000000000000000600082015250565b6000613b3b601883612acf565b9150613b4682613b05565b602082019050919050565b60006020820190508181036000830152613b6a81613b2e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613bcd602983612acf565b9150613bd882613b71565b604082019050919050565b60006020820190508181036000830152613bfc81613bc0565b9050919050565b7f4d6574614461746120697320616c72656164792066726f7a656e000000000000600082015250565b6000613c39601a83612acf565b9150613c4482613c03565b602082019050919050565b60006020820190508181036000830152613c6881613c2c565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613ccb602983612acf565b9150613cd682613c6f565b604082019050919050565b60006020820190508181036000830152613cfa81613cbe565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d5d602683612acf565b9150613d6882613d01565b604082019050919050565b60006020820190508181036000830152613d8c81613d50565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613def602183612acf565b9150613dfa82613d93565b604082019050919050565b60006020820190508181036000830152613e1e81613de2565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613e81602883612acf565b9150613e8c82613e25565b604082019050919050565b60006020820190508181036000830152613eb081613e74565b9050919050565b60006040820190508181036000830152613ed181856131d5565b90508181036020830152613ee581846131d5565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613f4a602583612acf565b9150613f5582613eee565b604082019050919050565b60006020820190508181036000830152613f7981613f3d565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613fdc602a83612acf565b9150613fe782613f80565b604082019050919050565b6000602082019050818103600083015261400b81613fcf565b9050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261405f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614022565b6140698683614022565b95508019841693508086168417925050509392505050565b6000819050919050565b60006140a66140a161409c8461293c565b614081565b61293c565b9050919050565b6000819050919050565b6140c08361408b565b6140d46140cc826140ad565b84845461402f565b825550505050565b600090565b6140e96140dc565b6140f48184846140b7565b505050565b5b818110156141185761410d6000826140e1565b6001810190506140fa565b5050565b601f82111561415d5761412e816135b8565b61413784614012565b81016020851015614146578190505b61415a61415285614012565b8301826140f9565b50505b505050565b600082821c905092915050565b600061418060001984600802614162565b1980831691505092915050565b6000614199838361416f565b9150826002028217905092915050565b6141b282612ac4565b67ffffffffffffffff8111156141cb576141ca612b7b565b5b6141d5825461357c565b6141e082828561411c565b600060209050601f8311600181146142135760008415614201578287015190505b61420b858261418d565b865550614273565b601f198416614221866135b8565b60005b8281101561424957848901518255600182019150602085019450602081019050614224565b868310156142665784890151614262601f89168261416f565b8355505b6001600288020188555050505b505050505050565b600060408201905061429060008301856129b2565b61429d60208301846129b2565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614300602983612acf565b915061430b826142a4565b604082019050919050565b6000602082019050818103600083015261432f816142f3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061435d82614336565b6143678185614341565b9350614377818560208601612ae0565b61438081612b0a565b840191505092915050565b600060a0820190506143a06000830188613321565b6143ad6020830187613321565b81810360408301526143bf81866131d5565b905081810360608301526143d381856131d5565b905081810360808301526143e78184614352565b90509695505050505050565b60008151905061440281612a08565b92915050565b60006020828403121561441e5761441d6128d4565b5b600061442c848285016143f3565b91505092915050565b60008160e01c9050919050565b600060033d11156144615760046000803e61445e600051614435565b90505b90565b600060443d106144f1576144766128ca565b60043d036004823e80513d602482011167ffffffffffffffff8211171561449e5750506144f1565b808201805167ffffffffffffffff8111156144bc57505050506144f1565b80602083010160043d0385018111156144d95750505050506144f1565b6144e882602001850186612baa565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614550603483612acf565b915061455b826144f4565b604082019050919050565b6000602082019050818103600083015261457f81614543565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006145e2602883612acf565b91506145ed82614586565b604082019050919050565b60006020820190508181036000830152614611816145d5565b9050919050565b600060a08201905061462d6000830188613321565b61463a6020830187613321565b61464760408301866129b2565b61465460608301856129b2565b81810360808301526146668184614352565b9050969550505050505056fea2646970667358221220d90e3a066d670c099c9c50da5b631835bef45a4fdf8187a56832553c416f72e464736f6c63430008100033
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.