Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
555
Holders
408
Total Transfers
-
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:
WenWLRuby
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; contract WenWLRuby is ERC1155Supply, Ownable{ uint256 public constant RUBY_SUPPLY = 555; uint256 public constant RUBY = 0; uint256 public RUBY_PRICE = 0.25 ether; uint256 public constant RUBY_FOR_TEAM = 51; uint256 public constant RUBY_LIMIT = 1; //Create Setters for status bool public RUBY_IS_ACTIVE = false; bool public RUBYPUBLIC_IS_ACTIVE = false; //Make setters for the RUBY bytes32 rubyRoot; mapping(address => uint256) addressBlockBought; mapping (address => uint256) public mintedRuby; mapping (address => uint256) public mintedPublicRuby; string private _baseUri; address public constant ADDRESS_2 = 0xc9b5553910bA47719e0202fF9F617B8BE06b3A09; //ROYAL LABS address public constant ADDRESS_1 = 0x8975b2c67Cffc4498D927B0B18C7c9030512672B; // WENWL TEAM address signer; constructor() ERC1155("https://rl.mypinata.cloud/ipfs/QmdjBkKwrHYsW3gJpw2Wzwqssuad8zocNgL1fkeZz5GJx1/") {} modifier isSecured(uint8 mintType) { require(addressBlockBought[msg.sender] < block.timestamp, "CANNOT_MINT_ON_THE_SAME_BLOCK"); require(tx.origin == msg.sender,"CONTRACTS_NOT_ALLOWED_TO_MINT"); if(mintType == 1) { require(RUBY_IS_ACTIVE, "RUBY_MINT_IS_NOT_YET_ACTIVE"); } if(mintType == 2) { require(RUBYPUBLIC_IS_ACTIVE, "RUBY_PUBLIC_MINT_IS_NOT_YET_ACTIVE"); } _; } function uri(uint256 _id) public view virtual override returns (string memory) { return string(abi.encodePacked(_baseUri, Strings.toString(_id))); } // Ruby Mint Function WL function mintRuby(bytes32[] memory proof) external isSecured(1) payable{ bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(proof, rubyRoot, leaf),"PROOF_INVALID"); require(1 + totalSupply(RUBY) <= RUBY_SUPPLY,"NOT_ENOUGH_PRESALE_SUPPLY"); require(mintedRuby[msg.sender] + 1 <= RUBY_LIMIT,"MINTED_RUBY_ALREADY"); require(msg.value == RUBY_PRICE , "WRONG_ETH_VALUE"); addressBlockBought[msg.sender] = block.timestamp; mintedRuby[msg.sender] += 1; _mint(msg.sender, RUBY, 1, ""); } // Ruby Mint Function Public function mintRubyPublic(uint64 expireTime, bytes memory sig) external isSecured(2) payable{ bytes32 digest = keccak256(abi.encodePacked(msg.sender,expireTime)); require(isAuthorized(sig,digest),"CONTRACT_MINT_NOT_ALLOWED"); require(1 + totalSupply(RUBY) <= RUBY_SUPPLY,"NOT_ENOUGH_PRESALE_SUPPLY"); require(mintedPublicRuby[msg.sender] + 1 <= RUBY_LIMIT,"MINTED_RUBY_ALREADY"); require(msg.value == RUBY_PRICE , "WRONG_ETH_VALUE"); addressBlockBought[msg.sender] = block.timestamp; mintedPublicRuby[msg.sender] += 1; _mint(msg.sender, RUBY, 1, ""); } // Ruby Mint to owner's wallet for giveaway function mintRubyForTeam() external onlyOwner { require(totalSupply(RUBY) <= RUBY_SUPPLY,"EXCEED_MINT_LIMIT"); require(totalSupply(RUBY) <= RUBY_FOR_TEAM,"EXCEED_MINT_LIMIT"); _mint(msg.sender, RUBY, RUBY_FOR_TEAM, ""); } // Base URI function setBaseURI(string calldata URI) external onlyOwner { _baseUri = URI; } // Ruby's WL status function setRubyWLSaleStatus() external onlyOwner { RUBY_IS_ACTIVE = !RUBY_IS_ACTIVE; } // Ruby PUblic Sale Status function setRubyPublicSaleStatus() external onlyOwner { RUBYPUBLIC_IS_ACTIVE = !RUBYPUBLIC_IS_ACTIVE; } function setPresaleRoot(bytes32 _rubyRoot) external onlyOwner { rubyRoot = _rubyRoot; } function setSigner(address _signer) external onlyOwner{ signer = _signer; } function setRubyPrice(uint256 _rubyPrice) external onlyOwner { RUBY_PRICE = _rubyPrice; } function isAuthorized(bytes memory sig,bytes32 digest) private view returns (bool) { return ECDSA.recover(digest, sig) == signer; } //Essential function withdraw() external onlyOwner { uint256 balance = address(this).balance; require(balance > 0, "No balance to withdraw"); payable(ADDRESS_2).transfer((balance * 1500) / 10000); payable(ADDRESS_1).transfer(address(this).balance); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates weither any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_mint}. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual override { super._mint(account, id, amount, data); _totalSupply[id] += amount; } /** * @dev See {ERC1155-_mintBatch}. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._mintBatch(to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } /** * @dev See {ERC1155-_burn}. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual override { super._burn(account, id, amount); _totalSupply[id] -= amount; } /** * @dev See {ERC1155-_burnBatch}. */ function _burnBatch( address account, uint256[] memory ids, uint256[] memory amounts ) internal virtual override { super._burnBatch(account, ids, amounts); for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { 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 virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` 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] += 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 (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `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), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } 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 (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } 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.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"ADDRESS_1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ADDRESS_2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBYPUBLIC_IS_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY_FOR_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY_IS_ACTIVE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RUBY_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","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":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintRuby","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRubyForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"expireTime","type":"uint64"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"mintRubyPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPublicRuby","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedRuby","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_rubyRoot","type":"bytes32"}],"name":"setPresaleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rubyPrice","type":"uint256"}],"name":"setRubyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRubyPublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setRubyWLSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","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":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526703782dace9d900006005556006805461ffff191690553480156200002857600080fd5b506040518060800160405280604e815260200162002e4f604e91396200004e8162000060565b506200005a3362000079565b620001ad565b805162000075906002906020840190620000cb565b5050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000d99062000171565b90600052602060002090601f016020900481019282620000fd576000855562000148565b82601f106200011857805160ff191683800117855562000148565b8280016001018555821562000148579182015b82811115620001485782518255916020019190600101906200012b565b50620001569291506200015a565b5090565b5b808211156200015657600081556001016200015b565b600181811c908216806200018657607f821691505b602082108103620001a757634e487b7160e01b600052602260045260246000fd5b50919050565b612c9280620001bd6000396000f3fe6080604052600436106101f85760003560e01c80638af994fd1161010d578063d6ade1e7116100a0578063f242432a1161006f578063f242432a146105d8578063f2f61d59146105f8578063f2fde38b1461060d578063f3c58d821461062d578063f7cb7e571461065a57600080fd5b8063d6ade1e714610535578063d874cf9614610548578063de97536b14610567578063e985e9c51461058f57600080fd5b8063b658b60f116100dc578063b658b60f146104c0578063b9d2f009146104e0578063bd85b039146104f5578063d31969e81461052257600080fd5b80638af994fd146104315780638da5cb5b14610446578063a22cb46514610478578063b08da3421461049857600080fd5b806338ce1d3411610190578063539948ec1161015f578063539948ec146103a757806355f804b3146103c75780636c19e783146103e7578063715018a6146104075780637ca45d9e1461041c57600080fd5b806338ce1d34146103215780633ccfd60b146103365780634e1273f41461034b5780634f558e791461037857600080fd5b80630d5cc340116101cc5780630d5cc3401461028b5780630e89341c146102b8578063144b289f146102e55780632eb2c2d6146102ff57600080fd5b8062fdd58e146101fd57806301ffc9a7146102305780630270fdb4146102605780630cf64bbb14610276575b600080fd5b34801561020957600080fd5b5061021d610218366004612167565b610670565b6040519081526020015b60405180910390f35b34801561023c57600080fd5b5061025061024b3660046121a7565b61070a565b6040519015158152602001610227565b34801561026c57600080fd5b5061021d61022b81565b34801561028257600080fd5b5061021d600081565b34801561029757600080fd5b5061021d6102a63660046121cb565b60096020526000908152604090205481565b3480156102c457600080fd5b506102d86102d33660046121e6565b61075a565b6040516102279190612257565b3480156102f157600080fd5b506006546102509060ff1681565b34801561030b57600080fd5b5061031f61031a3660046123b6565b61078e565b005b34801561032d57600080fd5b5061021d603381565b34801561034257600080fd5b5061031f610825565b34801561035757600080fd5b5061036b610366366004612460565b610934565b6040516102279190612566565b34801561038457600080fd5b506102506103933660046121e6565b600090815260036020526040902054151590565b3480156103b357600080fd5b5061031f6103c23660046121e6565b610a5e565b3480156103d357600080fd5b5061031f6103e2366004612579565b610a8d565b3480156103f357600080fd5b5061031f6104023660046121cb565b610ac8565b34801561041357600080fd5b5061031f610b14565b34801561042857600080fd5b5061031f610b4a565b34801561043d57600080fd5b5061031f610b91565b34801561045257600080fd5b506004546001600160a01b03165b6040516001600160a01b039091168152602001610227565b34801561048457600080fd5b5061031f6104933660046125eb565b610c93565b3480156104a457600080fd5b50610460738975b2c67cffc4498d927b0b18c7c9030512672b81565b3480156104cc57600080fd5b5061031f6104db3660046121e6565b610d69565b3480156104ec57600080fd5b5061021d600181565b34801561050157600080fd5b5061021d6105103660046121e6565b60009081526003602052604090205490565b61031f610530366004612627565b610d98565b61031f610543366004612676565b6110e7565b34801561055457600080fd5b5060065461025090610100900460ff1681565b34801561057357600080fd5b5061046073c9b5553910ba47719e0202ff9f617b8be06b3a0981565b34801561059b57600080fd5b506102506105aa366004612712565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105e457600080fd5b5061031f6105f3366004612745565b61140f565b34801561060457600080fd5b5061031f611496565b34801561061957600080fd5b5061031f6106283660046121cb565b6114d4565b34801561063957600080fd5b5061021d6106483660046121cb565b600a6020526000908152604090205481565b34801561066657600080fd5b5061021d60055481565b60006001600160a01b0383166106e15760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061073b57506001600160e01b031982166303a24d0760e21b145b8061070457506301ffc9a760e01b6001600160e01b0319831614610704565b6060600b6107678361156f565b604051602001610778929190612800565b6040516020818303038152906040529050919050565b6001600160a01b0385163314806107aa57506107aa85336105aa565b6108115760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106d8565b61081e8585858585611678565b5050505050565b6004546001600160a01b0316331461084f5760405162461bcd60e51b81526004016106d89061289d565b47806108965760405162461bcd60e51b81526020600482015260166024820152754e6f2062616c616e636520746f20776974686472617760501b60448201526064016106d8565b73c9b5553910ba47719e0202ff9f617b8be06b3a096108fc6127106108bd846105dc6128e8565b6108c7919061291d565b6040518115909202916000818181858888f193505050501580156108ef573d6000803e3d6000fd5b50604051738975b2c67cffc4498d927b0b18c7c9030512672b904780156108fc02916000818181858888f19350505050158015610930573d6000803e3d6000fd5b5050565b606081518351146109995760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016106d8565b6000835167ffffffffffffffff8111156109b5576109b561226a565b6040519080825280602002602001820160405280156109de578160200160208202803683370190505b50905060005b8451811015610a5657610a29858281518110610a0257610a02612931565b6020026020010151858381518110610a1c57610a1c612931565b6020026020010151610670565b828281518110610a3b57610a3b612931565b6020908102919091010152610a4f81612947565b90506109e4565b509392505050565b6004546001600160a01b03163314610a885760405162461bcd60e51b81526004016106d89061289d565b600555565b6004546001600160a01b03163314610ab75760405162461bcd60e51b81526004016106d89061289d565b610ac3600b83836120b2565b505050565b6004546001600160a01b03163314610af25760405162461bcd60e51b81526004016106d89061289d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314610b3e5760405162461bcd60e51b81526004016106d89061289d565b610b486000611855565b565b6004546001600160a01b03163314610b745760405162461bcd60e51b81526004016106d89061289d565b6006805461ff001981166101009182900460ff1615909102179055565b6004546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016106d89061289d565b600080526003602052600080516020612c3d8339815191525461022b1015610c195760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d352539517d312535255607a1b60448201526064016106d8565b600080526003602052600080516020612c3d8339815191525460331015610c765760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d352539517d312535255607a1b60448201526064016106d8565b610b483360006033604051806020016040528060008152506118a7565b6001600160a01b0382163303610cfd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016106d8565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03163314610d935760405162461bcd60e51b81526004016106d89061289d565b600755565b336000908152600860205260409020546002904211610df95760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b00000060448201526064016106d8565b323314610e485760405162461bcd60e51b815260206004820152601d60248201527f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e5400000060448201526064016106d8565b8060ff16600103610ea55760065460ff16610ea55760405162461bcd60e51b815260206004820152601b60248201527f525542595f4d494e545f49535f4e4f545f5945545f414354495645000000000060448201526064016106d8565b8060ff16600203610ed757600654610100900460ff16610ed75760405162461bcd60e51b81526004016106d890612960565b6040516bffffffffffffffffffffffff193360601b1660208201526001600160c01b031960c085901b166034820152600090603c01604051602081830303815290604052805190602001209050610f2e83826118dc565b610f7a5760405162461bcd60e51b815260206004820152601960248201527f434f4e54524143545f4d494e545f4e4f545f414c4c4f5745440000000000000060448201526064016106d8565b600080526003602052600080516020612c3d8339815191525461022b90610fa29060016129a2565b1115610fec5760405162461bcd60e51b81526020600482015260196024820152784e4f545f454e4f5547485f50524553414c455f535550504c5960381b60448201526064016106d8565b336000908152600a602052604090205460019061100990826129a2565b111561104d5760405162461bcd60e51b81526020600482015260136024820152724d494e5445445f525542595f414c524541445960681b60448201526064016106d8565b60055434146110905760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b60448201526064016106d8565b336000908152600860209081526040808320429055600a90915281208054600192906110bd9084906129a2565b925050819055506110e13360006001604051806020016040528060008152506118a7565b50505050565b3360009081526008602052604090205460019042116111485760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b00000060448201526064016106d8565b3233146111975760405162461bcd60e51b815260206004820152601d60248201527f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e5400000060448201526064016106d8565b8060ff166001036111f45760065460ff166111f45760405162461bcd60e51b815260206004820152601b60248201527f525542595f4d494e545f49535f4e4f545f5945545f414354495645000000000060448201526064016106d8565b8060ff1660020361122657600654610100900460ff166112265760405162461bcd60e51b81526004016106d890612960565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061126c8360075483611906565b6112a85760405162461bcd60e51b815260206004820152600d60248201526c141493d3d197d2539590531251609a1b60448201526064016106d8565b600080526003602052600080516020612c3d8339815191525461022b906112d09060016129a2565b111561131a5760405162461bcd60e51b81526020600482015260196024820152784e4f545f454e4f5547485f50524553414c455f535550504c5960381b60448201526064016106d8565b3360009081526009602052604090205460019061133790826129a2565b111561137b5760405162461bcd60e51b81526020600482015260136024820152724d494e5445445f525542595f414c524541445960681b60448201526064016106d8565b60055434146113be5760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b60448201526064016106d8565b336000908152600860209081526040808320429055600990915281208054600192906113eb9084906129a2565b92505081905550610ac33360006001604051806020016040528060008152506118a7565b6001600160a01b03851633148061142b575061142b85336105aa565b6114895760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106d8565b61081e85858585856119b5565b6004546001600160a01b031633146114c05760405162461bcd60e51b81526004016106d89061289d565b6006805460ff19811660ff90911615179055565b6004546001600160a01b031633146114fe5760405162461bcd60e51b81526004016106d89061289d565b6001600160a01b0381166115635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d8565b61156c81611855565b50565b6060816000036115965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115c057806115aa81612947565b91506115b99050600a8361291d565b915061159a565b60008167ffffffffffffffff8111156115db576115db61226a565b6040519080825280601f01601f191660200182016040528015611605576020820181803683370190505b5090505b84156116705761161a6001836129ba565b9150611627600a866129d1565b6116329060306129a2565b60f81b81838151811061164757611647612931565b60200101906001600160f81b031916908160001a905350611669600a8661291d565b9450611609565b949350505050565b81518351146116da5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106d8565b6001600160a01b0384166117005760405162461bcd60e51b81526004016106d8906129e5565b3360005b84518110156117e757600085828151811061172157611721612931565b60200260200101519050600085838151811061173f5761173f612931565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561178f5760405162461bcd60e51b81526004016106d890612a2a565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906117cc9084906129a2565b92505081905550505050806117e090612947565b9050611704565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611837929190612a74565b60405180910390a461184d818787878787611adb565b505050505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6118b384848484611c36565b600083815260036020526040812080548492906118d19084906129a2565b909155505050505050565b600c546000906001600160a01b03166118f58385611d37565b6001600160a01b0316149392505050565b600081815b85518110156119aa57600086828151811061192857611928612931565b6020026020010151905080831161196a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611997565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806119a281612947565b91505061190b565b509092149392505050565b6001600160a01b0384166119db5760405162461bcd60e51b81526004016106d8906129e5565b336119f48187876119eb88611dd9565b61081e88611dd9565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611a355760405162461bcd60e51b81526004016106d890612a2a565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611a729084906129a2565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ad2828888888888611e24565b50505050505050565b6001600160a01b0384163b1561184d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611b1f9089908990889088908890600401612a99565b6020604051808303816000875af1925050508015611b5a575060408051601f3d908101601f19168201909252611b5791810190612af7565b60015b611c0657611b66612b14565b806308c379a003611b9f5750611b7a612b30565b80611b855750611ba1565b8060405162461bcd60e51b81526004016106d89190612257565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016106d8565b6001600160e01b0319811663bc197c8160e01b14611ad25760405162461bcd60e51b81526004016106d890612bba565b6001600160a01b038416611c965760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106d8565b33611ca7816000876119eb88611dd9565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611cd79084906129a2565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461081e81600087878787611e24565b60008151604103611d6a5760208201516040830151606084015160001a611d6086828585611edf565b9350505050610704565b8151604003611d915760208201516040830151611d88858383612088565b92505050610704565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106d8565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e1357611e13612931565b602090810291909101015292915050565b6001600160a01b0384163b1561184d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e689089908990889088908890600401612c02565b6020604051808303816000875af1925050508015611ea3575060408051601f3d908101601f19168201909252611ea091810190612af7565b60015b611eaf57611b66612b14565b6001600160e01b0319811663f23a6e6160e01b14611ad25760405162461bcd60e51b81526004016106d890612bba565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f5c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106d8565b8360ff16601b1480611f7157508360ff16601c145b611fc85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106d8565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561201c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661207f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106d8565b95945050505050565b60006001600160ff1b03821660ff83901c601b016120a886828785611edf565b9695505050505050565b8280546120be906127aa565b90600052602060002090601f0160209004810192826120e05760008555612126565b82601f106120f95782800160ff19823516178555612126565b82800160010185558215612126579182015b8281111561212657823582559160200191906001019061210b565b50612132929150612136565b5090565b5b808211156121325760008155600101612137565b80356001600160a01b038116811461216257600080fd5b919050565b6000806040838503121561217a57600080fd5b6121838361214b565b946020939093013593505050565b6001600160e01b03198116811461156c57600080fd5b6000602082840312156121b957600080fd5b81356121c481612191565b9392505050565b6000602082840312156121dd57600080fd5b6121c48261214b565b6000602082840312156121f857600080fd5b5035919050565b60005b8381101561221a578181015183820152602001612202565b838111156110e15750506000910152565b600081518084526122438160208601602086016121ff565b601f01601f19169290920160200192915050565b6020815260006121c4602083018461222b565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156122a6576122a661226a565b6040525050565b600067ffffffffffffffff8211156122c7576122c761226a565b5060051b60200190565b600082601f8301126122e257600080fd5b813560206122ef826122ad565b6040516122fc8282612280565b83815260059390931b850182019282810191508684111561231c57600080fd5b8286015b848110156123375780358352918301918301612320565b509695505050505050565b600082601f83011261235357600080fd5b813567ffffffffffffffff81111561236d5761236d61226a565b604051612384601f8301601f191660200182612280565b81815284602083860101111561239957600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156123ce57600080fd5b6123d78661214b565b94506123e56020870161214b565b9350604086013567ffffffffffffffff8082111561240257600080fd5b61240e89838a016122d1565b9450606088013591508082111561242457600080fd5b61243089838a016122d1565b9350608088013591508082111561244657600080fd5b5061245388828901612342565b9150509295509295909350565b6000806040838503121561247357600080fd5b823567ffffffffffffffff8082111561248b57600080fd5b818501915085601f83011261249f57600080fd5b813560206124ac826122ad565b6040516124b98282612280565b83815260059390931b85018201928281019150898411156124d957600080fd5b948201945b838610156124fe576124ef8661214b565b825294820194908201906124de565b9650508601359250508082111561251457600080fd5b50612521858286016122d1565b9150509250929050565b600081518084526020808501945080840160005b8381101561255b5781518752958201959082019060010161253f565b509495945050505050565b6020815260006121c4602083018461252b565b6000806020838503121561258c57600080fd5b823567ffffffffffffffff808211156125a457600080fd5b818501915085601f8301126125b857600080fd5b8135818111156125c757600080fd5b8660208285010111156125d957600080fd5b60209290920196919550909350505050565b600080604083850312156125fe57600080fd5b6126078361214b565b91506020830135801515811461261c57600080fd5b809150509250929050565b6000806040838503121561263a57600080fd5b823567ffffffffffffffff808216821461265357600080fd5b9092506020840135908082111561266957600080fd5b5061252185828601612342565b6000602080838503121561268957600080fd5b823567ffffffffffffffff8111156126a057600080fd5b8301601f810185136126b157600080fd5b80356126bc816122ad565b6040516126c98282612280565b82815260059290921b83018401918481019150878311156126e957600080fd5b928401925b82841015612707578335825292840192908401906126ee565b979650505050505050565b6000806040838503121561272557600080fd5b61272e8361214b565b915061273c6020840161214b565b90509250929050565b600080600080600060a0868803121561275d57600080fd5b6127668661214b565b94506127746020870161214b565b93506040860135925060608601359150608086013567ffffffffffffffff81111561279e57600080fd5b61245388828901612342565b600181811c908216806127be57607f821691505b6020821081036127de57634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127f68185602086016121ff565b9290920192915050565b600080845481600182811c91508083168061281c57607f831692505b6020808410820361283b57634e487b7160e01b86526022600452602486fd5b81801561284f57600181146128605761288d565b60ff1986168952848901965061288d565b60008b81526020902060005b868110156128855781548b82015290850190830161286c565b505084890196505b50505050505061207f81856127e4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612902576129026128d2565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261292c5761292c612907565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612959576129596128d2565b5060010190565b60208082526022908201527f525542595f5055424c49435f4d494e545f49535f4e4f545f5945545f41435449604082015261564560f01b606082015260800190565b600082198211156129b5576129b56128d2565b500190565b6000828210156129cc576129cc6128d2565b500390565b6000826129e0576129e0612907565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612a87604083018561252b565b828103602084015261207f818561252b565b6001600160a01b0386811682528516602082015260a060408201819052600090612ac59083018661252b565b8281036060840152612ad7818661252b565b90508281036080840152612aeb818561222b565b98975050505050505050565b600060208284031215612b0957600080fd5b81516121c481612191565b600060033d1115612b2d5760046000803e5060005160e01c5b90565b600060443d1015612b3e5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612b6e57505050505090565b8285019150815181811115612b865750505050505090565b843d8701016020828501011115612ba05750505050505090565b612baf60208286010187612280565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906127079083018461222b56fe3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92effa2646970667358221220ea69289e8bcda73bcc823c8501f0cae8951a81bc827ae2b10fc6c97a4f2289a564736f6c634300080d003368747470733a2f2f726c2e6d7970696e6174612e636c6f75642f697066732f516d646a426b4b77724859735733674a707732577a77717373756164387a6f634e674c31666b655a7a35474a78312f
Deployed Bytecode
0x6080604052600436106101f85760003560e01c80638af994fd1161010d578063d6ade1e7116100a0578063f242432a1161006f578063f242432a146105d8578063f2f61d59146105f8578063f2fde38b1461060d578063f3c58d821461062d578063f7cb7e571461065a57600080fd5b8063d6ade1e714610535578063d874cf9614610548578063de97536b14610567578063e985e9c51461058f57600080fd5b8063b658b60f116100dc578063b658b60f146104c0578063b9d2f009146104e0578063bd85b039146104f5578063d31969e81461052257600080fd5b80638af994fd146104315780638da5cb5b14610446578063a22cb46514610478578063b08da3421461049857600080fd5b806338ce1d3411610190578063539948ec1161015f578063539948ec146103a757806355f804b3146103c75780636c19e783146103e7578063715018a6146104075780637ca45d9e1461041c57600080fd5b806338ce1d34146103215780633ccfd60b146103365780634e1273f41461034b5780634f558e791461037857600080fd5b80630d5cc340116101cc5780630d5cc3401461028b5780630e89341c146102b8578063144b289f146102e55780632eb2c2d6146102ff57600080fd5b8062fdd58e146101fd57806301ffc9a7146102305780630270fdb4146102605780630cf64bbb14610276575b600080fd5b34801561020957600080fd5b5061021d610218366004612167565b610670565b6040519081526020015b60405180910390f35b34801561023c57600080fd5b5061025061024b3660046121a7565b61070a565b6040519015158152602001610227565b34801561026c57600080fd5b5061021d61022b81565b34801561028257600080fd5b5061021d600081565b34801561029757600080fd5b5061021d6102a63660046121cb565b60096020526000908152604090205481565b3480156102c457600080fd5b506102d86102d33660046121e6565b61075a565b6040516102279190612257565b3480156102f157600080fd5b506006546102509060ff1681565b34801561030b57600080fd5b5061031f61031a3660046123b6565b61078e565b005b34801561032d57600080fd5b5061021d603381565b34801561034257600080fd5b5061031f610825565b34801561035757600080fd5b5061036b610366366004612460565b610934565b6040516102279190612566565b34801561038457600080fd5b506102506103933660046121e6565b600090815260036020526040902054151590565b3480156103b357600080fd5b5061031f6103c23660046121e6565b610a5e565b3480156103d357600080fd5b5061031f6103e2366004612579565b610a8d565b3480156103f357600080fd5b5061031f6104023660046121cb565b610ac8565b34801561041357600080fd5b5061031f610b14565b34801561042857600080fd5b5061031f610b4a565b34801561043d57600080fd5b5061031f610b91565b34801561045257600080fd5b506004546001600160a01b03165b6040516001600160a01b039091168152602001610227565b34801561048457600080fd5b5061031f6104933660046125eb565b610c93565b3480156104a457600080fd5b50610460738975b2c67cffc4498d927b0b18c7c9030512672b81565b3480156104cc57600080fd5b5061031f6104db3660046121e6565b610d69565b3480156104ec57600080fd5b5061021d600181565b34801561050157600080fd5b5061021d6105103660046121e6565b60009081526003602052604090205490565b61031f610530366004612627565b610d98565b61031f610543366004612676565b6110e7565b34801561055457600080fd5b5060065461025090610100900460ff1681565b34801561057357600080fd5b5061046073c9b5553910ba47719e0202ff9f617b8be06b3a0981565b34801561059b57600080fd5b506102506105aa366004612712565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205460ff1690565b3480156105e457600080fd5b5061031f6105f3366004612745565b61140f565b34801561060457600080fd5b5061031f611496565b34801561061957600080fd5b5061031f6106283660046121cb565b6114d4565b34801561063957600080fd5b5061021d6106483660046121cb565b600a6020526000908152604090205481565b34801561066657600080fd5b5061021d60055481565b60006001600160a01b0383166106e15760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b60648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b60006001600160e01b03198216636cdb3d1360e11b148061073b57506001600160e01b031982166303a24d0760e21b145b8061070457506301ffc9a760e01b6001600160e01b0319831614610704565b6060600b6107678361156f565b604051602001610778929190612800565b6040516020818303038152906040529050919050565b6001600160a01b0385163314806107aa57506107aa85336105aa565b6108115760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b60648201526084016106d8565b61081e8585858585611678565b5050505050565b6004546001600160a01b0316331461084f5760405162461bcd60e51b81526004016106d89061289d565b47806108965760405162461bcd60e51b81526020600482015260166024820152754e6f2062616c616e636520746f20776974686472617760501b60448201526064016106d8565b73c9b5553910ba47719e0202ff9f617b8be06b3a096108fc6127106108bd846105dc6128e8565b6108c7919061291d565b6040518115909202916000818181858888f193505050501580156108ef573d6000803e3d6000fd5b50604051738975b2c67cffc4498d927b0b18c7c9030512672b904780156108fc02916000818181858888f19350505050158015610930573d6000803e3d6000fd5b5050565b606081518351146109995760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b60648201526084016106d8565b6000835167ffffffffffffffff8111156109b5576109b561226a565b6040519080825280602002602001820160405280156109de578160200160208202803683370190505b50905060005b8451811015610a5657610a29858281518110610a0257610a02612931565b6020026020010151858381518110610a1c57610a1c612931565b6020026020010151610670565b828281518110610a3b57610a3b612931565b6020908102919091010152610a4f81612947565b90506109e4565b509392505050565b6004546001600160a01b03163314610a885760405162461bcd60e51b81526004016106d89061289d565b600555565b6004546001600160a01b03163314610ab75760405162461bcd60e51b81526004016106d89061289d565b610ac3600b83836120b2565b505050565b6004546001600160a01b03163314610af25760405162461bcd60e51b81526004016106d89061289d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b03163314610b3e5760405162461bcd60e51b81526004016106d89061289d565b610b486000611855565b565b6004546001600160a01b03163314610b745760405162461bcd60e51b81526004016106d89061289d565b6006805461ff001981166101009182900460ff1615909102179055565b6004546001600160a01b03163314610bbb5760405162461bcd60e51b81526004016106d89061289d565b600080526003602052600080516020612c3d8339815191525461022b1015610c195760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d352539517d312535255607a1b60448201526064016106d8565b600080526003602052600080516020612c3d8339815191525460331015610c765760405162461bcd60e51b8152602060048201526011602482015270115610d1515117d352539517d312535255607a1b60448201526064016106d8565b610b483360006033604051806020016040528060008152506118a7565b6001600160a01b0382163303610cfd5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b60648201526084016106d8565b3360008181526001602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6004546001600160a01b03163314610d935760405162461bcd60e51b81526004016106d89061289d565b600755565b336000908152600860205260409020546002904211610df95760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b00000060448201526064016106d8565b323314610e485760405162461bcd60e51b815260206004820152601d60248201527f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e5400000060448201526064016106d8565b8060ff16600103610ea55760065460ff16610ea55760405162461bcd60e51b815260206004820152601b60248201527f525542595f4d494e545f49535f4e4f545f5945545f414354495645000000000060448201526064016106d8565b8060ff16600203610ed757600654610100900460ff16610ed75760405162461bcd60e51b81526004016106d890612960565b6040516bffffffffffffffffffffffff193360601b1660208201526001600160c01b031960c085901b166034820152600090603c01604051602081830303815290604052805190602001209050610f2e83826118dc565b610f7a5760405162461bcd60e51b815260206004820152601960248201527f434f4e54524143545f4d494e545f4e4f545f414c4c4f5745440000000000000060448201526064016106d8565b600080526003602052600080516020612c3d8339815191525461022b90610fa29060016129a2565b1115610fec5760405162461bcd60e51b81526020600482015260196024820152784e4f545f454e4f5547485f50524553414c455f535550504c5960381b60448201526064016106d8565b336000908152600a602052604090205460019061100990826129a2565b111561104d5760405162461bcd60e51b81526020600482015260136024820152724d494e5445445f525542595f414c524541445960681b60448201526064016106d8565b60055434146110905760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b60448201526064016106d8565b336000908152600860209081526040808320429055600a90915281208054600192906110bd9084906129a2565b925050819055506110e13360006001604051806020016040528060008152506118a7565b50505050565b3360009081526008602052604090205460019042116111485760405162461bcd60e51b815260206004820152601d60248201527f43414e4e4f545f4d494e545f4f4e5f5448455f53414d455f424c4f434b00000060448201526064016106d8565b3233146111975760405162461bcd60e51b815260206004820152601d60248201527f434f4e5452414354535f4e4f545f414c4c4f5745445f544f5f4d494e5400000060448201526064016106d8565b8060ff166001036111f45760065460ff166111f45760405162461bcd60e51b815260206004820152601b60248201527f525542595f4d494e545f49535f4e4f545f5945545f414354495645000000000060448201526064016106d8565b8060ff1660020361122657600654610100900460ff166112265760405162461bcd60e51b81526004016106d890612960565b6040516bffffffffffffffffffffffff193360601b16602082015260009060340160405160208183030381529060405280519060200120905061126c8360075483611906565b6112a85760405162461bcd60e51b815260206004820152600d60248201526c141493d3d197d2539590531251609a1b60448201526064016106d8565b600080526003602052600080516020612c3d8339815191525461022b906112d09060016129a2565b111561131a5760405162461bcd60e51b81526020600482015260196024820152784e4f545f454e4f5547485f50524553414c455f535550504c5960381b60448201526064016106d8565b3360009081526009602052604090205460019061133790826129a2565b111561137b5760405162461bcd60e51b81526020600482015260136024820152724d494e5445445f525542595f414c524541445960681b60448201526064016106d8565b60055434146113be5760405162461bcd60e51b815260206004820152600f60248201526e57524f4e475f4554485f56414c554560881b60448201526064016106d8565b336000908152600860209081526040808320429055600990915281208054600192906113eb9084906129a2565b92505081905550610ac33360006001604051806020016040528060008152506118a7565b6001600160a01b03851633148061142b575061142b85336105aa565b6114895760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201526808185c1c1c9bdd995960ba1b60648201526084016106d8565b61081e85858585856119b5565b6004546001600160a01b031633146114c05760405162461bcd60e51b81526004016106d89061289d565b6006805460ff19811660ff90911615179055565b6004546001600160a01b031633146114fe5760405162461bcd60e51b81526004016106d89061289d565b6001600160a01b0381166115635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d8565b61156c81611855565b50565b6060816000036115965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115c057806115aa81612947565b91506115b99050600a8361291d565b915061159a565b60008167ffffffffffffffff8111156115db576115db61226a565b6040519080825280601f01601f191660200182016040528015611605576020820181803683370190505b5090505b84156116705761161a6001836129ba565b9150611627600a866129d1565b6116329060306129a2565b60f81b81838151811061164757611647612931565b60200101906001600160f81b031916908160001a905350611669600a8661291d565b9450611609565b949350505050565b81518351146116da5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b60648201526084016106d8565b6001600160a01b0384166117005760405162461bcd60e51b81526004016106d8906129e5565b3360005b84518110156117e757600085828151811061172157611721612931565b60200260200101519050600085838151811061173f5761173f612931565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561178f5760405162461bcd60e51b81526004016106d890612a2a565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906117cc9084906129a2565b92505081905550505050806117e090612947565b9050611704565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611837929190612a74565b60405180910390a461184d818787878787611adb565b505050505050565b600480546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6118b384848484611c36565b600083815260036020526040812080548492906118d19084906129a2565b909155505050505050565b600c546000906001600160a01b03166118f58385611d37565b6001600160a01b0316149392505050565b600081815b85518110156119aa57600086828151811061192857611928612931565b6020026020010151905080831161196a576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611997565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806119a281612947565b91505061190b565b509092149392505050565b6001600160a01b0384166119db5760405162461bcd60e51b81526004016106d8906129e5565b336119f48187876119eb88611dd9565b61081e88611dd9565b6000848152602081815260408083206001600160a01b038a16845290915290205483811015611a355760405162461bcd60e51b81526004016106d890612a2a565b6000858152602081815260408083206001600160a01b038b8116855292528083208785039055908816825281208054869290611a729084906129a2565b909155505060408051868152602081018690526001600160a01b03808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611ad2828888888888611e24565b50505050505050565b6001600160a01b0384163b1561184d5760405163bc197c8160e01b81526001600160a01b0385169063bc197c8190611b1f9089908990889088908890600401612a99565b6020604051808303816000875af1925050508015611b5a575060408051601f3d908101601f19168201909252611b5791810190612af7565b60015b611c0657611b66612b14565b806308c379a003611b9f5750611b7a612b30565b80611b855750611ba1565b8060405162461bcd60e51b81526004016106d89190612257565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e20455243313135356044820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60648201526084016106d8565b6001600160e01b0319811663bc197c8160e01b14611ad25760405162461bcd60e51b81526004016106d890612bba565b6001600160a01b038416611c965760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016106d8565b33611ca7816000876119eb88611dd9565b6000848152602081815260408083206001600160a01b038916845290915281208054859290611cd79084906129a2565b909155505060408051858152602081018590526001600160a01b0380881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461081e81600087878787611e24565b60008151604103611d6a5760208201516040830151606084015160001a611d6086828585611edf565b9350505050610704565b8151604003611d915760208201516040830151611d88858383612088565b92505050610704565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016106d8565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611e1357611e13612931565b602090810291909101015292915050565b6001600160a01b0384163b1561184d5760405163f23a6e6160e01b81526001600160a01b0385169063f23a6e6190611e689089908990889088908890600401612c02565b6020604051808303816000875af1925050508015611ea3575060408051601f3d908101601f19168201909252611ea091810190612af7565b60015b611eaf57611b66612b14565b6001600160e01b0319811663f23a6e6160e01b14611ad25760405162461bcd60e51b81526004016106d890612bba565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115611f5c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106d8565b8360ff16601b1480611f7157508360ff16601c145b611fc85760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106d8565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561201c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661207f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106d8565b95945050505050565b60006001600160ff1b03821660ff83901c601b016120a886828785611edf565b9695505050505050565b8280546120be906127aa565b90600052602060002090601f0160209004810192826120e05760008555612126565b82601f106120f95782800160ff19823516178555612126565b82800160010185558215612126579182015b8281111561212657823582559160200191906001019061210b565b50612132929150612136565b5090565b5b808211156121325760008155600101612137565b80356001600160a01b038116811461216257600080fd5b919050565b6000806040838503121561217a57600080fd5b6121838361214b565b946020939093013593505050565b6001600160e01b03198116811461156c57600080fd5b6000602082840312156121b957600080fd5b81356121c481612191565b9392505050565b6000602082840312156121dd57600080fd5b6121c48261214b565b6000602082840312156121f857600080fd5b5035919050565b60005b8381101561221a578181015183820152602001612202565b838111156110e15750506000910152565b600081518084526122438160208601602086016121ff565b601f01601f19169290920160200192915050565b6020815260006121c4602083018461222b565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156122a6576122a661226a565b6040525050565b600067ffffffffffffffff8211156122c7576122c761226a565b5060051b60200190565b600082601f8301126122e257600080fd5b813560206122ef826122ad565b6040516122fc8282612280565b83815260059390931b850182019282810191508684111561231c57600080fd5b8286015b848110156123375780358352918301918301612320565b509695505050505050565b600082601f83011261235357600080fd5b813567ffffffffffffffff81111561236d5761236d61226a565b604051612384601f8301601f191660200182612280565b81815284602083860101111561239957600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156123ce57600080fd5b6123d78661214b565b94506123e56020870161214b565b9350604086013567ffffffffffffffff8082111561240257600080fd5b61240e89838a016122d1565b9450606088013591508082111561242457600080fd5b61243089838a016122d1565b9350608088013591508082111561244657600080fd5b5061245388828901612342565b9150509295509295909350565b6000806040838503121561247357600080fd5b823567ffffffffffffffff8082111561248b57600080fd5b818501915085601f83011261249f57600080fd5b813560206124ac826122ad565b6040516124b98282612280565b83815260059390931b85018201928281019150898411156124d957600080fd5b948201945b838610156124fe576124ef8661214b565b825294820194908201906124de565b9650508601359250508082111561251457600080fd5b50612521858286016122d1565b9150509250929050565b600081518084526020808501945080840160005b8381101561255b5781518752958201959082019060010161253f565b509495945050505050565b6020815260006121c4602083018461252b565b6000806020838503121561258c57600080fd5b823567ffffffffffffffff808211156125a457600080fd5b818501915085601f8301126125b857600080fd5b8135818111156125c757600080fd5b8660208285010111156125d957600080fd5b60209290920196919550909350505050565b600080604083850312156125fe57600080fd5b6126078361214b565b91506020830135801515811461261c57600080fd5b809150509250929050565b6000806040838503121561263a57600080fd5b823567ffffffffffffffff808216821461265357600080fd5b9092506020840135908082111561266957600080fd5b5061252185828601612342565b6000602080838503121561268957600080fd5b823567ffffffffffffffff8111156126a057600080fd5b8301601f810185136126b157600080fd5b80356126bc816122ad565b6040516126c98282612280565b82815260059290921b83018401918481019150878311156126e957600080fd5b928401925b82841015612707578335825292840192908401906126ee565b979650505050505050565b6000806040838503121561272557600080fd5b61272e8361214b565b915061273c6020840161214b565b90509250929050565b600080600080600060a0868803121561275d57600080fd5b6127668661214b565b94506127746020870161214b565b93506040860135925060608601359150608086013567ffffffffffffffff81111561279e57600080fd5b61245388828901612342565b600181811c908216806127be57607f821691505b6020821081036127de57634e487b7160e01b600052602260045260246000fd5b50919050565b600081516127f68185602086016121ff565b9290920192915050565b600080845481600182811c91508083168061281c57607f831692505b6020808410820361283b57634e487b7160e01b86526022600452602486fd5b81801561284f57600181146128605761288d565b60ff1986168952848901965061288d565b60008b81526020902060005b868110156128855781548b82015290850190830161286c565b505084890196505b50505050505061207f81856127e4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612902576129026128d2565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261292c5761292c612907565b500490565b634e487b7160e01b600052603260045260246000fd5b600060018201612959576129596128d2565b5060010190565b60208082526022908201527f525542595f5055424c49435f4d494e545f49535f4e4f545f5945545f41435449604082015261564560f01b606082015260800190565b600082198211156129b5576129b56128d2565b500190565b6000828210156129cc576129cc6128d2565b500390565b6000826129e0576129e0612907565b500690565b60208082526025908201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252602a908201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60408201526939103a3930b739b332b960b11b606082015260800190565b604081526000612a87604083018561252b565b828103602084015261207f818561252b565b6001600160a01b0386811682528516602082015260a060408201819052600090612ac59083018661252b565b8281036060840152612ad7818661252b565b90508281036080840152612aeb818561222b565b98975050505050505050565b600060208284031215612b0957600080fd5b81516121c481612191565b600060033d1115612b2d5760046000803e5060005160e01c5b90565b600060443d1015612b3e5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715612b6e57505050505090565b8285019150815181811115612b865750505050505090565b843d8701016020828501011115612ba05750505050505090565b612baf60208286010187612280565b509095945050505050565b60208082526028908201527f455243313135353a204552433131353552656365697665722072656a656374656040820152676420746f6b656e7360c01b606082015260800190565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906127079083018461222b56fe3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92effa2646970667358221220ea69289e8bcda73bcc823c8501f0cae8951a81bc827ae2b10fc6c97a4f2289a564736f6c634300080d0033
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.