Token
Katsura Ojisan (KOJ)
ERC-721
Overview
Max Total Supply
7 KOJ
Holders
5
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
3 KOJLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
KatsuraOjisan
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.0; import "./Base64.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract KatsuraOjisan is ERC721Enumerable, Ownable { using Strings for uint256; bytes32 public merkleRoot; string public revealURI; string public notRevealURI = "ipfs://QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH"; uint256 public maxSupply = 1111; uint256 public maxMintPerTX = 5; uint256 public maxMintsPerWL = 5; uint256 public maxMintsPerPS = 5; bool public revealed = false; bool public isWhitelistSale = false; bool public isPublicSale = false; mapping(address => uint256) public psMinted; mapping(address => uint256) public wlsMinted; constructor() ERC721("Katsura Ojisan", "KOJ") { } function setPublicSale(bool _enable) public onlyOwner { isPublicSale = _enable; } function setWhitelistSale(bool _enable) public onlyOwner { isWhitelistSale = _enable; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function revealNFT() public onlyOwner { revealed = true; } function isWhitelisted(address _address, bytes32[] calldata _proof) public view returns(bool) { return MerkleProof.verify(_proof, merkleRoot, keccak256(abi.encodePacked(_address))); } function ownerMint(uint256 _mintAmount, address _address) public onlyOwner { require(_mintAmount > 0 && _mintAmount <= maxMintPerTX, "invalid amount"); uint256 mSupply = totalSupply(); require((_mintAmount + mSupply) <= (maxSupply), "limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { uint256 mTokenId = mSupply + i; _safeMint(_address, mTokenId); } } function whitelistMint(uint _mintAmount, bytes32[] calldata _proof) public { require(_mintAmount > 0 && _mintAmount <= maxMintPerTX, "invalid amount"); require(isWhitelistSale, "not live"); require(isWhitelisted(msg.sender, _proof),"Not in whitelist"); uint256 mSupply = totalSupply(); require((mSupply + _mintAmount <= maxSupply) && (wlsMinted[msg.sender] + _mintAmount <= maxMintsPerWL), "limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { uint256 mTokenId = mSupply + i; wlsMinted[msg.sender]++; _safeMint(msg.sender, mTokenId); } } function publicSaleMint(uint _mintAmount) public { require(_mintAmount > 0 && _mintAmount <= maxMintPerTX, "invalid amount"); require(isPublicSale, "not live"); uint256 mSupply = totalSupply(); require((mSupply + _mintAmount <= maxSupply) && (psMinted[msg.sender] + _mintAmount <= maxMintsPerPS), "limit exceeded"); for (uint256 i = 1; i <= _mintAmount; i++) { uint256 mTokenId = mSupply + i; psMinted[msg.sender]++; _safeMint(msg.sender, mTokenId); } } function setRevealURI(string memory _uri) public onlyOwner { revealURI = _uri; } function setNotRevealURI(string memory _uri) public onlyOwner { notRevealURI = _uri; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId),"nonexistent token"); string memory mId = _tokenId.toString(); if(!revealed) { string memory mName = string(abi.encodePacked("Katsura Ojisan #", mId)); return string( abi.encodePacked( 'data:application/json;base64,', Base64.encode( abi.encodePacked('{"name":"', mName, '", "description":"', mName, '", "image": "', notRevealURI,'"}') ) ) ); } return(string(abi.encodePacked(revealURI, mId, ".json"))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } }
// 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) (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 v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// 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 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) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @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, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWhitelistSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"notRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"psMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","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":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setNotRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enable","type":"bool"}],"name":"setWhitelistSale","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlsMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260405180606001604052806035815260200162004bf560359139600d9080519060200190620000359291906200023e565b50610457600e556005600f55600560105560056011556000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506000601260026101000a81548160ff021916908315150217905550348015620000a957600080fd5b506040518060400160405280600e81526020017f4b617473757261204f6a6973616e0000000000000000000000000000000000008152506040518060400160405280600381526020017f4b4f4a000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200012e9291906200023e565b508060019080519060200190620001479291906200023e565b5050506200016a6200015e6200017060201b60201c565b6200017860201b60201c565b62000353565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024c90620002ee565b90600052602060002090601f016020900481019282620002705760008555620002bc565b82601f106200028b57805160ff1916838001178555620002bc565b82800160010185558215620002bc579182015b82811115620002bb5782518255916020019190600101906200029e565b5b509050620002cb9190620002cf565b5090565b5b80821115620002ea576000816000905550600101620002d0565b5090565b600060028204905060018216806200030757607f821691505b602082108114156200031e576200031d62000324565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61489280620003636000396000f3fe608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063a811a37b116100c3578063d021aa5011610087578063d021aa50146106e8578063d2cab05614610706578063d52c57e014610722578063d5abeb011461073e578063e985e9c51461075c578063f2fde38b1461078c57610253565b8063a811a37b14610648578063b3ab66b014610664578063b88d4fde14610680578063c87b56dd1461069c578063ca7ce3ec146106cc57610253565b8063942958f41161010a578063942958f4146105a257806395d89b41146105d25780639970cc29146105f0578063a22cb4651461060e578063a5a865dc1461062a57610253565b80636352211e146104fe57806370a082311461052e578063715018a61461055e5780637cb64759146105685780638da5cb5b1461058457610253565b80632eb4a7ab116101d45780635183022711610198578063518302271461045a578063553f241e146104785780635a23dd99146104965780635aca1bb6146104c65780635accac99146104e257610253565b80632eb4a7ab146103905780632f745c59146103ae57806342842e0e146103de57806342bfa3d2146103fa5780634f6ccce71461042a57610253565b80631455b1e21161021b5780631455b1e2146102fc578063160fba561461031a57806318160ddd146103385780631a09cfe21461035657806323b872dd1461037457610253565b806301ffc9a71461025857806304b4bba91461028857806306fdde0314610292578063081812fc146102b0578063095ea7b3146102e0575b600080fd5b610272600480360381019061026d91906131f4565b6107a8565b60405161027f91906139dc565b60405180910390f35b610290610822565b005b61029a610847565b6040516102a79190613a12565b60405180910390f35b6102ca60048036038101906102c59190613297565b6108d9565b6040516102d79190613975565b60405180910390f35b6102fa60048036038101906102f5919061315a565b61091f565b005b610304610a37565b60405161031191906139dc565b60405180910390f35b610322610a4a565b60405161032f9190613a12565b60405180910390f35b610340610ad8565b60405161034d9190613cb4565b60405180910390f35b61035e610ae5565b60405161036b9190613cb4565b60405180910390f35b61038e60048036038101906103899190612fe4565b610aeb565b005b610398610b4b565b6040516103a591906139f7565b60405180910390f35b6103c860048036038101906103c3919061315a565b610b51565b6040516103d59190613cb4565b60405180910390f35b6103f860048036038101906103f39190612fe4565b610bf6565b005b610414600480360381019061040f9190612f77565b610c16565b6040516104219190613cb4565b60405180910390f35b610444600480360381019061043f9190613297565b610c2e565b6040516104519190613cb4565b60405180910390f35b610462610c9f565b60405161046f91906139dc565b60405180910390f35b610480610cb2565b60405161048d9190613cb4565b60405180910390f35b6104b060048036038101906104ab91906130ba565b610cb8565b6040516104bd91906139dc565b60405180910390f35b6104e060048036038101906104db919061319a565b610d37565b005b6104fc60048036038101906104f7919061324e565b610d5c565b005b61051860048036038101906105139190613297565b610d7e565b6040516105259190613975565b60405180910390f35b61054860048036038101906105439190612f77565b610e30565b6040516105559190613cb4565b60405180910390f35b610566610ee8565b005b610582600480360381019061057d91906131c7565b610efc565b005b61058c610f0e565b6040516105999190613975565b60405180910390f35b6105bc60048036038101906105b79190612f77565b610f38565b6040516105c99190613cb4565b60405180910390f35b6105da610f50565b6040516105e79190613a12565b60405180910390f35b6105f8610fe2565b6040516106059190613cb4565b60405180910390f35b6106286004803603810190610623919061311a565b610fe8565b005b610632610ffe565b60405161063f91906139dc565b60405180910390f35b610662600480360381019061065d919061324e565b611011565b005b61067e60048036038101906106799190613297565b611033565b005b61069a60048036038101906106959190613037565b61121d565b005b6106b660048036038101906106b19190613297565b61127f565b6040516106c39190613a12565b60405180910390f35b6106e660048036038101906106e1919061319a565b61138f565b005b6106f06113b4565b6040516106fd9190613a12565b60405180910390f35b610720600480360381019061071b9190613304565b611442565b005b61073c600480360381019061073791906132c4565b611678565b005b61074661176f565b6040516107539190613cb4565b60405180910390f35b61077660048036038101906107719190612fa4565b611775565b60405161078391906139dc565b60405180910390f35b6107a660048036038101906107a19190612f77565b611809565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081b575061081a8261188d565b5b9050919050565b61082a61196f565b6001601260006101000a81548160ff021916908315150217905550565b60606000805461085690613f83565b80601f016020809104026020016040519081016040528092919081815260200182805461088290613f83565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e4826119ed565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092a82610d7e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561099b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099290613c54565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ba611a38565b73ffffffffffffffffffffffffffffffffffffffff1614806109e957506109e8816109e3611a38565b611775565b5b610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90613bb4565b60405180910390fd5b610a328383611a40565b505050565b601260019054906101000a900460ff1681565b600c8054610a5790613f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8390613f83565b8015610ad05780601f10610aa557610100808354040283529160200191610ad0565b820191906000526020600020905b815481529060010190602001808311610ab357829003601f168201915b505050505081565b6000600880549050905090565b60115481565b610afc610af6611a38565b82611af9565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613c94565b60405180910390fd5b610b46838383611b8e565b505050565b600b5481565b6000610b5c83610e30565b8210610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490613a34565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c118383836040518060200160405280600081525061121d565b505050565b60146020528060005260406000206000915090505481565b6000610c38610ad8565b8210610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090613c74565b60405180910390fd5b60088281548110610c8d57610c8c614140565b5b90600052602060002001549050919050565b601260009054906101000a900460ff1681565b600f5481565b6000610d2e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5486604051602001610d13919061388a565b60405160208183030381529060405280519060200120611df5565b90509392505050565b610d3f61196f565b80601260026101000a81548160ff02191690831515021790555050565b610d6461196f565b80600d9080519060200190610d7a929190612d20565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613c34565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890613b74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef061196f565b610efa6000611e0c565b565b610f0461196f565b80600b8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60136020528060005260406000206000915090505481565b606060018054610f5f90613f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8b90613f83565b8015610fd85780601f10610fad57610100808354040283529160200191610fd8565b820191906000526020600020905b815481529060010190602001808311610fbb57829003601f168201915b5050505050905090565b60105481565b610ffa610ff3611a38565b8383611ed2565b5050565b601260029054906101000a900460ff1681565b61101961196f565b80600c908051906020019061102f929190612d20565b5050565b6000811180156110455750600f548111155b611084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107b90613af4565b60405180910390fd5b601260029054906101000a900460ff166110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613b94565b60405180910390fd5b60006110dd610ad8565b9050600e5482826110ee9190613dae565b11158015611148575060115482601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111459190613dae565b11155b611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e90613ab4565b60405180910390fd5b6000600190505b82811161121857600081836111a39190613dae565b9050601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111f590613fe6565b9190505550611204338261203f565b50808061121090613fe6565b91505061118e565b505050565b61122e611228611a38565b83611af9565b61126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613c94565b60405180910390fd5b6112798484848461205d565b50505050565b606061128a826120b9565b6112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613bf4565b60405180910390fd5b60006112d483612125565b9050601260009054906101000a900460ff16611363576000816040516020016112fd9190613953565b604051602081830303815290604052905061133b8182600d604051602001611327939291906138d4565b604051602081830303815290604052612286565b60405160200161134b9190613931565b6040516020818303038152906040529250505061138a565b600c816040516020016113779291906138a5565b6040516020818303038152906040529150505b919050565b61139761196f565b80601260016101000a81548160ff02191690831515021790555050565b600d80546113c190613f83565b80601f01602080910402602001604051908101604052809291908181526020018280546113ed90613f83565b801561143a5780601f1061140f5761010080835404028352916020019161143a565b820191906000526020600020905b81548152906001019060200180831161141d57829003601f168201915b505050505081565b6000831180156114545750600f548311155b611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90613af4565b60405180910390fd5b601260019054906101000a900460ff166114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613b94565b60405180910390fd5b6114ed338383610cb8565b61152c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152390613b54565b60405180910390fd5b6000611536610ad8565b9050600e5484826115479190613dae565b111580156115a1575060105484601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461159e9190613dae565b11155b6115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790613ab4565b60405180910390fd5b6000600190505b84811161167157600081836115fc9190613dae565b9050601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061164e90613fe6565b919050555061165d338261203f565b50808061166990613fe6565b9150506115e7565b5050505050565b61168061196f565b6000821180156116925750600f548211155b6116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613af4565b60405180910390fd5b60006116db610ad8565b9050600e5481846116ec9190613dae565b111561172d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172490613ab4565b60405180910390fd5b6000600190505b83811161176957600081836117499190613dae565b9050611755848261203f565b50808061176190613fe6565b915050611734565b50505050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61181161196f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613a74565b60405180910390fd5b61188a81611e0c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061195857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061196857506119678261240b565b5b9050919050565b611977611a38565b73ffffffffffffffffffffffffffffffffffffffff16611995610f0e565b73ffffffffffffffffffffffffffffffffffffffff16146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613c14565b60405180910390fd5b565b6119f6816120b9565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90613c34565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ab383610d7e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b0583610d7e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b475750611b468185611775565b5b80611b8557508373ffffffffffffffffffffffffffffffffffffffff16611b6d846108d9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bae82610d7e565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90613a94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6b90613b14565b60405180910390fd5b611c7f838383612475565b611c8a600082611a40565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cda9190613e8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d319190613dae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611df0838383612589565b505050565b600082611e02858461258e565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3890613b34565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161203291906139dc565b60405180910390a3505050565b6120598282604051806020016040528060008152506125e4565b5050565b612068848484611b8e565b6120748484848461263f565b6120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa90613a54565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082141561216d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612281565b600082905060005b6000821461219f57808061218890613fe6565b915050600a826121989190613e04565b9150612175565b60008167ffffffffffffffff8111156121bb576121ba61416f565b5b6040519080825280601f01601f1916602001820160405280156121ed5781602001600182028036833780820191505090505b5090505b6000851461227a576001826122069190613e8f565b9150600a856122159190614053565b60306122219190613dae565b60f81b81838151811061223757612236614140565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122739190613e04565b94506121f1565b8093505050505b919050565b60606000825114156122a957604051806020016040528060008152509050612406565b600060405180606001604052806040815260200161481d60409139905060006003600285516122d89190613dae565b6122e29190613e04565b60046122ee9190613e35565b905060006020826122ff9190613dae565b67ffffffffffffffff8111156123185761231761416f565b5b6040519080825280601f01601f19166020018201604052801561234a5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156123c5576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061235e565b6003895106600181146123df57600281146123ef576123fa565b613d3d60f01b60028303526123fa565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124808383836127d6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124c3576124be816127db565b612502565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612501576125008382612824565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125455761254081612991565b612584565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612583576125828282612a62565b5b5b505050565b505050565b60008082905060005b84518110156125d9576125c4828683815181106125b7576125b6614140565b5b6020026020010151612ae1565b915080806125d190613fe6565b915050612597565b508091505092915050565b6125ee8383612b0c565b6125fb600084848461263f565b61263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613a54565b60405180910390fd5b505050565b60006126608473ffffffffffffffffffffffffffffffffffffffff16612ce6565b156127c9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612689611a38565b8786866040518563ffffffff1660e01b81526004016126ab9493929190613990565b602060405180830381600087803b1580156126c557600080fd5b505af19250505080156126f657506040513d601f19601f820116820180604052508101906126f39190613221565b60015b612779573d8060008114612726576040519150601f19603f3d011682016040523d82523d6000602084013e61272b565b606091505b50600081511415612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890613a54565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ce565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161283184610e30565b61283b9190613e8f565b9050600060076000848152602001908152602001600020549050818114612920576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506129a59190613e8f565b90506000600960008481526020019081526020016000205490506000600883815481106129d5576129d4614140565b5b9060005260206000200154905080600883815481106129f7576129f6614140565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a4657612a45614111565b5b6001900381819060005260206000200160009055905550505050565b6000612a6d83610e30565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310612af957612af48284612d09565b612b04565b612b038383612d09565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390613bd4565b60405180910390fd5b612b85816120b9565b15612bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbc90613ad4565b60405180910390fd5b612bd160008383612475565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c219190613dae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ce260008383612589565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612d2c90613f83565b90600052602060002090601f016020900481019282612d4e5760008555612d95565b82601f10612d6757805160ff1916838001178555612d95565b82800160010185558215612d95579182015b82811115612d94578251825591602001919060010190612d79565b5b509050612da29190612da6565b5090565b5b80821115612dbf576000816000905550600101612da7565b5090565b6000612dd6612dd184613cf4565b613ccf565b905082815260208101848484011115612df257612df16141ad565b5b612dfd848285613f41565b509392505050565b6000612e18612e1384613d25565b613ccf565b905082815260208101848484011115612e3457612e336141ad565b5b612e3f848285613f41565b509392505050565b600081359050612e56816147a9565b92915050565b60008083601f840112612e7257612e716141a3565b5b8235905067ffffffffffffffff811115612e8f57612e8e61419e565b5b602083019150836020820283011115612eab57612eaa6141a8565b5b9250929050565b600081359050612ec1816147c0565b92915050565b600081359050612ed6816147d7565b92915050565b600081359050612eeb816147ee565b92915050565b600081519050612f00816147ee565b92915050565b600082601f830112612f1b57612f1a6141a3565b5b8135612f2b848260208601612dc3565b91505092915050565b600082601f830112612f4957612f486141a3565b5b8135612f59848260208601612e05565b91505092915050565b600081359050612f7181614805565b92915050565b600060208284031215612f8d57612f8c6141b7565b5b6000612f9b84828501612e47565b91505092915050565b60008060408385031215612fbb57612fba6141b7565b5b6000612fc985828601612e47565b9250506020612fda85828601612e47565b9150509250929050565b600080600060608486031215612ffd57612ffc6141b7565b5b600061300b86828701612e47565b935050602061301c86828701612e47565b925050604061302d86828701612f62565b9150509250925092565b60008060008060808587031215613051576130506141b7565b5b600061305f87828801612e47565b945050602061307087828801612e47565b935050604061308187828801612f62565b925050606085013567ffffffffffffffff8111156130a2576130a16141b2565b5b6130ae87828801612f06565b91505092959194509250565b6000806000604084860312156130d3576130d26141b7565b5b60006130e186828701612e47565b935050602084013567ffffffffffffffff811115613102576131016141b2565b5b61310e86828701612e5c565b92509250509250925092565b60008060408385031215613131576131306141b7565b5b600061313f85828601612e47565b925050602061315085828601612eb2565b9150509250929050565b60008060408385031215613171576131706141b7565b5b600061317f85828601612e47565b925050602061319085828601612f62565b9150509250929050565b6000602082840312156131b0576131af6141b7565b5b60006131be84828501612eb2565b91505092915050565b6000602082840312156131dd576131dc6141b7565b5b60006131eb84828501612ec7565b91505092915050565b60006020828403121561320a576132096141b7565b5b600061321884828501612edc565b91505092915050565b600060208284031215613237576132366141b7565b5b600061324584828501612ef1565b91505092915050565b600060208284031215613264576132636141b7565b5b600082013567ffffffffffffffff811115613282576132816141b2565b5b61328e84828501612f34565b91505092915050565b6000602082840312156132ad576132ac6141b7565b5b60006132bb84828501612f62565b91505092915050565b600080604083850312156132db576132da6141b7565b5b60006132e985828601612f62565b92505060206132fa85828601612e47565b9150509250929050565b60008060006040848603121561331d5761331c6141b7565b5b600061332b86828701612f62565b935050602084013567ffffffffffffffff81111561334c5761334b6141b2565b5b61335886828701612e5c565b92509250509250925092565b61336d81613ec3565b82525050565b61338461337f82613ec3565b61402f565b82525050565b61339381613ed5565b82525050565b6133a281613ee1565b82525050565b60006133b382613d6b565b6133bd8185613d81565b93506133cd818560208601613f50565b6133d6816141bc565b840191505092915050565b60006133ec82613d76565b6133f68185613d92565b9350613406818560208601613f50565b61340f816141bc565b840191505092915050565b600061342582613d76565b61342f8185613da3565b935061343f818560208601613f50565b80840191505092915050565b6000815461345881613f83565b6134628186613da3565b9450600182166000811461347d576001811461348e576134c1565b60ff198316865281860193506134c1565b61349785613d56565b60005b838110156134b95781548189015260018201915060208101905061349a565b838801955050505b50505092915050565b60006134d7600983613da3565b91506134e2826141da565b600982019050919050565b60006134fa602b83613d92565b915061350582614203565b604082019050919050565b600061351d603283613d92565b915061352882614252565b604082019050919050565b6000613540602683613d92565b915061354b826142a1565b604082019050919050565b6000613563602583613d92565b915061356e826142f0565b604082019050919050565b6000613586600e83613d92565b91506135918261433f565b602082019050919050565b60006135a9601c83613d92565b91506135b482614368565b602082019050919050565b60006135cc600e83613d92565b91506135d782614391565b602082019050919050565b60006135ef602483613d92565b91506135fa826143ba565b604082019050919050565b6000613612601983613d92565b915061361d82614409565b602082019050919050565b6000613635601083613d92565b915061364082614432565b602082019050919050565b6000613658602983613d92565b91506136638261445b565b604082019050919050565b600061367b600883613d92565b9150613686826144aa565b602082019050919050565b600061369e600283613da3565b91506136a9826144d3565b600282019050919050565b60006136c1603e83613d92565b91506136cc826144fc565b604082019050919050565b60006136e4602083613d92565b91506136ef8261454b565b602082019050919050565b6000613707600d83613da3565b915061371282614574565b600d82019050919050565b600061372a601183613d92565b91506137358261459d565b602082019050919050565b600061374d600583613da3565b9150613758826145c6565b600582019050919050565b6000613770601283613da3565b915061377b826145ef565b601282019050919050565b6000613793602083613d92565b915061379e82614618565b602082019050919050565b60006137b6601883613d92565b91506137c182614641565b602082019050919050565b60006137d9602183613d92565b91506137e48261466a565b604082019050919050565b60006137fc601d83613da3565b9150613807826146b9565b601d82019050919050565b600061381f601083613da3565b915061382a826146e2565b601082019050919050565b6000613842602c83613d92565b915061384d8261470b565b604082019050919050565b6000613865602e83613d92565b91506138708261475a565b604082019050919050565b61388481613f37565b82525050565b60006138968284613373565b60148201915081905092915050565b60006138b1828561344b565b91506138bd828461341a565b91506138c882613740565b91508190509392505050565b60006138df826134ca565b91506138eb828661341a565b91506138f682613763565b9150613902828561341a565b915061390d826136fa565b9150613919828461344b565b915061392482613691565b9150819050949350505050565b600061393c826137ef565b9150613948828461341a565b915081905092915050565b600061395e82613812565b915061396a828461341a565b915081905092915050565b600060208201905061398a6000830184613364565b92915050565b60006080820190506139a56000830187613364565b6139b26020830186613364565b6139bf604083018561387b565b81810360608301526139d181846133a8565b905095945050505050565b60006020820190506139f1600083018461338a565b92915050565b6000602082019050613a0c6000830184613399565b92915050565b60006020820190508181036000830152613a2c81846133e1565b905092915050565b60006020820190508181036000830152613a4d816134ed565b9050919050565b60006020820190508181036000830152613a6d81613510565b9050919050565b60006020820190508181036000830152613a8d81613533565b9050919050565b60006020820190508181036000830152613aad81613556565b9050919050565b60006020820190508181036000830152613acd81613579565b9050919050565b60006020820190508181036000830152613aed8161359c565b9050919050565b60006020820190508181036000830152613b0d816135bf565b9050919050565b60006020820190508181036000830152613b2d816135e2565b9050919050565b60006020820190508181036000830152613b4d81613605565b9050919050565b60006020820190508181036000830152613b6d81613628565b9050919050565b60006020820190508181036000830152613b8d8161364b565b9050919050565b60006020820190508181036000830152613bad8161366e565b9050919050565b60006020820190508181036000830152613bcd816136b4565b9050919050565b60006020820190508181036000830152613bed816136d7565b9050919050565b60006020820190508181036000830152613c0d8161371d565b9050919050565b60006020820190508181036000830152613c2d81613786565b9050919050565b60006020820190508181036000830152613c4d816137a9565b9050919050565b60006020820190508181036000830152613c6d816137cc565b9050919050565b60006020820190508181036000830152613c8d81613835565b9050919050565b60006020820190508181036000830152613cad81613858565b9050919050565b6000602082019050613cc9600083018461387b565b92915050565b6000613cd9613cea565b9050613ce58282613fb5565b919050565b6000604051905090565b600067ffffffffffffffff821115613d0f57613d0e61416f565b5b613d18826141bc565b9050602081019050919050565b600067ffffffffffffffff821115613d4057613d3f61416f565b5b613d49826141bc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613db982613f37565b9150613dc483613f37565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613df957613df8614084565b5b828201905092915050565b6000613e0f82613f37565b9150613e1a83613f37565b925082613e2a57613e296140b3565b5b828204905092915050565b6000613e4082613f37565b9150613e4b83613f37565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e8457613e83614084565b5b828202905092915050565b6000613e9a82613f37565b9150613ea583613f37565b925082821015613eb857613eb7614084565b5b828203905092915050565b6000613ece82613f17565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f6e578082015181840152602081019050613f53565b83811115613f7d576000848401525b50505050565b60006002820490506001821680613f9b57607f821691505b60208210811415613faf57613fae6140e2565b5b50919050565b613fbe826141bc565b810181811067ffffffffffffffff82111715613fdd57613fdc61416f565b5b80604052505050565b6000613ff182613f37565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561402457614023614084565b5b600182019050919050565b600061403a82614041565b9050919050565b600061404c826141cd565b9050919050565b600061405e82613f37565b915061406983613f37565b925082614079576140786140b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f6c696d6974206578636565646564000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f696e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f6e6f74206c697665000000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4b617473757261204f6a6973616e202300000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6147b281613ec3565b81146147bd57600080fd5b50565b6147c981613ed5565b81146147d457600080fd5b50565b6147e081613ee1565b81146147eb57600080fd5b50565b6147f781613eeb565b811461480257600080fd5b50565b61480e81613f37565b811461481957600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220655073bae0fc5370366cd318b81775fb6ab12fa2071ede985711d96040ec0d1864736f6c63430008070033697066733a2f2f516d62464d6b65314b58716e5979424257784237344e34633553426e4a4d5641694d4e5263477536783141775148
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102535760003560e01c80636352211e11610146578063a811a37b116100c3578063d021aa5011610087578063d021aa50146106e8578063d2cab05614610706578063d52c57e014610722578063d5abeb011461073e578063e985e9c51461075c578063f2fde38b1461078c57610253565b8063a811a37b14610648578063b3ab66b014610664578063b88d4fde14610680578063c87b56dd1461069c578063ca7ce3ec146106cc57610253565b8063942958f41161010a578063942958f4146105a257806395d89b41146105d25780639970cc29146105f0578063a22cb4651461060e578063a5a865dc1461062a57610253565b80636352211e146104fe57806370a082311461052e578063715018a61461055e5780637cb64759146105685780638da5cb5b1461058457610253565b80632eb4a7ab116101d45780635183022711610198578063518302271461045a578063553f241e146104785780635a23dd99146104965780635aca1bb6146104c65780635accac99146104e257610253565b80632eb4a7ab146103905780632f745c59146103ae57806342842e0e146103de57806342bfa3d2146103fa5780634f6ccce71461042a57610253565b80631455b1e21161021b5780631455b1e2146102fc578063160fba561461031a57806318160ddd146103385780631a09cfe21461035657806323b872dd1461037457610253565b806301ffc9a71461025857806304b4bba91461028857806306fdde0314610292578063081812fc146102b0578063095ea7b3146102e0575b600080fd5b610272600480360381019061026d91906131f4565b6107a8565b60405161027f91906139dc565b60405180910390f35b610290610822565b005b61029a610847565b6040516102a79190613a12565b60405180910390f35b6102ca60048036038101906102c59190613297565b6108d9565b6040516102d79190613975565b60405180910390f35b6102fa60048036038101906102f5919061315a565b61091f565b005b610304610a37565b60405161031191906139dc565b60405180910390f35b610322610a4a565b60405161032f9190613a12565b60405180910390f35b610340610ad8565b60405161034d9190613cb4565b60405180910390f35b61035e610ae5565b60405161036b9190613cb4565b60405180910390f35b61038e60048036038101906103899190612fe4565b610aeb565b005b610398610b4b565b6040516103a591906139f7565b60405180910390f35b6103c860048036038101906103c3919061315a565b610b51565b6040516103d59190613cb4565b60405180910390f35b6103f860048036038101906103f39190612fe4565b610bf6565b005b610414600480360381019061040f9190612f77565b610c16565b6040516104219190613cb4565b60405180910390f35b610444600480360381019061043f9190613297565b610c2e565b6040516104519190613cb4565b60405180910390f35b610462610c9f565b60405161046f91906139dc565b60405180910390f35b610480610cb2565b60405161048d9190613cb4565b60405180910390f35b6104b060048036038101906104ab91906130ba565b610cb8565b6040516104bd91906139dc565b60405180910390f35b6104e060048036038101906104db919061319a565b610d37565b005b6104fc60048036038101906104f7919061324e565b610d5c565b005b61051860048036038101906105139190613297565b610d7e565b6040516105259190613975565b60405180910390f35b61054860048036038101906105439190612f77565b610e30565b6040516105559190613cb4565b60405180910390f35b610566610ee8565b005b610582600480360381019061057d91906131c7565b610efc565b005b61058c610f0e565b6040516105999190613975565b60405180910390f35b6105bc60048036038101906105b79190612f77565b610f38565b6040516105c99190613cb4565b60405180910390f35b6105da610f50565b6040516105e79190613a12565b60405180910390f35b6105f8610fe2565b6040516106059190613cb4565b60405180910390f35b6106286004803603810190610623919061311a565b610fe8565b005b610632610ffe565b60405161063f91906139dc565b60405180910390f35b610662600480360381019061065d919061324e565b611011565b005b61067e60048036038101906106799190613297565b611033565b005b61069a60048036038101906106959190613037565b61121d565b005b6106b660048036038101906106b19190613297565b61127f565b6040516106c39190613a12565b60405180910390f35b6106e660048036038101906106e1919061319a565b61138f565b005b6106f06113b4565b6040516106fd9190613a12565b60405180910390f35b610720600480360381019061071b9190613304565b611442565b005b61073c600480360381019061073791906132c4565b611678565b005b61074661176f565b6040516107539190613cb4565b60405180910390f35b61077660048036038101906107719190612fa4565b611775565b60405161078391906139dc565b60405180910390f35b6107a660048036038101906107a19190612f77565b611809565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081b575061081a8261188d565b5b9050919050565b61082a61196f565b6001601260006101000a81548160ff021916908315150217905550565b60606000805461085690613f83565b80601f016020809104026020016040519081016040528092919081815260200182805461088290613f83565b80156108cf5780601f106108a4576101008083540402835291602001916108cf565b820191906000526020600020905b8154815290600101906020018083116108b257829003601f168201915b5050505050905090565b60006108e4826119ed565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061092a82610d7e565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561099b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099290613c54565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ba611a38565b73ffffffffffffffffffffffffffffffffffffffff1614806109e957506109e8816109e3611a38565b611775565b5b610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f90613bb4565b60405180910390fd5b610a328383611a40565b505050565b601260019054906101000a900460ff1681565b600c8054610a5790613f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8390613f83565b8015610ad05780601f10610aa557610100808354040283529160200191610ad0565b820191906000526020600020905b815481529060010190602001808311610ab357829003601f168201915b505050505081565b6000600880549050905090565b60115481565b610afc610af6611a38565b82611af9565b610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290613c94565b60405180910390fd5b610b46838383611b8e565b505050565b600b5481565b6000610b5c83610e30565b8210610b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9490613a34565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c118383836040518060200160405280600081525061121d565b505050565b60146020528060005260406000206000915090505481565b6000610c38610ad8565b8210610c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7090613c74565b60405180910390fd5b60088281548110610c8d57610c8c614140565b5b90600052602060002001549050919050565b601260009054906101000a900460ff1681565b600f5481565b6000610d2e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600b5486604051602001610d13919061388a565b60405160208183030381529060405280519060200120611df5565b90509392505050565b610d3f61196f565b80601260026101000a81548160ff02191690831515021790555050565b610d6461196f565b80600d9080519060200190610d7a929190612d20565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1e90613c34565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ea1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9890613b74565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ef061196f565b610efa6000611e0c565b565b610f0461196f565b80600b8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60136020528060005260406000206000915090505481565b606060018054610f5f90613f83565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8b90613f83565b8015610fd85780601f10610fad57610100808354040283529160200191610fd8565b820191906000526020600020905b815481529060010190602001808311610fbb57829003601f168201915b5050505050905090565b60105481565b610ffa610ff3611a38565b8383611ed2565b5050565b601260029054906101000a900460ff1681565b61101961196f565b80600c908051906020019061102f929190612d20565b5050565b6000811180156110455750600f548111155b611084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107b90613af4565b60405180910390fd5b601260029054906101000a900460ff166110d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ca90613b94565b60405180910390fd5b60006110dd610ad8565b9050600e5482826110ee9190613dae565b11158015611148575060115482601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111459190613dae565b11155b611187576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117e90613ab4565b60405180910390fd5b6000600190505b82811161121857600081836111a39190613dae565b9050601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111f590613fe6565b9190505550611204338261203f565b50808061121090613fe6565b91505061118e565b505050565b61122e611228611a38565b83611af9565b61126d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126490613c94565b60405180910390fd5b6112798484848461205d565b50505050565b606061128a826120b9565b6112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613bf4565b60405180910390fd5b60006112d483612125565b9050601260009054906101000a900460ff16611363576000816040516020016112fd9190613953565b604051602081830303815290604052905061133b8182600d604051602001611327939291906138d4565b604051602081830303815290604052612286565b60405160200161134b9190613931565b6040516020818303038152906040529250505061138a565b600c816040516020016113779291906138a5565b6040516020818303038152906040529150505b919050565b61139761196f565b80601260016101000a81548160ff02191690831515021790555050565b600d80546113c190613f83565b80601f01602080910402602001604051908101604052809291908181526020018280546113ed90613f83565b801561143a5780601f1061140f5761010080835404028352916020019161143a565b820191906000526020600020905b81548152906001019060200180831161141d57829003601f168201915b505050505081565b6000831180156114545750600f548311155b611493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148a90613af4565b60405180910390fd5b601260019054906101000a900460ff166114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613b94565b60405180910390fd5b6114ed338383610cb8565b61152c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152390613b54565b60405180910390fd5b6000611536610ad8565b9050600e5484826115479190613dae565b111580156115a1575060105484601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461159e9190613dae565b11155b6115e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d790613ab4565b60405180910390fd5b6000600190505b84811161167157600081836115fc9190613dae565b9050601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061164e90613fe6565b919050555061165d338261203f565b50808061166990613fe6565b9150506115e7565b5050505050565b61168061196f565b6000821180156116925750600f548211155b6116d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c890613af4565b60405180910390fd5b60006116db610ad8565b9050600e5481846116ec9190613dae565b111561172d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172490613ab4565b60405180910390fd5b6000600190505b83811161176957600081836117499190613dae565b9050611755848261203f565b50808061176190613fe6565b915050611734565b50505050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61181161196f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611881576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187890613a74565b60405180910390fd5b61188a81611e0c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061195857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061196857506119678261240b565b5b9050919050565b611977611a38565b73ffffffffffffffffffffffffffffffffffffffff16611995610f0e565b73ffffffffffffffffffffffffffffffffffffffff16146119eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e290613c14565b60405180910390fd5b565b6119f6816120b9565b611a35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2c90613c34565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ab383610d7e565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b0583610d7e565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b475750611b468185611775565b5b80611b8557508373ffffffffffffffffffffffffffffffffffffffff16611b6d846108d9565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bae82610d7e565b73ffffffffffffffffffffffffffffffffffffffff1614611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90613a94565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6b90613b14565b60405180910390fd5b611c7f838383612475565b611c8a600082611a40565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cda9190613e8f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d319190613dae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611df0838383612589565b505050565b600082611e02858461258e565b1490509392505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3890613b34565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161203291906139dc565b60405180910390a3505050565b6120598282604051806020016040528060008152506125e4565b5050565b612068848484611b8e565b6120748484848461263f565b6120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa90613a54565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060600082141561216d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612281565b600082905060005b6000821461219f57808061218890613fe6565b915050600a826121989190613e04565b9150612175565b60008167ffffffffffffffff8111156121bb576121ba61416f565b5b6040519080825280601f01601f1916602001820160405280156121ed5781602001600182028036833780820191505090505b5090505b6000851461227a576001826122069190613e8f565b9150600a856122159190614053565b60306122219190613dae565b60f81b81838151811061223757612236614140565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856122739190613e04565b94506121f1565b8093505050505b919050565b60606000825114156122a957604051806020016040528060008152509050612406565b600060405180606001604052806040815260200161481d60409139905060006003600285516122d89190613dae565b6122e29190613e04565b60046122ee9190613e35565b905060006020826122ff9190613dae565b67ffffffffffffffff8111156123185761231761416f565b5b6040519080825280601f01601f19166020018201604052801561234a5781602001600182028036833780820191505090505b509050818152600183018586518101602084015b818310156123c5576003830192508251603f8160121c1685015160f81b8252600182019150603f81600c1c1685015160f81b8252600182019150603f8160061c1685015160f81b8252600182019150603f811685015160f81b82526001820191505061235e565b6003895106600181146123df57600281146123ef576123fa565b613d3d60f01b60028303526123fa565b603d60f81b60018303525b50505050508093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6124808383836127d6565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156124c3576124be816127db565b612502565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612501576125008382612824565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125455761254081612991565b612584565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612583576125828282612a62565b5b5b505050565b505050565b60008082905060005b84518110156125d9576125c4828683815181106125b7576125b6614140565b5b6020026020010151612ae1565b915080806125d190613fe6565b915050612597565b508091505092915050565b6125ee8383612b0c565b6125fb600084848461263f565b61263a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263190613a54565b60405180910390fd5b505050565b60006126608473ffffffffffffffffffffffffffffffffffffffff16612ce6565b156127c9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612689611a38565b8786866040518563ffffffff1660e01b81526004016126ab9493929190613990565b602060405180830381600087803b1580156126c557600080fd5b505af19250505080156126f657506040513d601f19601f820116820180604052508101906126f39190613221565b60015b612779573d8060008114612726576040519150601f19603f3d011682016040523d82523d6000602084013e61272b565b606091505b50600081511415612771576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276890613a54565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506127ce565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161283184610e30565b61283b9190613e8f565b9050600060076000848152602001908152602001600020549050818114612920576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506129a59190613e8f565b90506000600960008481526020019081526020016000205490506000600883815481106129d5576129d4614140565b5b9060005260206000200154905080600883815481106129f7576129f6614140565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612a4657612a45614111565b5b6001900381819060005260206000200160009055905550505050565b6000612a6d83610e30565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000818310612af957612af48284612d09565b612b04565b612b038383612d09565b5b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7390613bd4565b60405180910390fd5b612b85816120b9565b15612bc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbc90613ad4565b60405180910390fd5b612bd160008383612475565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c219190613dae565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ce260008383612589565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612d2c90613f83565b90600052602060002090601f016020900481019282612d4e5760008555612d95565b82601f10612d6757805160ff1916838001178555612d95565b82800160010185558215612d95579182015b82811115612d94578251825591602001919060010190612d79565b5b509050612da29190612da6565b5090565b5b80821115612dbf576000816000905550600101612da7565b5090565b6000612dd6612dd184613cf4565b613ccf565b905082815260208101848484011115612df257612df16141ad565b5b612dfd848285613f41565b509392505050565b6000612e18612e1384613d25565b613ccf565b905082815260208101848484011115612e3457612e336141ad565b5b612e3f848285613f41565b509392505050565b600081359050612e56816147a9565b92915050565b60008083601f840112612e7257612e716141a3565b5b8235905067ffffffffffffffff811115612e8f57612e8e61419e565b5b602083019150836020820283011115612eab57612eaa6141a8565b5b9250929050565b600081359050612ec1816147c0565b92915050565b600081359050612ed6816147d7565b92915050565b600081359050612eeb816147ee565b92915050565b600081519050612f00816147ee565b92915050565b600082601f830112612f1b57612f1a6141a3565b5b8135612f2b848260208601612dc3565b91505092915050565b600082601f830112612f4957612f486141a3565b5b8135612f59848260208601612e05565b91505092915050565b600081359050612f7181614805565b92915050565b600060208284031215612f8d57612f8c6141b7565b5b6000612f9b84828501612e47565b91505092915050565b60008060408385031215612fbb57612fba6141b7565b5b6000612fc985828601612e47565b9250506020612fda85828601612e47565b9150509250929050565b600080600060608486031215612ffd57612ffc6141b7565b5b600061300b86828701612e47565b935050602061301c86828701612e47565b925050604061302d86828701612f62565b9150509250925092565b60008060008060808587031215613051576130506141b7565b5b600061305f87828801612e47565b945050602061307087828801612e47565b935050604061308187828801612f62565b925050606085013567ffffffffffffffff8111156130a2576130a16141b2565b5b6130ae87828801612f06565b91505092959194509250565b6000806000604084860312156130d3576130d26141b7565b5b60006130e186828701612e47565b935050602084013567ffffffffffffffff811115613102576131016141b2565b5b61310e86828701612e5c565b92509250509250925092565b60008060408385031215613131576131306141b7565b5b600061313f85828601612e47565b925050602061315085828601612eb2565b9150509250929050565b60008060408385031215613171576131706141b7565b5b600061317f85828601612e47565b925050602061319085828601612f62565b9150509250929050565b6000602082840312156131b0576131af6141b7565b5b60006131be84828501612eb2565b91505092915050565b6000602082840312156131dd576131dc6141b7565b5b60006131eb84828501612ec7565b91505092915050565b60006020828403121561320a576132096141b7565b5b600061321884828501612edc565b91505092915050565b600060208284031215613237576132366141b7565b5b600061324584828501612ef1565b91505092915050565b600060208284031215613264576132636141b7565b5b600082013567ffffffffffffffff811115613282576132816141b2565b5b61328e84828501612f34565b91505092915050565b6000602082840312156132ad576132ac6141b7565b5b60006132bb84828501612f62565b91505092915050565b600080604083850312156132db576132da6141b7565b5b60006132e985828601612f62565b92505060206132fa85828601612e47565b9150509250929050565b60008060006040848603121561331d5761331c6141b7565b5b600061332b86828701612f62565b935050602084013567ffffffffffffffff81111561334c5761334b6141b2565b5b61335886828701612e5c565b92509250509250925092565b61336d81613ec3565b82525050565b61338461337f82613ec3565b61402f565b82525050565b61339381613ed5565b82525050565b6133a281613ee1565b82525050565b60006133b382613d6b565b6133bd8185613d81565b93506133cd818560208601613f50565b6133d6816141bc565b840191505092915050565b60006133ec82613d76565b6133f68185613d92565b9350613406818560208601613f50565b61340f816141bc565b840191505092915050565b600061342582613d76565b61342f8185613da3565b935061343f818560208601613f50565b80840191505092915050565b6000815461345881613f83565b6134628186613da3565b9450600182166000811461347d576001811461348e576134c1565b60ff198316865281860193506134c1565b61349785613d56565b60005b838110156134b95781548189015260018201915060208101905061349a565b838801955050505b50505092915050565b60006134d7600983613da3565b91506134e2826141da565b600982019050919050565b60006134fa602b83613d92565b915061350582614203565b604082019050919050565b600061351d603283613d92565b915061352882614252565b604082019050919050565b6000613540602683613d92565b915061354b826142a1565b604082019050919050565b6000613563602583613d92565b915061356e826142f0565b604082019050919050565b6000613586600e83613d92565b91506135918261433f565b602082019050919050565b60006135a9601c83613d92565b91506135b482614368565b602082019050919050565b60006135cc600e83613d92565b91506135d782614391565b602082019050919050565b60006135ef602483613d92565b91506135fa826143ba565b604082019050919050565b6000613612601983613d92565b915061361d82614409565b602082019050919050565b6000613635601083613d92565b915061364082614432565b602082019050919050565b6000613658602983613d92565b91506136638261445b565b604082019050919050565b600061367b600883613d92565b9150613686826144aa565b602082019050919050565b600061369e600283613da3565b91506136a9826144d3565b600282019050919050565b60006136c1603e83613d92565b91506136cc826144fc565b604082019050919050565b60006136e4602083613d92565b91506136ef8261454b565b602082019050919050565b6000613707600d83613da3565b915061371282614574565b600d82019050919050565b600061372a601183613d92565b91506137358261459d565b602082019050919050565b600061374d600583613da3565b9150613758826145c6565b600582019050919050565b6000613770601283613da3565b915061377b826145ef565b601282019050919050565b6000613793602083613d92565b915061379e82614618565b602082019050919050565b60006137b6601883613d92565b91506137c182614641565b602082019050919050565b60006137d9602183613d92565b91506137e48261466a565b604082019050919050565b60006137fc601d83613da3565b9150613807826146b9565b601d82019050919050565b600061381f601083613da3565b915061382a826146e2565b601082019050919050565b6000613842602c83613d92565b915061384d8261470b565b604082019050919050565b6000613865602e83613d92565b91506138708261475a565b604082019050919050565b61388481613f37565b82525050565b60006138968284613373565b60148201915081905092915050565b60006138b1828561344b565b91506138bd828461341a565b91506138c882613740565b91508190509392505050565b60006138df826134ca565b91506138eb828661341a565b91506138f682613763565b9150613902828561341a565b915061390d826136fa565b9150613919828461344b565b915061392482613691565b9150819050949350505050565b600061393c826137ef565b9150613948828461341a565b915081905092915050565b600061395e82613812565b915061396a828461341a565b915081905092915050565b600060208201905061398a6000830184613364565b92915050565b60006080820190506139a56000830187613364565b6139b26020830186613364565b6139bf604083018561387b565b81810360608301526139d181846133a8565b905095945050505050565b60006020820190506139f1600083018461338a565b92915050565b6000602082019050613a0c6000830184613399565b92915050565b60006020820190508181036000830152613a2c81846133e1565b905092915050565b60006020820190508181036000830152613a4d816134ed565b9050919050565b60006020820190508181036000830152613a6d81613510565b9050919050565b60006020820190508181036000830152613a8d81613533565b9050919050565b60006020820190508181036000830152613aad81613556565b9050919050565b60006020820190508181036000830152613acd81613579565b9050919050565b60006020820190508181036000830152613aed8161359c565b9050919050565b60006020820190508181036000830152613b0d816135bf565b9050919050565b60006020820190508181036000830152613b2d816135e2565b9050919050565b60006020820190508181036000830152613b4d81613605565b9050919050565b60006020820190508181036000830152613b6d81613628565b9050919050565b60006020820190508181036000830152613b8d8161364b565b9050919050565b60006020820190508181036000830152613bad8161366e565b9050919050565b60006020820190508181036000830152613bcd816136b4565b9050919050565b60006020820190508181036000830152613bed816136d7565b9050919050565b60006020820190508181036000830152613c0d8161371d565b9050919050565b60006020820190508181036000830152613c2d81613786565b9050919050565b60006020820190508181036000830152613c4d816137a9565b9050919050565b60006020820190508181036000830152613c6d816137cc565b9050919050565b60006020820190508181036000830152613c8d81613835565b9050919050565b60006020820190508181036000830152613cad81613858565b9050919050565b6000602082019050613cc9600083018461387b565b92915050565b6000613cd9613cea565b9050613ce58282613fb5565b919050565b6000604051905090565b600067ffffffffffffffff821115613d0f57613d0e61416f565b5b613d18826141bc565b9050602081019050919050565b600067ffffffffffffffff821115613d4057613d3f61416f565b5b613d49826141bc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613db982613f37565b9150613dc483613f37565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613df957613df8614084565b5b828201905092915050565b6000613e0f82613f37565b9150613e1a83613f37565b925082613e2a57613e296140b3565b5b828204905092915050565b6000613e4082613f37565b9150613e4b83613f37565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e8457613e83614084565b5b828202905092915050565b6000613e9a82613f37565b9150613ea583613f37565b925082821015613eb857613eb7614084565b5b828203905092915050565b6000613ece82613f17565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f6e578082015181840152602081019050613f53565b83811115613f7d576000848401525b50505050565b60006002820490506001821680613f9b57607f821691505b60208210811415613faf57613fae6140e2565b5b50919050565b613fbe826141bc565b810181811067ffffffffffffffff82111715613fdd57613fdc61416f565b5b80604052505050565b6000613ff182613f37565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561402457614023614084565b5b600182019050919050565b600061403a82614041565b9050919050565b600061404c826141cd565b9050919050565b600061405e82613f37565b915061406983613f37565b925082614079576140786140b3565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f6c696d6974206578636565646564000000000000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f696e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420696e2077686974656c69737400000000000000000000000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f6e6f74206c697665000000000000000000000000000000000000000000000000600082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f222c2022696d616765223a202200000000000000000000000000000000000000600082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f222c20226465736372697074696f6e223a220000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b7f4b617473757261204f6a6973616e202300000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6147b281613ec3565b81146147bd57600080fd5b50565b6147c981613ed5565b81146147d457600080fd5b50565b6147e081613ee1565b81146147eb57600080fd5b50565b6147f781613eeb565b811461480257600080fd5b50565b61480e81613f37565b811461481957600080fd5b5056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220655073bae0fc5370366cd318b81775fb6ab12fa2071ede985711d96040ec0d1864736f6c63430008070033
[ 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.