ERC-1155
Overview
Max Total Supply
14,478
Holders
2,533
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:
KreepyClaim
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // ...::^^: ^????JJJ?7~. :^:::. // :?7~^: ...:. :!77???JJJJJY? 75YYYYYYYYYY!..~~~~~^. // !5555Y! ^!~^^^. ........ :^^~~~~!!!!7! !YYYYYJYYYYYY? 75YYYYY5YYYY5J.:~~~~~~. .^~^:.. // ?YYYYY~ ~Y5555J^ ~~~~~~~~~~^: :777!!!!!!!!7! ~YJJJJJJJJ???^ !5YYYY7~JYYYY57 ^~~~~~^ .~~~~~~~^ // .YYYYY? !YYYYY! .~~~~~~~~~~~~^. :!!!!!!!!!~~~: !YJJJY!.. !5YYYY: :YYYYYY. ^~~~~~^~~~~~~~^. // ^YYYYY7!YYYYY! :~~~~~^^~~~~~~^ ^7!!!!~. !YJJJJ?!!!. !5YYYY~.7YYYYYJ. ^~~~~~~~~~~~^ // 75YYYYYYYYYYJ. :~~~~~. :~~~~~^ ^7!!!!!~~~. 7YJJJJYYYY! !5YYYYYYYYYY5Y^ ^~~~~~~~~~: // JYYYYYYYYYYY? ^~~~~~..^~~~~~. ~!!!!!!777^ 7YJJJJJJJ?: !5YYYYYY555Y7: .~~~~~~~~: // :YYYYYYYYYYYYJ ^~~~~~~~~~~~~. ~!!!!!!!~~. ?YJJJJ^ . 75YYYYY?7!^. ^~~~~~~^ // ~5YYYYY5YYYYYY^ .~~~~~~~~~~~~. !!!!!!. ... ?YJJJJ?7?????~ 75YYY57 :~~~~~~: // ?YYYYYY7JYYYY57 :~~~~~~~~~~~~: .!!!!!!~~!!!!!:.JJJJJJYYYYYYY! J5YYY57 ^~~~~~~: // .YYYYYY~ !5YYYYJ. ^~~~~~:^~~~~~~ :7!!!!!!!!!!!7.:YYYYYYYJJJJJJ^ JYYJJJ~ ^~~~~~~^ // ~5YYYY? ~5YYYYY: ~~~~~~..~~~~~~: ~7777!!!!!!!!^ .!!~^^^:::.... .....:::::... .:::^^~: // 7555557 :55YY55~.~~~~~~. ~~~~~~^ :^^::::... :::::: :^^~~~~: ~!!!!!!!!!~:. // .~!!!!: ~???77^.^^:::. ... . .^^~!!~ ^~~~~~~. ^~~~~~~^ ~!!!!!!!!!!7!: // .^~7????!^. .J55555J. .~~~~~~~. ^~~~~~~^ ~!!!!7:^7!!!7! // :!JYYYYYYYYYJ^.YYYYY5! :~~~~~~~ ^~~~~~~: ~!!!!!~!!!!!!: // .7JYJJYYYYYYYJ7::YYYYY5~ ^~~~~~~^ ~~~~~~~. ~!!!!!!!!!!!: // ~JYJJJY?~~7?7^. ^YYYYYY^ ^~~~~~~^ .~~~~~~~ ~!!!!!7!!!!!~. // !YJJJYJ^ ~5YYYYY: ^~~~~~~^ :~~~~~~: !!!!!!^!!!!!!! // ~YJJJJJ: 75YYYYJ. ^~~~~~~~..:~~~~~~~ .!!!!!~ :7!!!!7: // :JJJJJY~ ?YYYY5? :~~~~~~~~~~~~~~~~. ^7!!!7^ ~!!!!!!. // 7YJJJJJ: :YYYYY57..::^^~: ~~~~~~~~~~~~~~~. !!!!!!!!!!!!!7~ // :YJJJJJY~ :7?7!~: ~5YYYYYYYYYYY55? .~~~~~~~~~~~~: :7!!!!!!!!!!!!~ // ^YJJJJJJJ?7?JYYYYY~ JYYYYYYYYYYYYY5~ .:^~~~~~^^:. ^!!!!!!77!!!~: // .JYJJJJJJYYYJYYJ7^ ~5555555YYYYJJJ7. ..... ....:::::.. // ^?YYYYYYYYYJ?!: 7?77!~~^^::.. // .^!77?7!~^. pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; pragma solidity 0.8.9; pragma abicoder v2; contract KreepyClaim is ERC1155, Ownable { bool public claimIsActive = false; bytes32 public claimRoot; // Merkle Root for Claim uint256 public currentClaim = 0; // Claim Tracking mapping(address => uint256) claimedToken; string public _baseURI = ""; constructor() ERC1155(_baseURI) { } function setBaseURI(string memory newuri) public onlyOwner { _baseURI = newuri; } function uri(uint256 tokenId) public view override returns (string memory) { return string(abi.encodePacked(_baseURI, uint2str(tokenId))); } function tokenURI(uint256 tokenId) public view returns (string memory) { return string(abi.encodePacked(_baseURI, uint2str(tokenId))); } function uint2str(uint256 _i) internal pure returns (string memory _uintAsString) { if (_i == 0) { return "0"; } uint256 j = _i; uint256 len; while (j != 0) { len++; j /= 10; } bytes memory bstr = new bytes(len); uint256 k = len; while (_i != 0) { k = k - 1; uint8 temp = (48 + uint8(_i - (_i / 10) * 10)); bytes1 b1 = bytes1(temp); bstr[k] = b1; _i /= 10; } return string(bstr); } function flipClaimState() public onlyOwner { claimIsActive = !claimIsActive; } function setCurrentClaim(uint256 newClaim) public onlyOwner { currentClaim = newClaim; } function setClaimRoot(bytes32 root) external onlyOwner { claimRoot = root; } // Utility function hasClaimed(address _address) external view returns (uint) { return claimedToken[_address]; } // Minting function kreepyClaimMint(bytes32[] calldata proof) external { require(claimIsActive, "Claim window is not active"); require(MerkleProof.verify(proof, claimRoot, keccak256(abi.encodePacked(_msgSender()))), "Not Eligible"); require(claimedToken[msg.sender] < currentClaim, "You have already claimed this piece"); _mint(msg.sender, currentClaim, 1, "0x0000"); claimedToken[msg.sender] = currentClaim; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) 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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { 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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @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 { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. 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] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // 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 tryRecover(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 tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @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. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} 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.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @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) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @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 // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"hasClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"kreepyClaimMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setClaimRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaim","type":"uint256"}],"name":"setCurrentClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000600360146101000a81548160ff021916908315150217905550600060055560405180602001604052806000815250600790805190602001906200004b9291906200020f565b503480156200005957600080fd5b50600780546200006990620002ee565b80601f01602080910402602001604051908101604052809291908181526020018280546200009790620002ee565b8015620000e85780601f10620000bc57610100808354040283529160200191620000e8565b820191906000526020600020905b815481529060010190602001808311620000ca57829003601f168201915b5050505050620000fe816200012560201b60201c565b506200011f620001136200014160201b60201c565b6200014960201b60201c565b62000324565b80600290805190602001906200013d9291906200020f565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021d90620002ee565b90600052602060002090601f0160209004810192826200024157600085556200028d565b82601f106200025c57805160ff19168380011785556200028d565b828001600101855582156200028d579182015b828111156200028c5782518255916020019190600101906200026f565b5b5090506200029c9190620002a0565b5090565b5b80821115620002bb576000816000905550600101620002a1565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200030757607f821691505b602082108114156200031e576200031d620002bf565b5b50919050565b613c3880620003346000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610350578063aa6b4bb31461036c578063c87b56dd14610388578063e985e9c5146103b8578063f242432a146103e8578063f2fde38b1461040457610141565b8063715018a6146102be57806373b2e80e146102c8578063743976a0146102f857806384ca1dd1146103165780638da5cb5b1461033257610141565b80632eb2c2d61161010a5780632eb2c2d6146102105780633c3a14371461022c5780634e1273f41461024a5780635303f68c1461027a57806355f804b3146102985780636d60e6c1146102b457610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a657806314ea35e7146101d657806321b97f20146101f4575b600080fd5b610160600480360381019061015b9190612242565b610420565b60405161016d9190612291565b60405180910390f35b610190600480360381019061018b9190612304565b6104e9565b60405161019d919061234c565b60405180910390f35b6101c060048036038101906101bb9190612367565b6105cb565b6040516101cd919061242d565b60405180910390f35b6101de6105ff565b6040516101eb9190612468565b60405180910390f35b61020e600480360381019061020991906124af565b610605565b005b61022a600480360381019061022591906126d9565b61068b565b005b61023461072c565b6040516102419190612291565b60405180910390f35b610264600480360381019061025f919061286b565b610732565b60405161027191906129a1565b60405180910390f35b61028261084b565b60405161028f919061234c565b60405180910390f35b6102b260048036038101906102ad9190612a64565b61085e565b005b6102bc6108f4565b005b6102c661099c565b005b6102e260048036038101906102dd9190612aad565b610a24565b6040516102ef9190612291565b60405180910390f35b610300610a6d565b60405161030d919061242d565b60405180910390f35b610330600480360381019061032b9190612b35565b610afb565b005b61033a610d15565b6040516103479190612b91565b60405180910390f35b61036a60048036038101906103659190612bd8565b610d3f565b005b61038660048036038101906103819190612367565b610d55565b005b6103a2600480360381019061039d9190612367565b610ddb565b6040516103af919061242d565b60405180910390f35b6103d260048036038101906103cd9190612c18565b610e0f565b6040516103df919061234c565b60405180910390f35b61040260048036038101906103fd9190612c58565b610ea3565b005b61041e60048036038101906104199190612aad565b610f44565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048890612d61565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c457506105c38261103c565b5b9050919050565b606060076105d8836110a6565b6040516020016105e9929190612eb2565b6040516020818303038152906040529050919050565b60045481565b61060d61122f565b73ffffffffffffffffffffffffffffffffffffffff1661062b610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067890612f22565b60405180910390fd5b8060048190555050565b61069361122f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d957506106d8856106d361122f565b610e0f565b5b610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90612fb4565b60405180910390fd5b6107258585858585611237565b5050505050565b60055481565b60608151835114610778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076f90613046565b60405180910390fd5b6000835167ffffffffffffffff811115610795576107946124e1565b5b6040519080825280602002602001820160405280156107c35781602001602082028036833780820191505090505b50905060005b8451811015610840576108108582815181106107e8576107e7613066565b5b602002602001015185838151811061080357610802613066565b5b6020026020010151610420565b82828151811061082357610822613066565b5b60200260200101818152505080610839906130c4565b90506107c9565b508091505092915050565b600360149054906101000a900460ff1681565b61086661122f565b73ffffffffffffffffffffffffffffffffffffffff16610884610d15565b73ffffffffffffffffffffffffffffffffffffffff16146108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190612f22565b60405180910390fd5b80600790805190602001906108f09291906120f7565b5050565b6108fc61122f565b73ffffffffffffffffffffffffffffffffffffffff1661091a610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096790612f22565b60405180910390fd5b600360149054906101000a900460ff1615600360146101000a81548160ff021916908315150217905550565b6109a461122f565b73ffffffffffffffffffffffffffffffffffffffff166109c2610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90612f22565b60405180910390fd5b610a226000611559565b565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60078054610a7a90612db0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa690612db0565b8015610af35780601f10610ac857610100808354040283529160200191610af3565b820191906000526020600020905b815481529060010190602001808311610ad657829003601f168201915b505050505081565b600360149054906101000a900460ff16610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613159565b60405180910390fd5b610bc5828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600454610b9a61122f565b604051602001610baa91906131c1565b6040516020818303038152906040528051906020012061161f565b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90613228565b60405180910390fd5b600554600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e906132ba565b60405180910390fd5b610ccb3360055460016040518060400160405280600681526020017f3078303030300000000000000000000000000000000000000000000000000000815250611636565b600554600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d51610d4a61122f565b83836117e7565b5050565b610d5d61122f565b73ffffffffffffffffffffffffffffffffffffffff16610d7b610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890612f22565b60405180910390fd5b8060058190555050565b60606007610de8836110a6565b604051602001610df9929190612eb2565b6040516020818303038152906040529050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eab61122f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ef15750610ef085610eeb61122f565b610e0f565b5b610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f279061334c565b60405180910390fd5b610f3d8585858585611954565b5050505050565b610f4c61122f565b73ffffffffffffffffffffffffffffffffffffffff16610f6a610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790612f22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611030576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611027906133de565b60405180910390fd5b61103981611559565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008214156110ee576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061122a565b600082905060005b60008214611120578080611109906130c4565b915050600a82611119919061342d565b91506110f6565b60008167ffffffffffffffff81111561113c5761113b6124e1565b5b6040519080825280601f01601f19166020018201604052801561116e5781602001600182028036833780820191505090505b50905060008290505b600086146112225760018161118c919061345e565b90506000600a808861119e919061342d565b6111a89190613492565b876111b3919061345e565b60306111bf91906134f9565b905060008160f81b9050808484815181106111dd576111dc613066565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611219919061342d565b97505050611177565b819450505050505b919050565b600033905090565b815183511461127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906135a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290613634565b60405180910390fd5b60006112f561122f565b9050611305818787878787611bf0565b60005b84518110156114b657600085828151811061132657611325613066565b5b60200260200101519050600085838151811061134557611344613066565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906136c6565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461149b91906136e6565b92505081905550505050806114af906130c4565b9050611308565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161152d92919061373c565b60405180910390a4611543818787878787611bf8565b611551818787878787611c00565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261162c8584611de7565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d906137e5565b60405180910390fd5b60006116b061122f565b905060006116bd85611e5c565b905060006116ca85611e5c565b90506116db83600089858589611bf0565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173a91906136e6565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117b8929190613805565b60405180910390a46117cf83600089858589611bf8565b6117de83600089898989611ed6565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d906138a0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611947919061234c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bb90613634565b60405180910390fd5b60006119ce61122f565b905060006119db85611e5c565b905060006119e885611e5c565b90506119f8838989858589611bf0565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a86906136c6565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4491906136e6565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611bc1929190613805565b60405180910390a4611bd7848a8a86868a611bf8565b611be5848a8a8a8a8a611ed6565b505050505050505050565b505050505050565b505050505050565b611c1f8473ffffffffffffffffffffffffffffffffffffffff166120bd565b15611ddf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611c65959493929190613915565b602060405180830381600087803b158015611c7f57600080fd5b505af1925050508015611cb057506040513d601f19601f82011682018060405250810190611cad9190613992565b60015b611d5657611cbc6139cc565b806308c379a01415611d195750611cd16139ee565b80611cdc5750611d1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d10919061242d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90613af6565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490613b88565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015611e51576000858281518110611e0e57611e0d613066565b5b60200260200101519050808311611e3057611e2983826120e0565b9250611e3d565b611e3a81846120e0565b92505b508080611e49906130c4565b915050611df0565b508091505092915050565b60606000600167ffffffffffffffff811115611e7b57611e7a6124e1565b5b604051908082528060200260200182016040528015611ea95781602001602082028036833780820191505090505b5090508281600081518110611ec157611ec0613066565b5b60200260200101818152505080915050919050565b611ef58473ffffffffffffffffffffffffffffffffffffffff166120bd565b156120b5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611f3b959493929190613ba8565b602060405180830381600087803b158015611f5557600080fd5b505af1925050508015611f8657506040513d601f19601f82011682018060405250810190611f839190613992565b60015b61202c57611f926139cc565b806308c379a01415611fef5750611fa76139ee565b80611fb25750611ff1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe6919061242d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390613af6565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa90613b88565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b82805461210390612db0565b90600052602060002090601f016020900481019282612125576000855561216c565b82601f1061213e57805160ff191683800117855561216c565b8280016001018555821561216c579182015b8281111561216b578251825591602001919060010190612150565b5b509050612179919061217d565b5090565b5b8082111561219657600081600090555060010161217e565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121d9826121ae565b9050919050565b6121e9816121ce565b81146121f457600080fd5b50565b600081359050612206816121e0565b92915050565b6000819050919050565b61221f8161220c565b811461222a57600080fd5b50565b60008135905061223c81612216565b92915050565b60008060408385031215612259576122586121a4565b5b6000612267858286016121f7565b92505060206122788582860161222d565b9150509250929050565b61228b8161220c565b82525050565b60006020820190506122a66000830184612282565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122e1816122ac565b81146122ec57600080fd5b50565b6000813590506122fe816122d8565b92915050565b60006020828403121561231a576123196121a4565b5b6000612328848285016122ef565b91505092915050565b60008115159050919050565b61234681612331565b82525050565b6000602082019050612361600083018461233d565b92915050565b60006020828403121561237d5761237c6121a4565b5b600061238b8482850161222d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123ce5780820151818401526020810190506123b3565b838111156123dd576000848401525b50505050565b6000601f19601f8301169050919050565b60006123ff82612394565b612409818561239f565b93506124198185602086016123b0565b612422816123e3565b840191505092915050565b6000602082019050818103600083015261244781846123f4565b905092915050565b6000819050919050565b6124628161244f565b82525050565b600060208201905061247d6000830184612459565b92915050565b61248c8161244f565b811461249757600080fd5b50565b6000813590506124a981612483565b92915050565b6000602082840312156124c5576124c46121a4565b5b60006124d38482850161249a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612519826123e3565b810181811067ffffffffffffffff82111715612538576125376124e1565b5b80604052505050565b600061254b61219a565b90506125578282612510565b919050565b600067ffffffffffffffff821115612577576125766124e1565b5b602082029050602081019050919050565b600080fd5b60006125a061259b8461255c565b612541565b905080838252602082019050602084028301858111156125c3576125c2612588565b5b835b818110156125ec57806125d8888261222d565b8452602084019350506020810190506125c5565b5050509392505050565b600082601f83011261260b5761260a6124dc565b5b813561261b84826020860161258d565b91505092915050565b600080fd5b600067ffffffffffffffff821115612644576126436124e1565b5b61264d826123e3565b9050602081019050919050565b82818337600083830152505050565b600061267c61267784612629565b612541565b90508281526020810184848401111561269857612697612624565b5b6126a384828561265a565b509392505050565b600082601f8301126126c0576126bf6124dc565b5b81356126d0848260208601612669565b91505092915050565b600080600080600060a086880312156126f5576126f46121a4565b5b6000612703888289016121f7565b9550506020612714888289016121f7565b945050604086013567ffffffffffffffff811115612735576127346121a9565b5b612741888289016125f6565b935050606086013567ffffffffffffffff811115612762576127616121a9565b5b61276e888289016125f6565b925050608086013567ffffffffffffffff81111561278f5761278e6121a9565b5b61279b888289016126ab565b9150509295509295909350565b600067ffffffffffffffff8211156127c3576127c26124e1565b5b602082029050602081019050919050565b60006127e76127e2846127a8565b612541565b9050808382526020820190506020840283018581111561280a57612809612588565b5b835b81811015612833578061281f88826121f7565b84526020840193505060208101905061280c565b5050509392505050565b600082601f830112612852576128516124dc565b5b81356128628482602086016127d4565b91505092915050565b60008060408385031215612882576128816121a4565b5b600083013567ffffffffffffffff8111156128a05761289f6121a9565b5b6128ac8582860161283d565b925050602083013567ffffffffffffffff8111156128cd576128cc6121a9565b5b6128d9858286016125f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6129188161220c565b82525050565b600061292a838361290f565b60208301905092915050565b6000602082019050919050565b600061294e826128e3565b61295881856128ee565b9350612963836128ff565b8060005b8381101561299457815161297b888261291e565b975061298683612936565b925050600181019050612967565b5085935050505092915050565b600060208201905081810360008301526129bb8184612943565b905092915050565b600067ffffffffffffffff8211156129de576129dd6124e1565b5b6129e7826123e3565b9050602081019050919050565b6000612a07612a02846129c3565b612541565b905082815260208101848484011115612a2357612a22612624565b5b612a2e84828561265a565b509392505050565b600082601f830112612a4b57612a4a6124dc565b5b8135612a5b8482602086016129f4565b91505092915050565b600060208284031215612a7a57612a796121a4565b5b600082013567ffffffffffffffff811115612a9857612a976121a9565b5b612aa484828501612a36565b91505092915050565b600060208284031215612ac357612ac26121a4565b5b6000612ad1848285016121f7565b91505092915050565b600080fd5b60008083601f840112612af557612af46124dc565b5b8235905067ffffffffffffffff811115612b1257612b11612ada565b5b602083019150836020820283011115612b2e57612b2d612588565b5b9250929050565b60008060208385031215612b4c57612b4b6121a4565b5b600083013567ffffffffffffffff811115612b6a57612b696121a9565b5b612b7685828601612adf565b92509250509250929050565b612b8b816121ce565b82525050565b6000602082019050612ba66000830184612b82565b92915050565b612bb581612331565b8114612bc057600080fd5b50565b600081359050612bd281612bac565b92915050565b60008060408385031215612bef57612bee6121a4565b5b6000612bfd858286016121f7565b9250506020612c0e85828601612bc3565b9150509250929050565b60008060408385031215612c2f57612c2e6121a4565b5b6000612c3d858286016121f7565b9250506020612c4e858286016121f7565b9150509250929050565b600080600080600060a08688031215612c7457612c736121a4565b5b6000612c82888289016121f7565b9550506020612c93888289016121f7565b9450506040612ca48882890161222d565b9350506060612cb58882890161222d565b925050608086013567ffffffffffffffff811115612cd657612cd56121a9565b5b612ce2888289016126ab565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612d4b602b8361239f565b9150612d5682612cef565b604082019050919050565b60006020820190508181036000830152612d7a81612d3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dc857607f821691505b60208210811415612ddc57612ddb612d81565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612e0f81612db0565b612e198186612de2565b94506001821660008114612e345760018114612e4557612e78565b60ff19831686528186019350612e78565b612e4e85612ded565b60005b83811015612e7057815481890152600182019150602081019050612e51565b838801955050505b50505092915050565b6000612e8c82612394565b612e968185612de2565b9350612ea68185602086016123b0565b80840191505092915050565b6000612ebe8285612e02565b9150612eca8284612e81565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f0c60208361239f565b9150612f1782612ed6565b602082019050919050565b60006020820190508181036000830152612f3b81612eff565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612f9e60328361239f565b9150612fa982612f42565b604082019050919050565b60006020820190508181036000830152612fcd81612f91565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061303060298361239f565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130cf8261220c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561310257613101613095565b5b600182019050919050565b7f436c61696d2077696e646f77206973206e6f7420616374697665000000000000600082015250565b6000613143601a8361239f565b915061314e8261310d565b602082019050919050565b6000602082019050818103600083015261317281613136565b9050919050565b60008160601b9050919050565b600061319182613179565b9050919050565b60006131a382613186565b9050919050565b6131bb6131b6826121ce565b613198565b82525050565b60006131cd82846131aa565b60148201915081905092915050565b7f4e6f7420456c696769626c650000000000000000000000000000000000000000600082015250565b6000613212600c8361239f565b915061321d826131dc565b602082019050919050565b6000602082019050818103600083015261324181613205565b9050919050565b7f596f75206861766520616c726561647920636c61696d6564207468697320706960008201527f6563650000000000000000000000000000000000000000000000000000000000602082015250565b60006132a460238361239f565b91506132af82613248565b604082019050919050565b600060208201905081810360008301526132d381613297565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061333660298361239f565b9150613341826132da565b604082019050919050565b6000602082019050818103600083015261336581613329565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006133c860268361239f565b91506133d38261336c565b604082019050919050565b600060208201905081810360008301526133f7816133bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134388261220c565b91506134438361220c565b925082613453576134526133fe565b5b828204905092915050565b60006134698261220c565b91506134748361220c565b92508282101561348757613486613095565b5b828203905092915050565b600061349d8261220c565b91506134a88361220c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e1576134e0613095565b5b828202905092915050565b600060ff82169050919050565b6000613504826134ec565b915061350f836134ec565b92508260ff0382111561352557613524613095565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061358c60288361239f565b915061359782613530565b604082019050919050565b600060208201905081810360008301526135bb8161357f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061361e60258361239f565b9150613629826135c2565b604082019050919050565b6000602082019050818103600083015261364d81613611565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006136b0602a8361239f565b91506136bb82613654565b604082019050919050565b600060208201905081810360008301526136df816136a3565b9050919050565b60006136f18261220c565b91506136fc8361220c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561373157613730613095565b5b828201905092915050565b600060408201905081810360008301526137568185612943565b9050818103602083015261376a8184612943565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf60218361239f565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b600060408201905061381a6000830185612282565b6138276020830184612282565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061388a60298361239f565b91506138958261382e565b604082019050919050565b600060208201905081810360008301526138b98161387d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006138e7826138c0565b6138f181856138cb565b93506139018185602086016123b0565b61390a816123e3565b840191505092915050565b600060a08201905061392a6000830188612b82565b6139376020830187612b82565b81810360408301526139498186612943565b9050818103606083015261395d8185612943565b9050818103608083015261397181846138dc565b90509695505050505050565b60008151905061398c816122d8565b92915050565b6000602082840312156139a8576139a76121a4565b5b60006139b68482850161397d565b91505092915050565b60008160e01c9050919050565b600060033d11156139eb5760046000803e6139e86000516139bf565b90505b90565b600060443d10156139fe57613a81565b613a0661219a565b60043d036004823e80513d602482011167ffffffffffffffff82111715613a2e575050613a81565b808201805167ffffffffffffffff811115613a4c5750505050613a81565b80602083010160043d038501811115613a69575050505050613a81565b613a7882602001850186612510565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613ae060348361239f565b9150613aeb82613a84565b604082019050919050565b60006020820190508181036000830152613b0f81613ad3565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613b7260288361239f565b9150613b7d82613b16565b604082019050919050565b60006020820190508181036000830152613ba181613b65565b9050919050565b600060a082019050613bbd6000830188612b82565b613bca6020830187612b82565b613bd76040830186612282565b613be46060830185612282565b8181036080830152613bf681846138dc565b9050969550505050505056fea264697066735822122083052ef1e1e8db298bb320f70de08a88caf9a4e75c41ee6aeb96c397105e3ee564736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101415760003560e01c8063715018a6116100b8578063a22cb4651161007c578063a22cb46514610350578063aa6b4bb31461036c578063c87b56dd14610388578063e985e9c5146103b8578063f242432a146103e8578063f2fde38b1461040457610141565b8063715018a6146102be57806373b2e80e146102c8578063743976a0146102f857806384ca1dd1146103165780638da5cb5b1461033257610141565b80632eb2c2d61161010a5780632eb2c2d6146102105780633c3a14371461022c5780634e1273f41461024a5780635303f68c1461027a57806355f804b3146102985780636d60e6c1146102b457610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a657806314ea35e7146101d657806321b97f20146101f4575b600080fd5b610160600480360381019061015b9190612242565b610420565b60405161016d9190612291565b60405180910390f35b610190600480360381019061018b9190612304565b6104e9565b60405161019d919061234c565b60405180910390f35b6101c060048036038101906101bb9190612367565b6105cb565b6040516101cd919061242d565b60405180910390f35b6101de6105ff565b6040516101eb9190612468565b60405180910390f35b61020e600480360381019061020991906124af565b610605565b005b61022a600480360381019061022591906126d9565b61068b565b005b61023461072c565b6040516102419190612291565b60405180910390f35b610264600480360381019061025f919061286b565b610732565b60405161027191906129a1565b60405180910390f35b61028261084b565b60405161028f919061234c565b60405180910390f35b6102b260048036038101906102ad9190612a64565b61085e565b005b6102bc6108f4565b005b6102c661099c565b005b6102e260048036038101906102dd9190612aad565b610a24565b6040516102ef9190612291565b60405180910390f35b610300610a6d565b60405161030d919061242d565b60405180910390f35b610330600480360381019061032b9190612b35565b610afb565b005b61033a610d15565b6040516103479190612b91565b60405180910390f35b61036a60048036038101906103659190612bd8565b610d3f565b005b61038660048036038101906103819190612367565b610d55565b005b6103a2600480360381019061039d9190612367565b610ddb565b6040516103af919061242d565b60405180910390f35b6103d260048036038101906103cd9190612c18565b610e0f565b6040516103df919061234c565b60405180910390f35b61040260048036038101906103fd9190612c58565b610ea3565b005b61041e60048036038101906104199190612aad565b610f44565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610491576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048890612d61565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b457507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806105c457506105c38261103c565b5b9050919050565b606060076105d8836110a6565b6040516020016105e9929190612eb2565b6040516020818303038152906040529050919050565b60045481565b61060d61122f565b73ffffffffffffffffffffffffffffffffffffffff1661062b610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161067890612f22565b60405180910390fd5b8060048190555050565b61069361122f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614806106d957506106d8856106d361122f565b610e0f565b5b610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070f90612fb4565b60405180910390fd5b6107258585858585611237565b5050505050565b60055481565b60608151835114610778576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076f90613046565b60405180910390fd5b6000835167ffffffffffffffff811115610795576107946124e1565b5b6040519080825280602002602001820160405280156107c35781602001602082028036833780820191505090505b50905060005b8451811015610840576108108582815181106107e8576107e7613066565b5b602002602001015185838151811061080357610802613066565b5b6020026020010151610420565b82828151811061082357610822613066565b5b60200260200101818152505080610839906130c4565b90506107c9565b508091505092915050565b600360149054906101000a900460ff1681565b61086661122f565b73ffffffffffffffffffffffffffffffffffffffff16610884610d15565b73ffffffffffffffffffffffffffffffffffffffff16146108da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d190612f22565b60405180910390fd5b80600790805190602001906108f09291906120f7565b5050565b6108fc61122f565b73ffffffffffffffffffffffffffffffffffffffff1661091a610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610970576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096790612f22565b60405180910390fd5b600360149054906101000a900460ff1615600360146101000a81548160ff021916908315150217905550565b6109a461122f565b73ffffffffffffffffffffffffffffffffffffffff166109c2610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90612f22565b60405180910390fd5b610a226000611559565b565b6000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60078054610a7a90612db0565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa690612db0565b8015610af35780601f10610ac857610100808354040283529160200191610af3565b820191906000526020600020905b815481529060010190602001808311610ad657829003601f168201915b505050505081565b600360149054906101000a900460ff16610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613159565b60405180910390fd5b610bc5828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600454610b9a61122f565b604051602001610baa91906131c1565b6040516020818303038152906040528051906020012061161f565b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb90613228565b60405180910390fd5b600554600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610c87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7e906132ba565b60405180910390fd5b610ccb3360055460016040518060400160405280600681526020017f3078303030300000000000000000000000000000000000000000000000000000815250611636565b600554600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d51610d4a61122f565b83836117e7565b5050565b610d5d61122f565b73ffffffffffffffffffffffffffffffffffffffff16610d7b610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890612f22565b60405180910390fd5b8060058190555050565b60606007610de8836110a6565b604051602001610df9929190612eb2565b6040516020818303038152906040529050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eab61122f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610ef15750610ef085610eeb61122f565b610e0f565b5b610f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f279061334c565b60405180910390fd5b610f3d8585858585611954565b5050505050565b610f4c61122f565b73ffffffffffffffffffffffffffffffffffffffff16610f6a610d15565b73ffffffffffffffffffffffffffffffffffffffff1614610fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb790612f22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611030576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611027906133de565b60405180910390fd5b61103981611559565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b606060008214156110ee576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061122a565b600082905060005b60008214611120578080611109906130c4565b915050600a82611119919061342d565b91506110f6565b60008167ffffffffffffffff81111561113c5761113b6124e1565b5b6040519080825280601f01601f19166020018201604052801561116e5781602001600182028036833780820191505090505b50905060008290505b600086146112225760018161118c919061345e565b90506000600a808861119e919061342d565b6111a89190613492565b876111b3919061345e565b60306111bf91906134f9565b905060008160f81b9050808484815181106111dd576111dc613066565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a88611219919061342d565b97505050611177565b819450505050505b919050565b600033905090565b815183511461127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906135a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156112eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e290613634565b60405180910390fd5b60006112f561122f565b9050611305818787878787611bf0565b60005b84518110156114b657600085828151811061132657611325613066565b5b60200260200101519050600085838151811061134557611344613066565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156113e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113dd906136c6565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461149b91906136e6565b92505081905550505050806114af906130c4565b9050611308565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161152d92919061373c565b60405180910390a4611543818787878787611bf8565b611551818787878787611c00565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008261162c8584611de7565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d906137e5565b60405180910390fd5b60006116b061122f565b905060006116bd85611e5c565b905060006116ca85611e5c565b90506116db83600089858589611bf0565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461173a91906136e6565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6289896040516117b8929190613805565b60405180910390a46117cf83600089858589611bf8565b6117de83600089898989611ed6565b50505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d906138a0565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611947919061234c565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156119c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bb90613634565b60405180910390fd5b60006119ce61122f565b905060006119db85611e5c565b905060006119e885611e5c565b90506119f8838989858589611bf0565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905085811015611a8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a86906136c6565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b4491906136e6565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051611bc1929190613805565b60405180910390a4611bd7848a8a86868a611bf8565b611be5848a8a8a8a8a611ed6565b505050505050505050565b505050505050565b505050505050565b611c1f8473ffffffffffffffffffffffffffffffffffffffff166120bd565b15611ddf578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401611c65959493929190613915565b602060405180830381600087803b158015611c7f57600080fd5b505af1925050508015611cb057506040513d601f19601f82011682018060405250810190611cad9190613992565b60015b611d5657611cbc6139cc565b806308c379a01415611d195750611cd16139ee565b80611cdc5750611d1b565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d10919061242d565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d90613af6565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614611ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd490613b88565b60405180910390fd5b505b505050505050565b60008082905060005b8451811015611e51576000858281518110611e0e57611e0d613066565b5b60200260200101519050808311611e3057611e2983826120e0565b9250611e3d565b611e3a81846120e0565b92505b508080611e49906130c4565b915050611df0565b508091505092915050565b60606000600167ffffffffffffffff811115611e7b57611e7a6124e1565b5b604051908082528060200260200182016040528015611ea95781602001602082028036833780820191505090505b5090508281600081518110611ec157611ec0613066565b5b60200260200101818152505080915050919050565b611ef58473ffffffffffffffffffffffffffffffffffffffff166120bd565b156120b5578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401611f3b959493929190613ba8565b602060405180830381600087803b158015611f5557600080fd5b505af1925050508015611f8657506040513d601f19601f82011682018060405250810190611f839190613992565b60015b61202c57611f926139cc565b806308c379a01415611fef5750611fa76139ee565b80611fb25750611ff1565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe6919061242d565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202390613af6565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa90613b88565b60405180910390fd5b505b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b82805461210390612db0565b90600052602060002090601f016020900481019282612125576000855561216c565b82601f1061213e57805160ff191683800117855561216c565b8280016001018555821561216c579182015b8281111561216b578251825591602001919060010190612150565b5b509050612179919061217d565b5090565b5b8082111561219657600081600090555060010161217e565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121d9826121ae565b9050919050565b6121e9816121ce565b81146121f457600080fd5b50565b600081359050612206816121e0565b92915050565b6000819050919050565b61221f8161220c565b811461222a57600080fd5b50565b60008135905061223c81612216565b92915050565b60008060408385031215612259576122586121a4565b5b6000612267858286016121f7565b92505060206122788582860161222d565b9150509250929050565b61228b8161220c565b82525050565b60006020820190506122a66000830184612282565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6122e1816122ac565b81146122ec57600080fd5b50565b6000813590506122fe816122d8565b92915050565b60006020828403121561231a576123196121a4565b5b6000612328848285016122ef565b91505092915050565b60008115159050919050565b61234681612331565b82525050565b6000602082019050612361600083018461233d565b92915050565b60006020828403121561237d5761237c6121a4565b5b600061238b8482850161222d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156123ce5780820151818401526020810190506123b3565b838111156123dd576000848401525b50505050565b6000601f19601f8301169050919050565b60006123ff82612394565b612409818561239f565b93506124198185602086016123b0565b612422816123e3565b840191505092915050565b6000602082019050818103600083015261244781846123f4565b905092915050565b6000819050919050565b6124628161244f565b82525050565b600060208201905061247d6000830184612459565b92915050565b61248c8161244f565b811461249757600080fd5b50565b6000813590506124a981612483565b92915050565b6000602082840312156124c5576124c46121a4565b5b60006124d38482850161249a565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612519826123e3565b810181811067ffffffffffffffff82111715612538576125376124e1565b5b80604052505050565b600061254b61219a565b90506125578282612510565b919050565b600067ffffffffffffffff821115612577576125766124e1565b5b602082029050602081019050919050565b600080fd5b60006125a061259b8461255c565b612541565b905080838252602082019050602084028301858111156125c3576125c2612588565b5b835b818110156125ec57806125d8888261222d565b8452602084019350506020810190506125c5565b5050509392505050565b600082601f83011261260b5761260a6124dc565b5b813561261b84826020860161258d565b91505092915050565b600080fd5b600067ffffffffffffffff821115612644576126436124e1565b5b61264d826123e3565b9050602081019050919050565b82818337600083830152505050565b600061267c61267784612629565b612541565b90508281526020810184848401111561269857612697612624565b5b6126a384828561265a565b509392505050565b600082601f8301126126c0576126bf6124dc565b5b81356126d0848260208601612669565b91505092915050565b600080600080600060a086880312156126f5576126f46121a4565b5b6000612703888289016121f7565b9550506020612714888289016121f7565b945050604086013567ffffffffffffffff811115612735576127346121a9565b5b612741888289016125f6565b935050606086013567ffffffffffffffff811115612762576127616121a9565b5b61276e888289016125f6565b925050608086013567ffffffffffffffff81111561278f5761278e6121a9565b5b61279b888289016126ab565b9150509295509295909350565b600067ffffffffffffffff8211156127c3576127c26124e1565b5b602082029050602081019050919050565b60006127e76127e2846127a8565b612541565b9050808382526020820190506020840283018581111561280a57612809612588565b5b835b81811015612833578061281f88826121f7565b84526020840193505060208101905061280c565b5050509392505050565b600082601f830112612852576128516124dc565b5b81356128628482602086016127d4565b91505092915050565b60008060408385031215612882576128816121a4565b5b600083013567ffffffffffffffff8111156128a05761289f6121a9565b5b6128ac8582860161283d565b925050602083013567ffffffffffffffff8111156128cd576128cc6121a9565b5b6128d9858286016125f6565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6129188161220c565b82525050565b600061292a838361290f565b60208301905092915050565b6000602082019050919050565b600061294e826128e3565b61295881856128ee565b9350612963836128ff565b8060005b8381101561299457815161297b888261291e565b975061298683612936565b925050600181019050612967565b5085935050505092915050565b600060208201905081810360008301526129bb8184612943565b905092915050565b600067ffffffffffffffff8211156129de576129dd6124e1565b5b6129e7826123e3565b9050602081019050919050565b6000612a07612a02846129c3565b612541565b905082815260208101848484011115612a2357612a22612624565b5b612a2e84828561265a565b509392505050565b600082601f830112612a4b57612a4a6124dc565b5b8135612a5b8482602086016129f4565b91505092915050565b600060208284031215612a7a57612a796121a4565b5b600082013567ffffffffffffffff811115612a9857612a976121a9565b5b612aa484828501612a36565b91505092915050565b600060208284031215612ac357612ac26121a4565b5b6000612ad1848285016121f7565b91505092915050565b600080fd5b60008083601f840112612af557612af46124dc565b5b8235905067ffffffffffffffff811115612b1257612b11612ada565b5b602083019150836020820283011115612b2e57612b2d612588565b5b9250929050565b60008060208385031215612b4c57612b4b6121a4565b5b600083013567ffffffffffffffff811115612b6a57612b696121a9565b5b612b7685828601612adf565b92509250509250929050565b612b8b816121ce565b82525050565b6000602082019050612ba66000830184612b82565b92915050565b612bb581612331565b8114612bc057600080fd5b50565b600081359050612bd281612bac565b92915050565b60008060408385031215612bef57612bee6121a4565b5b6000612bfd858286016121f7565b9250506020612c0e85828601612bc3565b9150509250929050565b60008060408385031215612c2f57612c2e6121a4565b5b6000612c3d858286016121f7565b9250506020612c4e858286016121f7565b9150509250929050565b600080600080600060a08688031215612c7457612c736121a4565b5b6000612c82888289016121f7565b9550506020612c93888289016121f7565b9450506040612ca48882890161222d565b9350506060612cb58882890161222d565b925050608086013567ffffffffffffffff811115612cd657612cd56121a9565b5b612ce2888289016126ab565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000612d4b602b8361239f565b9150612d5682612cef565b604082019050919050565b60006020820190508181036000830152612d7a81612d3e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612dc857607f821691505b60208210811415612ddc57612ddb612d81565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612e0f81612db0565b612e198186612de2565b94506001821660008114612e345760018114612e4557612e78565b60ff19831686528186019350612e78565b612e4e85612ded565b60005b83811015612e7057815481890152600182019150602081019050612e51565b838801955050505b50505092915050565b6000612e8c82612394565b612e968185612de2565b9350612ea68185602086016123b0565b80840191505092915050565b6000612ebe8285612e02565b9150612eca8284612e81565b91508190509392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f0c60208361239f565b9150612f1782612ed6565b602082019050919050565b60006020820190508181036000830152612f3b81612eff565b9050919050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000612f9e60328361239f565b9150612fa982612f42565b604082019050919050565b60006020820190508181036000830152612fcd81612f91565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b600061303060298361239f565b915061303b82612fd4565b604082019050919050565b6000602082019050818103600083015261305f81613023565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006130cf8261220c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561310257613101613095565b5b600182019050919050565b7f436c61696d2077696e646f77206973206e6f7420616374697665000000000000600082015250565b6000613143601a8361239f565b915061314e8261310d565b602082019050919050565b6000602082019050818103600083015261317281613136565b9050919050565b60008160601b9050919050565b600061319182613179565b9050919050565b60006131a382613186565b9050919050565b6131bb6131b6826121ce565b613198565b82525050565b60006131cd82846131aa565b60148201915081905092915050565b7f4e6f7420456c696769626c650000000000000000000000000000000000000000600082015250565b6000613212600c8361239f565b915061321d826131dc565b602082019050919050565b6000602082019050818103600083015261324181613205565b9050919050565b7f596f75206861766520616c726561647920636c61696d6564207468697320706960008201527f6563650000000000000000000000000000000000000000000000000000000000602082015250565b60006132a460238361239f565b91506132af82613248565b604082019050919050565b600060208201905081810360008301526132d381613297565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b600061333660298361239f565b9150613341826132da565b604082019050919050565b6000602082019050818103600083015261336581613329565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006133c860268361239f565b91506133d38261336c565b604082019050919050565b600060208201905081810360008301526133f7816133bb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134388261220c565b91506134438361220c565b925082613453576134526133fe565b5b828204905092915050565b60006134698261220c565b91506134748361220c565b92508282101561348757613486613095565b5b828203905092915050565b600061349d8261220c565b91506134a88361220c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134e1576134e0613095565b5b828202905092915050565b600060ff82169050919050565b6000613504826134ec565b915061350f836134ec565b92508260ff0382111561352557613524613095565b5b828201905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061358c60288361239f565b915061359782613530565b604082019050919050565b600060208201905081810360008301526135bb8161357f565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b600061361e60258361239f565b9150613629826135c2565b604082019050919050565b6000602082019050818103600083015261364d81613611565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006136b0602a8361239f565b91506136bb82613654565b604082019050919050565b600060208201905081810360008301526136df816136a3565b9050919050565b60006136f18261220c565b91506136fc8361220c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561373157613730613095565b5b828201905092915050565b600060408201905081810360008301526137568185612943565b9050818103602083015261376a8184612943565b90509392505050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006137cf60218361239f565b91506137da82613773565b604082019050919050565b600060208201905081810360008301526137fe816137c2565b9050919050565b600060408201905061381a6000830185612282565b6138276020830184612282565b9392505050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061388a60298361239f565b91506138958261382e565b604082019050919050565b600060208201905081810360008301526138b98161387d565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006138e7826138c0565b6138f181856138cb565b93506139018185602086016123b0565b61390a816123e3565b840191505092915050565b600060a08201905061392a6000830188612b82565b6139376020830187612b82565b81810360408301526139498186612943565b9050818103606083015261395d8185612943565b9050818103608083015261397181846138dc565b90509695505050505050565b60008151905061398c816122d8565b92915050565b6000602082840312156139a8576139a76121a4565b5b60006139b68482850161397d565b91505092915050565b60008160e01c9050919050565b600060033d11156139eb5760046000803e6139e86000516139bf565b90505b90565b600060443d10156139fe57613a81565b613a0661219a565b60043d036004823e80513d602482011167ffffffffffffffff82111715613a2e575050613a81565b808201805167ffffffffffffffff811115613a4c5750505050613a81565b80602083010160043d038501811115613a69575050505050613a81565b613a7882602001850186612510565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000613ae060348361239f565b9150613aeb82613a84565b604082019050919050565b60006020820190508181036000830152613b0f81613ad3565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000613b7260288361239f565b9150613b7d82613b16565b604082019050919050565b60006020820190508181036000830152613ba181613b65565b9050919050565b600060a082019050613bbd6000830188612b82565b613bca6020830187612b82565b613bd76040830186612282565b613be46060830185612282565b8181036080830152613bf681846138dc565b9050969550505050505056fea264697066735822122083052ef1e1e8db298bb320f70de08a88caf9a4e75c41ee6aeb96c397105e3ee564736f6c63430008090033
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.