Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
1,136
Holders
312
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NodeRunnersNFT
Compiler Version
v0.6.2+commit.bacdbe57
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @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. */ /* It is possible to cause an arithmetic underflow. Prevent the underflow by constraining inputs using the require() statement or use the OpenZeppelin SafeMath library for integer arithmetic operations. Refer to the transaction trace generated for this issue to reproduce the underflow. https://swcregistry.io/docs/SWC-101 */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns(bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns(bytes4); } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /* * @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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () internal { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ /* It is possible to cause an arithmetic underflow. Prevent the underflow by constraining inputs using the require() statement or use the OpenZeppelin SafeMath library for integer arithmetic operations. Refer to the transaction trace generated for this issue to reproduce the underflow. https://swcregistry.io/docs/SWC-101 */ function supportsInterface(bytes4 interfaceId) public view override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity 0.6.2; library Strings { // via https://github.com/oraclize/ethereum-api/blob/master/oraclizeAPI_0.5.sol function strConcat(string memory _a, string memory _b, string memory _c, string memory _d, string memory _e) internal pure returns (string memory) { bytes memory _ba = bytes(_a); bytes memory _bb = bytes(_b); bytes memory _bc = bytes(_c); bytes memory _bd = bytes(_d); bytes memory _be = bytes(_e); string memory abcde = new string(_ba.length + _bb.length + _bc.length + _bd.length + _be.length); bytes memory babcde = bytes(abcde); uint k = 0; for (uint i = 0; i < _ba.length; i++) babcde[k++] = _ba[i]; for (uint i = 0; i < _bb.length; i++) babcde[k++] = _bb[i]; for (uint i = 0; i < _bc.length; i++) babcde[k++] = _bc[i]; for (uint i = 0; i < _bd.length; i++) babcde[k++] = _bd[i]; for (uint i = 0; i < _be.length; i++) babcde[k++] = _be[i]; return string(babcde); } function strConcat(string memory _a, string memory _b, string memory _c, string memory _d) internal pure returns (string memory) { return strConcat(_a, _b, _c, _d, ""); } function strConcat(string memory _a, string memory _b, string memory _c) internal pure returns (string memory) { return strConcat(_a, _b, _c, "", ""); } function strConcat(string memory _a, string memory _b) internal pure returns (string memory) { return strConcat(_a, _b, "", "", ""); } function uint2str(uint _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint j = _i; uint len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint k = len - 1; while (_i != 0) { bstr[k--] = byte(uint8(48 + _i % 10)); _i /= 10; } return string(bstr); } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * * @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 SafeMath for uint256; 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; /* * bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e * bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4 * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a * bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6 * * => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^ * 0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26 */ bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26; /* * bytes4(keccak256('uri(uint256)')) == 0x0e89341c */ bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c; /** * @dev See {_setURI}. */ constructor (string memory uri) public { _setURI(uri); // register the supported interfaces to conform to ERC1155 via ERC165 _registerInterface(_INTERFACE_ID_ERC1155); // register the supported interfaces to conform to ERC1155MetadataURI via ERC165 _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI); } /** * @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. * --- MODIFIED TO CONCAT THE _ID TO THE END OF THE URL */ function uri(uint256 _id) external view override returns (string memory) { return Strings.strConcat(_uri, Strings.uint2str(_id)); } function tokenURI(uint256 _tokenId) public view returns (string memory) { return Strings.strConcat(_uri, Strings.uint2str(_tokenId)); } string private constant _contractURI = "https://api.noderunners.io/api/nft.json"; function contractURI() public pure returns (string memory) { return _contractURI; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch( address[] memory accounts, uint256[] memory ids ) public view 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) { require(accounts[i] != address(0), "ERC1155: batch balance query for the zero address"); batchBalances[i] = _balances[ids[i]][accounts[i]]; } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view override returns (bool) { address _account = account; 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(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer"); _balances[id][to] = _balances[id][to].add(amount); emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; _balances[id][from] = _balances[id][from].sub( amount, "ERC1155: insufficient balance for transfer" ); _balances[id][to] = _balances[id][to].add(amount); } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] = _balances[id][account].add(amount); emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual { require(to != address(0), "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 (uint i = 0; i < ids.length; i++) { _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]); } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn(address account, uint256 id, uint256 amount) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); _balances[id][account] = _balances[id][account].sub( amount, "ERC1155: burn amount exceeds balance" ); emit TransferSingle(operator, account, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint i = 0; i < ids.length; i++) { _balances[ids[i]][account] = _balances[ids[i]][account].sub( amounts[i], "ERC1155: burn amount exceeds balance" ); } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { } function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver(to).onERC1155Received.selector) { revert("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(to).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 pragma solidity 0.6.2; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.0.0, only sets of type `address` (`AddressSet`) and `uint256` * (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(value))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(value))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(value))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint256(_at(set._inner, index))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context { using EnumerableSet for EnumerableSet.AddressSet; using Address for address; struct RoleData { EnumerableSet.AddressSet members; bytes32 adminRole; } mapping (bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view returns (bool) { return _roles[role].members.contains(account); } /** * @dev Returns the number of accounts that have `role`. Can be used * together with {getRoleMember} to enumerate all bearers of a role. */ function getRoleMemberCount(bytes32 role) public view returns (uint256) { return _roles[role].members.length(); } /** * @dev Returns one of the accounts that have `role`. `index` must be a * value between 0 and {getRoleMemberCount}, non-inclusive. * * Role bearers are not sorted in any particular way, and their ordering may * change at any point. * * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure * you perform all queries on the same block. See the following * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post] * for more information. */ function getRoleMember(bytes32 role, uint256 index) public view returns (address) { return _roles[role].members.at(index); } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant"); _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual { require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke"); _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { emit RoleAdminChanged(role, _roles[role].adminRole, adminRole); _roles[role].adminRole = adminRole; } function _grantRole(bytes32 role, address account) private { if (_roles[role].members.add(account)) { emit RoleGranted(role, account, _msgSender()); } } function _revokeRole(bytes32 role, address account) private { if (_roles[role].members.remove(account)) { emit RoleRevoked(role, account, _msgSender()); } } } // SPDX-License-Identifier: MIT pragma solidity 0.6.2; /// @title NodeRunnersNFT Contract contract NodeRunnersNFT is ERC1155, AccessControl { bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); struct Fighter { uint256 strength; uint256 defence; uint256 health; uint256 rarity; uint256 hashPrice; uint256 series; } Fighter[] public fighters; constructor() public ERC1155("https://api.noderunners.io/api/v1/cards/token/") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); fighters.push(Fighter(0, 0, 0, 0, 0, 0)); } uint256 public cards; mapping(uint256 => uint256) public totalSupply; mapping(uint256 => uint256) public circulatingSupply; event CardAdded(uint256 id, uint256 maxSupply); function getFighter(uint256 tokenId) public view returns (uint256, uint256, uint256, uint256, uint256, uint256) { Fighter storage fighter = fighters[tokenId]; return (fighter.strength, fighter.defence, fighter.health, fighter.rarity, fighter.hashPrice, fighter.series); } function changeFighter(uint256 tokenId, uint256 strength, uint256 defence, uint256 health, uint256 rarity, uint256 hashPrice, uint256 series) public returns (bool) { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not an admin"); fighters[tokenId] = Fighter(strength, defence, health, rarity, hashPrice.mul(1e18), series); return true; } function addCard(uint256 maxSupply, uint256 strength, uint256 defence, uint256 health, uint256 rarity, uint256 hashPrice, uint256 series) public returns (uint256) { require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not an admin"); require(maxSupply > 0, "Maximum supply can not be 0"); cards = cards.add(1); totalSupply[cards] = maxSupply; emit CardAdded(cards, maxSupply); fighters.push(Fighter(strength, defence, health, rarity, hashPrice.mul(1e18), series)); return cards; } function mint(address to, uint256 id, uint256 amount) public { require(hasRole(MINTER_ROLE, _msgSender()), "Caller is not a minter"); require(circulatingSupply[id].add(amount) <= totalSupply[id], "Total supply reached."); circulatingSupply[id] = circulatingSupply[id].add(amount); _mint(to, id, amount, ""); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"CardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"strength","type":"uint256"},{"internalType":"uint256","name":"defence","type":"uint256"},{"internalType":"uint256","name":"health","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint256","name":"hashPrice","type":"uint256"},{"internalType":"uint256","name":"series","type":"uint256"}],"name":"addCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"strength","type":"uint256"},{"internalType":"uint256","name":"defence","type":"uint256"},{"internalType":"uint256","name":"health","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint256","name":"hashPrice","type":"uint256"},{"internalType":"uint256","name":"series","type":"uint256"}],"name":"changeFighter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fighters","outputs":[{"internalType":"uint256","name":"strength","type":"uint256"},{"internalType":"uint256","name":"defence","type":"uint256"},{"internalType":"uint256","name":"health","type":"uint256"},{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint256","name":"hashPrice","type":"uint256"},{"internalType":"uint256","name":"series","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getFighter","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060600160405280602e815260200162002dd3602e9139620000476301ffc9a760e01b6001600160e01b03620001e616565b6200005b816001600160e01b036200026b16565b62000076636cdb3d1360e11b6001600160e01b03620001e616565b620000916303a24d0760e21b6001600160e01b03620001e616565b50620000ba6000620000ab6001600160e01b036200028416565b6001600160e01b036200028916565b6040805160c081018252600080825260208201818152928201818152606083018281526080840183815260a0850184815260058054600181018255955294517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db060069095029485015594517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db184015590517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db2830155517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db382015591517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db4830155517f036b6384b5eca791c62761152d0c79bb0604c104a5fb6f4eb0703f3154bb3db5909101556200045d565b6001600160e01b0319808216141562000246576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b805162000280906003906020840190620003bb565b5050565b335b90565b6200028082826001600160e01b036200029e16565b6000828152600460209081526040909120620002c59183906200248162000322821b17901c565b156200028057620002de6001600160e01b036200028416565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000342836001600160a01b0384166001600160e01b036200034b16565b90505b92915050565b60006200036283836001600160e01b03620003a316565b6200039a5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000345565b50600062000345565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620003fe57805160ff19168380011785556200042e565b828001600101855582156200042e579182015b828111156200042e57825182559160200191906001019062000411565b506200043c92915062000440565b5090565b6200028691905b808211156200043c576000815560010162000447565b612966806200046d6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80639010d07c116100f9578063ca15c87311610097578063e8a3d48511610071578063e8a3d48514610877578063e985e9c51461087f578063ee47ebf0146108ad578063f242432a146108ee576101a8565b8063ca15c87314610826578063d539139314610843578063d547741f1461084b576101a8565b8063a217fddf116100d3578063a217fddf146107d3578063a22cb465146107db578063bd85b03914610809578063c87b56dd14610226576101a8565b80639010d07c1461074b57806391d148541461078a57806392ff6aea146107b6576101a8565b80632e6b221d1161016657806336568abe1161014057806336568abe146105875780634e1273f4146105b357806358a4903f14610726578063889fa1dc1461072e576101a8565b80632e6b221d1461034a5780632eb2c2d61461039a5780632f2ff15d1461055b576101a8565b8062fdd58e146101ad57806301ffc9a7146101eb5780630e89341c14610226578063156e29f6146102b85780631896f3dd146102ec578063248a9ca31461032d575b600080fd5b6101d9600480360360408110156101c357600080fd5b506001600160a01b0381351690602001356109b7565b60408051918252519081900360200190f35b6102126004803603602081101561020157600080fd5b50356001600160e01b031916610a29565b604080519115158252519081900360200190f35b6102436004803603602081101561023c57600080fd5b5035610a4c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027d578181015183820152602001610265565b50505050905090810190601f1680156102aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ea600480360360608110156102ce57600080fd5b506001600160a01b038135169060208101359060400135610aee565b005b610212600480360360e081101561030257600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c00135610c35565b6101d96004803603602081101561034357600080fd5b5035610d3d565b6103676004803603602081101561036057600080fd5b5035610d52565b604080519687526020870195909552858501939093526060850191909152608084015260a0830152519081900360c00190f35b6102ea600480360360a08110156103b057600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156103e357600080fd5b8201836020820111156103f557600080fd5b803590602001918460208302840111600160201b8311171561041657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561046557600080fd5b82018360208201111561047757600080fd5b803590602001918460208302840111600160201b8311171561049857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104e757600080fd5b8201836020820111156104f957600080fd5b803590602001918460018302840111600160201b8311171561051a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d95945050505050565b6102ea6004803603604081101561057157600080fd5b50803590602001356001600160a01b0316611093565b6102ea6004803603604081101561059d57600080fd5b50803590602001356001600160a01b03166110fa565b6106d6600480360360408110156105c957600080fd5b810190602081018135600160201b8111156105e357600080fd5b8201836020820111156105f557600080fd5b803590602001918460208302840111600160201b8311171561061657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561066557600080fd5b82018360208201111561067757600080fd5b803590602001918460208302840111600160201b8311171561069857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061115b945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107125781810151838201526020016106fa565b505050509050019250505060405180910390f35b6101d96112c2565b6103676004803603602081101561074457600080fd5b50356112c8565b61076e6004803603604081101561076157600080fd5b5080359060200135611321565b604080516001600160a01b039092168252519081900360200190f35b610212600480360360408110156107a057600080fd5b50803590602001356001600160a01b0316611346565b6101d9600480360360208110156107cc57600080fd5b5035611364565b6101d9611376565b6102ea600480360360408110156107f157600080fd5b506001600160a01b038135169060200135151561137b565b6101d96004803603602081101561081f57600080fd5b503561146a565b6101d96004803603602081101561083c57600080fd5b503561147c565b6101d9611493565b6102ea6004803603604081101561086157600080fd5b50803590602001356001600160a01b03166114b6565b61024361150f565b6102126004803603604081101561089557600080fd5b506001600160a01b038135811691602001351661152f565b6101d9600480360360e08110156108c357600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013561155d565b6102ea600480360360a081101561090457600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561094357600080fd5b82018360208201111561095557600080fd5b803590602001918460018302840111600160201b8311171561097657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061171e945050505050565b60006001600160a01b0383166109fe5760405162461bcd60e51b815260040180806020018281038252602b815260200180612710602b913960400191505060405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152606093610a239391929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050610ae9846118ef565b6119b0565b604080516a4d494e5445525f524f4c4560a81b8152905190819003600b019020610b1f90610b1a6119ec565b611346565b610b69576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b600082815260076020908152604080832054600890925290912054610b94908363ffffffff6119f016565b1115610bdf576040805162461bcd60e51b81526020600482015260156024820152742a37ba30b61039bab838363c903932b0b1b432b21760591b604482015290519081900360640190fd5b600082815260086020526040902054610bfe908263ffffffff6119f016565b6008600084815260200190815260200160002081905550610c3083838360405180602001604052806000815250611a4a565b505050565b6000610c4381610b1a6119ec565b610c8d576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6040518060c00160405280888152602001878152602001868152602001858152602001610ccb670de0b6b3a764000086611b5890919063ffffffff16565b81526020018381525060058981548110610ce157fe5b9060005260206000209060060201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015590505060019050979650505050505050565b60009081526004602052604090206002015490565b60058181548110610d5f57fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501549395509193909286565b8151835114610dd55760405162461bcd60e51b81526004018080602001828103825260288152602001806128b96028913960400191505060405180910390fd5b6001600160a01b038416610e1a5760405162461bcd60e51b81526004018080602001828103825260258152602001806127c56025913960400191505060405180910390fd5b610e226119ec565b6001600160a01b0316856001600160a01b03161480610e4d5750610e4d85610e486119ec565b61152f565b610e885760405162461bcd60e51b81526004018080602001828103825260328152602001806127ea6032913960400191505060405180910390fd5b6000610e926119ec565b9050610ea281878787878761108b565b60005b8451811015610fa3576000858281518110610ebc57fe5b602002602001015190506000858381518110610ed457fe5b60200260200101519050610f41816040518060600160405280602a815260200161281c602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611bb19092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610f7890826119f0565b60009283526001602081815260408086206001600160a01b038d168752909152909320555001610ea5565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611029578181015183820152602001611011565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611068578181015183820152602001611050565b5050505090500194505050505060405180910390a461108b818787878787611c48565b505050505050565b6000828152600460205260409020600201546110b190610b1a6119ec565b6110ec5760405162461bcd60e51b815260040180806020018281038252602f8152602001806126ba602f913960400191505060405180910390fd5b6110f68282611f86565b5050565b6111026119ec565b6001600160a01b0316816001600160a01b0316146111515760405162461bcd60e51b815260040180806020018281038252602f815260200180612902602f913960400191505060405180910390fd5b6110f68282611ff5565b6060815183511461119d5760405162461bcd60e51b81526004018080602001828103825260298152602001806128906029913960400191505060405180910390fd5b606083516040519080825280602002602001820160405280156111ca578160200160208202803883390190505b50905060005b84518110156112ba5760006001600160a01b03168582815181106111f057fe5b60200260200101516001600160a01b0316141561123e5760405162461bcd60e51b815260040180806020018281038252603181526020018061273b6031913960400191505060405180910390fd5b6001600085838151811061124e57fe5b60200260200101518152602001908152602001600020600086838151811061127257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020548282815181106112a757fe5b60209081029190910101526001016111d0565b509392505050565b60065481565b6000806000806000806000600588815481106112e057fe5b6000918252602090912060069091020180546001820154600283015460038401546004850154600590950154939d929c50909a509850919650945092505050565b600082815260046020526040812061133f908363ffffffff61206416565b9392505050565b600082815260046020526040812061133f908363ffffffff61207016565b60086020526000908152604090205481565b600081565b816001600160a01b031661138d6119ec565b6001600160a01b031614156113d35760405162461bcd60e51b81526004018080602001828103825260298152602001806128676029913960400191505060405180910390fd5b80600260006113e06119ec565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114246119ec565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b60076020526000908152604090205481565b6000818152600460205260408120610a2390612085565b604080516a4d494e5445525f524f4c4560a81b8152905190819003600b01902081565b6000828152600460205260409020600201546114d490610b1a6119ec565b6111515760405162461bcd60e51b81526004018080602001828103825260308152602001806127956030913960400191505060405180910390fd5b60606040518060600160405280602781526020016126e960279139905090565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b600061156b81610b1a6119ec565b6115b5576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6000881161160a576040805162461bcd60e51b815260206004820152601b60248201527f4d6178696d756d20737570706c792063616e206e6f7420626520300000000000604482015290519081900360640190fd5b60065461161e90600163ffffffff6119f016565b60068181556000918252600760209081526040928390208b9055905482519081529081018a905281517f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b0929181900390910190a160056040518060c001604052808981526020018881526020018781526020018681526020016116b2670de0b6b3a764000087611b5890919063ffffffff16565b8152602090810185905282546001818101855560009485529382902083516006928302909101908155918301519382019390935560408201516002820155606082015160038201556080820151600482015560a090910151600590910155549050979650505050505050565b6001600160a01b0384166117635760405162461bcd60e51b81526004018080602001828103825260258152602001806127c56025913960400191505060405180910390fd5b61176b6119ec565b6001600160a01b0316856001600160a01b03161480611791575061179185610e486119ec565b6117cc5760405162461bcd60e51b815260040180806020018281038252602981526020018061276c6029913960400191505060405180910390fd5b60006117d66119ec565b90506117f68187876117e788612090565b6117f088612090565b8761108b565b611843836040518060600160405280602a815260200161281c602a913960008781526001602090815260408083206001600160a01b038d168452909152902054919063ffffffff611bb116565b60008581526001602090815260408083206001600160a01b038b8116855292528083209390935587168152205461187a90846119f0565b60008581526001602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a8416938616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a461108b8187878787876120d4565b60608161191457506040805180820190915260018152600360fc1b6020820152610a47565b8160005b811561192c57600101600a82049150611918565b6060816040519080825280601f01601f191660200182016040528015611959576020820181803883390190505b50905060001982015b85156119a757600a860660300160f81b8282806001900393508151811061198557fe5b60200101906001600160f81b031916908160001a905350600a86049550611962565b50949350505050565b606061133f8383604051806020016040528060008152506040518060200160405280600081525060405180602001604052806000815250612267565b3390565b60008282018381101561133f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038416611a8f5760405162461bcd60e51b81526004018080602001828103825260218152602001806128e16021913960400191505060405180910390fd5b6000611a996119ec565b9050611aab816000876117e788612090565b60008481526001602090815260408083206001600160a01b0389168452909152902054611ade908463ffffffff6119f016565b60008581526001602090815260408083206001600160a01b03808b16808652918452828520959095558151898152928301889052815190948616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a4611b51816000878787876120d4565b5050505050565b600082611b6757506000610a23565b82820282848281611b7457fe5b041461133f5760405162461bcd60e51b81526004018080602001828103825260218152602001806128466021913960400191505060405180910390fd5b60008184841115611c405760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c05578181015183820152602001611bed565b50505050905090810190601f168015611c325780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611c5a846001600160a01b031661247b565b1561108b57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015611cfa578181015183820152602001611ce2565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015611d39578181015183820152602001611d21565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015611d75578181015183820152602001611d5d565b50505050905090810190601f168015611da25780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015611dc757600080fd5b505af1925050508015611dec57506040513d6020811015611de757600080fd5b505160015b611f2e576040516000815260443d1015611e0857506000611ea5565b60046000803e60005160e01c6308c379a08114611e29576000915050611ea5565b60043d036004833e81513d602482011167ffffffffffffffff82111715611e5557600092505050611ea5565b808301805167ffffffffffffffff811115611e77576000945050505050611ea5565b8060208301013d8601811115611e9557600095505050505050611ea5565b601f01601f191660405250925050505b80611eb05750611ef7565b60405162461bcd60e51b8152602060048201818152835160248401528351849391928392604401919085019080838360008315611c05578181015183820152602001611bed565b60405162461bcd60e51b815260040180806020018281038252603481526020018061263c6034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b14611f7d5760405162461bcd60e51b81526004018080602001828103825260288152602001806126926028913960400191505060405180910390fd5b50505050505050565b6000828152600460205260409020611fa4908263ffffffff61248116565b156110f657611fb16119ec565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600460205260409020612013908263ffffffff61249616565b156110f6576120206119ec565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061133f83836124ab565b600061133f836001600160a01b03841661250f565b6000610a2382612527565b6040805160018082528183019092526060918291906020808301908038833901905050905082816000815181106120c357fe5b602090810291909101015292915050565b6120e6846001600160a01b031661247b565b1561108b57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561218757818101518382015260200161216f565b50505050905090810190601f1680156121b45780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156121d757600080fd5b505af19250505080156121fc57506040513d60208110156121f757600080fd5b505160015b612218576040516000815260443d1015611e0857506000611ea5565b6001600160e01b0319811663f23a6e6160e01b14611f7d5760405162461bcd60e51b81526004018080602001828103825260288152602001806126926028913960400191505060405180910390fd5b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156122bb576020820181803883390190505b509050806000805b8851811015612314578881815181106122d857fe5b602001015160f81c60f81b8383806001019450815181106122f557fe5b60200101906001600160f81b031916908160001a9053506001016122c3565b5060005b87518110156123695787818151811061232d57fe5b602001015160f81c60f81b83838060010194508151811061234a57fe5b60200101906001600160f81b031916908160001a905350600101612318565b5060005b86518110156123be5786818151811061238257fe5b602001015160f81c60f81b83838060010194508151811061239f57fe5b60200101906001600160f81b031916908160001a90535060010161236d565b5060005b8551811015612413578581815181106123d757fe5b602001015160f81c60f81b8383806001019450815181106123f457fe5b60200101906001600160f81b031916908160001a9053506001016123c2565b5060005b84518110156124685784818151811061242c57fe5b602001015160f81c60f81b83838060010194508151811061244957fe5b60200101906001600160f81b031916908160001a905350600101612417565b50909d9c50505050505050505050505050565b3b151590565b600061133f836001600160a01b03841661252b565b600061133f836001600160a01b038416612575565b815460009082106124ed5760405162461bcd60e51b81526004018080602001828103825260228152602001806126706022913960400191505060405180910390fd5b8260000182815481106124fc57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b6000612537838361250f565b61256d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a23565b506000610a23565b6000818152600183016020526040812054801561263157835460001980830191908101906000908790839081106125a857fe5b90600052602060002001549050808760000184815481106125c557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806125f557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a23565b6000915050610a2356fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7468747470733a2f2f6170692e6e6f646572756e6e6572732e696f2f6170692f6e66742e6a736f6e455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2062617463682062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122056b619354398c316914f0b26478a675a9d111bac469628809b6bb857244252a464736f6c6343000602003368747470733a2f2f6170692e6e6f646572756e6e6572732e696f2f6170692f76312f63617264732f746f6b656e2f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80639010d07c116100f9578063ca15c87311610097578063e8a3d48511610071578063e8a3d48514610877578063e985e9c51461087f578063ee47ebf0146108ad578063f242432a146108ee576101a8565b8063ca15c87314610826578063d539139314610843578063d547741f1461084b576101a8565b8063a217fddf116100d3578063a217fddf146107d3578063a22cb465146107db578063bd85b03914610809578063c87b56dd14610226576101a8565b80639010d07c1461074b57806391d148541461078a57806392ff6aea146107b6576101a8565b80632e6b221d1161016657806336568abe1161014057806336568abe146105875780634e1273f4146105b357806358a4903f14610726578063889fa1dc1461072e576101a8565b80632e6b221d1461034a5780632eb2c2d61461039a5780632f2ff15d1461055b576101a8565b8062fdd58e146101ad57806301ffc9a7146101eb5780630e89341c14610226578063156e29f6146102b85780631896f3dd146102ec578063248a9ca31461032d575b600080fd5b6101d9600480360360408110156101c357600080fd5b506001600160a01b0381351690602001356109b7565b60408051918252519081900360200190f35b6102126004803603602081101561020157600080fd5b50356001600160e01b031916610a29565b604080519115158252519081900360200190f35b6102436004803603602081101561023c57600080fd5b5035610a4c565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561027d578181015183820152602001610265565b50505050905090810190601f1680156102aa5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ea600480360360608110156102ce57600080fd5b506001600160a01b038135169060208101359060400135610aee565b005b610212600480360360e081101561030257600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c00135610c35565b6101d96004803603602081101561034357600080fd5b5035610d3d565b6103676004803603602081101561036057600080fd5b5035610d52565b604080519687526020870195909552858501939093526060850191909152608084015260a0830152519081900360c00190f35b6102ea600480360360a08110156103b057600080fd5b6001600160a01b038235811692602081013590911691810190606081016040820135600160201b8111156103e357600080fd5b8201836020820111156103f557600080fd5b803590602001918460208302840111600160201b8311171561041657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561046557600080fd5b82018360208201111561047757600080fd5b803590602001918460208302840111600160201b8311171561049857600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b8111156104e757600080fd5b8201836020820111156104f957600080fd5b803590602001918460018302840111600160201b8311171561051a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610d95945050505050565b6102ea6004803603604081101561057157600080fd5b50803590602001356001600160a01b0316611093565b6102ea6004803603604081101561059d57600080fd5b50803590602001356001600160a01b03166110fa565b6106d6600480360360408110156105c957600080fd5b810190602081018135600160201b8111156105e357600080fd5b8201836020820111156105f557600080fd5b803590602001918460208302840111600160201b8311171561061657600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295949360208101935035915050600160201b81111561066557600080fd5b82018360208201111561067757600080fd5b803590602001918460208302840111600160201b8311171561069857600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061115b945050505050565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107125781810151838201526020016106fa565b505050509050019250505060405180910390f35b6101d96112c2565b6103676004803603602081101561074457600080fd5b50356112c8565b61076e6004803603604081101561076157600080fd5b5080359060200135611321565b604080516001600160a01b039092168252519081900360200190f35b610212600480360360408110156107a057600080fd5b50803590602001356001600160a01b0316611346565b6101d9600480360360208110156107cc57600080fd5b5035611364565b6101d9611376565b6102ea600480360360408110156107f157600080fd5b506001600160a01b038135169060200135151561137b565b6101d96004803603602081101561081f57600080fd5b503561146a565b6101d96004803603602081101561083c57600080fd5b503561147c565b6101d9611493565b6102ea6004803603604081101561086157600080fd5b50803590602001356001600160a01b03166114b6565b61024361150f565b6102126004803603604081101561089557600080fd5b506001600160a01b038135811691602001351661152f565b6101d9600480360360e08110156108c357600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013561155d565b6102ea600480360360a081101561090457600080fd5b6001600160a01b03823581169260208101359091169160408201359160608101359181019060a081016080820135600160201b81111561094357600080fd5b82018360208201111561095557600080fd5b803590602001918460018302840111600160201b8311171561097657600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061171e945050505050565b60006001600160a01b0383166109fe5760405162461bcd60e51b815260040180806020018281038252602b815260200180612710602b913960400191505060405180910390fd5b5060008181526001602090815260408083206001600160a01b03861684529091529020545b92915050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152606093610a239391929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050610ae9846118ef565b6119b0565b604080516a4d494e5445525f524f4c4560a81b8152905190819003600b019020610b1f90610b1a6119ec565b611346565b610b69576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b600082815260076020908152604080832054600890925290912054610b94908363ffffffff6119f016565b1115610bdf576040805162461bcd60e51b81526020600482015260156024820152742a37ba30b61039bab838363c903932b0b1b432b21760591b604482015290519081900360640190fd5b600082815260086020526040902054610bfe908263ffffffff6119f016565b6008600084815260200190815260200160002081905550610c3083838360405180602001604052806000815250611a4a565b505050565b6000610c4381610b1a6119ec565b610c8d576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6040518060c00160405280888152602001878152602001868152602001858152602001610ccb670de0b6b3a764000086611b5890919063ffffffff16565b81526020018381525060058981548110610ce157fe5b9060005260206000209060060201600082015181600001556020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015590505060019050979650505050505050565b60009081526004602052604090206002015490565b60058181548110610d5f57fe5b60009182526020909120600690910201805460018201546002830154600384015460048501546005909501549395509193909286565b8151835114610dd55760405162461bcd60e51b81526004018080602001828103825260288152602001806128b96028913960400191505060405180910390fd5b6001600160a01b038416610e1a5760405162461bcd60e51b81526004018080602001828103825260258152602001806127c56025913960400191505060405180910390fd5b610e226119ec565b6001600160a01b0316856001600160a01b03161480610e4d5750610e4d85610e486119ec565b61152f565b610e885760405162461bcd60e51b81526004018080602001828103825260328152602001806127ea6032913960400191505060405180910390fd5b6000610e926119ec565b9050610ea281878787878761108b565b60005b8451811015610fa3576000858281518110610ebc57fe5b602002602001015190506000858381518110610ed457fe5b60200260200101519050610f41816040518060600160405280602a815260200161281c602a91396001600086815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002054611bb19092919063ffffffff16565b60008381526001602090815260408083206001600160a01b038e811685529252808320939093558a1681522054610f7890826119f0565b60009283526001602081815260408086206001600160a01b038d168752909152909320555001610ea5565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015611029578181015183820152602001611011565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015611068578181015183820152602001611050565b5050505090500194505050505060405180910390a461108b818787878787611c48565b505050505050565b6000828152600460205260409020600201546110b190610b1a6119ec565b6110ec5760405162461bcd60e51b815260040180806020018281038252602f8152602001806126ba602f913960400191505060405180910390fd5b6110f68282611f86565b5050565b6111026119ec565b6001600160a01b0316816001600160a01b0316146111515760405162461bcd60e51b815260040180806020018281038252602f815260200180612902602f913960400191505060405180910390fd5b6110f68282611ff5565b6060815183511461119d5760405162461bcd60e51b81526004018080602001828103825260298152602001806128906029913960400191505060405180910390fd5b606083516040519080825280602002602001820160405280156111ca578160200160208202803883390190505b50905060005b84518110156112ba5760006001600160a01b03168582815181106111f057fe5b60200260200101516001600160a01b0316141561123e5760405162461bcd60e51b815260040180806020018281038252603181526020018061273b6031913960400191505060405180910390fd5b6001600085838151811061124e57fe5b60200260200101518152602001908152602001600020600086838151811061127257fe5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020548282815181106112a757fe5b60209081029190910101526001016111d0565b509392505050565b60065481565b6000806000806000806000600588815481106112e057fe5b6000918252602090912060069091020180546001820154600283015460038401546004850154600590950154939d929c50909a509850919650945092505050565b600082815260046020526040812061133f908363ffffffff61206416565b9392505050565b600082815260046020526040812061133f908363ffffffff61207016565b60086020526000908152604090205481565b600081565b816001600160a01b031661138d6119ec565b6001600160a01b031614156113d35760405162461bcd60e51b81526004018080602001828103825260298152602001806128676029913960400191505060405180910390fd5b80600260006113e06119ec565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556114246119ec565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b60076020526000908152604090205481565b6000818152600460205260408120610a2390612085565b604080516a4d494e5445525f524f4c4560a81b8152905190819003600b01902081565b6000828152600460205260409020600201546114d490610b1a6119ec565b6111515760405162461bcd60e51b81526004018080602001828103825260308152602001806127956030913960400191505060405180910390fd5b60606040518060600160405280602781526020016126e960279139905090565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205460ff1690565b600061156b81610b1a6119ec565b6115b5576040805162461bcd60e51b815260206004820152601660248201527521b0b63632b91034b9903737ba1030b71030b236b4b760511b604482015290519081900360640190fd5b6000881161160a576040805162461bcd60e51b815260206004820152601b60248201527f4d6178696d756d20737570706c792063616e206e6f7420626520300000000000604482015290519081900360640190fd5b60065461161e90600163ffffffff6119f016565b60068181556000918252600760209081526040928390208b9055905482519081529081018a905281517f62399d91d89d6e694d41e47f3e6010c0e0b4ec78ecdddb1c02d0e321780859b0929181900390910190a160056040518060c001604052808981526020018881526020018781526020018681526020016116b2670de0b6b3a764000087611b5890919063ffffffff16565b8152602090810185905282546001818101855560009485529382902083516006928302909101908155918301519382019390935560408201516002820155606082015160038201556080820151600482015560a090910151600590910155549050979650505050505050565b6001600160a01b0384166117635760405162461bcd60e51b81526004018080602001828103825260258152602001806127c56025913960400191505060405180910390fd5b61176b6119ec565b6001600160a01b0316856001600160a01b03161480611791575061179185610e486119ec565b6117cc5760405162461bcd60e51b815260040180806020018281038252602981526020018061276c6029913960400191505060405180910390fd5b60006117d66119ec565b90506117f68187876117e788612090565b6117f088612090565b8761108b565b611843836040518060600160405280602a815260200161281c602a913960008781526001602090815260408083206001600160a01b038d168452909152902054919063ffffffff611bb116565b60008581526001602090815260408083206001600160a01b038b8116855292528083209390935587168152205461187a90846119f0565b60008581526001602090815260408083206001600160a01b03808b168086529184529382902094909455805188815291820187905280518a8416938616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a461108b8187878787876120d4565b60608161191457506040805180820190915260018152600360fc1b6020820152610a47565b8160005b811561192c57600101600a82049150611918565b6060816040519080825280601f01601f191660200182016040528015611959576020820181803883390190505b50905060001982015b85156119a757600a860660300160f81b8282806001900393508151811061198557fe5b60200101906001600160f81b031916908160001a905350600a86049550611962565b50949350505050565b606061133f8383604051806020016040528060008152506040518060200160405280600081525060405180602001604052806000815250612267565b3390565b60008282018381101561133f576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038416611a8f5760405162461bcd60e51b81526004018080602001828103825260218152602001806128e16021913960400191505060405180910390fd5b6000611a996119ec565b9050611aab816000876117e788612090565b60008481526001602090815260408083206001600160a01b0389168452909152902054611ade908463ffffffff6119f016565b60008581526001602090815260408083206001600160a01b03808b16808652918452828520959095558151898152928301889052815190948616927fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6292908290030190a4611b51816000878787876120d4565b5050505050565b600082611b6757506000610a23565b82820282848281611b7457fe5b041461133f5760405162461bcd60e51b81526004018080602001828103825260218152602001806128466021913960400191505060405180910390fd5b60008184841115611c405760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c05578181015183820152602001611bed565b50505050905090810190601f168015611c325780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b611c5a846001600160a01b031661247b565b1561108b57836001600160a01b031663bc197c8187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b03168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015611cfa578181015183820152602001611ce2565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015611d39578181015183820152602001611d21565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015611d75578181015183820152602001611d5d565b50505050905090810190601f168015611da25780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015611dc757600080fd5b505af1925050508015611dec57506040513d6020811015611de757600080fd5b505160015b611f2e576040516000815260443d1015611e0857506000611ea5565b60046000803e60005160e01c6308c379a08114611e29576000915050611ea5565b60043d036004833e81513d602482011167ffffffffffffffff82111715611e5557600092505050611ea5565b808301805167ffffffffffffffff811115611e77576000945050505050611ea5565b8060208301013d8601811115611e9557600095505050505050611ea5565b601f01601f191660405250925050505b80611eb05750611ef7565b60405162461bcd60e51b8152602060048201818152835160248401528351849391928392604401919085019080838360008315611c05578181015183820152602001611bed565b60405162461bcd60e51b815260040180806020018281038252603481526020018061263c6034913960400191505060405180910390fd5b6001600160e01b0319811663bc197c8160e01b14611f7d5760405162461bcd60e51b81526004018080602001828103825260288152602001806126926028913960400191505060405180910390fd5b50505050505050565b6000828152600460205260409020611fa4908263ffffffff61248116565b156110f657611fb16119ec565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600460205260409020612013908263ffffffff61249616565b156110f6576120206119ec565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b600061133f83836124ab565b600061133f836001600160a01b03841661250f565b6000610a2382612527565b6040805160018082528183019092526060918291906020808301908038833901905050905082816000815181106120c357fe5b602090810291909101015292915050565b6120e6846001600160a01b031661247b565b1561108b57836001600160a01b031663f23a6e6187878686866040518663ffffffff1660e01b815260040180866001600160a01b03166001600160a01b03168152602001856001600160a01b03166001600160a01b0316815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561218757818101518382015260200161216f565b50505050905090810190601f1680156121b45780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b1580156121d757600080fd5b505af19250505080156121fc57506040513d60208110156121f757600080fd5b505160015b612218576040516000815260443d1015611e0857506000611ea5565b6001600160e01b0319811663f23a6e6160e01b14611f7d5760405162461bcd60e51b81526004018080602001828103825260288152602001806126926028913960400191505060405180910390fd5b6060808690506060869050606086905060608690506060869050606081518351855187518951010101016040519080825280601f01601f1916602001820160405280156122bb576020820181803883390190505b509050806000805b8851811015612314578881815181106122d857fe5b602001015160f81c60f81b8383806001019450815181106122f557fe5b60200101906001600160f81b031916908160001a9053506001016122c3565b5060005b87518110156123695787818151811061232d57fe5b602001015160f81c60f81b83838060010194508151811061234a57fe5b60200101906001600160f81b031916908160001a905350600101612318565b5060005b86518110156123be5786818151811061238257fe5b602001015160f81c60f81b83838060010194508151811061239f57fe5b60200101906001600160f81b031916908160001a90535060010161236d565b5060005b8551811015612413578581815181106123d757fe5b602001015160f81c60f81b8383806001019450815181106123f457fe5b60200101906001600160f81b031916908160001a9053506001016123c2565b5060005b84518110156124685784818151811061242c57fe5b602001015160f81c60f81b83838060010194508151811061244957fe5b60200101906001600160f81b031916908160001a905350600101612417565b50909d9c50505050505050505050505050565b3b151590565b600061133f836001600160a01b03841661252b565b600061133f836001600160a01b038416612575565b815460009082106124ed5760405162461bcd60e51b81526004018080602001828103825260228152602001806126706022913960400191505060405180910390fd5b8260000182815481106124fc57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b6000612537838361250f565b61256d57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a23565b506000610a23565b6000818152600183016020526040812054801561263157835460001980830191908101906000908790839081106125a857fe5b90600052602060002001549050808760000184815481106125c557fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806125f557fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a23565b6000915050610a2356fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7468747470733a2f2f6170692e6e6f646572756e6e6572732e696f2f6170692f6e66742e6a736f6e455243313135353a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2062617463682062616c616e636520717565727920666f7220746865207a65726f2061646472657373455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b65455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c66455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a264697066735822122056b619354398c316914f0b26478a675a9d111bac469628809b6bb857244252a464736f6c63430006020033
Deployed Bytecode Sourcemap
55077:2373:0:-:0;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;55077:2373:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27765:223;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27765:223:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;10353:142;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10353:142:0;-1:-1:-1;;;;;;10353:142:0;;:::i;:::-;;;;;;;;;;;;;;;;;;27122:145;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27122:145:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;27122:145:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57097:350;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;57097:350:0;;;;;;;;;;;;;:::i;:::-;;56137:383;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;56137:383:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;51753:114::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51753:114:0;;:::i;55400:25::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55400:25:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30515:1220;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;30515:1220:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;30515:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30515:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;30515:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;30515:1220:0;;;;;;;;-1:-1:-1;30515:1220:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;30515:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30515:1220:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;30515:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;30515:1220:0;;;;;;;;-1:-1:-1;30515:1220:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;30515:1220:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;30515:1220:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;30515:1220:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;30515:1220:0;;-1:-1:-1;30515:1220:0;;-1:-1:-1;;;;;30515:1220:0:i;52129:227::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52129:227:0;;;;;;-1:-1:-1;;;;;52129:227:0;;:::i;53338:209::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;53338:209:0;;;;;;-1:-1:-1;;;;;53338:209:0;;:::i;28154:634::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28154:634:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;28154:634:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28154:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;28154:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;28154:634:0;;;;;;;;-1:-1:-1;28154:634:0;;-1:-1:-1;;;;;5:28;;2:2;;;46:1;43;36:12;2:2;28154:634:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;28154:634:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;28154:634:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;28154:634:0;;-1:-1:-1;28154:634:0;;-1:-1:-1;;;;;28154:634:0:i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;28154:634:0;;;;;;;;;;;;;;;;;55635:20;;;:::i;55831:294::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55831:294:0;;:::i;51426:138::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;51426:138:0;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;51426:138:0;;;;;;;;;;;;;;50387:139;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50387:139:0;;;;;;-1:-1:-1;;;;;50387:139:0;;:::i;55715:52::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55715:52:0;;:::i;49132:49::-;;;:::i;28861:311::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;28861:311:0;;;;;;;;;;:::i;55662:46::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;55662:46:0;;:::i;50700:127::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;50700:127:0;;:::i;55134:62::-;;;:::i;52601:230::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52601:230:0;;;;;;-1:-1:-1;;;;;52601:230:0;;:::i;27515:97::-;;;:::i;29244:198::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;29244:198:0;;;;;;;;;;:::i;56532:557::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;56532:557:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;29514:924::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;29514:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;29514:924:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;29514:924:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;29514:924:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;29514:924:0;;-1:-1:-1;29514:924:0;;-1:-1:-1;;;;;29514:924:0:i;27765:223::-;27843:7;-1:-1:-1;;;;;27871:21:0;;27863:77;;;;-1:-1:-1;;;27863:77:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27958:13:0;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;27958:22:0;;;;;;;;;;27765:223;;;;;:::o;10353:142::-;-1:-1:-1;;;;;;10454:33:0;;10430:4;10454:33;;;;;;;;;;;;;10353:142;;;;:::o;27122:145::-;27231:4;27213:46;;;;;;;;;;;;;-1:-1:-1;;27213:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;27180:13;;27213:46;;;;27231:4;;27213:46;;27231:4;27213:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27237:21;27254:3;27237:16;:21::i;:::-;27213:17;:46::i;57097:350::-;55172:24;;;-1:-1:-1;;;55172:24:0;;;;;;;;;;;;57177:34;;57198:12;:10;:12::i;:::-;57177:7;:34::i;:::-;57169:69;;;;;-1:-1:-1;;;57169:69:0;;;;;;;;;;;;-1:-1:-1;;;57169:69:0;;;;;;;;;;;;;;;57294:15;;;;:11;:15;;;;;;;;;57257:17;:21;;;;;;;:33;;57283:6;57257:33;:25;:33;:::i;:::-;:52;;57249:86;;;;;-1:-1:-1;;;57249:86:0;;;;;;;;;;;;-1:-1:-1;;;57249:86:0;;;;;;;;;;;;;;;57370:21;;;;:17;:21;;;;;;:33;;57396:6;57370:33;:25;:33;:::i;:::-;57346:17;:21;57364:2;57346:21;;;;;;;;;;;:57;;;;57414:25;57420:2;57424;57428:6;57414:25;;;;;;;;;;;;:5;:25::i;:::-;57097:350;;;:::o;56137:383::-;56295:4;56320:41;56295:4;56348:12;:10;:12::i;56320:41::-;56312:76;;;;;-1:-1:-1;;;56312:76:0;;;;;;;;;;;;-1:-1:-1;;;56312:76:0;;;;;;;;;;;;;;;56419:71;;;;;;;;56427:8;56419:71;;;;56437:7;56419:71;;;;56446:6;56419:71;;;;56454:6;56419:71;;;;56462:19;56476:4;56462:9;:13;;:19;;;;:::i;:::-;56419:71;;;;56483:6;56419:71;;;56399:8;56408:7;56399:17;;;;;;;;;;;;;;;;;;:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56508:4;56501:11;;56137:383;;;;;;;;;:::o;51753:114::-;51810:7;51837:12;;;:6;:12;;;;;:22;;;;51753:114::o;55400:25::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55400:25:0;;;;;:::o;30515:1220::-;30780:7;:14;30766:3;:10;:28;30758:81;;;;-1:-1:-1;;;30758:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30858:16:0;;30850:66;;;;-1:-1:-1;;;30850:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30957:12;:10;:12::i;:::-;-1:-1:-1;;;;;30949:20:0;:4;-1:-1:-1;;;;;30949:20:0;;:60;;;;30973:36;30990:4;30996:12;:10;:12::i;:::-;30973:16;:36::i;:::-;30927:160;;;;-1:-1:-1;;;30927:160:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31100:16;31119:12;:10;:12::i;:::-;31100:31;;31144:60;31165:8;31175:4;31181:2;31185:3;31190:7;31199:4;31144:20;:60::i;:::-;31222:9;31217:358;31241:3;:10;31237:1;:14;31217:358;;;31273:10;31286:3;31290:1;31286:6;;;;;;;;;;;;;;31273:19;;31307:14;31324:7;31332:1;31324:10;;;;;;;;;;;;;;31307:27;;31373:126;31415:6;31373:126;;;;;;;;;;;;;;;;;:9;:13;31383:2;31373:13;;;;;;;;;;;:19;31387:4;-1:-1:-1;;;;;31373:19:0;-1:-1:-1;;;;;31373:19:0;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;31351:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31351:19:0;;;;;;;;;;:148;;;;31534:17;;;;;;:29;;31556:6;31534:21;:29::i;:::-;31514:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;31514:17:0;;;;;;;;;;:49;-1:-1:-1;31253:3:0;31217:358;;;;31622:2;-1:-1:-1;;;;;31592:47:0;31616:4;-1:-1:-1;;;;;31592:47:0;31606:8;-1:-1:-1;;;;;31592:47:0;;31626:3;31631:7;31592:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;31592:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;31592:47:0;;;;;;;;;;;;;;;;;;;31652:75;31688:8;31698:4;31704:2;31708:3;31713:7;31722:4;31652:35;:75::i;:::-;30515:1220;;;;;;:::o;52129:227::-;52221:12;;;;:6;:12;;;;;:22;;;52213:45;;52245:12;:10;:12::i;52213:45::-;52205:105;;;;-1:-1:-1;;;52205:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52323:25;52334:4;52340:7;52323:10;:25::i;:::-;52129:227;;:::o;53338:209::-;53436:12;:10;:12::i;:::-;-1:-1:-1;;;;;53425:23:0;:7;-1:-1:-1;;;;;53425:23:0;;53417:83;;;;-1:-1:-1;;;53417:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53513:26;53525:4;53531:7;53513:11;:26::i;28154:634::-;28318:16;28379:3;:10;28360:8;:15;:29;28352:83;;;;-1:-1:-1;;;28352:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28448:30;28495:8;:15;28481:30;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;28481:30:0;-1:-1:-1;28448:63:0;-1:-1:-1;28529:9:0;28524:224;28548:8;:15;28544:1;:19;28524:224;;;28616:1;-1:-1:-1;;;;;28593:25:0;:8;28602:1;28593:11;;;;;;;;;;;;;;-1:-1:-1;;;;;28593:25:0;;;28585:87;;;;-1:-1:-1;;;28585:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28706:9;:17;28716:3;28720:1;28716:6;;;;;;;;;;;;;;28706:17;;;;;;;;;;;:30;28724:8;28733:1;28724:11;;;;;;;;;;;;;;-1:-1:-1;;;;;28706:30:0;-1:-1:-1;;;;;28706:30:0;;;;;;;;;;;;;28687:13;28701:1;28687:16;;;;;;;;;;;;;;;;;:49;28565:3;;28524:224;;;-1:-1:-1;28767:13:0;28154:634;-1:-1:-1;;;28154:634:0:o;55635:20::-;;;;:::o;55831:294::-;55889:7;55898;55907;55916;55925;55934;55954:23;55980:8;55989:7;55980:17;;;;;;;;;;;;;;;;;;;;;56016:16;;56034:15;;;;56051:14;;;;56067;;;;56083:17;;;;56102:14;;;;;56016:16;;56034:15;;-1:-1:-1;56051:14:0;;-1:-1:-1;56067:14:0;-1:-1:-1;56083:17:0;;-1:-1:-1;56102:14:0;-1:-1:-1;55831:294:0;-1:-1:-1;;;55831:294:0:o;51426:138::-;51499:7;51526:12;;;:6;:12;;;;;:30;;51550:5;51526:30;:23;:30;:::i;:::-;51519:37;51426:138;-1:-1:-1;;;51426:138:0:o;50387:139::-;50456:4;50480:12;;;:6;:12;;;;;:38;;50510:7;50480:38;:29;:38;:::i;55715:52::-;;;;;;;;;;;;;:::o;49132:49::-;49177:4;49132:49;:::o;28861:311::-;28980:8;-1:-1:-1;;;;;28964:24:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;28964:24:0;;;28956:78;;;;-1:-1:-1;;;28956:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29092:8;29047:18;:32;29066:12;:10;:12::i;:::-;-1:-1:-1;;;;;29047:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;29047:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;29047:53:0;;;;;;;;;;;29131:12;:10;:12::i;:::-;29116:48;;;;;;;;;;-1:-1:-1;;;;;29116:48:0;;;;;;;;;;;;;;28861:311;;:::o;55662:46::-;;;;;;;;;;;;;:::o;50700:127::-;50763:7;50790:12;;;:6;:12;;;;;:29;;:27;:29::i;55134:62::-;55172:24;;;-1:-1:-1;;;55172:24:0;;;;;;;;;;;;55134:62;:::o;52601:230::-;52694:12;;;;:6;:12;;;;;:22;;;52686:45;;52718:12;:10;:12::i;52686:45::-;52678:106;;;;-1:-1:-1;;;52678:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27515:97;27559:13;27592:12;;;;;;;;;;;;;;;;;27585:19;;27515:97;:::o;29244:198::-;-1:-1:-1;;;;;29396:28:0;;;29335:4;29396:28;;;:18;:28;;;;;;;;:38;;;;;;;;;;;;;;;29244:198::o;56532:557::-;56686:7;56714:41;56686:7;56742:12;:10;:12::i;56714:41::-;56706:76;;;;;-1:-1:-1;;;56706:76:0;;;;;;;;;;;;-1:-1:-1;;;56706:76:0;;;;;;;;;;;;;;;56813:1;56801:9;:13;56793:53;;;;;-1:-1:-1;;;56793:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56865:5;;:12;;56875:1;56865:12;:9;:12;:::i;:::-;56857:5;:20;;;56888:18;;;;:11;:18;;;;;;;;;:30;;;56944:5;;56934:27;;;;;;;;;;;;;;;;;;;;;;;;56972:8;56986:71;;;;;;;;56994:8;56986:71;;;;57004:7;56986:71;;;;57013:6;56986:71;;;;57021:6;56986:71;;;;57029:19;57043:4;57029:9;:13;;:19;;;;:::i;:::-;56986:71;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;-1:-1;56972:86:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57076:5;;-1:-1:-1;56532:557:0;;;;;;;;;:::o;29514:924::-;-1:-1:-1;;;;;29740:16:0;;29732:66;;;;-1:-1:-1;;;29732:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29839:12;:10;:12::i;:::-;-1:-1:-1;;;;;29831:20:0;:4;-1:-1:-1;;;;;29831:20:0;;:60;;;;29855:36;29872:4;29878:12;:10;:12::i;29855:36::-;29809:151;;;;-1:-1:-1;;;29809:151:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29973:16;29992:12;:10;:12::i;:::-;29973:31;;30017:96;30038:8;30048:4;30054:2;30058:21;30076:2;30058:17;:21::i;:::-;30081:25;30099:6;30081:17;:25::i;:::-;30108:4;30017:20;:96::i;:::-;30148:77;30172:6;30148:77;;;;;;;;;;;;;;;;;:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;30148:19:0;;;;;;;;;;;:77;;:23;:77;:::i;:::-;30126:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;30126:19:0;;;;;;;;;;:99;;;;30256:17;;;;;;:29;;30278:6;30256:21;:29::i;:::-;30236:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;30236:17:0;;;;;;;;;;;;;:49;;;;30303:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30362:68;30393:8;30403:4;30409:2;30413;30417:6;30425:4;30362:30;:68::i;24026:482::-;24076:27;24120:7;24116:50;;-1:-1:-1;24144:10:0;;;;;;;;;;;;-1:-1:-1;;;24144:10:0;;;;;;24116:50;24185:2;24176:6;24217:69;24224:6;;24217:69;;24247:5;;24272:2;24267:7;;;;24217:69;;;24296:17;24326:3;24316:14;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;24316:14:0;87:34:-1;135:17;;-1:-1;24316:14:0;-1:-1:-1;24296:34:0;-1:-1:-1;;;24350:7:0;;24368:103;24375:7;;24368:103;;24432:2;24427;:7;24422:2;:12;24411:25;;24399:4;24404:3;;;;;;;24399:9;;;;;;;;;;;:37;-1:-1:-1;;;;;24399:37:0;;;;;;;;-1:-1:-1;24457:2:0;24451:8;;;;24368:103;;;-1:-1:-1;24495:4:0;24026:482;-1:-1:-1;;;;24026:482:0:o;23870:148::-;23948:13;23981:29;23991:2;23995;23981:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:9;:29::i;8681:106::-;8769:10;8681:106;:::o;12011:181::-;12069:7;12101:5;;;12125:6;;;;12117:46;;;;;-1:-1:-1;;;12117:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;33063:583;-1:-1:-1;;;;;33178:21:0;;33170:67;;;;-1:-1:-1;;;33170:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33250:16;33269:12;:10;:12::i;:::-;33250:31;;33294:107;33315:8;33333:1;33337:7;33346:21;33364:2;33346:17;:21::i;33294:107::-;33439:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;33439:22:0;;;;;;;;;;:34;;33466:6;33439:34;:26;:34;:::i;:::-;33414:13;;;;:9;:13;;;;;;;;-1:-1:-1;;;;;33414:22:0;;;;;;;;;;;;:59;;;;33489:57;;;;;;;;;;;;;33414:22;;33489:57;;;;;;;;;;;;33559:79;33590:8;33608:1;33612:7;33621:2;33625:6;33633:4;33559:30;:79::i;:::-;33063:583;;;;;:::o;13365:471::-;13423:7;13668:6;13664:47;;-1:-1:-1;13698:1:0;13691:8;;13664:47;13735:5;;;13739:1;13735;:5;:1;13759:5;;;;;:10;13751:56;;;;-1:-1:-1;;;13751:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12914:192;13000:7;13036:12;13028:6;;;;13020:29;;;;-1:-1:-1;;;13020:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;13020:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;13072:5:0;;;12914:192::o;38421:799::-;38675:15;:2;-1:-1:-1;;;;;38675:13:0;;:15::i;:::-;38671:542;;;38728:2;-1:-1:-1;;;;;38711:43:0;;38755:8;38765:4;38771:3;38776:7;38785:4;38711:79;;;;;;;;;;;;;-1:-1:-1;;;;;38711:79:0;-1:-1:-1;;;;;38711:79:0;;;;;;-1:-1:-1;;;;;38711:79:0;-1:-1:-1;;;;;38711:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38711:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38711:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;38711:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38711:79:0;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;38711:79:0;;;38707:495;;20:4:-1;14:11;38707:495:0;30:15:-1;;93:4;75:16;72:26;69:2;;;-1:-1;109:1;111:5;;69:2;145:1;142;139;124:23;179:1;173:8;168:3;164:18;206:10;201:3;198:19;188:2;;229:1;221:9;;231:5;;;188:2;290:1;272:16;268:24;265:1;259:4;244:49;319:4;313:11;403:16;396:4;388:6;384:17;381:39;354:18;346:6;343:30;333:94;330:2;;;444:1;436:9;;452:5;;;;330:2;491:6;485:4;481:17;524:3;518:10;548:18;540:6;537:30;534:2;;;578:1;570:9;;580:5;;;;;;534:2;624:6;617:4;612:3;608:14;604:27;658:16;652:4;648:27;643:3;640:36;637:2;;;687:1;679:9;;689:5;;;;;;;637:2;739:4;719:14;-1:-1;;715:30;709:4;702:44;-1:-1;760:3;-1:-1;;;50:730;38707:495:0;;;;;;;39068:14;;-1:-1:-1;;;39068:14:0;;;;;;;;;;;;;;;;;39075:6;;39068:14;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;38707:495:0;39124:62;;-1:-1:-1;;;39124:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38707:495;-1:-1:-1;;;;;;38840:64:0;;-1:-1:-1;;;38840:64:0;38836:163;;38929:50;;-1:-1:-1;;;38929:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38836:163;38791:223;38421:799;;;;;;:::o;54581:188::-;54655:12;;;;:6;:12;;;;;:33;;54680:7;54655:33;:24;:33;:::i;:::-;54651:111;;;54737:12;:10;:12::i;:::-;-1:-1:-1;;;;;54710:40:0;54728:7;-1:-1:-1;;;;;54710:40:0;54722:4;54710:40;;;;;;;;;;54581:188;;:::o;54777:192::-;54852:12;;;;:6;:12;;;;;:36;;54880:7;54852:36;:27;:36;:::i;:::-;54848:114;;;54937:12;:10;:12::i;:::-;-1:-1:-1;;;;;54910:40:0;54928:7;-1:-1:-1;;;;;54910:40:0;54922:4;54910:40;;;;;;;;;;54777:192;;:::o;45701:149::-;45775:7;45818:22;45822:3;45834:5;45818:3;:22::i;44996:158::-;45076:4;45100:46;45110:3;-1:-1:-1;;;;;45130:14:0;;45100:9;:46::i;45240:117::-;45303:7;45330:19;45338:3;45330:7;:19::i;39228:198::-;39348:16;;;39362:1;39348:16;;;;;;;;;39294;;;;39348;;;;;;;105:10:-1;39348:16:0;88:34:-1;136:17;;-1:-1;39348:16:0;39323:41;;39386:7;39375:5;39381:1;39375:8;;;;;;;;;;;;;;;;;:18;39413:5;39228:198;-1:-1:-1;;39228:198:0:o;37651:762::-;37880:15;:2;-1:-1:-1;;;;;37880:13:0;;:15::i;:::-;37876:530;;;37933:2;-1:-1:-1;;;;;37916:38:0;;37955:8;37965:4;37971:2;37975:6;37983:4;37916:72;;;;;;;;;;;;;-1:-1:-1;;;;;37916:72:0;-1:-1:-1;;;;;37916:72:0;;;;;;-1:-1:-1;;;;;37916:72:0;-1:-1:-1;;;;;37916:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;37916:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37916:72:0;;;;;;;;;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;37916:72:0;;;37912:483;;20:4:-1;14:11;37912:483:0;30:15:-1;;93:4;75:16;72:26;69:2;;;-1:-1;109:1;111:5;;37912:483:0;-1:-1:-1;;;;;;38038:59:0;;-1:-1:-1;;;38038:59:0;38034:158;;38122:50;;-1:-1:-1;;;38122:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22624:872;22756:13;22780:16;22805:2;22780:28;;22817:16;22842:2;22817:28;;22854:16;22879:2;22854:28;;22891:16;22916:2;22891:28;;22928:16;22953:2;22928:28;;22965:19;23050:3;:10;23037:3;:10;23024:3;:10;23011:3;:10;22998:3;:10;:23;:36;:49;:62;22987:74;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;104:10;22987:74:0;87:34:-1;135:17;;-1:-1;22987:74:0;-1:-1:-1;22965:96:0;-1:-1:-1;22965:96:0;23113:6;;23132:58;23153:3;:10;23149:1;:14;23132:58;;;23184:3;23188:1;23184:6;;;;;;;;;;;;;;;;23170;23177:3;;;;;;23170:11;;;;;;;;;;;:20;-1:-1:-1;;;;;23170:20:0;;;;;;;;-1:-1:-1;23165:3:0;;23132:58;;;-1:-1:-1;23204:6:0;23199:58;23220:3;:10;23216:1;:14;23199:58;;;23251:3;23255:1;23251:6;;;;;;;;;;;;;;;;23237;23244:3;;;;;;23237:11;;;;;;;;;;;:20;-1:-1:-1;;;;;23237:20:0;;;;;;;;-1:-1:-1;23232:3:0;;23199:58;;;-1:-1:-1;23271:6:0;23266:58;23287:3;:10;23283:1;:14;23266:58;;;23318:3;23322:1;23318:6;;;;;;;;;;;;;;;;23304;23311:3;;;;;;23304:11;;;;;;;;;;;:20;-1:-1:-1;;;;;23304:20:0;;;;;;;;-1:-1:-1;23299:3:0;;23266:58;;;-1:-1:-1;23338:6:0;23333:58;23354:3;:10;23350:1;:14;23333:58;;;23385:3;23389:1;23385:6;;;;;;;;;;;;;;;;23371;23378:3;;;;;;23371:11;;;;;;;;;;;:20;-1:-1:-1;;;;;23371:20:0;;;;;;;;-1:-1:-1;23366:3:0;;23333:58;;;-1:-1:-1;23405:6:0;23400:58;23421:3;:10;23417:1;:14;23400:58;;;23452:3;23456:1;23452:6;;;;;;;;;;;;;;;;23438;23445:3;;;;;;23438:11;;;;;;;;;;;:20;-1:-1:-1;;;;;23438:20:0;;;;;;;;-1:-1:-1;23433:3:0;;23400:58;;;-1:-1:-1;23481:6:0;;22624:872;-1:-1:-1;;;;;;;;;;;;;22624:872:0:o;17213:422::-;17580:20;17619:8;;;17213:422::o;44442:143::-;44512:4;44536:41;44541:3;-1:-1:-1;;;;;44561:14:0;;44536:4;:41::i;44761:149::-;44834:4;44858:44;44866:3;-1:-1:-1;;;;;44886:14:0;;44858:7;:44::i;43984:204::-;44079:18;;44051:7;;44079:26;-1:-1:-1;44071:73:0;;;;-1:-1:-1;;;44071:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44162:3;:11;;44174:5;44162:18;;;;;;;;;;;;;;;;44155:25;;43984:204;;;;:::o;43316:129::-;43389:4;43413:19;;;:12;;;;;:19;;;;;;:24;;;43316:129::o;43531:109::-;43614:18;;43531:109::o;41096:414::-;41159:4;41181:21;41191:3;41196:5;41181:9;:21::i;:::-;41176:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;41219:11:0;:23;;;;;;;;;;;;;41402:18;;41380:19;;;:12;;;:19;;;;;;:40;;;;41435:11;;41176:327;-1:-1:-1;41486:5:0;41479:12;;41686:1544;41752:4;41891:19;;;:12;;;:19;;;;;;41927:15;;41923:1300;;42362:18;;-1:-1:-1;;42313:14:0;;;;42362:22;;;;42289:21;;42362:3;;:22;;42649;;;;;;;;;;;;;;42629:42;;42795:9;42766:3;:11;;42778:13;42766:26;;;;;;;;;;;;;;;;;;;:38;;;;42872:23;;;42914:1;42872:12;;;:23;;;;;;42898:17;;;42872:43;;43024:17;;42872:3;;43024:17;;;;;;;;;;;;;;;;;;;;;;43119:3;:12;;:19;43132:5;43119:19;;;;;;;;;;;43112:26;;;43162:4;43155:11;;;;;;;;41923:1300;43206:5;43199:12;;;;
Swarm Source
ipfs://56b619354398c316914f0b26478a675a9d111bac469628809b6bb857244252a4
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.