ERC-1155
Overview
Max Total Supply
1,083
Holders
832
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:
MultiToken
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract MultiToken is ERC1155, Ownable { constructor(string memory uri_) ERC1155(uri_) {} /** * @dev See {IERC1155MetadataURI-uri}. */ function uri(uint256 id) public view virtual override returns (string memory) { return string(abi.encodePacked(ERC1155.uri(id), Strings.toString(id))); } /** * @dev Sets a new base URI for all tokens. * * See {IERC1155MetadataURI-uri}. */ function setURI(string memory newuri) public onlyOwner { _setURI(newuri); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address tokenOwner, address operator) public view virtual override returns (bool) { return ERC1155.isApprovedForAll(tokenOwner, operator) || (operator == owner()); } function mint( address to, uint256 id, uint256 amount, bytes memory data ) public virtual onlyOwner { _mint(to, id, amount, data); } function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual onlyOwner { _mintBatch(to, ids, amounts, data); } function mintToBatch( address[] memory recipients, uint256[][] memory ids, bytes memory data ) public virtual onlyOwner { require(recipients.length == ids.length, "MT: recipients and ids length mismatch"); for (uint256 i = 0; i < recipients.length; ++i) _mintBatch(recipients[i], ids[i], _createAndFillArray(ids[i].length, 1), data); } function mintToBatch( address[] memory recipients, uint256 id ) public virtual onlyOwner { for (uint256 i = 0; i < recipients.length; ++i) _mint(recipients[i], id, 1, ''); } modifier ownerOrApproved(address tokenOwner) { require(tokenOwner == _msgSender() || isApprovedForAll(tokenOwner, _msgSender()), "MT: caller is not owner nor approved"); _; } function burn( address from, uint256 id, uint256 amount ) public virtual ownerOrApproved(from) { _burn(from, id, amount); } function burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) public virtual ownerOrApproved(from) { _burnBatch(from, ids, amounts); } function burnFromBatch( address[] memory owners, uint256[][] memory ids ) public virtual onlyOwner { require(owners.length == ids.length, "MT: owners and ids length mismatch"); for (uint256 i = 0; i < owners.length; ++i) _burnBatch(owners[i], ids[i], _createAndFillArray(ids[i].length, 1)); } function _createAndFillArray(uint256 count, uint256 value) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](count); for (uint256 i = 0; i < count; ++i) array[i] = value; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/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 v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (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 (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 v4.4.1 (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. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // 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 v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[][]","name":"ids","type":"uint256[][]"}],"name":"burnFromBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[][]","name":"ids","type":"uint256[][]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintToBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintToBatch","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":"newuri","type":"string"}],"name":"setURI","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":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004b4738038062004b478339818101604052810190620000379190620003a8565b8062000049816200007160201b60201c565b506200006a6200005e6200008d60201b60201c565b6200009560201b60201c565b506200045d565b8060029080519060200190620000899291906200015b565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001699062000428565b90600052602060002090601f0160209004810192826200018d5760008555620001d9565b82601f10620001a857805160ff1916838001178555620001d9565b82800160010185558215620001d9579182015b82811115620001d8578251825591602001919060010190620001bb565b5b509050620001e89190620001ec565b5090565b5b8082111562000207576000816000905550600101620001ed565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002748262000229565b810181811067ffffffffffffffff821117156200029657620002956200023a565b5b80604052505050565b6000620002ab6200020b565b9050620002b9828262000269565b919050565b600067ffffffffffffffff821115620002dc57620002db6200023a565b5b620002e78262000229565b9050602081019050919050565b60005b8381101562000314578082015181840152602081019050620002f7565b8381111562000324576000848401525b50505050565b6000620003416200033b84620002be565b6200029f565b90508281526020810184848401111562000360576200035f62000224565b5b6200036d848285620002f4565b509392505050565b600082601f8301126200038d576200038c6200021f565b5b81516200039f8482602086016200032a565b91505092915050565b600060208284031215620003c157620003c062000215565b5b600082015167ffffffffffffffff811115620003e257620003e16200021a565b5b620003f08482850162000375565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044157607f821691505b602082108103620004575762000456620003f9565b5b50919050565b6146da806200046d6000396000f3fe608060405234801561001057600080fd5b50600436106101205760003560e01c8063715018a6116100ad578063a22cb46511610071578063a22cb465146102ed578063e985e9c514610309578063f242432a14610339578063f2fde38b14610355578063f5298aca1461037157610120565b8063715018a614610271578063731133e91461027b578063861b9307146102975780638da5cb5b146102b357806393d585a7146102d157610120565b80631f7fdffa116100f45780631f7fdffa146101d15780632eb2c2d6146101ed5780634864735a146102095780634e1273f4146102255780636b20c4541461025557610120565b8062fdd58e1461012557806301ffc9a71461015557806302fe5305146101855780630e89341c146101a1575b600080fd5b61013f600480360381019061013a919061299d565b61038d565b60405161014c91906129ec565b60405180910390f35b61016f600480360381019061016a9190612a5f565b610455565b60405161017c9190612aa7565b60405180910390f35b61019f600480360381019061019a9190612c08565b610537565b005b6101bb60048036038101906101b69190612c51565b6105bf565b6040516101c89190612d06565b60405180910390f35b6101eb60048036038101906101e69190612e91565b6105fa565b005b61020760048036038101906102029190612f4c565b610688565b005b610223600480360381019061021e91906131bf565b610729565b005b61023f600480360381019061023a9190613266565b610871565b60405161024c919061339c565b60405180910390f35b61026f600480360381019061026a91906133be565b61098a565b005b610279610a29565b005b61029560048036038101906102909190613449565b610ab1565b005b6102b160048036038101906102ac91906134cc565b610b3f565b005b6102bb610c85565b6040516102c89190613553565b60405180910390f35b6102eb60048036038101906102e6919061356e565b610caf565b005b610307600480360381019061030291906135f6565b610d83565b005b610323600480360381019061031e9190613636565b610d99565b6040516103309190612aa7565b60405180910390f35b610353600480360381019061034e9190613676565b610dea565b005b61036f600480360381019061036a919061370d565b610e8b565b005b61038b6004803603810190610386919061373a565b610f82565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f4906137ff565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610530575061052f82611021565b5b9050919050565b61053f61108b565b73ffffffffffffffffffffffffffffffffffffffff1661055d610c85565b73ffffffffffffffffffffffffffffffffffffffff16146105b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105aa9061386b565b60405180910390fd5b6105bc81611093565b50565b60606105ca826110ad565b6105d383611141565b6040516020016105e49291906138c7565b6040516020818303038152906040529050919050565b61060261108b565b73ffffffffffffffffffffffffffffffffffffffff16610620610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066d9061386b565b60405180910390fd5b610682848484846112a1565b50505050565b61069061108b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d657506106d5856106d061108b565b610d99565b5b610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c9061395d565b60405180910390fd5b61072285858585856114be565b5050505050565b61073161108b565b73ffffffffffffffffffffffffffffffffffffffff1661074f610c85565b73ffffffffffffffffffffffffffffffffffffffff16146107a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079c9061386b565b60405180910390fd5b81518351146107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e0906139ef565b60405180910390fd5b60005b835181101561086b5761085a84828151811061080b5761080a613a0f565b5b602002602001015184838151811061082657610825613a0f565b5b602002602001015161085486858151811061084457610843613a0f565b5b60200260200101515160016117d1565b856112a1565b8061086490613a6d565b90506107ec565b50505050565b606081518351146108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae90613b27565b60405180910390fd5b6000835167ffffffffffffffff8111156108d4576108d3612add565b5b6040519080825280602002602001820160405280156109025781602001602082028036833780820191505090505b50905060005b845181101561097f5761094f85828151811061092757610926613a0f565b5b602002602001015185838151811061094257610941613a0f565b5b602002602001015161038d565b82828151811061096257610961613a0f565b5b6020026020010181815250508061097890613a6d565b9050610908565b508091505092915050565b8261099361108b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806109d957506109d8816109d361108b565b610d99565b5b610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90613bb9565b60405180910390fd5b610a23848484611867565b50505050565b610a3161108b565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c9061386b565b60405180910390fd5b610aaf6000611b17565b565b610ab961108b565b73ffffffffffffffffffffffffffffffffffffffff16610ad7610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061386b565b60405180910390fd5b610b3984848484611bdd565b50505050565b610b4761108b565b73ffffffffffffffffffffffffffffffffffffffff16610b65610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061386b565b60405180910390fd5b8051825114610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690613c4b565b60405180910390fd5b60005b8251811015610c8057610c6f838281518110610c2157610c20613a0f565b5b6020026020010151838381518110610c3c57610c3b613a0f565b5b6020026020010151610c6a858581518110610c5a57610c59613a0f565b5b60200260200101515160016117d1565b611867565b80610c7990613a6d565b9050610c02565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610cb761108b565b73ffffffffffffffffffffffffffffffffffffffff16610cd5610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d229061386b565b60405180910390fd5b60005b8251811015610d7e57610d6d838281518110610d4d57610d4c613a0f565b5b602002602001015183600160405180602001604052806000815250611bdd565b80610d7790613a6d565b9050610d2e565b505050565b610d95610d8e61108b565b8383611d72565b5050565b6000610da58383611ede565b80610de25750610db3610c85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905092915050565b610df261108b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e385750610e3785610e3261108b565b610d99565b5b610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e90613cdd565b60405180910390fd5b610e848585858585611f72565b5050505050565b610e9361108b565b73ffffffffffffffffffffffffffffffffffffffff16610eb1610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe9061386b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90613d6f565b60405180910390fd5b610f7f81611b17565b50565b82610f8b61108b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610fd15750610fd081610fcb61108b565b610d99565b5b611010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100790613bb9565b60405180910390fd5b61101b8484846121f3565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600290805190602001906110a9929190612852565b5050565b6060600280546110bc90613dbe565b80601f01602080910402602001604051908101604052809291908181526020018280546110e890613dbe565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b50505050509050919050565b606060008203611188576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061129c565b600082905060005b600082146111ba5780806111a390613a6d565b915050600a826111b39190613e1e565b9150611190565b60008167ffffffffffffffff8111156111d6576111d5612add565b5b6040519080825280601f01601f1916602001820160405280156112085781602001600182028036833780820191505090505b5090505b60008514611295576001826112219190613e4f565b9150600a856112309190613e83565b603061123c9190613eb4565b60f81b81838151811061125257611251613a0f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561128e9190613e1e565b945061120c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130790613f7c565b60405180910390fd5b8151835114611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b9061400e565b60405180910390fd5b600061135e61108b565b905061136f8160008787878761240f565b60005b84518110156114285783818151811061138e5761138d613a0f565b5b60200260200101516000808784815181106113ac576113ab613a0f565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140e9190613eb4565b92505081905550808061142090613a6d565b915050611372565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114a092919061402e565b60405180910390a46114b781600087878787612417565b5050505050565b8151835114611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f99061400e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611571576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611568906140d7565b60405180910390fd5b600061157b61108b565b905061158b81878787878761240f565b60005b845181101561173c5760008582815181106115ac576115ab613a0f565b5b6020026020010151905060008583815181106115cb576115ca613a0f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390614169565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117219190613eb4565b925050819055505050508061173590613a6d565b905061158e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117b392919061402e565b60405180910390a46117c9818787878787612417565b505050505050565b606060008367ffffffffffffffff8111156117ef576117ee612add565b5b60405190808252806020026020018201604052801561181d5781602001602082028036833780820191505090505b50905060005b8481101561185c578382828151811061183f5761183e613a0f565b5b6020026020010181815250508061185590613a6d565b9050611823565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cd906141fb565b60405180910390fd5b805182511461191a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119119061400e565b60405180910390fd5b600061192461108b565b90506119448185600086866040518060200160405280600081525061240f565b60005b8351811015611a9157600084828151811061196557611964613a0f565b5b60200260200101519050600084838151811061198457611983613a0f565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c9061428d565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611a8990613a6d565b915050611947565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b0992919061402e565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390613f7c565b60405180910390fd5b6000611c5661108b565b9050611c7781600087611c68886125ee565b611c71886125ee565b8761240f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd69190613eb4565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d549291906142ad565b60405180910390a4611d6b81600087878787612668565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790614348565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ed19190612aa7565b60405180910390a3505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd8906140d7565b60405180910390fd5b6000611feb61108b565b905061200b818787611ffc886125ee565b612005886125ee565b8761240f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990614169565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121579190613eb4565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516121d49291906142ad565b60405180910390a46121ea828888888888612668565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612259906141fb565b60405180910390fd5b600061226c61108b565b905061229c8185600061227e876125ee565b612287876125ee565b6040518060200160405280600081525061240f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a9061428d565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124009291906142ad565b60405180910390a45050505050565b505050505050565b6124368473ffffffffffffffffffffffffffffffffffffffff1661283f565b156125e6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161247c9594939291906143bd565b6020604051808303816000875af19250505080156124b857506040513d601f19601f820116820180604052508101906124b5919061443a565b60015b61255d576124c4614474565b806308c379a00361252057506124d8614496565b806124e35750612522565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125179190612d06565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255490614598565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146125e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125db9061462a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561260d5761260c612add565b5b60405190808252806020026020018201604052801561263b5781602001602082028036833780820191505090505b509050828160008151811061265357612652613a0f565b5b60200260200101818152505080915050919050565b6126878473ffffffffffffffffffffffffffffffffffffffff1661283f565b15612837578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126cd95949392919061464a565b6020604051808303816000875af192505050801561270957506040513d601f19601f82011682018060405250810190612706919061443a565b60015b6127ae57612715614474565b806308c379a0036127715750612729614496565b806127345750612773565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127689190612d06565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a590614598565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c9061462a565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461285e90613dbe565b90600052602060002090601f01602090048101928261288057600085556128c7565b82601f1061289957805160ff19168380011785556128c7565b828001600101855582156128c7579182015b828111156128c65782518255916020019190600101906128ab565b5b5090506128d491906128d8565b5090565b5b808211156128f15760008160009055506001016128d9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061293482612909565b9050919050565b61294481612929565b811461294f57600080fd5b50565b6000813590506129618161293b565b92915050565b6000819050919050565b61297a81612967565b811461298557600080fd5b50565b60008135905061299781612971565b92915050565b600080604083850312156129b4576129b36128ff565b5b60006129c285828601612952565b92505060206129d385828601612988565b9150509250929050565b6129e681612967565b82525050565b6000602082019050612a0160008301846129dd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a3c81612a07565b8114612a4757600080fd5b50565b600081359050612a5981612a33565b92915050565b600060208284031215612a7557612a746128ff565b5b6000612a8384828501612a4a565b91505092915050565b60008115159050919050565b612aa181612a8c565b82525050565b6000602082019050612abc6000830184612a98565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b1582612acc565b810181811067ffffffffffffffff82111715612b3457612b33612add565b5b80604052505050565b6000612b476128f5565b9050612b538282612b0c565b919050565b600067ffffffffffffffff821115612b7357612b72612add565b5b612b7c82612acc565b9050602081019050919050565b82818337600083830152505050565b6000612bab612ba684612b58565b612b3d565b905082815260208101848484011115612bc757612bc6612ac7565b5b612bd2848285612b89565b509392505050565b600082601f830112612bef57612bee612ac2565b5b8135612bff848260208601612b98565b91505092915050565b600060208284031215612c1e57612c1d6128ff565b5b600082013567ffffffffffffffff811115612c3c57612c3b612904565b5b612c4884828501612bda565b91505092915050565b600060208284031215612c6757612c666128ff565b5b6000612c7584828501612988565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cb8578082015181840152602081019050612c9d565b83811115612cc7576000848401525b50505050565b6000612cd882612c7e565b612ce28185612c89565b9350612cf2818560208601612c9a565b612cfb81612acc565b840191505092915050565b60006020820190508181036000830152612d208184612ccd565b905092915050565b600067ffffffffffffffff821115612d4357612d42612add565b5b602082029050602081019050919050565b600080fd5b6000612d6c612d6784612d28565b612b3d565b90508083825260208201905060208402830185811115612d8f57612d8e612d54565b5b835b81811015612db85780612da48882612988565b845260208401935050602081019050612d91565b5050509392505050565b600082601f830112612dd757612dd6612ac2565b5b8135612de7848260208601612d59565b91505092915050565b600067ffffffffffffffff821115612e0b57612e0a612add565b5b612e1482612acc565b9050602081019050919050565b6000612e34612e2f84612df0565b612b3d565b905082815260208101848484011115612e5057612e4f612ac7565b5b612e5b848285612b89565b509392505050565b600082601f830112612e7857612e77612ac2565b5b8135612e88848260208601612e21565b91505092915050565b60008060008060808587031215612eab57612eaa6128ff565b5b6000612eb987828801612952565b945050602085013567ffffffffffffffff811115612eda57612ed9612904565b5b612ee687828801612dc2565b935050604085013567ffffffffffffffff811115612f0757612f06612904565b5b612f1387828801612dc2565b925050606085013567ffffffffffffffff811115612f3457612f33612904565b5b612f4087828801612e63565b91505092959194509250565b600080600080600060a08688031215612f6857612f676128ff565b5b6000612f7688828901612952565b9550506020612f8788828901612952565b945050604086013567ffffffffffffffff811115612fa857612fa7612904565b5b612fb488828901612dc2565b935050606086013567ffffffffffffffff811115612fd557612fd4612904565b5b612fe188828901612dc2565b925050608086013567ffffffffffffffff81111561300257613001612904565b5b61300e88828901612e63565b9150509295509295909350565b600067ffffffffffffffff82111561303657613035612add565b5b602082029050602081019050919050565b600061305a6130558461301b565b612b3d565b9050808382526020820190506020840283018581111561307d5761307c612d54565b5b835b818110156130a657806130928882612952565b84526020840193505060208101905061307f565b5050509392505050565b600082601f8301126130c5576130c4612ac2565b5b81356130d5848260208601613047565b91505092915050565b600067ffffffffffffffff8211156130f9576130f8612add565b5b602082029050602081019050919050565b600061311d613118846130de565b612b3d565b905080838252602082019050602084028301858111156131405761313f612d54565b5b835b8181101561318757803567ffffffffffffffff81111561316557613164612ac2565b5b8086016131728982612dc2565b85526020850194505050602081019050613142565b5050509392505050565b600082601f8301126131a6576131a5612ac2565b5b81356131b684826020860161310a565b91505092915050565b6000806000606084860312156131d8576131d76128ff565b5b600084013567ffffffffffffffff8111156131f6576131f5612904565b5b613202868287016130b0565b935050602084013567ffffffffffffffff81111561322357613222612904565b5b61322f86828701613191565b925050604084013567ffffffffffffffff8111156132505761324f612904565b5b61325c86828701612e63565b9150509250925092565b6000806040838503121561327d5761327c6128ff565b5b600083013567ffffffffffffffff81111561329b5761329a612904565b5b6132a7858286016130b0565b925050602083013567ffffffffffffffff8111156132c8576132c7612904565b5b6132d485828601612dc2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61331381612967565b82525050565b6000613325838361330a565b60208301905092915050565b6000602082019050919050565b6000613349826132de565b61335381856132e9565b935061335e836132fa565b8060005b8381101561338f5781516133768882613319565b975061338183613331565b925050600181019050613362565b5085935050505092915050565b600060208201905081810360008301526133b6818461333e565b905092915050565b6000806000606084860312156133d7576133d66128ff565b5b60006133e586828701612952565b935050602084013567ffffffffffffffff81111561340657613405612904565b5b61341286828701612dc2565b925050604084013567ffffffffffffffff81111561343357613432612904565b5b61343f86828701612dc2565b9150509250925092565b60008060008060808587031215613463576134626128ff565b5b600061347187828801612952565b945050602061348287828801612988565b935050604061349387828801612988565b925050606085013567ffffffffffffffff8111156134b4576134b3612904565b5b6134c087828801612e63565b91505092959194509250565b600080604083850312156134e3576134e26128ff565b5b600083013567ffffffffffffffff81111561350157613500612904565b5b61350d858286016130b0565b925050602083013567ffffffffffffffff81111561352e5761352d612904565b5b61353a85828601613191565b9150509250929050565b61354d81612929565b82525050565b60006020820190506135686000830184613544565b92915050565b60008060408385031215613585576135846128ff565b5b600083013567ffffffffffffffff8111156135a3576135a2612904565b5b6135af858286016130b0565b92505060206135c085828601612988565b9150509250929050565b6135d381612a8c565b81146135de57600080fd5b50565b6000813590506135f0816135ca565b92915050565b6000806040838503121561360d5761360c6128ff565b5b600061361b85828601612952565b925050602061362c858286016135e1565b9150509250929050565b6000806040838503121561364d5761364c6128ff565b5b600061365b85828601612952565b925050602061366c85828601612952565b9150509250929050565b600080600080600060a08688031215613692576136916128ff565b5b60006136a088828901612952565b95505060206136b188828901612952565b94505060406136c288828901612988565b93505060606136d388828901612988565b925050608086013567ffffffffffffffff8111156136f4576136f3612904565b5b61370088828901612e63565b9150509295509295909350565b600060208284031215613723576137226128ff565b5b600061373184828501612952565b91505092915050565b600080600060608486031215613753576137526128ff565b5b600061376186828701612952565b935050602061377286828701612988565b925050604061378386828701612988565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006137e9602b83612c89565b91506137f48261378d565b604082019050919050565b60006020820190508181036000830152613818816137dc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613855602083612c89565b91506138608261381f565b602082019050919050565b6000602082019050818103600083015261388481613848565b9050919050565b600081905092915050565b60006138a182612c7e565b6138ab818561388b565b93506138bb818560208601612c9a565b80840191505092915050565b60006138d38285613896565b91506138df8284613896565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613947603283612c89565b9150613952826138eb565b604082019050919050565b600060208201905081810360008301526139768161393a565b9050919050565b7f4d543a20726563697069656e747320616e6420696473206c656e677468206d6960008201527f736d617463680000000000000000000000000000000000000000000000000000602082015250565b60006139d9602683612c89565b91506139e48261397d565b604082019050919050565b60006020820190508181036000830152613a08816139cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7882612967565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613aaa57613aa9613a3e565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613b11602983612c89565b9150613b1c82613ab5565b604082019050919050565b60006020820190508181036000830152613b4081613b04565b9050919050565b7f4d543a2063616c6c6572206973206e6f74206f776e6572206e6f72206170707260008201527f6f76656400000000000000000000000000000000000000000000000000000000602082015250565b6000613ba3602483612c89565b9150613bae82613b47565b604082019050919050565b60006020820190508181036000830152613bd281613b96565b9050919050565b7f4d543a206f776e65727320616e6420696473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c35602283612c89565b9150613c4082613bd9565b604082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613cc7602983612c89565b9150613cd282613c6b565b604082019050919050565b60006020820190508181036000830152613cf681613cba565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d59602683612c89565b9150613d6482613cfd565b604082019050919050565b60006020820190508181036000830152613d8881613d4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613dd657607f821691505b602082108103613de957613de8613d8f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e2982612967565b9150613e3483612967565b925082613e4457613e43613def565b5b828204905092915050565b6000613e5a82612967565b9150613e6583612967565b925082821015613e7857613e77613a3e565b5b828203905092915050565b6000613e8e82612967565b9150613e9983612967565b925082613ea957613ea8613def565b5b828206905092915050565b6000613ebf82612967565b9150613eca83612967565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eff57613efe613a3e565b5b828201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f66602183612c89565b9150613f7182613f0a565b604082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613ff8602883612c89565b915061400382613f9c565b604082019050919050565b6000602082019050818103600083015261402781613feb565b9050919050565b60006040820190508181036000830152614048818561333e565b9050818103602083015261405c818461333e565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006140c1602583612c89565b91506140cc82614065565b604082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614153602a83612c89565b915061415e826140f7565b604082019050919050565b6000602082019050818103600083015261418281614146565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006141e5602383612c89565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614277602483612c89565b91506142828261421b565b604082019050919050565b600060208201905081810360008301526142a68161426a565b9050919050565b60006040820190506142c260008301856129dd565b6142cf60208301846129dd565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614332602983612c89565b915061433d826142d6565b604082019050919050565b6000602082019050818103600083015261436181614325565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061438f82614368565b6143998185614373565b93506143a9818560208601612c9a565b6143b281612acc565b840191505092915050565b600060a0820190506143d26000830188613544565b6143df6020830187613544565b81810360408301526143f1818661333e565b90508181036060830152614405818561333e565b905081810360808301526144198184614384565b90509695505050505050565b60008151905061443481612a33565b92915050565b6000602082840312156144505761444f6128ff565b5b600061445e84828501614425565b91505092915050565b60008160e01c9050919050565b600060033d11156144935760046000803e614490600051614467565b90505b90565b600060443d10614523576144a86128f5565b60043d036004823e80513d602482011167ffffffffffffffff821117156144d0575050614523565b808201805167ffffffffffffffff8111156144ee5750505050614523565b80602083010160043d03850181111561450b575050505050614523565b61451a82602001850186612b0c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614582603483612c89565b915061458d82614526565b604082019050919050565b600060208201905081810360008301526145b181614575565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614614602883612c89565b915061461f826145b8565b604082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b600060a08201905061465f6000830188613544565b61466c6020830187613544565b61467960408301866129dd565b61468660608301856129dd565b81810360808301526146988184614384565b9050969550505050505056fea26469706673582212204542fc2eff88a294477534d7585c1fe86f7ad5923ee8a12db6d4ffcdcdfabbe764736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f636c75622e6d7970696e6174612e636c6f75642f697066732f516d63326237775a3267745638776433556b5751704a42786f76413933576769324c454579675833414678676a792f00000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101205760003560e01c8063715018a6116100ad578063a22cb46511610071578063a22cb465146102ed578063e985e9c514610309578063f242432a14610339578063f2fde38b14610355578063f5298aca1461037157610120565b8063715018a614610271578063731133e91461027b578063861b9307146102975780638da5cb5b146102b357806393d585a7146102d157610120565b80631f7fdffa116100f45780631f7fdffa146101d15780632eb2c2d6146101ed5780634864735a146102095780634e1273f4146102255780636b20c4541461025557610120565b8062fdd58e1461012557806301ffc9a71461015557806302fe5305146101855780630e89341c146101a1575b600080fd5b61013f600480360381019061013a919061299d565b61038d565b60405161014c91906129ec565b60405180910390f35b61016f600480360381019061016a9190612a5f565b610455565b60405161017c9190612aa7565b60405180910390f35b61019f600480360381019061019a9190612c08565b610537565b005b6101bb60048036038101906101b69190612c51565b6105bf565b6040516101c89190612d06565b60405180910390f35b6101eb60048036038101906101e69190612e91565b6105fa565b005b61020760048036038101906102029190612f4c565b610688565b005b610223600480360381019061021e91906131bf565b610729565b005b61023f600480360381019061023a9190613266565b610871565b60405161024c919061339c565b60405180910390f35b61026f600480360381019061026a91906133be565b61098a565b005b610279610a29565b005b61029560048036038101906102909190613449565b610ab1565b005b6102b160048036038101906102ac91906134cc565b610b3f565b005b6102bb610c85565b6040516102c89190613553565b60405180910390f35b6102eb60048036038101906102e6919061356e565b610caf565b005b610307600480360381019061030291906135f6565b610d83565b005b610323600480360381019061031e9190613636565b610d99565b6040516103309190612aa7565b60405180910390f35b610353600480360381019061034e9190613676565b610dea565b005b61036f600480360381019061036a919061370d565b610e8b565b005b61038b6004803603810190610386919061373a565b610f82565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036103fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f4906137ff565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061052057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610530575061052f82611021565b5b9050919050565b61053f61108b565b73ffffffffffffffffffffffffffffffffffffffff1661055d610c85565b73ffffffffffffffffffffffffffffffffffffffff16146105b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105aa9061386b565b60405180910390fd5b6105bc81611093565b50565b60606105ca826110ad565b6105d383611141565b6040516020016105e49291906138c7565b6040516020818303038152906040529050919050565b61060261108b565b73ffffffffffffffffffffffffffffffffffffffff16610620610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610676576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066d9061386b565b60405180910390fd5b610682848484846112a1565b50505050565b61069061108b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d657506106d5856106d061108b565b610d99565b5b610715576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070c9061395d565b60405180910390fd5b61072285858585856114be565b5050505050565b61073161108b565b73ffffffffffffffffffffffffffffffffffffffff1661074f610c85565b73ffffffffffffffffffffffffffffffffffffffff16146107a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079c9061386b565b60405180910390fd5b81518351146107e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e0906139ef565b60405180910390fd5b60005b835181101561086b5761085a84828151811061080b5761080a613a0f565b5b602002602001015184838151811061082657610825613a0f565b5b602002602001015161085486858151811061084457610843613a0f565b5b60200260200101515160016117d1565b856112a1565b8061086490613a6d565b90506107ec565b50505050565b606081518351146108b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ae90613b27565b60405180910390fd5b6000835167ffffffffffffffff8111156108d4576108d3612add565b5b6040519080825280602002602001820160405280156109025781602001602082028036833780820191505090505b50905060005b845181101561097f5761094f85828151811061092757610926613a0f565b5b602002602001015185838151811061094257610941613a0f565b5b602002602001015161038d565b82828151811061096257610961613a0f565b5b6020026020010181815250508061097890613a6d565b9050610908565b508091505092915050565b8261099361108b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614806109d957506109d8816109d361108b565b610d99565b5b610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90613bb9565b60405180910390fd5b610a23848484611867565b50505050565b610a3161108b565b73ffffffffffffffffffffffffffffffffffffffff16610a4f610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c9061386b565b60405180910390fd5b610aaf6000611b17565b565b610ab961108b565b73ffffffffffffffffffffffffffffffffffffffff16610ad7610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b249061386b565b60405180910390fd5b610b3984848484611bdd565b50505050565b610b4761108b565b73ffffffffffffffffffffffffffffffffffffffff16610b65610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061386b565b60405180910390fd5b8051825114610bff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf690613c4b565b60405180910390fd5b60005b8251811015610c8057610c6f838281518110610c2157610c20613a0f565b5b6020026020010151838381518110610c3c57610c3b613a0f565b5b6020026020010151610c6a858581518110610c5a57610c59613a0f565b5b60200260200101515160016117d1565b611867565b80610c7990613a6d565b9050610c02565b505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610cb761108b565b73ffffffffffffffffffffffffffffffffffffffff16610cd5610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d229061386b565b60405180910390fd5b60005b8251811015610d7e57610d6d838281518110610d4d57610d4c613a0f565b5b602002602001015183600160405180602001604052806000815250611bdd565b80610d7790613a6d565b9050610d2e565b505050565b610d95610d8e61108b565b8383611d72565b5050565b6000610da58383611ede565b80610de25750610db3610c85565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b905092915050565b610df261108b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610e385750610e3785610e3261108b565b610d99565b5b610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e90613cdd565b60405180910390fd5b610e848585858585611f72565b5050505050565b610e9361108b565b73ffffffffffffffffffffffffffffffffffffffff16610eb1610c85565b73ffffffffffffffffffffffffffffffffffffffff1614610f07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efe9061386b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90613d6f565b60405180910390fd5b610f7f81611b17565b50565b82610f8b61108b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161480610fd15750610fd081610fcb61108b565b610d99565b5b611010576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100790613bb9565b60405180910390fd5b61101b8484846121f3565b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b80600290805190602001906110a9929190612852565b5050565b6060600280546110bc90613dbe565b80601f01602080910402602001604051908101604052809291908181526020018280546110e890613dbe565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b50505050509050919050565b606060008203611188576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061129c565b600082905060005b600082146111ba5780806111a390613a6d565b915050600a826111b39190613e1e565b9150611190565b60008167ffffffffffffffff8111156111d6576111d5612add565b5b6040519080825280601f01601f1916602001820160405280156112085781602001600182028036833780820191505090505b5090505b60008514611295576001826112219190613e4f565b9150600a856112309190613e83565b603061123c9190613eb4565b60f81b81838151811061125257611251613a0f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561128e9190613e1e565b945061120c565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611310576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130790613f7c565b60405180910390fd5b8151835114611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b9061400e565b60405180910390fd5b600061135e61108b565b905061136f8160008787878761240f565b60005b84518110156114285783818151811061138e5761138d613a0f565b5b60200260200101516000808784815181106113ac576113ab613a0f565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461140e9190613eb4565b92505081905550808061142090613a6d565b915050611372565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516114a092919061402e565b60405180910390a46114b781600087878787612417565b5050505050565b8151835114611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f99061400e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611571576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611568906140d7565b60405180910390fd5b600061157b61108b565b905061158b81878787878761240f565b60005b845181101561173c5760008582815181106115ac576115ab613a0f565b5b6020026020010151905060008583815181106115cb576115ca613a0f565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561166c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166390614169565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117219190613eb4565b925050819055505050508061173590613a6d565b905061158e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516117b392919061402e565b60405180910390a46117c9818787878787612417565b505050505050565b606060008367ffffffffffffffff8111156117ef576117ee612add565b5b60405190808252806020026020018201604052801561181d5781602001602082028036833780820191505090505b50905060005b8481101561185c578382828151811061183f5761183e613a0f565b5b6020026020010181815250508061185590613a6d565b9050611823565b508091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036118d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cd906141fb565b60405180910390fd5b805182511461191a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119119061400e565b60405180910390fd5b600061192461108b565b90506119448185600086866040518060200160405280600081525061240f565b60005b8351811015611a9157600084828151811061196557611964613a0f565b5b60200260200101519050600084838151811061198457611983613a0f565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c9061428d565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080611a8990613a6d565b915050611947565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051611b0992919061402e565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4390613f7c565b60405180910390fd5b6000611c5661108b565b9050611c7781600087611c68886125ee565b611c71886125ee565b8761240f565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cd69190613eb4565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611d549291906142ad565b60405180910390a4611d6b81600087878787612668565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790614348565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ed19190612aa7565b60405180910390a3505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd8906140d7565b60405180910390fd5b6000611feb61108b565b905061200b818787611ffc886125ee565b612005886125ee565b8761240f565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156120a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209990614169565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121579190613eb4565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516121d49291906142ad565b60405180910390a46121ea828888888888612668565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612262576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612259906141fb565b60405180910390fd5b600061226c61108b565b905061229c8185600061227e876125ee565b612287876125ee565b6040518060200160405280600081525061240f565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612333576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232a9061428d565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516124009291906142ad565b60405180910390a45050505050565b505050505050565b6124368473ffffffffffffffffffffffffffffffffffffffff1661283f565b156125e6578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b815260040161247c9594939291906143bd565b6020604051808303816000875af19250505080156124b857506040513d601f19601f820116820180604052508101906124b5919061443a565b60015b61255d576124c4614474565b806308c379a00361252057506124d8614496565b806124e35750612522565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125179190612d06565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255490614598565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146125e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125db9061462a565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561260d5761260c612add565b5b60405190808252806020026020018201604052801561263b5781602001602082028036833780820191505090505b509050828160008151811061265357612652613a0f565b5b60200260200101818152505080915050919050565b6126878473ffffffffffffffffffffffffffffffffffffffff1661283f565b15612837578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016126cd95949392919061464a565b6020604051808303816000875af192505050801561270957506040513d601f19601f82011682018060405250810190612706919061443a565b60015b6127ae57612715614474565b806308c379a0036127715750612729614496565b806127345750612773565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127689190612d06565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a590614598565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c9061462a565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461285e90613dbe565b90600052602060002090601f01602090048101928261288057600085556128c7565b82601f1061289957805160ff19168380011785556128c7565b828001600101855582156128c7579182015b828111156128c65782518255916020019190600101906128ab565b5b5090506128d491906128d8565b5090565b5b808211156128f15760008160009055506001016128d9565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061293482612909565b9050919050565b61294481612929565b811461294f57600080fd5b50565b6000813590506129618161293b565b92915050565b6000819050919050565b61297a81612967565b811461298557600080fd5b50565b60008135905061299781612971565b92915050565b600080604083850312156129b4576129b36128ff565b5b60006129c285828601612952565b92505060206129d385828601612988565b9150509250929050565b6129e681612967565b82525050565b6000602082019050612a0160008301846129dd565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a3c81612a07565b8114612a4757600080fd5b50565b600081359050612a5981612a33565b92915050565b600060208284031215612a7557612a746128ff565b5b6000612a8384828501612a4a565b91505092915050565b60008115159050919050565b612aa181612a8c565b82525050565b6000602082019050612abc6000830184612a98565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b1582612acc565b810181811067ffffffffffffffff82111715612b3457612b33612add565b5b80604052505050565b6000612b476128f5565b9050612b538282612b0c565b919050565b600067ffffffffffffffff821115612b7357612b72612add565b5b612b7c82612acc565b9050602081019050919050565b82818337600083830152505050565b6000612bab612ba684612b58565b612b3d565b905082815260208101848484011115612bc757612bc6612ac7565b5b612bd2848285612b89565b509392505050565b600082601f830112612bef57612bee612ac2565b5b8135612bff848260208601612b98565b91505092915050565b600060208284031215612c1e57612c1d6128ff565b5b600082013567ffffffffffffffff811115612c3c57612c3b612904565b5b612c4884828501612bda565b91505092915050565b600060208284031215612c6757612c666128ff565b5b6000612c7584828501612988565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cb8578082015181840152602081019050612c9d565b83811115612cc7576000848401525b50505050565b6000612cd882612c7e565b612ce28185612c89565b9350612cf2818560208601612c9a565b612cfb81612acc565b840191505092915050565b60006020820190508181036000830152612d208184612ccd565b905092915050565b600067ffffffffffffffff821115612d4357612d42612add565b5b602082029050602081019050919050565b600080fd5b6000612d6c612d6784612d28565b612b3d565b90508083825260208201905060208402830185811115612d8f57612d8e612d54565b5b835b81811015612db85780612da48882612988565b845260208401935050602081019050612d91565b5050509392505050565b600082601f830112612dd757612dd6612ac2565b5b8135612de7848260208601612d59565b91505092915050565b600067ffffffffffffffff821115612e0b57612e0a612add565b5b612e1482612acc565b9050602081019050919050565b6000612e34612e2f84612df0565b612b3d565b905082815260208101848484011115612e5057612e4f612ac7565b5b612e5b848285612b89565b509392505050565b600082601f830112612e7857612e77612ac2565b5b8135612e88848260208601612e21565b91505092915050565b60008060008060808587031215612eab57612eaa6128ff565b5b6000612eb987828801612952565b945050602085013567ffffffffffffffff811115612eda57612ed9612904565b5b612ee687828801612dc2565b935050604085013567ffffffffffffffff811115612f0757612f06612904565b5b612f1387828801612dc2565b925050606085013567ffffffffffffffff811115612f3457612f33612904565b5b612f4087828801612e63565b91505092959194509250565b600080600080600060a08688031215612f6857612f676128ff565b5b6000612f7688828901612952565b9550506020612f8788828901612952565b945050604086013567ffffffffffffffff811115612fa857612fa7612904565b5b612fb488828901612dc2565b935050606086013567ffffffffffffffff811115612fd557612fd4612904565b5b612fe188828901612dc2565b925050608086013567ffffffffffffffff81111561300257613001612904565b5b61300e88828901612e63565b9150509295509295909350565b600067ffffffffffffffff82111561303657613035612add565b5b602082029050602081019050919050565b600061305a6130558461301b565b612b3d565b9050808382526020820190506020840283018581111561307d5761307c612d54565b5b835b818110156130a657806130928882612952565b84526020840193505060208101905061307f565b5050509392505050565b600082601f8301126130c5576130c4612ac2565b5b81356130d5848260208601613047565b91505092915050565b600067ffffffffffffffff8211156130f9576130f8612add565b5b602082029050602081019050919050565b600061311d613118846130de565b612b3d565b905080838252602082019050602084028301858111156131405761313f612d54565b5b835b8181101561318757803567ffffffffffffffff81111561316557613164612ac2565b5b8086016131728982612dc2565b85526020850194505050602081019050613142565b5050509392505050565b600082601f8301126131a6576131a5612ac2565b5b81356131b684826020860161310a565b91505092915050565b6000806000606084860312156131d8576131d76128ff565b5b600084013567ffffffffffffffff8111156131f6576131f5612904565b5b613202868287016130b0565b935050602084013567ffffffffffffffff81111561322357613222612904565b5b61322f86828701613191565b925050604084013567ffffffffffffffff8111156132505761324f612904565b5b61325c86828701612e63565b9150509250925092565b6000806040838503121561327d5761327c6128ff565b5b600083013567ffffffffffffffff81111561329b5761329a612904565b5b6132a7858286016130b0565b925050602083013567ffffffffffffffff8111156132c8576132c7612904565b5b6132d485828601612dc2565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61331381612967565b82525050565b6000613325838361330a565b60208301905092915050565b6000602082019050919050565b6000613349826132de565b61335381856132e9565b935061335e836132fa565b8060005b8381101561338f5781516133768882613319565b975061338183613331565b925050600181019050613362565b5085935050505092915050565b600060208201905081810360008301526133b6818461333e565b905092915050565b6000806000606084860312156133d7576133d66128ff565b5b60006133e586828701612952565b935050602084013567ffffffffffffffff81111561340657613405612904565b5b61341286828701612dc2565b925050604084013567ffffffffffffffff81111561343357613432612904565b5b61343f86828701612dc2565b9150509250925092565b60008060008060808587031215613463576134626128ff565b5b600061347187828801612952565b945050602061348287828801612988565b935050604061349387828801612988565b925050606085013567ffffffffffffffff8111156134b4576134b3612904565b5b6134c087828801612e63565b91505092959194509250565b600080604083850312156134e3576134e26128ff565b5b600083013567ffffffffffffffff81111561350157613500612904565b5b61350d858286016130b0565b925050602083013567ffffffffffffffff81111561352e5761352d612904565b5b61353a85828601613191565b9150509250929050565b61354d81612929565b82525050565b60006020820190506135686000830184613544565b92915050565b60008060408385031215613585576135846128ff565b5b600083013567ffffffffffffffff8111156135a3576135a2612904565b5b6135af858286016130b0565b92505060206135c085828601612988565b9150509250929050565b6135d381612a8c565b81146135de57600080fd5b50565b6000813590506135f0816135ca565b92915050565b6000806040838503121561360d5761360c6128ff565b5b600061361b85828601612952565b925050602061362c858286016135e1565b9150509250929050565b6000806040838503121561364d5761364c6128ff565b5b600061365b85828601612952565b925050602061366c85828601612952565b9150509250929050565b600080600080600060a08688031215613692576136916128ff565b5b60006136a088828901612952565b95505060206136b188828901612952565b94505060406136c288828901612988565b93505060606136d388828901612988565b925050608086013567ffffffffffffffff8111156136f4576136f3612904565b5b61370088828901612e63565b9150509295509295909350565b600060208284031215613723576137226128ff565b5b600061373184828501612952565b91505092915050565b600080600060608486031215613753576137526128ff565b5b600061376186828701612952565b935050602061377286828701612988565b925050604061378386828701612988565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006137e9602b83612c89565b91506137f48261378d565b604082019050919050565b60006020820190508181036000830152613818816137dc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613855602083612c89565b91506138608261381f565b602082019050919050565b6000602082019050818103600083015261388481613848565b9050919050565b600081905092915050565b60006138a182612c7e565b6138ab818561388b565b93506138bb818560208601612c9a565b80840191505092915050565b60006138d38285613896565b91506138df8284613896565b91508190509392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613947603283612c89565b9150613952826138eb565b604082019050919050565b600060208201905081810360008301526139768161393a565b9050919050565b7f4d543a20726563697069656e747320616e6420696473206c656e677468206d6960008201527f736d617463680000000000000000000000000000000000000000000000000000602082015250565b60006139d9602683612c89565b91506139e48261397d565b604082019050919050565b60006020820190508181036000830152613a08816139cc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613a7882612967565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613aaa57613aa9613a3e565b5b600182019050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000613b11602983612c89565b9150613b1c82613ab5565b604082019050919050565b60006020820190508181036000830152613b4081613b04565b9050919050565b7f4d543a2063616c6c6572206973206e6f74206f776e6572206e6f72206170707260008201527f6f76656400000000000000000000000000000000000000000000000000000000602082015250565b6000613ba3602483612c89565b9150613bae82613b47565b604082019050919050565b60006020820190508181036000830152613bd281613b96565b9050919050565b7f4d543a206f776e65727320616e6420696473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c35602283612c89565b9150613c4082613bd9565b604082019050919050565b60006020820190508181036000830152613c6481613c28565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000613cc7602983612c89565b9150613cd282613c6b565b604082019050919050565b60006020820190508181036000830152613cf681613cba565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d59602683612c89565b9150613d6482613cfd565b604082019050919050565b60006020820190508181036000830152613d8881613d4c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613dd657607f821691505b602082108103613de957613de8613d8f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e2982612967565b9150613e3483612967565b925082613e4457613e43613def565b5b828204905092915050565b6000613e5a82612967565b9150613e6583612967565b925082821015613e7857613e77613a3e565b5b828203905092915050565b6000613e8e82612967565b9150613e9983612967565b925082613ea957613ea8613def565b5b828206905092915050565b6000613ebf82612967565b9150613eca83612967565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613eff57613efe613a3e565b5b828201905092915050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f66602183612c89565b9150613f7182613f0a565b604082019050919050565b60006020820190508181036000830152613f9581613f59565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613ff8602883612c89565b915061400382613f9c565b604082019050919050565b6000602082019050818103600083015261402781613feb565b9050919050565b60006040820190508181036000830152614048818561333e565b9050818103602083015261405c818461333e565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006140c1602583612c89565b91506140cc82614065565b604082019050919050565b600060208201905081810360008301526140f0816140b4565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614153602a83612c89565b915061415e826140f7565b604082019050919050565b6000602082019050818103600083015261418281614146565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b60006141e5602383612c89565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000614277602483612c89565b91506142828261421b565b604082019050919050565b600060208201905081810360008301526142a68161426a565b9050919050565b60006040820190506142c260008301856129dd565b6142cf60208301846129dd565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614332602983612c89565b915061433d826142d6565b604082019050919050565b6000602082019050818103600083015261436181614325565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061438f82614368565b6143998185614373565b93506143a9818560208601612c9a565b6143b281612acc565b840191505092915050565b600060a0820190506143d26000830188613544565b6143df6020830187613544565b81810360408301526143f1818661333e565b90508181036060830152614405818561333e565b905081810360808301526144198184614384565b90509695505050505050565b60008151905061443481612a33565b92915050565b6000602082840312156144505761444f6128ff565b5b600061445e84828501614425565b91505092915050565b60008160e01c9050919050565b600060033d11156144935760046000803e614490600051614467565b90505b90565b600060443d10614523576144a86128f5565b60043d036004823e80513d602482011167ffffffffffffffff821117156144d0575050614523565b808201805167ffffffffffffffff8111156144ee5750505050614523565b80602083010160043d03850181111561450b575050505050614523565b61451a82602001850186612b0c565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614582603483612c89565b915061458d82614526565b604082019050919050565b600060208201905081810360008301526145b181614575565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614614602883612c89565b915061461f826145b8565b604082019050919050565b6000602082019050818103600083015261464381614607565b9050919050565b600060a08201905061465f6000830188613544565b61466c6020830187613544565b61467960408301866129dd565b61468660608301856129dd565b81810360808301526146988184614384565b9050969550505050505056fea26469706673582212204542fc2eff88a294477534d7585c1fe86f7ad5923ee8a12db6d4ffcdcdfabbe764736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005068747470733a2f2f636c75622e6d7970696e6174612e636c6f75642f697066732f516d63326237775a3267745638776433556b5751704a42786f76413933576769324c454579675833414678676a792f00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : uri_ (string): https://club.mypinata.cloud/ipfs/Qmc2b7wZ2gtV8wd3UkWQpJBxovA93Wgi2LEEygX3AFxgjy/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000050
Arg [2] : 68747470733a2f2f636c75622e6d7970696e6174612e636c6f75642f69706673
Arg [3] : 2f516d63326237775a3267745638776433556b5751704a42786f764139335767
Arg [4] : 69324c454579675833414678676a792f00000000000000000000000000000000
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.