Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
8,888 BBM
Holders
3,898
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:
BunnyBuddiesMembership
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract BunnyBuddiesMembership is ERC1155, Ownable { using Strings for uint256; // maxSupply[0] -> gold / maxSupply[1] -> platinum / maxSupply[2] -> diamond / mapping(uint256 => uint256) public maxSupply; mapping(uint256 => uint256) public totalSupplyReached; mapping(address => mapping(uint256 => uint256)) public balanceByType; mapping(address => bool) public isClaim; // workflow : 0 -> closed or airdrop / 1 -> gold claim / 2 -> platinum claim / -> 3 diamond claim uint256 public workflow = 0; uint256 public goldBurn = 8; uint256 public platinumBurn = 2; bytes32 public merkleRoot; string public baseURI; string public _name = 'BunnyBuddiesMembership'; string public _symbol = 'BBM'; constructor() ERC1155("") { maxSupply[0] = 8888; maxSupply[1] = 555; maxSupply[2] = 111; } event ChangeBaseURI(string _baseURI); event GoldClaim(address indexed _minter, uint256 _amount); event PlatinumMint(address indexed _minter, uint256 _amount); event DiamondMint(address indexed _minter, uint256 _amount); function _checkFreeAmount(uint256 amount, bytes32[] calldata proof) internal view returns(bool) { require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encode(msg.sender, amount)))); return true; } function goldAirdrop(address[] memory _walletAddress, uint256[] memory _nftToClaim) external onlyOwner { uint256 lthWallet = _walletAddress.length; uint256 lthNft = _nftToClaim.length; require(lthWallet == lthNft, "Arrays have not same length!"); for (uint256 i = 0; i < lthWallet; ++i) { _mint(_walletAddress[i],0, _nftToClaim[i], ""); balanceByType[_walletAddress[i]][0] += _nftToClaim[i]; totalSupplyReached[0] += _nftToClaim[i]; } } function goldClaim(uint256 amount, bytes32[] calldata _merkleProof) public { require(workflow == 1, "Claim : gold claim not open"); require(totalSupplyReached[0] + amount <= maxSupply[0], "Max golden card supply limite"); require(!isClaim[address(msg.sender)], "already claimed"); bool access = _checkFreeAmount(amount, _merkleProof); require(access); _mint(address(msg.sender), 0, amount, ""); balanceByType[address(msg.sender)][0] += amount; totalSupplyReached[0] += amount; isClaim[address(msg.sender)] = true; emit GoldClaim(msg.sender, amount); } function platinumMint(uint256 amount) public { require(workflow == 2, "Claim : platinum Mint not open"); require(totalSupplyReached[1] + amount <= maxSupply[1], "Max platinum card supply limite"); uint256 toBurn = amount * goldBurn; require(balanceByType[address(msg.sender)][0] >= toBurn); _burn(address(msg.sender), 0, amount * goldBurn); if (balanceByType[address(msg.sender)][0] >= toBurn) { balanceByType[address(msg.sender)][0] -= toBurn; } else { balanceByType[address(msg.sender)][0] = 0; } _mint(address(msg.sender), 1, amount, ""); balanceByType[address(msg.sender)][1] += amount; totalSupplyReached[1] += amount; emit PlatinumMint(msg.sender, amount); } function diamondMint(uint256 amount) public { require(workflow == 3, "Claim : diamond Mint not open"); require(totalSupplyReached[2] + amount <= maxSupply[2], "Max diamond card supply limite"); uint256 toBurn = amount * platinumBurn; require(balanceByType[address(msg.sender)][1] >= toBurn); _burn(address(msg.sender), 1, toBurn); if (balanceByType[address(msg.sender)][1] >= toBurn) { balanceByType[address(msg.sender)][1] -= toBurn; } else { balanceByType[address(msg.sender)][1] = 0; } _mint(address(msg.sender), 2, amount, ""); balanceByType[address(msg.sender)][2] += amount; totalSupplyReached[2] += amount; emit DiamondMint(msg.sender, amount); } function uri(uint256 _id) public view virtual override returns (string memory) { return string(abi.encodePacked(baseURI, _id.toString(), ".json")); } //-----------NFT MANAGEMENT-------------// function updateSupply(uint256 goldSupply, uint256 platinumSupply, uint256 diamondSupply) external onlyOwner { maxSupply[0] = goldSupply; maxSupply[1] = platinumSupply; maxSupply[2] = diamondSupply; } function getSupply(uint256 tokenID) external view returns (uint256) { return maxSupply[tokenID]; } function updateBurnAmount(uint256 _goldBurn, uint256 _platinumBurn) external onlyOwner { goldBurn = _goldBurn; platinumBurn = _platinumBurn; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } //----------WORKFLOW MANAGEMENT-----------// function close() external onlyOwner { workflow = 0; } function setUpGoldClaim() external onlyOwner { workflow = 1; } function setUpPlatinumClaim() external onlyOwner { workflow = 2; } function setUpDiamondClaim() external onlyOwner { workflow = 3; } function getSaleStatus() public view returns (uint256) { return workflow; } //-----------MERKLE MANAGEMENT-------------// function setMerkleRoot(bytes32 root) public onlyOwner { merkleRoot = root; } //---------------- OTHER ----------------// function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(address(owner())).transfer( balance ); } function name() external view returns (string memory) { return _name; } function symbol() external view returns (string memory) { return _symbol; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: address zero is not a valid owner"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not token owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Emits a {TransferSingle} event. * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `ids` and `amounts` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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":false,"internalType":"string","name":"_baseURI","type":"string"}],"name":"ChangeBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"DiamondMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"GoldClaim","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":"_minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"PlatinumMint","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":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"balanceByType","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"close","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"diamondMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getSaleStatus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"}],"name":"getSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_walletAddress","type":"address[]"},{"internalType":"uint256[]","name":"_nftToClaim","type":"uint256[]"}],"name":"goldAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"goldBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"goldClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platinumBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"platinumMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setUpDiamondClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setUpGoldClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setUpPlatinumClaim","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":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalSupplyReached","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_goldBurn","type":"uint256"},{"internalType":"uint256","name":"_platinumBurn","type":"uint256"}],"name":"updateBurnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"goldSupply","type":"uint256"},{"internalType":"uint256","name":"platinumSupply","type":"uint256"},{"internalType":"uint256","name":"diamondSupply","type":"uint256"}],"name":"updateSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"workflow","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052600060085560086009556002600a556040518060400160405280601681526020017f42756e6e79427564646965734d656d6265727368697000000000000000000000815250600d9080519060200190620000609291906200023e565b506040518060400160405280600381526020017f42424d0000000000000000000000000000000000000000000000000000000000815250600e9080519060200190620000ae9291906200023e565b50348015620000bc57600080fd5b5060405180602001604052806000815250620000de816200015460201b60201c565b50620000ff620000f36200017060201b60201c565b6200017860201b60201c565b6122b8600460008081526020019081526020016000208190555061022b600460006001815260200190815260200160002081905550606f60046000600281526020019081526020016000208190555062000353565b80600290805190602001906200016c9291906200023e565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024c90620002ee565b90600052602060002090601f016020900481019282620002705760008555620002bc565b82601f106200028b57805160ff1916838001178555620002bc565b82800160010185558215620002bc579182015b82811115620002bb5782518255916020019190600101906200029e565b5b509050620002cb9190620002cf565b5090565b5b80821115620002ea576000816000905550600101620002d0565b5090565b600060028204905060018216806200030757607f821691505b602082108114156200031e576200031d62000324565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614ef480620003636000396000f3fe608060405234801561001057600080fd5b506004361061023c5760003560e01c80637cb647591161013b578063c5ee0994116100b8578063f26319421161007c578063f263194214610643578063f2fde38b14610673578063f69296de1461068f578063f77ee79d146106ab578063f8829003146106db5761023c565b8063c5ee0994146105b3578063d28d8852146105cf578063e985e9c5146105ed578063f0a421231461061d578063f242432a146106275761023c565b8063a22cb465116100ff578063a22cb46514610535578063a334412514610551578063a76f0a931461056f578063b09f126614610579578063c283c4ce146105975761023c565b80637cb647591461048f578063869f7594146104ab5780638c3c4b34146104db5780638da5cb5b146104f957806395d89b41146105175761023c565b80633ccfd60b116101c957806355f804b31161018d57806355f804b3146103ff5780636c0360eb1461041b578063715018a6146104395780637223724314610443578063727eed001461045f5761023c565b80633ccfd60b146103935780634032c5191461039d57806343d726d6146103a75780634e1273f4146103b1578063547e5966146103e15761023c565b80630e89341c116102105780630e89341c146102ef5780632aa010e11461031f5780632c1cbaa31461033d5780632eb2c2d6146103595780632eb4a7ab146103755761023c565b8062fdd58e1461024157806301ffc9a71461027157806306fdde03146102a15780630d88f956146102bf575b600080fd5b61025b60048036038101906102569190613613565b6106f7565b6040516102689190614269565b60405180910390f35b61028b600480360381019061028691906136f8565b6107c0565b6040516102989190613f51565b60405180910390f35b6102a96108a2565b6040516102b69190613f87565b60405180910390f35b6102d960048036038101906102d4919061379b565b610934565b6040516102e69190614269565b60405180910390f35b6103096004803603810190610304919061379b565b61094c565b6040516103169190613f87565b60405180910390f35b610327610980565b6040516103349190614269565b60405180910390f35b6103576004803603810190610352919061379b565b610986565b005b610373600480360381019061036e919061346d565b610ce4565b005b61037d610d85565b60405161038a9190613f6c565b60405180910390f35b61039b610d8b565b005b6103a5610de9565b005b6103af610dfb565b005b6103cb60048036038101906103c69190613653565b610e0d565b6040516103d89190613ef8565b60405180910390f35b6103e9610f26565b6040516103f69190614269565b60405180910390f35b61041960048036038101906104149190613752565b610f2c565b005b610423610f4e565b6040516104309190613f87565b60405180910390f35b610441610fdc565b005b61045d6004803603810190610458919061379b565b610ff0565b005b61047960048036038101906104749190613400565b611345565b6040516104869190613f51565b60405180910390f35b6104a960048036038101906104a491906136cb565b611365565b005b6104c560048036038101906104c0919061379b565b611377565b6040516104d29190614269565b60405180910390f35b6104e361138f565b6040516104f09190614269565b60405180910390f35b610501611399565b60405161050e9190613df2565b60405180910390f35b61051f6113c3565b60405161052c9190613f87565b60405180910390f35b61054f600480360381019061054a91906135d3565b611455565b005b61055961146b565b6040516105669190614269565b60405180910390f35b610577611471565b005b610581611483565b60405161058e9190613f87565b60405180910390f35b6105b160048036038101906105ac9190613653565b611511565b005b6105cd60048036038101906105c891906137c8565b6116b9565b005b6105d7611971565b6040516105e49190613f87565b60405180910390f35b6106076004803603810190610602919061342d565b6119ff565b6040516106149190613f51565b60405180910390f35b610625611a93565b005b610641600480360381019061063c919061353c565b611aa5565b005b61065d60048036038101906106589190613613565b611b46565b60405161066a9190614269565b60405180910390f35b61068d60048036038101906106889190613400565b611b6b565b005b6106a960048036038101906106a49190613828565b611bef565b005b6106c560048036038101906106c0919061379b565b611c09565b6040516106d29190614269565b60405180910390f35b6106f560048036038101906106f09190613868565b611c26565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f906140a9565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089b575061089a82611c7d565b5b9050919050565b6060600d80546108b1906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546108dd906145f2565b801561092a5780601f106108ff5761010080835404028352916020019161092a565b820191906000526020600020905b81548152906001019060200180831161090d57829003601f168201915b5050505050905090565b60056020528060005260406000206000915090505481565b6060600c61095983611ce7565b60405160200161096a929190613dc3565b6040516020818303038152906040529050919050565b600a5481565b6002600854146109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c2906141c9565b60405180910390fd5b60046000600181526020019081526020016000205481600560006001815260200190815260200160002054610a00919061441d565b1115610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a38906140c9565b60405180910390fd5b600060095482610a5191906144a4565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020541015610ab057600080fd5b610ac933600060095485610ac491906144a4565b611e48565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000205410610b8c5780600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254610b8091906144fe565b92505081905550610be3565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020819055505b610bff336001846040518060200160405280600081525061208f565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000206000828254610c60919061441d565b925050819055508160056000600181526020019081526020016000206000828254610c8b919061441d565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe2c92aeb0130078198c7cef1cb683a8fcc11c52389535ae078bd0636555d8e9483604051610cd89190614269565b60405180910390a25050565b610cec612240565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d325750610d3185610d2c612240565b6119ff565b5b610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613fc9565b60405180910390fd5b610d7e8585858585612248565b5050505050565b600b5481565b610d9361256a565b6000479050610da0611399565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610de5573d6000803e3d6000fd5b5050565b610df161256a565b6002600881905550565b610e0361256a565b6000600881905550565b60608151835114610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a90614209565b60405180910390fd5b6000835167ffffffffffffffff811115610e7057610e6f61478b565b5b604051908082528060200260200182016040528015610e9e5781602001602082028036833780820191505090505b50905060005b8451811015610f1b57610eeb858281518110610ec357610ec261475c565b5b6020026020010151858381518110610ede57610edd61475c565b5b60200260200101516106f7565b828281518110610efe57610efd61475c565b5b60200260200101818152505080610f1490614655565b9050610ea4565b508091505092915050565b60095481565b610f3461256a565b80600c9080519060200190610f4a92919061306d565b5050565b600c8054610f5b906145f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f87906145f2565b8015610fd45780601f10610fa957610100808354040283529160200191610fd4565b820191906000526020600020905b815481529060010190602001808311610fb757829003601f168201915b505050505081565b610fe461256a565b610fee60006125e8565b565b600360085414611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906141a9565b60405180910390fd5b6004600060028152602001908152602001600020548160056000600281526020019081526020016000205461106a919061441d565b11156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a290614009565b60405180910390fd5b6000600a54826110bb91906144a4565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002054101561111b57600080fd5b61112733600183611e48565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002054106111ec5780600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546111e091906144fe565b92505081905550611244565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020819055505b611260336002846040518060200160405280600081525061208f565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002060008282546112c1919061441d565b9250508190555081600560006002815260200190815260200160002060008282546112ec919061441d565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe569fec44767919b31443aebcbae238c2b87ad5510f6c125c764f41eeeaace2a836040516113399190614269565b60405180910390a25050565b60076020528060005260406000206000915054906101000a900460ff1681565b61136d61256a565b80600b8190555050565b60046020528060005260406000206000915090505481565b6000600854905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600e80546113d2906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546113fe906145f2565b801561144b5780601f106114205761010080835404028352916020019161144b565b820191906000526020600020905b81548152906001019060200180831161142e57829003601f168201915b5050505050905090565b611467611460612240565b83836126ae565b5050565b60085481565b61147961256a565b6003600881905550565b600e8054611490906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546114bc906145f2565b80156115095780601f106114de57610100808354040283529160200191611509565b820191906000526020600020905b8154815290600101906020018083116114ec57829003601f168201915b505050505081565b61151961256a565b600082519050600082519050808214611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906140e9565b60405180910390fd5b60005b828110156116b2576115c28582815181106115885761158761475c565b5b602002602001015160008684815181106115a5576115a461475c565b5b60200260200101516040518060200160405280600081525061208f565b8381815181106115d5576115d461475c565b5b6020026020010151600660008784815181106115f4576115f361475c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254611656919061441d565b925050819055508381815181106116705761166f61475c565b5b602002602001015160056000808152602001908152602001600020600082825461169a919061441d565b92505081905550806116ab90614655565b905061156a565b5050505050565b6001600854146116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f590614169565b60405180910390fd5b6004600080815260200190815260200160002054836005600080815260200190815260200160002054611731919061441d565b1115611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614089565b60405180910390fd5b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614069565b60405180910390fd5b600061180c84848461281b565b90508061181857600080fd5b611834336000866040518060200160405280600081525061208f565b83600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254611894919061441d565b92505081905550836005600080815260200190815260200160002060008282546118be919061441d565b925050819055506001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f2534a0ef7430835432c347a379b26ce176e5073d029391d449554f7273d14555856040516119639190614269565b60405180910390a250505050565b600d805461197e906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546119aa906145f2565b80156119f75780601f106119cc576101008083540402835291602001916119f7565b820191906000526020600020905b8154815290600101906020018083116119da57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a9b61256a565b6001600881905550565b611aad612240565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611af35750611af285611aed612240565b6119ff565b5b611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2990613fc9565b60405180910390fd5b611b3f85858585856128a7565b5050505050565b6006602052816000526040600020602052806000526040600020600091509150505481565b611b7361256a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614029565b60405180910390fd5b611bec816125e8565b50565b611bf761256a565b8160098190555080600a819055505050565b600060046000838152602001908152602001600020549050919050565b611c2e61256a565b8260046000808152602001908152602001600020819055508160046000600181526020019081526020016000208190555080600460006002815260200190815260200160002081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611d2f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e43565b600082905060005b60008214611d61578080611d4a90614655565b915050600a82611d5a9190614473565b9150611d37565b60008167ffffffffffffffff811115611d7d57611d7c61478b565b5b6040519080825280601f01601f191660200182016040528015611daf5781602001600182028036833780820191505090505b5090505b60008514611e3c57600182611dc891906144fe565b9150600a85611dd7919061469e565b6030611de3919061441d565b60f81b818381518110611df957611df861475c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e359190614473565b9450611db3565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf90614129565b60405180910390fd5b6000611ec2612240565b90506000611ecf84612b43565b90506000611edc84612b43565b9050611efc83876000858560405180602001604052806000815250612bbd565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8a90614049565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612060929190614284565b60405180910390a461208684886000868660405180602001604052806000815250612bc5565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614249565b60405180910390fd5b6000612109612240565b9050600061211685612b43565b9050600061212385612b43565b905061213483600089858589612bbd565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612193919061441d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612211929190614284565b60405180910390a461222883600089858589612bc5565b61223783600089898989612bcd565b50505050505050565b600033905090565b815183511461228c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228390614229565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f390614109565b60405180910390fd5b6000612306612240565b9050612316818787878787612bbd565b60005b84518110156124c75760008582815181106123375761233661475c565b5b6020026020010151905060008583815181106123565761235561475c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90614149565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ac919061441d565b92505081905550505050806124c090614655565b9050612319565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161253e929190613f1a565b60405180910390a4612554818787878787612bc5565b612562818787878787612db4565b505050505050565b612572612240565b73ffffffffffffffffffffffffffffffffffffffff16612590611399565b73ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614189565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561271d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612714906141e9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161280e9190613f51565b60405180910390a3505050565b6000612893838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543387604051602001612878929190613ecf565b60405160208183030381529060405280519060200120612f9b565b61289c57600080fd5b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e90614109565b60405180910390fd5b6000612921612240565b9050600061292e85612b43565b9050600061293b85612b43565b905061294b838989858589612bbd565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d990614149565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a97919061441d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612b14929190614284565b60405180910390a4612b2a848a8a86868a612bc5565b612b38848a8a8a8a8a612bcd565b505050505050505050565b60606000600167ffffffffffffffff811115612b6257612b6161478b565b5b604051908082528060200260200182016040528015612b905781602001602082028036833780820191505090505b5090508281600081518110612ba857612ba761475c565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612bec8473ffffffffffffffffffffffffffffffffffffffff16612fb2565b15612dac578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612c32959493929190613e75565b602060405180830381600087803b158015612c4c57600080fd5b505af1925050508015612c7d57506040513d601f19601f82011682018060405250810190612c7a9190613725565b60015b612d2357612c896147ba565b806308c379a01415612ce65750612c9e614db5565b80612ca95750612ce8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd9190613f87565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1a90613fa9565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da190613fe9565b60405180910390fd5b505b505050505050565b612dd38473ffffffffffffffffffffffffffffffffffffffff16612fb2565b15612f93578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612e19959493929190613e0d565b602060405180830381600087803b158015612e3357600080fd5b505af1925050508015612e6457506040513d601f19601f82011682018060405250810190612e619190613725565b60015b612f0a57612e706147ba565b806308c379a01415612ecd5750612e85614db5565b80612e905750612ecf565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec49190613f87565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190613fa9565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8890613fe9565b60405180910390fd5b505b505050505050565b600082612fa88584612fd5565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156130205761300b82868381518110612ffe57612ffd61475c565b5b602002602001015161302b565b9150808061301890614655565b915050612fde565b508091505092915050565b60008183106130435761303e8284613056565b61304e565b61304d8383613056565b5b905092915050565b600082600052816020526040600020905092915050565b828054613079906145f2565b90600052602060002090601f01602090048101928261309b57600085556130e2565b82601f106130b457805160ff19168380011785556130e2565b828001600101855582156130e2579182015b828111156130e15782518255916020019190600101906130c6565b5b5090506130ef91906130f3565b5090565b5b8082111561310c5760008160009055506001016130f4565b5090565b600061312361311e846142d2565b6142ad565b90508083825260208201905082856020860282011115613146576131456147e6565b5b60005b85811015613176578161315c8882613274565b845260208401935060208301925050600181019050613149565b5050509392505050565b600061319361318e846142fe565b6142ad565b905080838252602082019050828560208602820111156131b6576131b56147e6565b5b60005b858110156131e657816131cc88826133eb565b8452602084019350602083019250506001810190506131b9565b5050509392505050565b60006132036131fe8461432a565b6142ad565b90508281526020810184848401111561321f5761321e6147eb565b5b61322a8482856145b0565b509392505050565b60006132456132408461435b565b6142ad565b905082815260208101848484011115613261576132606147eb565b5b61326c8482856145b0565b509392505050565b60008135905061328381614e4b565b92915050565b600082601f83011261329e5761329d6147e1565b5b81356132ae848260208601613110565b91505092915050565b60008083601f8401126132cd576132cc6147e1565b5b8235905067ffffffffffffffff8111156132ea576132e96147dc565b5b602083019150836020820283011115613306576133056147e6565b5b9250929050565b600082601f830112613322576133216147e1565b5b8135613332848260208601613180565b91505092915050565b60008135905061334a81614e62565b92915050565b60008135905061335f81614e79565b92915050565b60008135905061337481614e90565b92915050565b60008151905061338981614e90565b92915050565b600082601f8301126133a4576133a36147e1565b5b81356133b48482602086016131f0565b91505092915050565b600082601f8301126133d2576133d16147e1565b5b81356133e2848260208601613232565b91505092915050565b6000813590506133fa81614ea7565b92915050565b600060208284031215613416576134156147f5565b5b600061342484828501613274565b91505092915050565b60008060408385031215613444576134436147f5565b5b600061345285828601613274565b925050602061346385828601613274565b9150509250929050565b600080600080600060a08688031215613489576134886147f5565b5b600061349788828901613274565b95505060206134a888828901613274565b945050604086013567ffffffffffffffff8111156134c9576134c86147f0565b5b6134d58882890161330d565b935050606086013567ffffffffffffffff8111156134f6576134f56147f0565b5b6135028882890161330d565b925050608086013567ffffffffffffffff811115613523576135226147f0565b5b61352f8882890161338f565b9150509295509295909350565b600080600080600060a08688031215613558576135576147f5565b5b600061356688828901613274565b955050602061357788828901613274565b9450506040613588888289016133eb565b9350506060613599888289016133eb565b925050608086013567ffffffffffffffff8111156135ba576135b96147f0565b5b6135c68882890161338f565b9150509295509295909350565b600080604083850312156135ea576135e96147f5565b5b60006135f885828601613274565b92505060206136098582860161333b565b9150509250929050565b6000806040838503121561362a576136296147f5565b5b600061363885828601613274565b9250506020613649858286016133eb565b9150509250929050565b6000806040838503121561366a576136696147f5565b5b600083013567ffffffffffffffff811115613688576136876147f0565b5b61369485828601613289565b925050602083013567ffffffffffffffff8111156136b5576136b46147f0565b5b6136c18582860161330d565b9150509250929050565b6000602082840312156136e1576136e06147f5565b5b60006136ef84828501613350565b91505092915050565b60006020828403121561370e5761370d6147f5565b5b600061371c84828501613365565b91505092915050565b60006020828403121561373b5761373a6147f5565b5b60006137498482850161337a565b91505092915050565b600060208284031215613768576137676147f5565b5b600082013567ffffffffffffffff811115613786576137856147f0565b5b613792848285016133bd565b91505092915050565b6000602082840312156137b1576137b06147f5565b5b60006137bf848285016133eb565b91505092915050565b6000806000604084860312156137e1576137e06147f5565b5b60006137ef868287016133eb565b935050602084013567ffffffffffffffff8111156138105761380f6147f0565b5b61381c868287016132b7565b92509250509250925092565b6000806040838503121561383f5761383e6147f5565b5b600061384d858286016133eb565b925050602061385e858286016133eb565b9150509250929050565b600080600060608486031215613881576138806147f5565b5b600061388f868287016133eb565b93505060206138a0868287016133eb565b92505060406138b1868287016133eb565b9150509250925092565b60006138c78383613da5565b60208301905092915050565b6138dc81614532565b82525050565b60006138ed826143b1565b6138f781856143df565b93506139028361438c565b8060005b8381101561393357815161391a88826138bb565b9750613925836143d2565b925050600181019050613906565b5085935050505092915050565b61394981614544565b82525050565b61395881614550565b82525050565b6000613969826143bc565b61397381856143f0565b93506139838185602086016145bf565b61398c816147fa565b840191505092915050565b60006139a2826143c7565b6139ac8185614401565b93506139bc8185602086016145bf565b6139c5816147fa565b840191505092915050565b60006139db826143c7565b6139e58185614412565b93506139f58185602086016145bf565b80840191505092915050565b60008154613a0e816145f2565b613a188186614412565b94506001821660008114613a335760018114613a4457613a77565b60ff19831686528186019350613a77565b613a4d8561439c565b60005b83811015613a6f57815481890152600182019150602081019050613a50565b838801955050505b50505092915050565b6000613a8d603483614401565b9150613a9882614818565b604082019050919050565b6000613ab0602f83614401565b9150613abb82614867565b604082019050919050565b6000613ad3602883614401565b9150613ade826148b6565b604082019050919050565b6000613af6601e83614401565b9150613b0182614905565b602082019050919050565b6000613b19602683614401565b9150613b248261492e565b604082019050919050565b6000613b3c602483614401565b9150613b478261497d565b604082019050919050565b6000613b5f600f83614401565b9150613b6a826149cc565b602082019050919050565b6000613b82601d83614401565b9150613b8d826149f5565b602082019050919050565b6000613ba5602a83614401565b9150613bb082614a1e565b604082019050919050565b6000613bc8601f83614401565b9150613bd382614a6d565b602082019050919050565b6000613beb601c83614401565b9150613bf682614a96565b602082019050919050565b6000613c0e602583614401565b9150613c1982614abf565b604082019050919050565b6000613c31602383614401565b9150613c3c82614b0e565b604082019050919050565b6000613c54602a83614401565b9150613c5f82614b5d565b604082019050919050565b6000613c77600583614412565b9150613c8282614bac565b600582019050919050565b6000613c9a601b83614401565b9150613ca582614bd5565b602082019050919050565b6000613cbd602083614401565b9150613cc882614bfe565b602082019050919050565b6000613ce0601d83614401565b9150613ceb82614c27565b602082019050919050565b6000613d03601e83614401565b9150613d0e82614c50565b602082019050919050565b6000613d26602983614401565b9150613d3182614c79565b604082019050919050565b6000613d49602983614401565b9150613d5482614cc8565b604082019050919050565b6000613d6c602883614401565b9150613d7782614d17565b604082019050919050565b6000613d8f602183614401565b9150613d9a82614d66565b604082019050919050565b613dae816145a6565b82525050565b613dbd816145a6565b82525050565b6000613dcf8285613a01565b9150613ddb82846139d0565b9150613de682613c6a565b91508190509392505050565b6000602082019050613e0760008301846138d3565b92915050565b600060a082019050613e2260008301886138d3565b613e2f60208301876138d3565b8181036040830152613e4181866138e2565b90508181036060830152613e5581856138e2565b90508181036080830152613e69818461395e565b90509695505050505050565b600060a082019050613e8a60008301886138d3565b613e9760208301876138d3565b613ea46040830186613db4565b613eb16060830185613db4565b8181036080830152613ec3818461395e565b90509695505050505050565b6000604082019050613ee460008301856138d3565b613ef16020830184613db4565b9392505050565b60006020820190508181036000830152613f1281846138e2565b905092915050565b60006040820190508181036000830152613f3481856138e2565b90508181036020830152613f4881846138e2565b90509392505050565b6000602082019050613f666000830184613940565b92915050565b6000602082019050613f81600083018461394f565b92915050565b60006020820190508181036000830152613fa18184613997565b905092915050565b60006020820190508181036000830152613fc281613a80565b9050919050565b60006020820190508181036000830152613fe281613aa3565b9050919050565b6000602082019050818103600083015261400281613ac6565b9050919050565b6000602082019050818103600083015261402281613ae9565b9050919050565b6000602082019050818103600083015261404281613b0c565b9050919050565b6000602082019050818103600083015261406281613b2f565b9050919050565b6000602082019050818103600083015261408281613b52565b9050919050565b600060208201905081810360008301526140a281613b75565b9050919050565b600060208201905081810360008301526140c281613b98565b9050919050565b600060208201905081810360008301526140e281613bbb565b9050919050565b6000602082019050818103600083015261410281613bde565b9050919050565b6000602082019050818103600083015261412281613c01565b9050919050565b6000602082019050818103600083015261414281613c24565b9050919050565b6000602082019050818103600083015261416281613c47565b9050919050565b6000602082019050818103600083015261418281613c8d565b9050919050565b600060208201905081810360008301526141a281613cb0565b9050919050565b600060208201905081810360008301526141c281613cd3565b9050919050565b600060208201905081810360008301526141e281613cf6565b9050919050565b6000602082019050818103600083015261420281613d19565b9050919050565b6000602082019050818103600083015261422281613d3c565b9050919050565b6000602082019050818103600083015261424281613d5f565b9050919050565b6000602082019050818103600083015261426281613d82565b9050919050565b600060208201905061427e6000830184613db4565b92915050565b60006040820190506142996000830185613db4565b6142a66020830184613db4565b9392505050565b60006142b76142c8565b90506142c38282614624565b919050565b6000604051905090565b600067ffffffffffffffff8211156142ed576142ec61478b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143195761431861478b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143455761434461478b565b5b61434e826147fa565b9050602081019050919050565b600067ffffffffffffffff8211156143765761437561478b565b5b61437f826147fa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614428826145a6565b9150614433836145a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614468576144676146cf565b5b828201905092915050565b600061447e826145a6565b9150614489836145a6565b925082614499576144986146fe565b5b828204905092915050565b60006144af826145a6565b91506144ba836145a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144f3576144f26146cf565b5b828202905092915050565b6000614509826145a6565b9150614514836145a6565b925082821015614527576145266146cf565b5b828203905092915050565b600061453d82614586565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145dd5780820151818401526020810190506145c2565b838111156145ec576000848401525b50505050565b6000600282049050600182168061460a57607f821691505b6020821081141561461e5761461d61472d565b5b50919050565b61462d826147fa565b810181811067ffffffffffffffff8211171561464c5761464b61478b565b5b80604052505050565b6000614660826145a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614693576146926146cf565b5b600182019050919050565b60006146a9826145a6565b91506146b4836145a6565b9250826146c4576146c36146fe565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156147d95760046000803e6147d660005161480b565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4d6178206469616d6f6e64206361726420737570706c79206c696d6974650000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b7f4d617820676f6c64656e206361726420737570706c79206c696d697465000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f4d617820706c6174696e756d206361726420737570706c79206c696d69746500600082015250565b7f4172726179732068617665206e6f742073616d65206c656e6774682100000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f436c61696d203a20676f6c6420636c61696d206e6f74206f70656e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436c61696d203a206469616d6f6e64204d696e74206e6f74206f70656e000000600082015250565b7f436c61696d203a20706c6174696e756d204d696e74206e6f74206f70656e0000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614dc557614e48565b614dcd6142c8565b60043d036004823e80513d602482011167ffffffffffffffff82111715614df5575050614e48565b808201805167ffffffffffffffff811115614e135750505050614e48565b80602083010160043d038501811115614e30575050505050614e48565b614e3f82602001850186614624565b82955050505050505b90565b614e5481614532565b8114614e5f57600080fd5b50565b614e6b81614544565b8114614e7657600080fd5b50565b614e8281614550565b8114614e8d57600080fd5b50565b614e998161455a565b8114614ea457600080fd5b50565b614eb0816145a6565b8114614ebb57600080fd5b5056fea2646970667358221220f777a95eb523b95943600ba09cc9f6c08ee04eaeae9d1f427552a9791ed85c2d64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061023c5760003560e01c80637cb647591161013b578063c5ee0994116100b8578063f26319421161007c578063f263194214610643578063f2fde38b14610673578063f69296de1461068f578063f77ee79d146106ab578063f8829003146106db5761023c565b8063c5ee0994146105b3578063d28d8852146105cf578063e985e9c5146105ed578063f0a421231461061d578063f242432a146106275761023c565b8063a22cb465116100ff578063a22cb46514610535578063a334412514610551578063a76f0a931461056f578063b09f126614610579578063c283c4ce146105975761023c565b80637cb647591461048f578063869f7594146104ab5780638c3c4b34146104db5780638da5cb5b146104f957806395d89b41146105175761023c565b80633ccfd60b116101c957806355f804b31161018d57806355f804b3146103ff5780636c0360eb1461041b578063715018a6146104395780637223724314610443578063727eed001461045f5761023c565b80633ccfd60b146103935780634032c5191461039d57806343d726d6146103a75780634e1273f4146103b1578063547e5966146103e15761023c565b80630e89341c116102105780630e89341c146102ef5780632aa010e11461031f5780632c1cbaa31461033d5780632eb2c2d6146103595780632eb4a7ab146103755761023c565b8062fdd58e1461024157806301ffc9a71461027157806306fdde03146102a15780630d88f956146102bf575b600080fd5b61025b60048036038101906102569190613613565b6106f7565b6040516102689190614269565b60405180910390f35b61028b600480360381019061028691906136f8565b6107c0565b6040516102989190613f51565b60405180910390f35b6102a96108a2565b6040516102b69190613f87565b60405180910390f35b6102d960048036038101906102d4919061379b565b610934565b6040516102e69190614269565b60405180910390f35b6103096004803603810190610304919061379b565b61094c565b6040516103169190613f87565b60405180910390f35b610327610980565b6040516103349190614269565b60405180910390f35b6103576004803603810190610352919061379b565b610986565b005b610373600480360381019061036e919061346d565b610ce4565b005b61037d610d85565b60405161038a9190613f6c565b60405180910390f35b61039b610d8b565b005b6103a5610de9565b005b6103af610dfb565b005b6103cb60048036038101906103c69190613653565b610e0d565b6040516103d89190613ef8565b60405180910390f35b6103e9610f26565b6040516103f69190614269565b60405180910390f35b61041960048036038101906104149190613752565b610f2c565b005b610423610f4e565b6040516104309190613f87565b60405180910390f35b610441610fdc565b005b61045d6004803603810190610458919061379b565b610ff0565b005b61047960048036038101906104749190613400565b611345565b6040516104869190613f51565b60405180910390f35b6104a960048036038101906104a491906136cb565b611365565b005b6104c560048036038101906104c0919061379b565b611377565b6040516104d29190614269565b60405180910390f35b6104e361138f565b6040516104f09190614269565b60405180910390f35b610501611399565b60405161050e9190613df2565b60405180910390f35b61051f6113c3565b60405161052c9190613f87565b60405180910390f35b61054f600480360381019061054a91906135d3565b611455565b005b61055961146b565b6040516105669190614269565b60405180910390f35b610577611471565b005b610581611483565b60405161058e9190613f87565b60405180910390f35b6105b160048036038101906105ac9190613653565b611511565b005b6105cd60048036038101906105c891906137c8565b6116b9565b005b6105d7611971565b6040516105e49190613f87565b60405180910390f35b6106076004803603810190610602919061342d565b6119ff565b6040516106149190613f51565b60405180910390f35b610625611a93565b005b610641600480360381019061063c919061353c565b611aa5565b005b61065d60048036038101906106589190613613565b611b46565b60405161066a9190614269565b60405180910390f35b61068d60048036038101906106889190613400565b611b6b565b005b6106a960048036038101906106a49190613828565b611bef565b005b6106c560048036038101906106c0919061379b565b611c09565b6040516106d29190614269565b60405180910390f35b6106f560048036038101906106f09190613868565b611c26565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f906140a9565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061088b57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061089b575061089a82611c7d565b5b9050919050565b6060600d80546108b1906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546108dd906145f2565b801561092a5780601f106108ff5761010080835404028352916020019161092a565b820191906000526020600020905b81548152906001019060200180831161090d57829003601f168201915b5050505050905090565b60056020528060005260406000206000915090505481565b6060600c61095983611ce7565b60405160200161096a929190613dc3565b6040516020818303038152906040529050919050565b600a5481565b6002600854146109cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c2906141c9565b60405180910390fd5b60046000600181526020019081526020016000205481600560006001815260200190815260200160002054610a00919061441d565b1115610a41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a38906140c9565b60405180910390fd5b600060095482610a5191906144a4565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020541015610ab057600080fd5b610ac933600060095485610ac491906144a4565b611e48565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000205410610b8c5780600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254610b8091906144fe565b92505081905550610be3565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000808152602001908152602001600020819055505b610bff336001846040518060200160405280600081525061208f565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000206000828254610c60919061441d565b925050819055508160056000600181526020019081526020016000206000828254610c8b919061441d565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe2c92aeb0130078198c7cef1cb683a8fcc11c52389535ae078bd0636555d8e9483604051610cd89190614269565b60405180910390a25050565b610cec612240565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610d325750610d3185610d2c612240565b6119ff565b5b610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890613fc9565b60405180910390fd5b610d7e8585858585612248565b5050505050565b600b5481565b610d9361256a565b6000479050610da0611399565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610de5573d6000803e3d6000fd5b5050565b610df161256a565b6002600881905550565b610e0361256a565b6000600881905550565b60608151835114610e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4a90614209565b60405180910390fd5b6000835167ffffffffffffffff811115610e7057610e6f61478b565b5b604051908082528060200260200182016040528015610e9e5781602001602082028036833780820191505090505b50905060005b8451811015610f1b57610eeb858281518110610ec357610ec261475c565b5b6020026020010151858381518110610ede57610edd61475c565b5b60200260200101516106f7565b828281518110610efe57610efd61475c565b5b60200260200101818152505080610f1490614655565b9050610ea4565b508091505092915050565b60095481565b610f3461256a565b80600c9080519060200190610f4a92919061306d565b5050565b600c8054610f5b906145f2565b80601f0160208091040260200160405190810160405280929190818152602001828054610f87906145f2565b8015610fd45780601f10610fa957610100808354040283529160200191610fd4565b820191906000526020600020905b815481529060010190602001808311610fb757829003601f168201915b505050505081565b610fe461256a565b610fee60006125e8565b565b600360085414611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c906141a9565b60405180910390fd5b6004600060028152602001908152602001600020548160056000600281526020019081526020016000205461106a919061441d565b11156110ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a290614009565b60405180910390fd5b6000600a54826110bb91906144a4565b905080600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002054101561111b57600080fd5b61112733600183611e48565b80600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002054106111ec5780600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546111e091906144fe565b92505081905550611244565b6000600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020819055505b611260336002846040518060200160405280600081525061208f565b81600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002060008282546112c1919061441d565b9250508190555081600560006002815260200190815260200160002060008282546112ec919061441d565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167fe569fec44767919b31443aebcbae238c2b87ad5510f6c125c764f41eeeaace2a836040516113399190614269565b60405180910390a25050565b60076020528060005260406000206000915054906101000a900460ff1681565b61136d61256a565b80600b8190555050565b60046020528060005260406000206000915090505481565b6000600854905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600e80546113d2906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546113fe906145f2565b801561144b5780601f106114205761010080835404028352916020019161144b565b820191906000526020600020905b81548152906001019060200180831161142e57829003601f168201915b5050505050905090565b611467611460612240565b83836126ae565b5050565b60085481565b61147961256a565b6003600881905550565b600e8054611490906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546114bc906145f2565b80156115095780601f106114de57610100808354040283529160200191611509565b820191906000526020600020905b8154815290600101906020018083116114ec57829003601f168201915b505050505081565b61151961256a565b600082519050600082519050808214611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906140e9565b60405180910390fd5b60005b828110156116b2576115c28582815181106115885761158761475c565b5b602002602001015160008684815181106115a5576115a461475c565b5b60200260200101516040518060200160405280600081525061208f565b8381815181106115d5576115d461475c565b5b6020026020010151600660008784815181106115f4576115f361475c565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254611656919061441d565b925050819055508381815181106116705761166f61475c565b5b602002602001015160056000808152602001908152602001600020600082825461169a919061441d565b92505081905550806116ab90614655565b905061156a565b5050505050565b6001600854146116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f590614169565b60405180910390fd5b6004600080815260200190815260200160002054836005600080815260200190815260200160002054611731919061441d565b1115611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614089565b60405180910390fd5b600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614069565b60405180910390fd5b600061180c84848461281b565b90508061181857600080fd5b611834336000866040518060200160405280600081525061208f565b83600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008081526020019081526020016000206000828254611894919061441d565b92505081905550836005600080815260200190815260200160002060008282546118be919061441d565b925050819055506001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055503373ffffffffffffffffffffffffffffffffffffffff167f2534a0ef7430835432c347a379b26ce176e5073d029391d449554f7273d14555856040516119639190614269565b60405180910390a250505050565b600d805461197e906145f2565b80601f01602080910402602001604051908101604052809291908181526020018280546119aa906145f2565b80156119f75780601f106119cc576101008083540402835291602001916119f7565b820191906000526020600020905b8154815290600101906020018083116119da57829003601f168201915b505050505081565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a9b61256a565b6001600881905550565b611aad612240565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611af35750611af285611aed612240565b6119ff565b5b611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2990613fc9565b60405180910390fd5b611b3f85858585856128a7565b5050505050565b6006602052816000526040600020602052806000526040600020600091509150505481565b611b7361256a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614029565b60405180910390fd5b611bec816125e8565b50565b611bf761256a565b8160098190555080600a819055505050565b600060046000838152602001908152602001600020549050919050565b611c2e61256a565b8260046000808152602001908152602001600020819055508160046000600181526020019081526020016000208190555080600460006002815260200190815260200160002081905550505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60606000821415611d2f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e43565b600082905060005b60008214611d61578080611d4a90614655565b915050600a82611d5a9190614473565b9150611d37565b60008167ffffffffffffffff811115611d7d57611d7c61478b565b5b6040519080825280601f01601f191660200182016040528015611daf5781602001600182028036833780820191505090505b5090505b60008514611e3c57600182611dc891906144fe565b9150600a85611dd7919061469e565b6030611de3919061441d565b60f81b818381518110611df957611df861475c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e359190614473565b9450611db3565b8093505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611eb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eaf90614129565b60405180910390fd5b6000611ec2612240565b90506000611ecf84612b43565b90506000611edc84612b43565b9050611efc83876000858560405180602001604052806000815250612bbd565b600080600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905084811015611f93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8a90614049565b60405180910390fd5b84810360008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612060929190614284565b60405180910390a461208684886000868660405180602001604052806000815250612bc5565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156120ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f690614249565b60405180910390fd5b6000612109612240565b9050600061211685612b43565b9050600061212385612b43565b905061213483600089858589612bbd565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612193919061441d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612211929190614284565b60405180910390a461222883600089858589612bc5565b61223783600089898989612bcd565b50505050505050565b600033905090565b815183511461228c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228390614229565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f390614109565b60405180910390fd5b6000612306612240565b9050612316818787878787612bbd565b60005b84518110156124c75760008582815181106123375761233661475c565b5b6020026020010151905060008583815181106123565761235561475c565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90614149565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124ac919061441d565b92505081905550505050806124c090614655565b9050612319565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161253e929190613f1a565b60405180910390a4612554818787878787612bc5565b612562818787878787612db4565b505050505050565b612572612240565b73ffffffffffffffffffffffffffffffffffffffff16612590611399565b73ffffffffffffffffffffffffffffffffffffffff16146125e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125dd90614189565b60405180910390fd5b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561271d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612714906141e9565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161280e9190613f51565b60405180910390a3505050565b6000612893838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b543387604051602001612878929190613ecf565b60405160208183030381529060405280519060200120612f9b565b61289c57600080fd5b600190509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612917576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290e90614109565b60405180910390fd5b6000612921612240565b9050600061292e85612b43565b9050600061293b85612b43565b905061294b838989858589612bbd565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156129e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d990614149565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a97919061441d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612b14929190614284565b60405180910390a4612b2a848a8a86868a612bc5565b612b38848a8a8a8a8a612bcd565b505050505050505050565b60606000600167ffffffffffffffff811115612b6257612b6161478b565b5b604051908082528060200260200182016040528015612b905781602001602082028036833780820191505090505b5090508281600081518110612ba857612ba761475c565b5b60200260200101818152505080915050919050565b505050505050565b505050505050565b612bec8473ffffffffffffffffffffffffffffffffffffffff16612fb2565b15612dac578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612c32959493929190613e75565b602060405180830381600087803b158015612c4c57600080fd5b505af1925050508015612c7d57506040513d601f19601f82011682018060405250810190612c7a9190613725565b60015b612d2357612c896147ba565b806308c379a01415612ce65750612c9e614db5565b80612ca95750612ce8565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cdd9190613f87565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1a90613fa9565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da190613fe9565b60405180910390fd5b505b505050505050565b612dd38473ffffffffffffffffffffffffffffffffffffffff16612fb2565b15612f93578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612e19959493929190613e0d565b602060405180830381600087803b158015612e3357600080fd5b505af1925050508015612e6457506040513d601f19601f82011682018060405250810190612e619190613725565b60015b612f0a57612e706147ba565b806308c379a01415612ecd5750612e85614db5565b80612e905750612ecf565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec49190613f87565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f0190613fa9565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8890613fe9565b60405180910390fd5b505b505050505050565b600082612fa88584612fd5565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008082905060005b84518110156130205761300b82868381518110612ffe57612ffd61475c565b5b602002602001015161302b565b9150808061301890614655565b915050612fde565b508091505092915050565b60008183106130435761303e8284613056565b61304e565b61304d8383613056565b5b905092915050565b600082600052816020526040600020905092915050565b828054613079906145f2565b90600052602060002090601f01602090048101928261309b57600085556130e2565b82601f106130b457805160ff19168380011785556130e2565b828001600101855582156130e2579182015b828111156130e15782518255916020019190600101906130c6565b5b5090506130ef91906130f3565b5090565b5b8082111561310c5760008160009055506001016130f4565b5090565b600061312361311e846142d2565b6142ad565b90508083825260208201905082856020860282011115613146576131456147e6565b5b60005b85811015613176578161315c8882613274565b845260208401935060208301925050600181019050613149565b5050509392505050565b600061319361318e846142fe565b6142ad565b905080838252602082019050828560208602820111156131b6576131b56147e6565b5b60005b858110156131e657816131cc88826133eb565b8452602084019350602083019250506001810190506131b9565b5050509392505050565b60006132036131fe8461432a565b6142ad565b90508281526020810184848401111561321f5761321e6147eb565b5b61322a8482856145b0565b509392505050565b60006132456132408461435b565b6142ad565b905082815260208101848484011115613261576132606147eb565b5b61326c8482856145b0565b509392505050565b60008135905061328381614e4b565b92915050565b600082601f83011261329e5761329d6147e1565b5b81356132ae848260208601613110565b91505092915050565b60008083601f8401126132cd576132cc6147e1565b5b8235905067ffffffffffffffff8111156132ea576132e96147dc565b5b602083019150836020820283011115613306576133056147e6565b5b9250929050565b600082601f830112613322576133216147e1565b5b8135613332848260208601613180565b91505092915050565b60008135905061334a81614e62565b92915050565b60008135905061335f81614e79565b92915050565b60008135905061337481614e90565b92915050565b60008151905061338981614e90565b92915050565b600082601f8301126133a4576133a36147e1565b5b81356133b48482602086016131f0565b91505092915050565b600082601f8301126133d2576133d16147e1565b5b81356133e2848260208601613232565b91505092915050565b6000813590506133fa81614ea7565b92915050565b600060208284031215613416576134156147f5565b5b600061342484828501613274565b91505092915050565b60008060408385031215613444576134436147f5565b5b600061345285828601613274565b925050602061346385828601613274565b9150509250929050565b600080600080600060a08688031215613489576134886147f5565b5b600061349788828901613274565b95505060206134a888828901613274565b945050604086013567ffffffffffffffff8111156134c9576134c86147f0565b5b6134d58882890161330d565b935050606086013567ffffffffffffffff8111156134f6576134f56147f0565b5b6135028882890161330d565b925050608086013567ffffffffffffffff811115613523576135226147f0565b5b61352f8882890161338f565b9150509295509295909350565b600080600080600060a08688031215613558576135576147f5565b5b600061356688828901613274565b955050602061357788828901613274565b9450506040613588888289016133eb565b9350506060613599888289016133eb565b925050608086013567ffffffffffffffff8111156135ba576135b96147f0565b5b6135c68882890161338f565b9150509295509295909350565b600080604083850312156135ea576135e96147f5565b5b60006135f885828601613274565b92505060206136098582860161333b565b9150509250929050565b6000806040838503121561362a576136296147f5565b5b600061363885828601613274565b9250506020613649858286016133eb565b9150509250929050565b6000806040838503121561366a576136696147f5565b5b600083013567ffffffffffffffff811115613688576136876147f0565b5b61369485828601613289565b925050602083013567ffffffffffffffff8111156136b5576136b46147f0565b5b6136c18582860161330d565b9150509250929050565b6000602082840312156136e1576136e06147f5565b5b60006136ef84828501613350565b91505092915050565b60006020828403121561370e5761370d6147f5565b5b600061371c84828501613365565b91505092915050565b60006020828403121561373b5761373a6147f5565b5b60006137498482850161337a565b91505092915050565b600060208284031215613768576137676147f5565b5b600082013567ffffffffffffffff811115613786576137856147f0565b5b613792848285016133bd565b91505092915050565b6000602082840312156137b1576137b06147f5565b5b60006137bf848285016133eb565b91505092915050565b6000806000604084860312156137e1576137e06147f5565b5b60006137ef868287016133eb565b935050602084013567ffffffffffffffff8111156138105761380f6147f0565b5b61381c868287016132b7565b92509250509250925092565b6000806040838503121561383f5761383e6147f5565b5b600061384d858286016133eb565b925050602061385e858286016133eb565b9150509250929050565b600080600060608486031215613881576138806147f5565b5b600061388f868287016133eb565b93505060206138a0868287016133eb565b92505060406138b1868287016133eb565b9150509250925092565b60006138c78383613da5565b60208301905092915050565b6138dc81614532565b82525050565b60006138ed826143b1565b6138f781856143df565b93506139028361438c565b8060005b8381101561393357815161391a88826138bb565b9750613925836143d2565b925050600181019050613906565b5085935050505092915050565b61394981614544565b82525050565b61395881614550565b82525050565b6000613969826143bc565b61397381856143f0565b93506139838185602086016145bf565b61398c816147fa565b840191505092915050565b60006139a2826143c7565b6139ac8185614401565b93506139bc8185602086016145bf565b6139c5816147fa565b840191505092915050565b60006139db826143c7565b6139e58185614412565b93506139f58185602086016145bf565b80840191505092915050565b60008154613a0e816145f2565b613a188186614412565b94506001821660008114613a335760018114613a4457613a77565b60ff19831686528186019350613a77565b613a4d8561439c565b60005b83811015613a6f57815481890152600182019150602081019050613a50565b838801955050505b50505092915050565b6000613a8d603483614401565b9150613a9882614818565b604082019050919050565b6000613ab0602f83614401565b9150613abb82614867565b604082019050919050565b6000613ad3602883614401565b9150613ade826148b6565b604082019050919050565b6000613af6601e83614401565b9150613b0182614905565b602082019050919050565b6000613b19602683614401565b9150613b248261492e565b604082019050919050565b6000613b3c602483614401565b9150613b478261497d565b604082019050919050565b6000613b5f600f83614401565b9150613b6a826149cc565b602082019050919050565b6000613b82601d83614401565b9150613b8d826149f5565b602082019050919050565b6000613ba5602a83614401565b9150613bb082614a1e565b604082019050919050565b6000613bc8601f83614401565b9150613bd382614a6d565b602082019050919050565b6000613beb601c83614401565b9150613bf682614a96565b602082019050919050565b6000613c0e602583614401565b9150613c1982614abf565b604082019050919050565b6000613c31602383614401565b9150613c3c82614b0e565b604082019050919050565b6000613c54602a83614401565b9150613c5f82614b5d565b604082019050919050565b6000613c77600583614412565b9150613c8282614bac565b600582019050919050565b6000613c9a601b83614401565b9150613ca582614bd5565b602082019050919050565b6000613cbd602083614401565b9150613cc882614bfe565b602082019050919050565b6000613ce0601d83614401565b9150613ceb82614c27565b602082019050919050565b6000613d03601e83614401565b9150613d0e82614c50565b602082019050919050565b6000613d26602983614401565b9150613d3182614c79565b604082019050919050565b6000613d49602983614401565b9150613d5482614cc8565b604082019050919050565b6000613d6c602883614401565b9150613d7782614d17565b604082019050919050565b6000613d8f602183614401565b9150613d9a82614d66565b604082019050919050565b613dae816145a6565b82525050565b613dbd816145a6565b82525050565b6000613dcf8285613a01565b9150613ddb82846139d0565b9150613de682613c6a565b91508190509392505050565b6000602082019050613e0760008301846138d3565b92915050565b600060a082019050613e2260008301886138d3565b613e2f60208301876138d3565b8181036040830152613e4181866138e2565b90508181036060830152613e5581856138e2565b90508181036080830152613e69818461395e565b90509695505050505050565b600060a082019050613e8a60008301886138d3565b613e9760208301876138d3565b613ea46040830186613db4565b613eb16060830185613db4565b8181036080830152613ec3818461395e565b90509695505050505050565b6000604082019050613ee460008301856138d3565b613ef16020830184613db4565b9392505050565b60006020820190508181036000830152613f1281846138e2565b905092915050565b60006040820190508181036000830152613f3481856138e2565b90508181036020830152613f4881846138e2565b90509392505050565b6000602082019050613f666000830184613940565b92915050565b6000602082019050613f81600083018461394f565b92915050565b60006020820190508181036000830152613fa18184613997565b905092915050565b60006020820190508181036000830152613fc281613a80565b9050919050565b60006020820190508181036000830152613fe281613aa3565b9050919050565b6000602082019050818103600083015261400281613ac6565b9050919050565b6000602082019050818103600083015261402281613ae9565b9050919050565b6000602082019050818103600083015261404281613b0c565b9050919050565b6000602082019050818103600083015261406281613b2f565b9050919050565b6000602082019050818103600083015261408281613b52565b9050919050565b600060208201905081810360008301526140a281613b75565b9050919050565b600060208201905081810360008301526140c281613b98565b9050919050565b600060208201905081810360008301526140e281613bbb565b9050919050565b6000602082019050818103600083015261410281613bde565b9050919050565b6000602082019050818103600083015261412281613c01565b9050919050565b6000602082019050818103600083015261414281613c24565b9050919050565b6000602082019050818103600083015261416281613c47565b9050919050565b6000602082019050818103600083015261418281613c8d565b9050919050565b600060208201905081810360008301526141a281613cb0565b9050919050565b600060208201905081810360008301526141c281613cd3565b9050919050565b600060208201905081810360008301526141e281613cf6565b9050919050565b6000602082019050818103600083015261420281613d19565b9050919050565b6000602082019050818103600083015261422281613d3c565b9050919050565b6000602082019050818103600083015261424281613d5f565b9050919050565b6000602082019050818103600083015261426281613d82565b9050919050565b600060208201905061427e6000830184613db4565b92915050565b60006040820190506142996000830185613db4565b6142a66020830184613db4565b9392505050565b60006142b76142c8565b90506142c38282614624565b919050565b6000604051905090565b600067ffffffffffffffff8211156142ed576142ec61478b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143195761431861478b565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143455761434461478b565b5b61434e826147fa565b9050602081019050919050565b600067ffffffffffffffff8211156143765761437561478b565b5b61437f826147fa565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614428826145a6565b9150614433836145a6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614468576144676146cf565b5b828201905092915050565b600061447e826145a6565b9150614489836145a6565b925082614499576144986146fe565b5b828204905092915050565b60006144af826145a6565b91506144ba836145a6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144f3576144f26146cf565b5b828202905092915050565b6000614509826145a6565b9150614514836145a6565b925082821015614527576145266146cf565b5b828203905092915050565b600061453d82614586565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145dd5780820151818401526020810190506145c2565b838111156145ec576000848401525b50505050565b6000600282049050600182168061460a57607f821691505b6020821081141561461e5761461d61472d565b5b50919050565b61462d826147fa565b810181811067ffffffffffffffff8211171561464c5761464b61478b565b5b80604052505050565b6000614660826145a6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614693576146926146cf565b5b600182019050919050565b60006146a9826145a6565b91506146b4836145a6565b9250826146c4576146c36146fe565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d11156147d95760046000803e6147d660005161480b565b90505b90565b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f4d6178206469616d6f6e64206361726420737570706c79206c696d6974650000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f616c726561647920636c61696d65640000000000000000000000000000000000600082015250565b7f4d617820676f6c64656e206361726420737570706c79206c696d697465000000600082015250565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b7f4d617820706c6174696e756d206361726420737570706c79206c696d69746500600082015250565b7f4172726179732068617665206e6f742073616d65206c656e6774682100000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f436c61696d203a20676f6c6420636c61696d206e6f74206f70656e0000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f436c61696d203a206469616d6f6e64204d696e74206e6f74206f70656e000000600082015250565b7f436c61696d203a20706c6174696e756d204d696e74206e6f74206f70656e0000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600060443d1015614dc557614e48565b614dcd6142c8565b60043d036004823e80513d602482011167ffffffffffffffff82111715614df5575050614e48565b808201805167ffffffffffffffff811115614e135750505050614e48565b80602083010160043d038501811115614e30575050505050614e48565b614e3f82602001850186614624565b82955050505050505b90565b614e5481614532565b8114614e5f57600080fd5b50565b614e6b81614544565b8114614e7657600080fd5b50565b614e8281614550565b8114614e8d57600080fd5b50565b614e998161455a565b8114614ea457600080fd5b50565b614eb0816145a6565b8114614ebb57600080fd5b5056fea2646970667358221220f777a95eb523b95943600ba09cc9f6c08ee04eaeae9d1f427552a9791ed85c2d64736f6c63430008070033
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.