Token
ERC-1155
Overview
Max Total Supply
0
Holders
1
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
SeeDAO
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); 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 token 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: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * 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 _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {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 `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract SeeDAO is ERC1155, Ownable{ event OwnerMint(address indexed fromAddress,address indexed ownerMintAddress,uint256 indexed id,uint256 num,uint256 totalNum); event Mint(address indexed fromAddress, address indexed mintAddress,uint256 id); event Transfer(address indexed ownerAddress, address whitelistAddress); event Burn(address indexed fromAddress,uint256 indexed id,uint256 burnAmount); mapping (uint256 => mapping(address => bool)) public tokenIdAccountBool; mapping (uint256 => uint256) public totalSupply; mapping (uint256 => uint256) public mintedNumber; mapping (uint256 => uint256) public whitelistMinedNumber; mapping (uint256 => string) public tokenIDName; mapping (uint256 => string) public tokenIDSymbol; address private _ownerAccount; string private _baseURI; constructor(string memory _initialBaseURI) ERC1155(""){ _baseURI = _initialBaseURI; } //铸造新 ID NFT function ownerMint(string memory _name,string memory _symbol,uint256 _tokenID,uint256 _amount,uint256 _totalSupply) public onlyOwner { require( _totalSupply >= _amount,"Sorry,the number of totalAmount should higher than the amount!"); _mint(msg.sender, _tokenID, _amount, ""); tokenIDName[_tokenID] = _name; tokenIDSymbol[_tokenID] = _symbol; totalSupply[_tokenID] += _totalSupply; mintedNumber[_tokenID] += _amount; _ownerAccount = msg.sender; emit OwnerMint(address(this),_ownerAccount,_tokenID,_amount,_totalSupply); } //用户 mint NFT function mint(uint256 _tokenID) external{ require(!tokenIdAccountBool[_tokenID][msg.sender],"Sorry,you already have one!"); require(totalSupply[_tokenID] > mintedNumber[_tokenID],"Sorry, the NFT is zero!"); tokenIdAccountBool[_tokenID][msg.sender] = true; mintedNumber[_tokenID] += 1; _mint(msg.sender,_tokenID,1,""); emit Mint(address(this),msg.sender,_tokenID); } //白名单空投(onlyOwner) function whitelistTransfer(address[] calldata _whitelistAccount,uint256 _tokenID) external onlyOwner{ for (uint8 i;i<_whitelistAccount.length;i++){ require(!tokenIdAccountBool[_tokenID][_whitelistAccount[i]],"Sorry,you already have one"); require(totalSupply[_tokenID] > mintedNumber[_tokenID],"Sorry, the NFT is zero!"); tokenIdAccountBool[_tokenID][_whitelistAccount[i]] = true; safeTransferFrom(_ownerAccount,_whitelistAccount[i],_tokenID,1,""); whitelistMinedNumber[_tokenID] += 1; emit Transfer(_ownerAccount,_whitelistAccount[i]); } } function uri(uint256 _tokenID) override public view returns (string memory) { return(string(abi.encodePacked(_baseURI, Strings.toString(_tokenID),".json"))); } function setNewBaseURI(string memory _newBaseURI) external onlyOwner { _baseURI = _newBaseURI; } function burn(address from,uint256 _tokenID,uint256 _amount) external onlyOwner{ _burn(from,_tokenID,_amount); totalSupply[_tokenID] -= _amount; emit Burn(from,_tokenID,_amount); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[{"internalType":"string","name":"_initialBaseURI","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":"fromAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnAmount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"mintAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"ownerMintAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"num","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalNum","type":"uint256"}],"name":"OwnerMint","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":"ownerAddress","type":"address"},{"indexed":false,"internalType":"address","name":"whitelistAddress","type":"address"}],"name":"Transfer","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":"_tokenID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setNewBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIDName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIDSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"tokenIdAccountBool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistMinedNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelistAccount","type":"address[]"},{"internalType":"uint256","name":"_tokenID","type":"uint256"}],"name":"whitelistTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620047bb380380620047bb8339818101604052810190620000379190620003d0565b6040518060200160405280600081525062000058816200009960201b60201c565b50620000796200006d620000b560201b60201c565b620000bd60201b60201c565b80600b90805190602001906200009192919062000183565b505062000486565b8060029080519060200190620000b192919062000183565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001919062000450565b90600052602060002090601f016020900481019282620001b5576000855562000201565b82601f10620001d057805160ff191683800117855562000201565b8280016001018555821562000201579182015b8281111562000200578251825591602001919060010190620001e3565b5b50905062000210919062000214565b5090565b5b808211156200022f57600081600090555060010162000215565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200029c8262000251565b810181811067ffffffffffffffff82111715620002be57620002bd62000262565b5b80604052505050565b6000620002d362000233565b9050620002e1828262000291565b919050565b600067ffffffffffffffff82111562000304576200030362000262565b5b6200030f8262000251565b9050602081019050919050565b60005b838110156200033c5780820151818401526020810190506200031f565b838111156200034c576000848401525b50505050565b6000620003696200036384620002e6565b620002c7565b9050828152602081018484840111156200038857620003876200024c565b5b620003958482856200031c565b509392505050565b600082601f830112620003b557620003b462000247565b5b8151620003c784826020860162000352565b91505092915050565b600060208284031215620003e957620003e86200023d565b5b600082015167ffffffffffffffff8111156200040a576200040962000242565b5b62000418848285016200039d565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046957607f821691505b6020821081141562000480576200047f62000421565b5b50919050565b61432580620004966000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c806387bd5e53116100b8578063bd85b0391161007c578063bd85b039146103aa578063e38efb5a146103da578063e985e9c5146103f6578063f242432a14610426578063f2fde38b14610442578063f5298aca1461045e57610141565b806387bd5e53146103085780638da5cb5b14610324578063a0712d6814610342578063a22cb4651461035e578063ad5b06931461037a57610141565b80632eb2c2d61161010a5780632eb2c2d614610222578063329dc2b01461023e5780634e1273f41461026e57806369003f651461029e5780636db56d24146102ce578063715018a6146102fe57610141565b8062fdd58e1461014657806301ffc9a7146101765780630664fb7a146101a65780630e89341c146101d65780631cb1ac0b14610206575b600080fd5b610160600480360381019061015b91906127a7565b61047a565b60405161016d91906127f6565b60405180910390f35b610190600480360381019061018b9190612869565b610543565b60405161019d91906128b1565b60405180910390f35b6101c060048036038101906101bb91906128cc565b610625565b6040516101cd9190612992565b60405180910390f35b6101f060048036038101906101eb91906128cc565b6106c5565b6040516101fd9190612992565b60405180910390f35b610220600480360381019061021b9190612ae9565b6106f9565b005b61023c60048036038101906102379190612c9b565b61071b565b005b610258600480360381019061025391906128cc565b6107bc565b60405161026591906127f6565b60405180910390f35b61028860048036038101906102839190612e2d565b6107d4565b6040516102959190612f63565b60405180910390f35b6102b860048036038101906102b391906128cc565b6108ed565b6040516102c59190612992565b60405180910390f35b6102e860048036038101906102e391906128cc565b61098d565b6040516102f591906127f6565b60405180910390f35b6103066109a5565b005b610322600480360381019061031d9190612f85565b6109b9565b005b61032c610b95565b6040516103399190613047565b60405180910390f35b61035c600480360381019061035791906128cc565b610bbf565b005b6103786004803603810190610373919061308e565b610ddd565b005b610394600480360381019061038f91906130ce565b610df3565b6040516103a191906128b1565b60405180910390f35b6103c460048036038101906103bf91906128cc565b610e22565b6040516103d191906127f6565b60405180910390f35b6103f460048036038101906103ef9190613169565b610e3a565b005b610410600480360381019061040b91906131c9565b61115d565b60405161041d91906128b1565b60405180910390f35b610440600480360381019061043b9190613209565b6111f1565b005b61045c600480360381019061045791906132a0565b611292565b005b610478600480360381019061047391906132cd565b611316565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e290613392565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061061e575061061d826113a7565b5b9050919050565b60096020528060005260406000206000915090508054610644906133e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610670906133e1565b80156106bd5780601f10610692576101008083540402835291602001916106bd565b820191906000526020600020905b8154815290600101906020018083116106a057829003601f168201915b505050505081565b6060600b6106d283611411565b6040516020016106e392919061352f565b6040516020818303038152906040529050919050565b610701611572565b80600b908051906020019061071792919061265c565b5050565b6107236115f0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107695750610768856107636115f0565b61115d565b5b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f906135d0565b60405180910390fd5b6107b585858585856115f8565b5050505050565b60066020528060005260406000206000915090505481565b6060815183511461081a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081190613662565b60405180910390fd5b6000835167ffffffffffffffff811115610837576108366129be565b5b6040519080825280602002602001820160405280156108655781602001602082028036833780820191505090505b50905060005b84518110156108e2576108b285828151811061088a57610889613682565b5b60200260200101518583815181106108a5576108a4613682565b5b602002602001015161047a565b8282815181106108c5576108c4613682565b5b602002602001018181525050806108db906136e0565b905061086b565b508091505092915050565b6008602052806000526040600020600091509050805461090c906133e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610938906133e1565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b505050505081565b60076020528060005260406000206000915090505481565b6109ad611572565b6109b7600061191a565b565b6109c1611572565b81811015610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb9061379b565b60405180910390fd5b610a1f338484604051806020016040528060008152506119e0565b84600860008581526020019081526020016000209080519060200190610a4692919061265c565b5083600960008581526020019081526020016000209080519060200190610a6e92919061265c565b5080600560008581526020019081526020016000206000828254610a9291906137bb565b9250508190555081600660008581526020019081526020016000206000828254610abc91906137bb565b9250508190555033600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167fd29a3366ee56a3aaedcd891c7bee4a78c3d1e694600416d463a2ef06982216748585604051610b86929190613811565b60405180910390a45050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5490613886565b60405180910390fd5b6006600082815260200190815260200160002054600560008381526020019081526020016000205411610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906138f2565b60405180910390fd5b60016004600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600660008381526020019081526020016000206000828254610d5291906137bb565b92505081905550610d7533826001604051806020016040528060008152506119e0565b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f883604051610dd291906127f6565b60405180910390a350565b610def610de86115f0565b8383611b91565b5050565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60056020528060005260406000206000915090505481565b610e42611572565b60005b838390508160ff1610156111575760046000838152602001908152602001600020600085858460ff16818110610e7e57610e7d613682565b5b9050602002016020810190610e9391906132a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061395e565b60405180910390fd5b6006600083815260200190815260200160002054600560008481526020019081526020016000205411610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a906138f2565b60405180910390fd5b600160046000848152602001908152602001600020600086868560ff16818110610fb057610faf613682565b5b9050602002016020810190610fc591906132a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061107f600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685858460ff1681811061105257611051613682565b5b905060200201602081019061106791906132a0565b846001604051806020016040528060008152506111f1565b60016007600084815260200190815260200160002060008282546110a391906137bb565b92505081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f4853ae1b4d437c4255ac16cd3ceda3465975023f27cb141584cd9d44440fed8285858460ff1681811061111a57611119613682565b5b905060200201602081019061112f91906132a0565b60405161113c9190613047565b60405180910390a2808061114f9061398b565b915050610e45565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111f96115f0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061123f575061123e856112396115f0565b61115d565b5b61127e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611275906135d0565b60405180910390fd5b61128b8585858585611cfe565b5050505050565b61129a611572565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190613a27565b60405180910390fd5b6113138161191a565b50565b61131e611572565b611329838383611f9a565b8060056000848152602001908152602001600020600082825461134c9190613a47565b92505081905550818373ffffffffffffffffffffffffffffffffffffffff167f49995e5dd6158cf69ad3e9777c46755a1a826a446c6416992167462dad033b2a8360405161139a91906127f6565b60405180910390a3505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611459576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061156d565b600082905060005b6000821461148b578080611474906136e0565b915050600a826114849190613aaa565b9150611461565b60008167ffffffffffffffff8111156114a7576114a66129be565b5b6040519080825280601f01601f1916602001820160405280156114d95781602001600182028036833780820191505090505b5090505b60008514611566576001826114f29190613a47565b9150600a856115019190613adb565b603061150d91906137bb565b60f81b81838151811061152357611522613682565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561155f9190613aaa565b94506114dd565b8093505050505b919050565b61157a6115f0565b73ffffffffffffffffffffffffffffffffffffffff16611598610b95565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613b58565b60405180910390fd5b565b600033905090565b815183511461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613bea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a390613c7c565b60405180910390fd5b60006116b66115f0565b90506116c68187878787876121e1565b60005b84518110156118775760008582815181106116e7576116e6613682565b5b60200260200101519050600085838151811061170657611705613682565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90613d0e565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461185c91906137bb565b9250508190555050505080611870906136e0565b90506116c9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118ee929190613d2e565b60405180910390a46119048187878787876121e9565b6119128187878787876121f1565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613dd7565b60405180910390fd5b6000611a5a6115f0565b90506000611a67856123d8565b90506000611a74856123d8565b9050611a85836000898585896121e1565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae491906137bb565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b62929190613811565b60405180910390a4611b79836000898585896121e9565b611b8883600089898989612452565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790613e69565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cf191906128b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6590613c7c565b60405180910390fd5b6000611d786115f0565b90506000611d85856123d8565b90506000611d92856123d8565b9050611da28389898585896121e1565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090613d0e565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eee91906137bb565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f6b929190613811565b60405180910390a4611f81848a8a86868a6121e9565b611f8f848a8a8a8a8a612452565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561200a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200190613efb565b60405180910390fd5b60006120146115f0565b90506000612021846123d8565b9050600061202e846123d8565b905061204e838760008585604051806020016040528060008152506121e1565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90613f8d565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516121b2929190613811565b60405180910390a46121d8848860008686604051806020016040528060008152506121e9565b50505050505050565b505050505050565b505050505050565b6122108473ffffffffffffffffffffffffffffffffffffffff16612639565b156123d0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612256959493929190614002565b602060405180830381600087803b15801561227057600080fd5b505af19250505080156122a157506040513d601f19601f8201168201806040525081019061229e919061407f565b60015b612347576122ad6140b9565b806308c379a0141561230a57506122c26140db565b806122cd575061230c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123019190612992565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e906141e3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614275565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123f7576123f66129be565b5b6040519080825280602002602001820160405280156124255781602001602082028036833780820191505090505b509050828160008151811061243d5761243c613682565b5b60200260200101818152505080915050919050565b6124718473ffffffffffffffffffffffffffffffffffffffff16612639565b15612631578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124b7959493929190614295565b602060405180830381600087803b1580156124d157600080fd5b505af192505050801561250257506040513d601f19601f820116820180604052508101906124ff919061407f565b60015b6125a85761250e6140b9565b806308c379a0141561256b57506125236140db565b8061252e575061256d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125629190612992565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f906141e3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262690614275565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612668906133e1565b90600052602060002090601f01602090048101928261268a57600085556126d1565b82601f106126a357805160ff19168380011785556126d1565b828001600101855582156126d1579182015b828111156126d05782518255916020019190600101906126b5565b5b5090506126de91906126e2565b5090565b5b808211156126fb5760008160009055506001016126e3565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061273e82612713565b9050919050565b61274e81612733565b811461275957600080fd5b50565b60008135905061276b81612745565b92915050565b6000819050919050565b61278481612771565b811461278f57600080fd5b50565b6000813590506127a18161277b565b92915050565b600080604083850312156127be576127bd612709565b5b60006127cc8582860161275c565b92505060206127dd85828601612792565b9150509250929050565b6127f081612771565b82525050565b600060208201905061280b60008301846127e7565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284681612811565b811461285157600080fd5b50565b6000813590506128638161283d565b92915050565b60006020828403121561287f5761287e612709565b5b600061288d84828501612854565b91505092915050565b60008115159050919050565b6128ab81612896565b82525050565b60006020820190506128c660008301846128a2565b92915050565b6000602082840312156128e2576128e1612709565b5b60006128f084828501612792565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612933578082015181840152602081019050612918565b83811115612942576000848401525b50505050565b6000601f19601f8301169050919050565b6000612964826128f9565b61296e8185612904565b935061297e818560208601612915565b61298781612948565b840191505092915050565b600060208201905081810360008301526129ac8184612959565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129f682612948565b810181811067ffffffffffffffff82111715612a1557612a146129be565b5b80604052505050565b6000612a286126ff565b9050612a3482826129ed565b919050565b600067ffffffffffffffff821115612a5457612a536129be565b5b612a5d82612948565b9050602081019050919050565b82818337600083830152505050565b6000612a8c612a8784612a39565b612a1e565b905082815260208101848484011115612aa857612aa76129b9565b5b612ab3848285612a6a565b509392505050565b600082601f830112612ad057612acf6129b4565b5b8135612ae0848260208601612a79565b91505092915050565b600060208284031215612aff57612afe612709565b5b600082013567ffffffffffffffff811115612b1d57612b1c61270e565b5b612b2984828501612abb565b91505092915050565b600067ffffffffffffffff821115612b4d57612b4c6129be565b5b602082029050602081019050919050565b600080fd5b6000612b76612b7184612b32565b612a1e565b90508083825260208201905060208402830185811115612b9957612b98612b5e565b5b835b81811015612bc25780612bae8882612792565b845260208401935050602081019050612b9b565b5050509392505050565b600082601f830112612be157612be06129b4565b5b8135612bf1848260208601612b63565b91505092915050565b600067ffffffffffffffff821115612c1557612c146129be565b5b612c1e82612948565b9050602081019050919050565b6000612c3e612c3984612bfa565b612a1e565b905082815260208101848484011115612c5a57612c596129b9565b5b612c65848285612a6a565b509392505050565b600082601f830112612c8257612c816129b4565b5b8135612c92848260208601612c2b565b91505092915050565b600080600080600060a08688031215612cb757612cb6612709565b5b6000612cc58882890161275c565b9550506020612cd68882890161275c565b945050604086013567ffffffffffffffff811115612cf757612cf661270e565b5b612d0388828901612bcc565b935050606086013567ffffffffffffffff811115612d2457612d2361270e565b5b612d3088828901612bcc565b925050608086013567ffffffffffffffff811115612d5157612d5061270e565b5b612d5d88828901612c6d565b9150509295509295909350565b600067ffffffffffffffff821115612d8557612d846129be565b5b602082029050602081019050919050565b6000612da9612da484612d6a565b612a1e565b90508083825260208201905060208402830185811115612dcc57612dcb612b5e565b5b835b81811015612df55780612de1888261275c565b845260208401935050602081019050612dce565b5050509392505050565b600082601f830112612e1457612e136129b4565b5b8135612e24848260208601612d96565b91505092915050565b60008060408385031215612e4457612e43612709565b5b600083013567ffffffffffffffff811115612e6257612e6161270e565b5b612e6e85828601612dff565b925050602083013567ffffffffffffffff811115612e8f57612e8e61270e565b5b612e9b85828601612bcc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eda81612771565b82525050565b6000612eec8383612ed1565b60208301905092915050565b6000602082019050919050565b6000612f1082612ea5565b612f1a8185612eb0565b9350612f2583612ec1565b8060005b83811015612f56578151612f3d8882612ee0565b9750612f4883612ef8565b925050600181019050612f29565b5085935050505092915050565b60006020820190508181036000830152612f7d8184612f05565b905092915050565b600080600080600060a08688031215612fa157612fa0612709565b5b600086013567ffffffffffffffff811115612fbf57612fbe61270e565b5b612fcb88828901612abb565b955050602086013567ffffffffffffffff811115612fec57612feb61270e565b5b612ff888828901612abb565b945050604061300988828901612792565b935050606061301a88828901612792565b925050608061302b88828901612792565b9150509295509295909350565b61304181612733565b82525050565b600060208201905061305c6000830184613038565b92915050565b61306b81612896565b811461307657600080fd5b50565b60008135905061308881613062565b92915050565b600080604083850312156130a5576130a4612709565b5b60006130b38582860161275c565b92505060206130c485828601613079565b9150509250929050565b600080604083850312156130e5576130e4612709565b5b60006130f385828601612792565b92505060206131048582860161275c565b9150509250929050565b600080fd5b60008083601f840112613129576131286129b4565b5b8235905067ffffffffffffffff8111156131465761314561310e565b5b60208301915083602082028301111561316257613161612b5e565b5b9250929050565b60008060006040848603121561318257613181612709565b5b600084013567ffffffffffffffff8111156131a05761319f61270e565b5b6131ac86828701613113565b935093505060206131bf86828701612792565b9150509250925092565b600080604083850312156131e0576131df612709565b5b60006131ee8582860161275c565b92505060206131ff8582860161275c565b9150509250929050565b600080600080600060a0868803121561322557613224612709565b5b60006132338882890161275c565b95505060206132448882890161275c565b945050604061325588828901612792565b935050606061326688828901612792565b925050608086013567ffffffffffffffff8111156132875761328661270e565b5b61329388828901612c6d565b9150509295509295909350565b6000602082840312156132b6576132b5612709565b5b60006132c48482850161275c565b91505092915050565b6000806000606084860312156132e6576132e5612709565b5b60006132f48682870161275c565b935050602061330586828701612792565b925050604061331686828701612792565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061337c602a83612904565b915061338782613320565b604082019050919050565b600060208201905081810360008301526133ab8161336f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133f957607f821691505b6020821081141561340d5761340c6133b2565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613440816133e1565b61344a8186613413565b945060018216600081146134655760018114613476576134a9565b60ff198316865281860193506134a9565b61347f8561341e565b60005b838110156134a157815481890152600182019150602081019050613482565b838801955050505b50505092915050565b60006134bd826128f9565b6134c78185613413565b93506134d7818560208601612915565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613519600583613413565b9150613524826134e3565b600582019050919050565b600061353b8285613433565b915061354782846134b2565b91506135528261350c565b91508190509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006135ba602f83612904565b91506135c58261355e565b604082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061364c602983612904565b9150613657826135f0565b604082019050919050565b6000602082019050818103600083015261367b8161363f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136eb82612771565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561371e5761371d6136b1565b5b600182019050919050565b7f536f7272792c746865206e756d626572206f6620746f74616c416d6f756e742060008201527f73686f756c6420686967686572207468616e2074686520616d6f756e74210000602082015250565b6000613785603e83612904565b915061379082613729565b604082019050919050565b600060208201905081810360008301526137b481613778565b9050919050565b60006137c682612771565b91506137d183612771565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613806576138056136b1565b5b828201905092915050565b600060408201905061382660008301856127e7565b61383360208301846127e7565b9392505050565b7f536f7272792c796f7520616c72656164792068617665206f6e65210000000000600082015250565b6000613870601b83612904565b915061387b8261383a565b602082019050919050565b6000602082019050818103600083015261389f81613863565b9050919050565b7f536f7272792c20746865204e4654206973207a65726f21000000000000000000600082015250565b60006138dc601783612904565b91506138e7826138a6565b602082019050919050565b6000602082019050818103600083015261390b816138cf565b9050919050565b7f536f7272792c796f7520616c72656164792068617665206f6e65000000000000600082015250565b6000613948601a83612904565b915061395382613912565b602082019050919050565b600060208201905081810360008301526139778161393b565b9050919050565b600060ff82169050919050565b60006139968261397e565b915060ff8214156139aa576139a96136b1565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a11602683612904565b9150613a1c826139b5565b604082019050919050565b60006020820190508181036000830152613a4081613a04565b9050919050565b6000613a5282612771565b9150613a5d83612771565b925082821015613a7057613a6f6136b1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ab582612771565b9150613ac083612771565b925082613ad057613acf613a7b565b5b828204905092915050565b6000613ae682612771565b9150613af183612771565b925082613b0157613b00613a7b565b5b828206905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b42602083612904565b9150613b4d82613b0c565b602082019050919050565b60006020820190508181036000830152613b7181613b35565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613bd4602883612904565b9150613bdf82613b78565b604082019050919050565b60006020820190508181036000830152613c0381613bc7565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613c66602583612904565b9150613c7182613c0a565b604082019050919050565b60006020820190508181036000830152613c9581613c59565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613cf8602a83612904565b9150613d0382613c9c565b604082019050919050565b60006020820190508181036000830152613d2781613ceb565b9050919050565b60006040820190508181036000830152613d488185612f05565b90508181036020830152613d5c8184612f05565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc1602183612904565b9150613dcc82613d65565b604082019050919050565b60006020820190508181036000830152613df081613db4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e53602983612904565b9150613e5e82613df7565b604082019050919050565b60006020820190508181036000830152613e8281613e46565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613ee5602383612904565b9150613ef082613e89565b604082019050919050565b60006020820190508181036000830152613f1481613ed8565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613f77602483612904565b9150613f8282613f1b565b604082019050919050565b60006020820190508181036000830152613fa681613f6a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613fd482613fad565b613fde8185613fb8565b9350613fee818560208601612915565b613ff781612948565b840191505092915050565b600060a0820190506140176000830188613038565b6140246020830187613038565b81810360408301526140368186612f05565b9050818103606083015261404a8185612f05565b9050818103608083015261405e8184613fc9565b90509695505050505050565b6000815190506140798161283d565b92915050565b60006020828403121561409557614094612709565b5b60006140a38482850161406a565b91505092915050565b60008160e01c9050919050565b600060033d11156140d85760046000803e6140d56000516140ac565b90505b90565b600060443d10156140eb5761416e565b6140f36126ff565b60043d036004823e80513d602482011167ffffffffffffffff8211171561411b57505061416e565b808201805167ffffffffffffffff811115614139575050505061416e565b80602083010160043d03850181111561415657505050505061416e565b614165826020018501866129ed565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006141cd603483612904565b91506141d882614171565b604082019050919050565b600060208201905081810360008301526141fc816141c0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061425f602883612904565b915061426a82614203565b604082019050919050565b6000602082019050818103600083015261428e81614252565b9050919050565b600060a0820190506142aa6000830188613038565b6142b76020830187613038565b6142c460408301866127e7565b6142d160608301856127e7565b81810360808301526142e38184613fc9565b9050969550505050505056fea26469706673582212204a4feeebb6f0126f9b7d918e26d107d1884e494a1f1bd7472e56a2f7e909bac564736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5953396256674a556f6b38533161556f386a506b3668534867653163364138424a44463562746264454d70772f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101415760003560e01c806387bd5e53116100b8578063bd85b0391161007c578063bd85b039146103aa578063e38efb5a146103da578063e985e9c5146103f6578063f242432a14610426578063f2fde38b14610442578063f5298aca1461045e57610141565b806387bd5e53146103085780638da5cb5b14610324578063a0712d6814610342578063a22cb4651461035e578063ad5b06931461037a57610141565b80632eb2c2d61161010a5780632eb2c2d614610222578063329dc2b01461023e5780634e1273f41461026e57806369003f651461029e5780636db56d24146102ce578063715018a6146102fe57610141565b8062fdd58e1461014657806301ffc9a7146101765780630664fb7a146101a65780630e89341c146101d65780631cb1ac0b14610206575b600080fd5b610160600480360381019061015b91906127a7565b61047a565b60405161016d91906127f6565b60405180910390f35b610190600480360381019061018b9190612869565b610543565b60405161019d91906128b1565b60405180910390f35b6101c060048036038101906101bb91906128cc565b610625565b6040516101cd9190612992565b60405180910390f35b6101f060048036038101906101eb91906128cc565b6106c5565b6040516101fd9190612992565b60405180910390f35b610220600480360381019061021b9190612ae9565b6106f9565b005b61023c60048036038101906102379190612c9b565b61071b565b005b610258600480360381019061025391906128cc565b6107bc565b60405161026591906127f6565b60405180910390f35b61028860048036038101906102839190612e2d565b6107d4565b6040516102959190612f63565b60405180910390f35b6102b860048036038101906102b391906128cc565b6108ed565b6040516102c59190612992565b60405180910390f35b6102e860048036038101906102e391906128cc565b61098d565b6040516102f591906127f6565b60405180910390f35b6103066109a5565b005b610322600480360381019061031d9190612f85565b6109b9565b005b61032c610b95565b6040516103399190613047565b60405180910390f35b61035c600480360381019061035791906128cc565b610bbf565b005b6103786004803603810190610373919061308e565b610ddd565b005b610394600480360381019061038f91906130ce565b610df3565b6040516103a191906128b1565b60405180910390f35b6103c460048036038101906103bf91906128cc565b610e22565b6040516103d191906127f6565b60405180910390f35b6103f460048036038101906103ef9190613169565b610e3a565b005b610410600480360381019061040b91906131c9565b61115d565b60405161041d91906128b1565b60405180910390f35b610440600480360381019061043b9190613209565b6111f1565b005b61045c600480360381019061045791906132a0565b611292565b005b610478600480360381019061047391906132cd565b611316565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e290613392565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061060e57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061061e575061061d826113a7565b5b9050919050565b60096020528060005260406000206000915090508054610644906133e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610670906133e1565b80156106bd5780601f10610692576101008083540402835291602001916106bd565b820191906000526020600020905b8154815290600101906020018083116106a057829003601f168201915b505050505081565b6060600b6106d283611411565b6040516020016106e392919061352f565b6040516020818303038152906040529050919050565b610701611572565b80600b908051906020019061071792919061265c565b5050565b6107236115f0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806107695750610768856107636115f0565b61115d565b5b6107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f906135d0565b60405180910390fd5b6107b585858585856115f8565b5050505050565b60066020528060005260406000206000915090505481565b6060815183511461081a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081190613662565b60405180910390fd5b6000835167ffffffffffffffff811115610837576108366129be565b5b6040519080825280602002602001820160405280156108655781602001602082028036833780820191505090505b50905060005b84518110156108e2576108b285828151811061088a57610889613682565b5b60200260200101518583815181106108a5576108a4613682565b5b602002602001015161047a565b8282815181106108c5576108c4613682565b5b602002602001018181525050806108db906136e0565b905061086b565b508091505092915050565b6008602052806000526040600020600091509050805461090c906133e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610938906133e1565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b505050505081565b60076020528060005260406000206000915090505481565b6109ad611572565b6109b7600061191a565b565b6109c1611572565b81811015610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb9061379b565b60405180910390fd5b610a1f338484604051806020016040528060008152506119e0565b84600860008581526020019081526020016000209080519060200190610a4692919061265c565b5083600960008581526020019081526020016000209080519060200190610a6e92919061265c565b5080600560008581526020019081526020016000206000828254610a9291906137bb565b9250508190555081600660008581526020019081526020016000206000828254610abc91906137bb565b9250508190555033600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167fd29a3366ee56a3aaedcd891c7bee4a78c3d1e694600416d463a2ef06982216748585604051610b86929190613811565b60405180910390a45050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6004600082815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5490613886565b60405180910390fd5b6006600082815260200190815260200160002054600560008381526020019081526020016000205411610cc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbc906138f2565b60405180910390fd5b60016004600083815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001600660008381526020019081526020016000206000828254610d5291906137bb565b92505081905550610d7533826001604051806020016040528060008152506119e0565b3373ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff167fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f883604051610dd291906127f6565b60405180910390a350565b610def610de86115f0565b8383611b91565b5050565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b60056020528060005260406000206000915090505481565b610e42611572565b60005b838390508160ff1610156111575760046000838152602001908152602001600020600085858460ff16818110610e7e57610e7d613682565b5b9050602002016020810190610e9391906132a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f129061395e565b60405180910390fd5b6006600083815260200190815260200160002054600560008481526020019081526020016000205411610f83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7a906138f2565b60405180910390fd5b600160046000848152602001908152602001600020600086868560ff16818110610fb057610faf613682565b5b9050602002016020810190610fc591906132a0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061107f600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685858460ff1681811061105257611051613682565b5b905060200201602081019061106791906132a0565b846001604051806020016040528060008152506111f1565b60016007600084815260200190815260200160002060008282546110a391906137bb565b92505081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f4853ae1b4d437c4255ac16cd3ceda3465975023f27cb141584cd9d44440fed8285858460ff1681811061111a57611119613682565b5b905060200201602081019061112f91906132a0565b60405161113c9190613047565b60405180910390a2808061114f9061398b565b915050610e45565b50505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6111f96115f0565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061123f575061123e856112396115f0565b61115d565b5b61127e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611275906135d0565b60405180910390fd5b61128b8585858585611cfe565b5050505050565b61129a611572565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190613a27565b60405180910390fd5b6113138161191a565b50565b61131e611572565b611329838383611f9a565b8060056000848152602001908152602001600020600082825461134c9190613a47565b92505081905550818373ffffffffffffffffffffffffffffffffffffffff167f49995e5dd6158cf69ad3e9777c46755a1a826a446c6416992167462dad033b2a8360405161139a91906127f6565b60405180910390a3505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611459576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061156d565b600082905060005b6000821461148b578080611474906136e0565b915050600a826114849190613aaa565b9150611461565b60008167ffffffffffffffff8111156114a7576114a66129be565b5b6040519080825280601f01601f1916602001820160405280156114d95781602001600182028036833780820191505090505b5090505b60008514611566576001826114f29190613a47565b9150600a856115019190613adb565b603061150d91906137bb565b60f81b81838151811061152357611522613682565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561155f9190613aaa565b94506114dd565b8093505050505b919050565b61157a6115f0565b73ffffffffffffffffffffffffffffffffffffffff16611598610b95565b73ffffffffffffffffffffffffffffffffffffffff16146115ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e590613b58565b60405180910390fd5b565b600033905090565b815183511461163c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163390613bea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a390613c7c565b60405180910390fd5b60006116b66115f0565b90506116c68187878787876121e1565b60005b84518110156118775760008582815181106116e7576116e6613682565b5b60200260200101519050600085838151811061170657611705613682565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e90613d0e565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461185c91906137bb565b9250508190555050505080611870906136e0565b90506116c9565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516118ee929190613d2e565b60405180910390a46119048187878787876121e9565b6119128187878787876121f1565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790613dd7565b60405180910390fd5b6000611a5a6115f0565b90506000611a67856123d8565b90506000611a74856123d8565b9050611a85836000898585896121e1565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae491906137bb565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051611b62929190613811565b60405180910390a4611b79836000898585896121e9565b611b8883600089898989612452565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790613e69565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611cf191906128b1565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6590613c7c565b60405180910390fd5b6000611d786115f0565b90506000611d85856123d8565b90506000611d92856123d8565b9050611da28389898585896121e1565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3090613d0e565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eee91906137bb565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611f6b929190613811565b60405180910390a4611f81848a8a86868a6121e9565b611f8f848a8a8a8a8a612452565b505050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561200a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200190613efb565b60405180910390fd5b60006120146115f0565b90506000612021846123d8565b9050600061202e846123d8565b905061204e838760008585604051806020016040528060008152506121e1565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050848110156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc90613f8d565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516121b2929190613811565b60405180910390a46121d8848860008686604051806020016040528060008152506121e9565b50505050505050565b505050505050565b505050505050565b6122108473ffffffffffffffffffffffffffffffffffffffff16612639565b156123d0578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612256959493929190614002565b602060405180830381600087803b15801561227057600080fd5b505af19250505080156122a157506040513d601f19601f8201168201806040525081019061229e919061407f565b60015b612347576122ad6140b9565b806308c379a0141561230a57506122c26140db565b806122cd575061230c565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123019190612992565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233e906141e3565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146123ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123c590614275565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff8111156123f7576123f66129be565b5b6040519080825280602002602001820160405280156124255781602001602082028036833780820191505090505b509050828160008151811061243d5761243c613682565b5b60200260200101818152505080915050919050565b6124718473ffffffffffffffffffffffffffffffffffffffff16612639565b15612631578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016124b7959493929190614295565b602060405180830381600087803b1580156124d157600080fd5b505af192505050801561250257506040513d601f19601f820116820180604052508101906124ff919061407f565b60015b6125a85761250e6140b9565b806308c379a0141561256b57506125236140db565b8061252e575061256d565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125629190612992565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f906141e3565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461262f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262690614275565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612668906133e1565b90600052602060002090601f01602090048101928261268a57600085556126d1565b82601f106126a357805160ff19168380011785556126d1565b828001600101855582156126d1579182015b828111156126d05782518255916020019190600101906126b5565b5b5090506126de91906126e2565b5090565b5b808211156126fb5760008160009055506001016126e3565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061273e82612713565b9050919050565b61274e81612733565b811461275957600080fd5b50565b60008135905061276b81612745565b92915050565b6000819050919050565b61278481612771565b811461278f57600080fd5b50565b6000813590506127a18161277b565b92915050565b600080604083850312156127be576127bd612709565b5b60006127cc8582860161275c565b92505060206127dd85828601612792565b9150509250929050565b6127f081612771565b82525050565b600060208201905061280b60008301846127e7565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61284681612811565b811461285157600080fd5b50565b6000813590506128638161283d565b92915050565b60006020828403121561287f5761287e612709565b5b600061288d84828501612854565b91505092915050565b60008115159050919050565b6128ab81612896565b82525050565b60006020820190506128c660008301846128a2565b92915050565b6000602082840312156128e2576128e1612709565b5b60006128f084828501612792565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612933578082015181840152602081019050612918565b83811115612942576000848401525b50505050565b6000601f19601f8301169050919050565b6000612964826128f9565b61296e8185612904565b935061297e818560208601612915565b61298781612948565b840191505092915050565b600060208201905081810360008301526129ac8184612959565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129f682612948565b810181811067ffffffffffffffff82111715612a1557612a146129be565b5b80604052505050565b6000612a286126ff565b9050612a3482826129ed565b919050565b600067ffffffffffffffff821115612a5457612a536129be565b5b612a5d82612948565b9050602081019050919050565b82818337600083830152505050565b6000612a8c612a8784612a39565b612a1e565b905082815260208101848484011115612aa857612aa76129b9565b5b612ab3848285612a6a565b509392505050565b600082601f830112612ad057612acf6129b4565b5b8135612ae0848260208601612a79565b91505092915050565b600060208284031215612aff57612afe612709565b5b600082013567ffffffffffffffff811115612b1d57612b1c61270e565b5b612b2984828501612abb565b91505092915050565b600067ffffffffffffffff821115612b4d57612b4c6129be565b5b602082029050602081019050919050565b600080fd5b6000612b76612b7184612b32565b612a1e565b90508083825260208201905060208402830185811115612b9957612b98612b5e565b5b835b81811015612bc25780612bae8882612792565b845260208401935050602081019050612b9b565b5050509392505050565b600082601f830112612be157612be06129b4565b5b8135612bf1848260208601612b63565b91505092915050565b600067ffffffffffffffff821115612c1557612c146129be565b5b612c1e82612948565b9050602081019050919050565b6000612c3e612c3984612bfa565b612a1e565b905082815260208101848484011115612c5a57612c596129b9565b5b612c65848285612a6a565b509392505050565b600082601f830112612c8257612c816129b4565b5b8135612c92848260208601612c2b565b91505092915050565b600080600080600060a08688031215612cb757612cb6612709565b5b6000612cc58882890161275c565b9550506020612cd68882890161275c565b945050604086013567ffffffffffffffff811115612cf757612cf661270e565b5b612d0388828901612bcc565b935050606086013567ffffffffffffffff811115612d2457612d2361270e565b5b612d3088828901612bcc565b925050608086013567ffffffffffffffff811115612d5157612d5061270e565b5b612d5d88828901612c6d565b9150509295509295909350565b600067ffffffffffffffff821115612d8557612d846129be565b5b602082029050602081019050919050565b6000612da9612da484612d6a565b612a1e565b90508083825260208201905060208402830185811115612dcc57612dcb612b5e565b5b835b81811015612df55780612de1888261275c565b845260208401935050602081019050612dce565b5050509392505050565b600082601f830112612e1457612e136129b4565b5b8135612e24848260208601612d96565b91505092915050565b60008060408385031215612e4457612e43612709565b5b600083013567ffffffffffffffff811115612e6257612e6161270e565b5b612e6e85828601612dff565b925050602083013567ffffffffffffffff811115612e8f57612e8e61270e565b5b612e9b85828601612bcc565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612eda81612771565b82525050565b6000612eec8383612ed1565b60208301905092915050565b6000602082019050919050565b6000612f1082612ea5565b612f1a8185612eb0565b9350612f2583612ec1565b8060005b83811015612f56578151612f3d8882612ee0565b9750612f4883612ef8565b925050600181019050612f29565b5085935050505092915050565b60006020820190508181036000830152612f7d8184612f05565b905092915050565b600080600080600060a08688031215612fa157612fa0612709565b5b600086013567ffffffffffffffff811115612fbf57612fbe61270e565b5b612fcb88828901612abb565b955050602086013567ffffffffffffffff811115612fec57612feb61270e565b5b612ff888828901612abb565b945050604061300988828901612792565b935050606061301a88828901612792565b925050608061302b88828901612792565b9150509295509295909350565b61304181612733565b82525050565b600060208201905061305c6000830184613038565b92915050565b61306b81612896565b811461307657600080fd5b50565b60008135905061308881613062565b92915050565b600080604083850312156130a5576130a4612709565b5b60006130b38582860161275c565b92505060206130c485828601613079565b9150509250929050565b600080604083850312156130e5576130e4612709565b5b60006130f385828601612792565b92505060206131048582860161275c565b9150509250929050565b600080fd5b60008083601f840112613129576131286129b4565b5b8235905067ffffffffffffffff8111156131465761314561310e565b5b60208301915083602082028301111561316257613161612b5e565b5b9250929050565b60008060006040848603121561318257613181612709565b5b600084013567ffffffffffffffff8111156131a05761319f61270e565b5b6131ac86828701613113565b935093505060206131bf86828701612792565b9150509250925092565b600080604083850312156131e0576131df612709565b5b60006131ee8582860161275c565b92505060206131ff8582860161275c565b9150509250929050565b600080600080600060a0868803121561322557613224612709565b5b60006132338882890161275c565b95505060206132448882890161275c565b945050604061325588828901612792565b935050606061326688828901612792565b925050608086013567ffffffffffffffff8111156132875761328661270e565b5b61329388828901612c6d565b9150509295509295909350565b6000602082840312156132b6576132b5612709565b5b60006132c48482850161275c565b91505092915050565b6000806000606084860312156132e6576132e5612709565b5b60006132f48682870161275c565b935050602061330586828701612792565b925050604061331686828701612792565b9150509250925092565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b600061337c602a83612904565b915061338782613320565b604082019050919050565b600060208201905081810360008301526133ab8161336f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133f957607f821691505b6020821081141561340d5761340c6133b2565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613440816133e1565b61344a8186613413565b945060018216600081146134655760018114613476576134a9565b60ff198316865281860193506134a9565b61347f8561341e565b60005b838110156134a157815481890152600182019150602081019050613482565b838801955050505b50505092915050565b60006134bd826128f9565b6134c78185613413565b93506134d7818560208601612915565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613519600583613413565b9150613524826134e3565b600582019050919050565b600061353b8285613433565b915061354782846134b2565b91506135528261350c565b91508190509392505050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b60006135ba602f83612904565b91506135c58261355e565b604082019050919050565b600060208201905081810360008301526135e9816135ad565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061364c602983612904565b9150613657826135f0565b604082019050919050565b6000602082019050818103600083015261367b8161363f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006136eb82612771565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561371e5761371d6136b1565b5b600182019050919050565b7f536f7272792c746865206e756d626572206f6620746f74616c416d6f756e742060008201527f73686f756c6420686967686572207468616e2074686520616d6f756e74210000602082015250565b6000613785603e83612904565b915061379082613729565b604082019050919050565b600060208201905081810360008301526137b481613778565b9050919050565b60006137c682612771565b91506137d183612771565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613806576138056136b1565b5b828201905092915050565b600060408201905061382660008301856127e7565b61383360208301846127e7565b9392505050565b7f536f7272792c796f7520616c72656164792068617665206f6e65210000000000600082015250565b6000613870601b83612904565b915061387b8261383a565b602082019050919050565b6000602082019050818103600083015261389f81613863565b9050919050565b7f536f7272792c20746865204e4654206973207a65726f21000000000000000000600082015250565b60006138dc601783612904565b91506138e7826138a6565b602082019050919050565b6000602082019050818103600083015261390b816138cf565b9050919050565b7f536f7272792c796f7520616c72656164792068617665206f6e65000000000000600082015250565b6000613948601a83612904565b915061395382613912565b602082019050919050565b600060208201905081810360008301526139778161393b565b9050919050565b600060ff82169050919050565b60006139968261397e565b915060ff8214156139aa576139a96136b1565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613a11602683612904565b9150613a1c826139b5565b604082019050919050565b60006020820190508181036000830152613a4081613a04565b9050919050565b6000613a5282612771565b9150613a5d83612771565b925082821015613a7057613a6f6136b1565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613ab582612771565b9150613ac083612771565b925082613ad057613acf613a7b565b5b828204905092915050565b6000613ae682612771565b9150613af183612771565b925082613b0157613b00613a7b565b5b828206905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613b42602083612904565b9150613b4d82613b0c565b602082019050919050565b60006020820190508181036000830152613b7181613b35565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000613bd4602883612904565b9150613bdf82613b78565b604082019050919050565b60006020820190508181036000830152613c0381613bc7565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613c66602583612904565b9150613c7182613c0a565b604082019050919050565b60006020820190508181036000830152613c9581613c59565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000613cf8602a83612904565b9150613d0382613c9c565b604082019050919050565b60006020820190508181036000830152613d2781613ceb565b9050919050565b60006040820190508181036000830152613d488185612f05565b90508181036020830152613d5c8184612f05565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613dc1602183612904565b9150613dcc82613d65565b604082019050919050565b60006020820190508181036000830152613df081613db4565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000613e53602983612904565b9150613e5e82613df7565b604082019050919050565b60006020820190508181036000830152613e8281613e46565b9050919050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000613ee5602383612904565b9150613ef082613e89565b604082019050919050565b60006020820190508181036000830152613f1481613ed8565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b6000613f77602483612904565b9150613f8282613f1b565b604082019050919050565b60006020820190508181036000830152613fa681613f6a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613fd482613fad565b613fde8185613fb8565b9350613fee818560208601612915565b613ff781612948565b840191505092915050565b600060a0820190506140176000830188613038565b6140246020830187613038565b81810360408301526140368186612f05565b9050818103606083015261404a8185612f05565b9050818103608083015261405e8184613fc9565b90509695505050505050565b6000815190506140798161283d565b92915050565b60006020828403121561409557614094612709565b5b60006140a38482850161406a565b91505092915050565b60008160e01c9050919050565b600060033d11156140d85760046000803e6140d56000516140ac565b90505b90565b600060443d10156140eb5761416e565b6140f36126ff565b60043d036004823e80513d602482011167ffffffffffffffff8211171561411b57505061416e565b808201805167ffffffffffffffff811115614139575050505061416e565b80602083010160043d03850181111561415657505050505061416e565b614165826020018501866129ed565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b60006141cd603483612904565b91506141d882614171565b604082019050919050565b600060208201905081810360008301526141fc816141c0565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b600061425f602883612904565b915061426a82614203565b604082019050919050565b6000602082019050818103600083015261428e81614252565b9050919050565b600060a0820190506142aa6000830188613038565b6142b76020830187613038565b6142c460408301866127e7565b6142d160608301856127e7565b81810360808301526142e38184613fc9565b9050969550505050505056fea26469706673582212204a4feeebb6f0126f9b7d918e26d107d1884e494a1f1bd7472e56a2f7e909bac564736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5953396256674a556f6b38533161556f386a506b3668534867653163364138424a44463562746264454d70772f00000000000000000000
-----Decoded View---------------
Arg [0] : _initialBaseURI (string): ipfs://QmYS9bVgJUok8S1aUo8jPk6hSHge1c6A8BJDF5btbdEMpw/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d5953396256674a556f6b38533161556f386a506b366853
Arg [3] : 4867653163364138424a44463562746264454d70772f00000000000000000000
[ 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.