Overview
TokenID
100
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
WisherCocktail
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract WisherCocktail is ERC721Enumerable, Ownable { using Strings for uint256; using MerkleProof for bytes32[]; // Constants uint public MAX_SUPPLY; string public PROVENANCE_HASH; // Global sale state bool public isSaleEnabled = true; // Pre/Post Reveal Metadata URIs string public baseURI; string public preRevealURI = "ipfs://QmTv5iyHGiFh2cXv64RAfbBPHsxcYpMFfoViZKZspKLmQ1"; // Pre-sale State bytes32 public preSaleRoot = 0x6b965640fb01564915f3ea1218b5310ea0b2b48691db44f07851877d4f836a35; uint256 public preSaleStart = 1647105060; uint256 public preSalePrice = 0.2 ether; // Sale State uint256 public publicSaleStart = 1647148260; uint256 public publicSalePrice = 0.29 ether; // Randomized Start Index uint256 public startIndex; uint256 public startIndexBlock; constructor( string memory name, string memory symbol, string memory provenanceHash, uint256 maxSupply ) ERC721(name, symbol) { MAX_SUPPLY = maxSupply; PROVENANCE_HASH = provenanceHash; } modifier saleEnabled { require(isSaleEnabled, "Minting is currently disabled"); _; } modifier hasFunds(uint256 quantity, uint256 fee) { require(fee * quantity <= msg.value, "Insufficient ETH to complete mint"); _; } modifier whitelist(bytes32[] memory proof) { require( proof.verify(preSaleRoot, keccak256(abi.encodePacked(msg.sender))), "This address does not have access to pre-sale minting" ); _; } /// Replace the current baseURI with a new value /// @dev only here in the event the metadata/image host needs to be replaced function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } /// Set the pre-sale URI /// @dev this URI will be used in place of all token URIs until the final metadata is revealed function setPreRevealURI(string memory uri) public onlyOwner { preRevealURI = uri; } /// Set the merkle root used to identify whitelisted pre-sale addresses function setPreSaleRoot(bytes32 root) public onlyOwner { preSaleRoot = root; } /// Set the start timestamp for the pre-sale period function setPreSaleStart(uint256 start) public onlyOwner { preSaleStart = start; } /// Set the mint price for the pre-sale period function setPreSalePrice(uint256 price) public onlyOwner { preSalePrice = price; } /// Kick off the sale function setPublicSaleStart(uint256 start) public onlyOwner { publicSaleStart = start; } /// Kick off the sale function setPublicSalePrice(uint256 price) public onlyOwner { publicSalePrice = price; } /// Set the global sale state function setSaleIsEnabled(bool enabled) public onlyOwner { isSaleEnabled = enabled; } /// Uses the startIndexBlock to determine the startIndex /// @dev startIndexBlock must be set either automatically once the max supply has been /// met or manually if you want to reveal the metadata prior to that function setStartIndex() public onlyOwner { require(startIndex == 0, "Start index has already been set"); require(startIndexBlock != 0, "Start index block has not been set"); startIndex = uint(blockhash(startIndexBlock)) % MAX_SUPPLY; if ((block.number - startIndexBlock) > 255) { startIndex = uint(blockhash(block.number - 1)) % MAX_SUPPLY; } if (startIndex == 0) { startIndex = 1; } } /// Manually set the startIndexBlock /// @dev this shouldn't be used unless the seller decides to reveal prior to selling the max supply function setStartIndexBlock() public onlyOwner { require(startIndex == 0, "Start index has already been set"); startIndexBlock = block.number; } /// Override the default implementation to return our base URI function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /// Override the default implementation to return our pre-reveal URI until the final metadata is revealed /// @dev to reveal the set just provide a baseURI function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "URI query for nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : preRevealURI; } /// Mint one or more NFTs to the sender if the supply and provided ETH allow /// @dev also sets the startIndexBlock if this is the max supply has been minted function purchasePreSale(address to, uint256 quantity, bytes32[] memory proof) public payable saleEnabled whitelist(proof) hasFunds(quantity, preSalePrice) { require(!isPrimarySaleActive(), "The pre-sale period has ended"); require(isPreSaleActive(), "The pre-sale period has not started yet"); mint(to, quantity); } /// Mint one or more NFTs to the sender if the supply and provided ETH allow function purchase(address to, uint256 quantity) public payable saleEnabled hasFunds(quantity, publicSalePrice) { require(isPrimarySaleActive(), "Sale is not active yet"); mint(to, quantity); } /// Allow the contract owner to reserve 'quantity' NFTs function reserve(uint256 quantity) public onlyOwner { mint(msg.sender, quantity); } /// Withdraw the funds held by the contract function withdraw() public payable onlyOwner { uint amount = address(this).balance; (bool success, ) = msg.sender.call{ value: amount }(""); require(success, "Withdrawal request failed"); } // Private Methods function isPreSaleActive() private view returns (bool) { return preSaleStart > 0 && block.timestamp >= preSaleStart; } function isPrimarySaleActive() private view returns (bool) { return block.timestamp >= publicSaleStart; } // Mint the token(s) to the provided address /// @dev this also sets the startIndexBlock if the max supply has been minted function mint(address to, uint256 quantity) private { uint256 supply = totalSupply(); require(quantity > 0, "Mint quantity must be greater than zero"); require(supply + quantity <= MAX_SUPPLY, "Mint request would exceed maximum supply"); for (uint256 i = 0; i < quantity; i++) { _safeMint(to, supply + i); } if (startIndexBlock == 0 && (totalSupply() == MAX_SUPPLY)) { startIndexBlock = block.number; } } }
// 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); }
// 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/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/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 v4.4.1 (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 tokenId); /** * @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 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 v4.4.1 (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 `IERC721.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/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`, 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 be 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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: balance query for the zero address"); 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: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 overriden 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); 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: transfer caller is not 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: transfer caller is not 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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {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 a {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 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 { 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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"provenanceHash","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preRevealURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"purchasePreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","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":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setPreSaleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setPreSaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"}],"name":"setPublicSaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setSaleIsEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526001600d60006101000a81548160ff0219169083151502179055506040518060600160405280603581526020016200589a60359139600f90805190602001906200005092919062000221565b507f6b965640fb01564915f3ea1218b5310ea0b2b48691db44f07851877d4f836a3560001b60105563622cd4246011556702c68af0bb14000060125563622d7ce46013556704064976a8dd0000601455348015620000ad57600080fd5b50604051620058cf380380620058cf8339818101604052810190620000d39190620004a9565b83838160009080519060200190620000ed92919062000221565b5080600190805190602001906200010692919062000221565b505050620001296200011d6200015360201b60201c565b6200015b60201b60201c565b80600b8190555081600c90805190602001906200014892919062000221565b5050505050620005dd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022f90620005a7565b90600052602060002090601f0160209004810192826200025357600085556200029f565b82601f106200026e57805160ff19168380011785556200029f565b828001600101855582156200029f579182015b828111156200029e57825182559160200191906001019062000281565b5b509050620002ae9190620002b2565b5090565b5b80821115620002cd576000816000905550600101620002b3565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200033a82620002ef565b810181811067ffffffffffffffff821117156200035c576200035b62000300565b5b80604052505050565b600062000371620002d1565b90506200037f82826200032f565b919050565b600067ffffffffffffffff821115620003a257620003a162000300565b5b620003ad82620002ef565b9050602081019050919050565b60005b83811015620003da578082015181840152602081019050620003bd565b83811115620003ea576000848401525b50505050565b600062000407620004018462000384565b62000365565b905082815260208101848484011115620004265762000425620002ea565b5b62000433848285620003ba565b509392505050565b600082601f830112620004535762000452620002e5565b5b815162000465848260208601620003f0565b91505092915050565b6000819050919050565b62000483816200046e565b81146200048f57600080fd5b50565b600081519050620004a38162000478565b92915050565b60008060008060808587031215620004c657620004c5620002db565b5b600085015167ffffffffffffffff811115620004e757620004e6620002e0565b5b620004f5878288016200043b565b945050602085015167ffffffffffffffff811115620005195762000518620002e0565b5b62000527878288016200043b565b935050604085015167ffffffffffffffff8111156200054b576200054a620002e0565b5b62000559878288016200043b565b92505060606200056c8782880162000492565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005c057607f821691505b60208210811415620005d757620005d662000578565b5b50919050565b6152ad80620005ed6000396000f3fe6080604052600436106102725760003560e01c806365fcfd241161014f5780639b6860c8116100c1578063cc69c4e81161007a578063cc69c4e8146108ed578063e757c17d14610918578063e985e9c514610943578063f2fde38b14610980578063fe042d49146109a9578063ff1b6556146109d257610272565b80639b6860c814610800578063a22cb4651461082b578063a2cdbd0714610854578063b88d4fde1461086b578063c87b56dd14610894578063cb1c04e2146108d157610272565b806379b6ed361161011357806379b6ed36146107115780637d7eee421461073c578063819b25ba146107655780638da5cb5b1461078e5780638de93222146107b957806395d89b41146107d557610272565b806365fcfd24146106405780636c0360eb1461066957806370a0823114610694578063715018a6146106d1578063791a2519146106e857610272565b80632a85db55116101e85780633ccfd60b116101ac5780633ccfd60b1461053f5780633e0e828b1461054957806342842e0e146105745780634f6ccce71461059d57806355f804b3146105da5780636352211e1461060357610272565b80632a85db55146104585780632f745c59146104815780633154b9c2146104be57806332cb6b0c146104e95780633360caa01461051457610272565b80630d5624b31161023a5780630d5624b31461036e5780630ff97f361461039957806310b3cc4f146103c257806318160ddd146103d95780631cd506d91461040457806323b872dd1461042f57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630ca282f714610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906135be565b6109fd565b6040516102ab9190613606565b60405180910390f35b3480156102c057600080fd5b506102c9610a77565b6040516102d691906136ba565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613712565b610b09565b6040516103139190613780565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906137c7565b610b8e565b005b34801561035157600080fd5b5061036c60048036038101906103679190613712565b610ca6565b005b34801561037a57600080fd5b50610383610d2c565b6040516103909190613816565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb919061385d565b610d32565b005b3480156103ce57600080fd5b506103d7610dcb565b005b3480156103e557600080fd5b506103ee610e95565b6040516103fb9190613816565b60405180910390f35b34801561041057600080fd5b50610419610ea2565b6040516104269190613816565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061388a565b610ea8565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613a12565b610f08565b005b34801561048d57600080fd5b506104a860048036038101906104a391906137c7565b610f9e565b6040516104b59190613816565b60405180910390f35b3480156104ca57600080fd5b506104d3611043565b6040516104e09190613a74565b60405180910390f35b3480156104f557600080fd5b506104fe611049565b60405161050b9190613816565b60405180910390f35b34801561052057600080fd5b5061052961104f565b6040516105369190613816565b60405180910390f35b610547611055565b005b34801561055557600080fd5b5061055e611186565b60405161056b9190613816565b60405180910390f35b34801561058057600080fd5b5061059b6004803603810190610596919061388a565b61118c565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613712565b6111ac565b6040516105d19190613816565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190613a12565b61121d565b005b34801561060f57600080fd5b5061062a60048036038101906106259190613712565b6112b3565b6040516106379190613780565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190613712565b611365565b005b34801561067557600080fd5b5061067e6113eb565b60405161068b91906136ba565b60405180910390f35b3480156106a057600080fd5b506106bb60048036038101906106b69190613a8f565b611479565b6040516106c89190613816565b60405180910390f35b3480156106dd57600080fd5b506106e6611531565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190613712565b6115b9565b005b34801561071d57600080fd5b5061072661163f565b60405161073391906136ba565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190613712565b6116cd565b005b34801561077157600080fd5b5061078c60048036038101906107879190613712565b611753565b005b34801561079a57600080fd5b506107a36117dc565b6040516107b09190613780565b60405180910390f35b6107d360048036038101906107ce91906137c7565b611806565b005b3480156107e157600080fd5b506107ea6118fe565b6040516107f791906136ba565b60405180910390f35b34801561080c57600080fd5b50610815611990565b6040516108229190613816565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190613abc565b611996565b005b34801561086057600080fd5b506108696119ac565b005b34801561087757600080fd5b50610892600480360381019061088d9190613b9d565b611b1e565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613712565b611b80565b6040516108c891906136ba565b60405180910390f35b6108eb60048036038101906108e69190613d14565b611ca3565b005b3480156108f957600080fd5b50610902611e62565b60405161090f9190613606565b60405180910390f35b34801561092457600080fd5b5061092d611e75565b60405161093a9190613816565b60405180910390f35b34801561094f57600080fd5b5061096a60048036038101906109659190613d83565b611e7b565b6040516109779190613606565b60405180910390f35b34801561098c57600080fd5b506109a760048036038101906109a29190613a8f565b611f0f565b005b3480156109b557600080fd5b506109d060048036038101906109cb9190613dc3565b612007565b005b3480156109de57600080fd5b506109e761208d565b6040516109f491906136ba565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a705750610a6f8261211b565b5b9050919050565b606060008054610a8690613e1f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290613e1f565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000610b14826121fd565b610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613ec3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b99826112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190613f55565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c29612269565b73ffffffffffffffffffffffffffffffffffffffff161480610c585750610c5781610c52612269565b611e7b565b5b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613fe7565b60405180910390fd5b610ca18383612271565b505050565b610cae612269565b73ffffffffffffffffffffffffffffffffffffffff16610ccc6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990614053565b60405180910390fd5b8060138190555050565b60115481565b610d3a612269565b73ffffffffffffffffffffffffffffffffffffffff16610d586117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614053565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610dd3612269565b73ffffffffffffffffffffffffffffffffffffffff16610df16117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614053565b60405180910390fd5b600060155414610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906140bf565b60405180910390fd5b43601681905550565b6000600880549050905090565b60165481565b610eb9610eb3612269565b8261232a565b610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90614151565b60405180910390fd5b610f03838383612408565b505050565b610f10612269565b73ffffffffffffffffffffffffffffffffffffffff16610f2e6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614053565b60405180910390fd5b80600f9080519060200190610f9a9291906134af565b5050565b6000610fa983611479565b8210610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906141e3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b600b5481565b60135481565b61105d612269565b73ffffffffffffffffffffffffffffffffffffffff1661107b6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890614053565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516110fc90614234565b60006040518083038185875af1925050503d8060008114611139576040519150601f19603f3d011682016040523d82523d6000602084013e61113e565b606091505b5050905080611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990614295565b60405180910390fd5b5050565b60155481565b6111a783838360405180602001604052806000815250611b1e565b505050565b60006111b6610e95565b82106111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614327565b60405180910390fd5b6008828154811061120b5761120a614347565b5b90600052602060002001549050919050565b611225612269565b73ffffffffffffffffffffffffffffffffffffffff166112436117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129090614053565b60405180910390fd5b80600e90805190602001906112af9291906134af565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561135c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611353906143e8565b60405180910390fd5b80915050919050565b61136d612269565b73ffffffffffffffffffffffffffffffffffffffff1661138b6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890614053565b60405180910390fd5b8060118190555050565b600e80546113f890613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461142490613e1f565b80156114715780601f1061144657610100808354040283529160200191611471565b820191906000526020600020905b81548152906001019060200180831161145457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e19061447a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611539612269565b73ffffffffffffffffffffffffffffffffffffffff166115576117dc565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614053565b60405180910390fd5b6115b76000612664565b565b6115c1612269565b73ffffffffffffffffffffffffffffffffffffffff166115df6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614053565b60405180910390fd5b8060148190555050565b600f805461164c90613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461167890613e1f565b80156116c55780601f1061169a576101008083540402835291602001916116c5565b820191906000526020600020905b8154815290600101906020018083116116a857829003601f168201915b505050505081565b6116d5612269565b73ffffffffffffffffffffffffffffffffffffffff166116f36117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614053565b60405180910390fd5b8060128190555050565b61175b612269565b73ffffffffffffffffffffffffffffffffffffffff166117796117dc565b73ffffffffffffffffffffffffffffffffffffffff16146117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c690614053565b60405180910390fd5b6117d9338261272a565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60009054906101000a900460ff16611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c906144e6565b60405180910390fd5b806014543482826118669190614535565b11156118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90614601565b60405180910390fd5b6118af612829565b6118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e59061466d565b60405180910390fd5b6118f8848461272a565b50505050565b60606001805461190d90613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461193990613e1f565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b5050505050905090565b60145481565b6119a86119a1612269565b8383612836565b5050565b6119b4612269565b73ffffffffffffffffffffffffffffffffffffffff166119d26117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90614053565b60405180910390fd5b600060155414611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a64906140bf565b60405180910390fd5b60006016541415611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906146ff565b60405180910390fd5b600b546016544060001c611ac7919061474e565b60158190555060ff60165443611add919061477f565b1115611b0857600b54600143611af3919061477f565b4060001c611b01919061474e565b6015819055505b60006015541415611b1c5760016015819055505b565b611b2f611b29612269565b8361232a565b611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614151565b60405180910390fd5b611b7a848484846129a3565b50505050565b6060611b8b826121fd565b611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc1906147ff565b60405180910390fd5b6000600e8054611bd990613e1f565b905011611c7057600f8054611bed90613e1f565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1990613e1f565b8015611c665780601f10611c3b57610100808354040283529160200191611c66565b820191906000526020600020905b815481529060010190602001808311611c4957829003601f168201915b5050505050611c9c565b600e611c7b836129ff565b604051602001611c8c9291906148ef565b6040516020818303038152906040525b9050919050565b600d60009054906101000a900460ff16611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce9906144e6565b60405180910390fd5b80611d3060105433604051602001611d0a919061495b565b6040516020818303038152906040528051906020012083612b609092919063ffffffff16565b611d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d66906149e8565b60405180910390fd5b82601254348282611d809190614535565b1115611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db890614601565b60405180910390fd5b611dc9612829565b15611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090614a54565b60405180910390fd5b611e11612b77565b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614ae6565b60405180910390fd5b611e5a868661272a565b505050505050565b600d60009054906101000a900460ff1681565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f17612269565b73ffffffffffffffffffffffffffffffffffffffff16611f356117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8290614053565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff290614b78565b60405180910390fd5b61200481612664565b50565b61200f612269565b73ffffffffffffffffffffffffffffffffffffffff1661202d6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a90614053565b60405180910390fd5b8060108190555050565b600c805461209a90613e1f565b80601f01602080910402602001604051908101604052809291908181526020018280546120c690613e1f565b80156121135780601f106120e857610100808354040283529160200191612113565b820191906000526020600020905b8154815290600101906020018083116120f657829003601f168201915b505050505081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121e657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121f657506121f582612b91565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122e4836112b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612335826121fd565b612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b90614c0a565b60405180910390fd5b600061237f836112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123ee57508373ffffffffffffffffffffffffffffffffffffffff166123d684610b09565b73ffffffffffffffffffffffffffffffffffffffff16145b806123ff57506123fe8185611e7b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612428826112b3565b73ffffffffffffffffffffffffffffffffffffffff161461247e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247590614c9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614d2e565b60405180910390fd5b6124f9838383612bfb565b612504600082612271565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612554919061477f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ab9190614d4e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612734610e95565b905060008211612779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277090614e16565b60405180910390fd5b600b5482826127889190614d4e565b11156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090614ea8565b60405180910390fd5b60005b828110156127fc576127e98482846127e49190614d4e565b612d0f565b80806127f490614ec8565b9150506127cc565b5060006016541480156128175750600b54612815610e95565b145b1561282457436016819055505b505050565b6000601354421015905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c90614f5d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129969190613606565b60405180910390a3505050565b6129ae848484612408565b6129ba84848484612d2d565b6129f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f090614fef565b60405180910390fd5b50505050565b60606000821415612a47576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b5b565b600082905060005b60008214612a79578080612a6290614ec8565b915050600a82612a72919061500f565b9150612a4f565b60008167ffffffffffffffff811115612a9557612a946138e7565b5b6040519080825280601f01601f191660200182016040528015612ac75781602001600182028036833780820191505090505b5090505b60008514612b5457600182612ae0919061477f565b9150600a85612aef919061474e565b6030612afb9190614d4e565b60f81b818381518110612b1157612b10614347565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b4d919061500f565b9450612acb565b8093505050505b919050565b600082612b6d8584612eb5565b1490509392505050565b600080601154118015612b8c57506011544210155b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c06838383612f68565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4957612c4481612f6d565b612c88565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c8757612c868382612fb6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ccb57612cc681613123565b612d0a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d0957612d0882826131f4565b5b5b505050565b612d29828260405180602001604052806000815250613273565b5050565b6000612d4e8473ffffffffffffffffffffffffffffffffffffffff166132ce565b15612ea8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d77612269565b8786866040518563ffffffff1660e01b8152600401612d999493929190615095565b6020604051808303816000875af1925050508015612dd557506040513d601f19601f82011682018060405250810190612dd291906150f6565b60015b612e58573d8060008114612e05576040519150601f19603f3d011682016040523d82523d6000602084013e612e0a565b606091505b50600081511415612e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4790614fef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ead565b600190505b949350505050565b60008082905060005b8451811015612f5d576000858281518110612edc57612edb614347565b5b60200260200101519050808311612f1d578281604051602001612f00929190615144565b604051602081830303815290604052805190602001209250612f49565b8083604051602001612f30929190615144565b6040516020818303038152906040528051906020012092505b508080612f5590614ec8565b915050612ebe565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fc384611479565b612fcd919061477f565b90506000600760008481526020019081526020016000205490508181146130b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613137919061477f565b905060006009600084815260200190815260200160002054905060006008838154811061316757613166614347565b5b90600052602060002001549050806008838154811061318957613188614347565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131d8576131d7615170565b5b6001900381819060005260206000200160009055905550505050565b60006131ff83611479565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b61327d83836132e1565b61328a6000848484612d2d565b6132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090614fef565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613348906151eb565b60405180910390fd5b61335a816121fd565b1561339a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339190615257565b60405180910390fd5b6133a660008383612bfb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133f69190614d4e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546134bb90613e1f565b90600052602060002090601f0160209004810192826134dd5760008555613524565b82601f106134f657805160ff1916838001178555613524565b82800160010185558215613524579182015b82811115613523578251825591602001919060010190613508565b5b5090506135319190613535565b5090565b5b8082111561354e576000816000905550600101613536565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61359b81613566565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b6000602082840312156135d4576135d361355c565b5b60006135e2848285016135a9565b91505092915050565b60008115159050919050565b613600816135eb565b82525050565b600060208201905061361b60008301846135f7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561365b578082015181840152602081019050613640565b8381111561366a576000848401525b50505050565b6000601f19601f8301169050919050565b600061368c82613621565b613696818561362c565b93506136a681856020860161363d565b6136af81613670565b840191505092915050565b600060208201905081810360008301526136d48184613681565b905092915050565b6000819050919050565b6136ef816136dc565b81146136fa57600080fd5b50565b60008135905061370c816136e6565b92915050565b6000602082840312156137285761372761355c565b5b6000613736848285016136fd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061376a8261373f565b9050919050565b61377a8161375f565b82525050565b60006020820190506137956000830184613771565b92915050565b6137a48161375f565b81146137af57600080fd5b50565b6000813590506137c18161379b565b92915050565b600080604083850312156137de576137dd61355c565b5b60006137ec858286016137b2565b92505060206137fd858286016136fd565b9150509250929050565b613810816136dc565b82525050565b600060208201905061382b6000830184613807565b92915050565b61383a816135eb565b811461384557600080fd5b50565b60008135905061385781613831565b92915050565b6000602082840312156138735761387261355c565b5b600061388184828501613848565b91505092915050565b6000806000606084860312156138a3576138a261355c565b5b60006138b1868287016137b2565b93505060206138c2868287016137b2565b92505060406138d3868287016136fd565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61391f82613670565b810181811067ffffffffffffffff8211171561393e5761393d6138e7565b5b80604052505050565b6000613951613552565b905061395d8282613916565b919050565b600067ffffffffffffffff82111561397d5761397c6138e7565b5b61398682613670565b9050602081019050919050565b82818337600083830152505050565b60006139b56139b084613962565b613947565b9050828152602081018484840111156139d1576139d06138e2565b5b6139dc848285613993565b509392505050565b600082601f8301126139f9576139f86138dd565b5b8135613a098482602086016139a2565b91505092915050565b600060208284031215613a2857613a2761355c565b5b600082013567ffffffffffffffff811115613a4657613a45613561565b5b613a52848285016139e4565b91505092915050565b6000819050919050565b613a6e81613a5b565b82525050565b6000602082019050613a896000830184613a65565b92915050565b600060208284031215613aa557613aa461355c565b5b6000613ab3848285016137b2565b91505092915050565b60008060408385031215613ad357613ad261355c565b5b6000613ae1858286016137b2565b9250506020613af285828601613848565b9150509250929050565b600067ffffffffffffffff821115613b1757613b166138e7565b5b613b2082613670565b9050602081019050919050565b6000613b40613b3b84613afc565b613947565b905082815260208101848484011115613b5c57613b5b6138e2565b5b613b67848285613993565b509392505050565b600082601f830112613b8457613b836138dd565b5b8135613b94848260208601613b2d565b91505092915050565b60008060008060808587031215613bb757613bb661355c565b5b6000613bc5878288016137b2565b9450506020613bd6878288016137b2565b9350506040613be7878288016136fd565b925050606085013567ffffffffffffffff811115613c0857613c07613561565b5b613c1487828801613b6f565b91505092959194509250565b600067ffffffffffffffff821115613c3b57613c3a6138e7565b5b602082029050602081019050919050565b600080fd5b613c5a81613a5b565b8114613c6557600080fd5b50565b600081359050613c7781613c51565b92915050565b6000613c90613c8b84613c20565b613947565b90508083825260208201905060208402830185811115613cb357613cb2613c4c565b5b835b81811015613cdc5780613cc88882613c68565b845260208401935050602081019050613cb5565b5050509392505050565b600082601f830112613cfb57613cfa6138dd565b5b8135613d0b848260208601613c7d565b91505092915050565b600080600060608486031215613d2d57613d2c61355c565b5b6000613d3b868287016137b2565b9350506020613d4c868287016136fd565b925050604084013567ffffffffffffffff811115613d6d57613d6c613561565b5b613d7986828701613ce6565b9150509250925092565b60008060408385031215613d9a57613d9961355c565b5b6000613da8858286016137b2565b9250506020613db9858286016137b2565b9150509250929050565b600060208284031215613dd957613dd861355c565b5b6000613de784828501613c68565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e3757607f821691505b60208210811415613e4b57613e4a613df0565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613ead602c8361362c565b9150613eb882613e51565b604082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f3f60218361362c565b9150613f4a82613ee3565b604082019050919050565b60006020820190508181036000830152613f6e81613f32565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613fd160388361362c565b9150613fdc82613f75565b604082019050919050565b6000602082019050818103600083015261400081613fc4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061403d60208361362c565b915061404882614007565b602082019050919050565b6000602082019050818103600083015261406c81614030565b9050919050565b7f537461727420696e6465782068617320616c7265616479206265656e20736574600082015250565b60006140a960208361362c565b91506140b482614073565b602082019050919050565b600060208201905081810360008301526140d88161409c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061413b60318361362c565b9150614146826140df565b604082019050919050565b6000602082019050818103600083015261416a8161412e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141cd602b8361362c565b91506141d882614171565b604082019050919050565b600060208201905081810360008301526141fc816141c0565b9050919050565b600081905092915050565b50565b600061421e600083614203565b91506142298261420e565b600082019050919050565b600061423f82614211565b9150819050919050565b7f5769746864726177616c2072657175657374206661696c656400000000000000600082015250565b600061427f60198361362c565b915061428a82614249565b602082019050919050565b600060208201905081810360008301526142ae81614272565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614311602c8361362c565b915061431c826142b5565b604082019050919050565b6000602082019050818103600083015261434081614304565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143d260298361362c565b91506143dd82614376565b604082019050919050565b60006020820190508181036000830152614401816143c5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614464602a8361362c565b915061446f82614408565b604082019050919050565b6000602082019050818103600083015261449381614457565b9050919050565b7f4d696e74696e672069732063757272656e746c792064697361626c6564000000600082015250565b60006144d0601d8361362c565b91506144db8261449a565b602082019050919050565b600060208201905081810360008301526144ff816144c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614540826136dc565b915061454b836136dc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561458457614583614506565b5b828202905092915050565b7f496e73756666696369656e742045544820746f20636f6d706c657465206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006145eb60218361362c565b91506145f68261458f565b604082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f53616c65206973206e6f74206163746976652079657400000000000000000000600082015250565b600061465760168361362c565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f537461727420696e64657820626c6f636b20686173206e6f74206265656e207360008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e960228361362c565b91506146f48261468d565b604082019050919050565b60006020820190508181036000830152614718816146dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614759826136dc565b9150614764836136dc565b9250826147745761477361471f565b5b828206905092915050565b600061478a826136dc565b9150614795836136dc565b9250828210156147a8576147a7614506565b5b828203905092915050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006147e9601f8361362c565b91506147f4826147b3565b602082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461484c81613e1f565b614856818661481f565b945060018216600081146148715760018114614882576148b5565b60ff198316865281860193506148b5565b61488b8561482a565b60005b838110156148ad5781548189015260018201915060208101905061488e565b838801955050505b50505092915050565b60006148c982613621565b6148d3818561481f565b93506148e381856020860161363d565b80840191505092915050565b60006148fb828561483f565b915061490782846148be565b91508190509392505050565b60008160601b9050919050565b600061492b82614913565b9050919050565b600061493d82614920565b9050919050565b6149556149508261375f565b614932565b82525050565b60006149678284614944565b60148201915081905092915050565b7f54686973206164647265737320646f6573206e6f74206861766520616363657360008201527f7320746f207072652d73616c65206d696e74696e670000000000000000000000602082015250565b60006149d260358361362c565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b7f546865207072652d73616c6520706572696f642068617320656e646564000000600082015250565b6000614a3e601d8361362c565b9150614a4982614a08565b602082019050919050565b60006020820190508181036000830152614a6d81614a31565b9050919050565b7f546865207072652d73616c6520706572696f6420686173206e6f74207374617260008201527f7465642079657400000000000000000000000000000000000000000000000000602082015250565b6000614ad060278361362c565b9150614adb82614a74565b604082019050919050565b60006020820190508181036000830152614aff81614ac3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b6260268361362c565b9150614b6d82614b06565b604082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf4602c8361362c565b9150614bff82614b98565b604082019050919050565b60006020820190508181036000830152614c2381614be7565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614c8660298361362c565b9150614c9182614c2a565b604082019050919050565b60006020820190508181036000830152614cb581614c79565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d1860248361362c565b9150614d2382614cbc565b604082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b6000614d59826136dc565b9150614d64836136dc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d9957614d98614506565b5b828201905092915050565b7f4d696e74207175616e74697479206d757374206265206772656174657220746860008201527f616e207a65726f00000000000000000000000000000000000000000000000000602082015250565b6000614e0060278361362c565b9150614e0b82614da4565b604082019050919050565b60006020820190508181036000830152614e2f81614df3565b9050919050565b7f4d696e74207265717565737420776f756c6420657863656564206d6178696d7560008201527f6d20737570706c79000000000000000000000000000000000000000000000000602082015250565b6000614e9260288361362c565b9150614e9d82614e36565b604082019050919050565b60006020820190508181036000830152614ec181614e85565b9050919050565b6000614ed3826136dc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f0657614f05614506565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f4760198361362c565b9150614f5282614f11565b602082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fd960328361362c565b9150614fe482614f7d565b604082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b600061501a826136dc565b9150615025836136dc565b9250826150355761503461471f565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b600061506782615040565b615071818561504b565b935061508181856020860161363d565b61508a81613670565b840191505092915050565b60006080820190506150aa6000830187613771565b6150b76020830186613771565b6150c46040830185613807565b81810360608301526150d6818461505c565b905095945050505050565b6000815190506150f081613592565b92915050565b60006020828403121561510c5761510b61355c565b5b600061511a848285016150e1565b91505092915050565b6000819050919050565b61513e61513982613a5b565b615123565b82525050565b6000615150828561512d565b602082019150615160828461512d565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151d560208361362c565b91506151e08261519f565b602082019050919050565b60006020820190508181036000830152615204816151c8565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615241601c8361362c565b915061524c8261520b565b602082019050919050565b6000602082019050818103600083015261527081615234565b905091905056fea2646970667358221220065e0186a8924763a3976565c24d152a8b5cc6361ad9ce277d546280043b2a3164736f6c634300080b0033697066733a2f2f516d547635697948476946683263587636345241666242504873786359704d46666f56695a4b5a73704b4c6d5131000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000f57697368657220436f636b7461696c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045749534800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004033323933666338643461333733323233653131383039346365626530643864656461303633333438336533363436356134353163366131666261353234336365
Deployed Bytecode
0x6080604052600436106102725760003560e01c806365fcfd241161014f5780639b6860c8116100c1578063cc69c4e81161007a578063cc69c4e8146108ed578063e757c17d14610918578063e985e9c514610943578063f2fde38b14610980578063fe042d49146109a9578063ff1b6556146109d257610272565b80639b6860c814610800578063a22cb4651461082b578063a2cdbd0714610854578063b88d4fde1461086b578063c87b56dd14610894578063cb1c04e2146108d157610272565b806379b6ed361161011357806379b6ed36146107115780637d7eee421461073c578063819b25ba146107655780638da5cb5b1461078e5780638de93222146107b957806395d89b41146107d557610272565b806365fcfd24146106405780636c0360eb1461066957806370a0823114610694578063715018a6146106d1578063791a2519146106e857610272565b80632a85db55116101e85780633ccfd60b116101ac5780633ccfd60b1461053f5780633e0e828b1461054957806342842e0e146105745780634f6ccce71461059d57806355f804b3146105da5780636352211e1461060357610272565b80632a85db55146104585780632f745c59146104815780633154b9c2146104be57806332cb6b0c146104e95780633360caa01461051457610272565b80630d5624b31161023a5780630d5624b31461036e5780630ff97f361461039957806310b3cc4f146103c257806318160ddd146103d95780631cd506d91461040457806323b872dd1461042f57610272565b806301ffc9a71461027757806306fdde03146102b4578063081812fc146102df578063095ea7b31461031c5780630ca282f714610345575b600080fd5b34801561028357600080fd5b5061029e600480360381019061029991906135be565b6109fd565b6040516102ab9190613606565b60405180910390f35b3480156102c057600080fd5b506102c9610a77565b6040516102d691906136ba565b60405180910390f35b3480156102eb57600080fd5b5061030660048036038101906103019190613712565b610b09565b6040516103139190613780565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e91906137c7565b610b8e565b005b34801561035157600080fd5b5061036c60048036038101906103679190613712565b610ca6565b005b34801561037a57600080fd5b50610383610d2c565b6040516103909190613816565b60405180910390f35b3480156103a557600080fd5b506103c060048036038101906103bb919061385d565b610d32565b005b3480156103ce57600080fd5b506103d7610dcb565b005b3480156103e557600080fd5b506103ee610e95565b6040516103fb9190613816565b60405180910390f35b34801561041057600080fd5b50610419610ea2565b6040516104269190613816565b60405180910390f35b34801561043b57600080fd5b506104566004803603810190610451919061388a565b610ea8565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613a12565b610f08565b005b34801561048d57600080fd5b506104a860048036038101906104a391906137c7565b610f9e565b6040516104b59190613816565b60405180910390f35b3480156104ca57600080fd5b506104d3611043565b6040516104e09190613a74565b60405180910390f35b3480156104f557600080fd5b506104fe611049565b60405161050b9190613816565b60405180910390f35b34801561052057600080fd5b5061052961104f565b6040516105369190613816565b60405180910390f35b610547611055565b005b34801561055557600080fd5b5061055e611186565b60405161056b9190613816565b60405180910390f35b34801561058057600080fd5b5061059b6004803603810190610596919061388a565b61118c565b005b3480156105a957600080fd5b506105c460048036038101906105bf9190613712565b6111ac565b6040516105d19190613816565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc9190613a12565b61121d565b005b34801561060f57600080fd5b5061062a60048036038101906106259190613712565b6112b3565b6040516106379190613780565b60405180910390f35b34801561064c57600080fd5b5061066760048036038101906106629190613712565b611365565b005b34801561067557600080fd5b5061067e6113eb565b60405161068b91906136ba565b60405180910390f35b3480156106a057600080fd5b506106bb60048036038101906106b69190613a8f565b611479565b6040516106c89190613816565b60405180910390f35b3480156106dd57600080fd5b506106e6611531565b005b3480156106f457600080fd5b5061070f600480360381019061070a9190613712565b6115b9565b005b34801561071d57600080fd5b5061072661163f565b60405161073391906136ba565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190613712565b6116cd565b005b34801561077157600080fd5b5061078c60048036038101906107879190613712565b611753565b005b34801561079a57600080fd5b506107a36117dc565b6040516107b09190613780565b60405180910390f35b6107d360048036038101906107ce91906137c7565b611806565b005b3480156107e157600080fd5b506107ea6118fe565b6040516107f791906136ba565b60405180910390f35b34801561080c57600080fd5b50610815611990565b6040516108229190613816565b60405180910390f35b34801561083757600080fd5b50610852600480360381019061084d9190613abc565b611996565b005b34801561086057600080fd5b506108696119ac565b005b34801561087757600080fd5b50610892600480360381019061088d9190613b9d565b611b1e565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613712565b611b80565b6040516108c891906136ba565b60405180910390f35b6108eb60048036038101906108e69190613d14565b611ca3565b005b3480156108f957600080fd5b50610902611e62565b60405161090f9190613606565b60405180910390f35b34801561092457600080fd5b5061092d611e75565b60405161093a9190613816565b60405180910390f35b34801561094f57600080fd5b5061096a60048036038101906109659190613d83565b611e7b565b6040516109779190613606565b60405180910390f35b34801561098c57600080fd5b506109a760048036038101906109a29190613a8f565b611f0f565b005b3480156109b557600080fd5b506109d060048036038101906109cb9190613dc3565b612007565b005b3480156109de57600080fd5b506109e761208d565b6040516109f491906136ba565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a705750610a6f8261211b565b5b9050919050565b606060008054610a8690613e1f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ab290613e1f565b8015610aff5780601f10610ad457610100808354040283529160200191610aff565b820191906000526020600020905b815481529060010190602001808311610ae257829003601f168201915b5050505050905090565b6000610b14826121fd565b610b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4a90613ec3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b99826112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0190613f55565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c29612269565b73ffffffffffffffffffffffffffffffffffffffff161480610c585750610c5781610c52612269565b611e7b565b5b610c97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8e90613fe7565b60405180910390fd5b610ca18383612271565b505050565b610cae612269565b73ffffffffffffffffffffffffffffffffffffffff16610ccc6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1990614053565b60405180910390fd5b8060138190555050565b60115481565b610d3a612269565b73ffffffffffffffffffffffffffffffffffffffff16610d586117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da590614053565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610dd3612269565b73ffffffffffffffffffffffffffffffffffffffff16610df16117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610e47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3e90614053565b60405180910390fd5b600060155414610e8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e83906140bf565b60405180910390fd5b43601681905550565b6000600880549050905090565b60165481565b610eb9610eb3612269565b8261232a565b610ef8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eef90614151565b60405180910390fd5b610f03838383612408565b505050565b610f10612269565b73ffffffffffffffffffffffffffffffffffffffff16610f2e6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614610f84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7b90614053565b60405180910390fd5b80600f9080519060200190610f9a9291906134af565b5050565b6000610fa983611479565b8210610fea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe1906141e3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60105481565b600b5481565b60135481565b61105d612269565b73ffffffffffffffffffffffffffffffffffffffff1661107b6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146110d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c890614053565b60405180910390fd5b600047905060003373ffffffffffffffffffffffffffffffffffffffff16826040516110fc90614234565b60006040518083038185875af1925050503d8060008114611139576040519150601f19603f3d011682016040523d82523d6000602084013e61113e565b606091505b5050905080611182576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117990614295565b60405180910390fd5b5050565b60155481565b6111a783838360405180602001604052806000815250611b1e565b505050565b60006111b6610e95565b82106111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee90614327565b60405180910390fd5b6008828154811061120b5761120a614347565b5b90600052602060002001549050919050565b611225612269565b73ffffffffffffffffffffffffffffffffffffffff166112436117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611299576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129090614053565b60405180910390fd5b80600e90805190602001906112af9291906134af565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561135c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611353906143e8565b60405180910390fd5b80915050919050565b61136d612269565b73ffffffffffffffffffffffffffffffffffffffff1661138b6117dc565b73ffffffffffffffffffffffffffffffffffffffff16146113e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d890614053565b60405180910390fd5b8060118190555050565b600e80546113f890613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461142490613e1f565b80156114715780601f1061144657610100808354040283529160200191611471565b820191906000526020600020905b81548152906001019060200180831161145457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e19061447a565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611539612269565b73ffffffffffffffffffffffffffffffffffffffff166115576117dc565b73ffffffffffffffffffffffffffffffffffffffff16146115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614053565b60405180910390fd5b6115b76000612664565b565b6115c1612269565b73ffffffffffffffffffffffffffffffffffffffff166115df6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614053565b60405180910390fd5b8060148190555050565b600f805461164c90613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461167890613e1f565b80156116c55780601f1061169a576101008083540402835291602001916116c5565b820191906000526020600020905b8154815290600101906020018083116116a857829003601f168201915b505050505081565b6116d5612269565b73ffffffffffffffffffffffffffffffffffffffff166116f36117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174090614053565b60405180910390fd5b8060128190555050565b61175b612269565b73ffffffffffffffffffffffffffffffffffffffff166117796117dc565b73ffffffffffffffffffffffffffffffffffffffff16146117cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c690614053565b60405180910390fd5b6117d9338261272a565b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600d60009054906101000a900460ff16611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c906144e6565b60405180910390fd5b806014543482826118669190614535565b11156118a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189e90614601565b60405180910390fd5b6118af612829565b6118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e59061466d565b60405180910390fd5b6118f8848461272a565b50505050565b60606001805461190d90613e1f565b80601f016020809104026020016040519081016040528092919081815260200182805461193990613e1f565b80156119865780601f1061195b57610100808354040283529160200191611986565b820191906000526020600020905b81548152906001019060200180831161196957829003601f168201915b5050505050905090565b60145481565b6119a86119a1612269565b8383612836565b5050565b6119b4612269565b73ffffffffffffffffffffffffffffffffffffffff166119d26117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1f90614053565b60405180910390fd5b600060155414611a6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a64906140bf565b60405180910390fd5b60006016541415611ab3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaa906146ff565b60405180910390fd5b600b546016544060001c611ac7919061474e565b60158190555060ff60165443611add919061477f565b1115611b0857600b54600143611af3919061477f565b4060001c611b01919061474e565b6015819055505b60006015541415611b1c5760016015819055505b565b611b2f611b29612269565b8361232a565b611b6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6590614151565b60405180910390fd5b611b7a848484846129a3565b50505050565b6060611b8b826121fd565b611bca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc1906147ff565b60405180910390fd5b6000600e8054611bd990613e1f565b905011611c7057600f8054611bed90613e1f565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1990613e1f565b8015611c665780601f10611c3b57610100808354040283529160200191611c66565b820191906000526020600020905b815481529060010190602001808311611c4957829003601f168201915b5050505050611c9c565b600e611c7b836129ff565b604051602001611c8c9291906148ef565b6040516020818303038152906040525b9050919050565b600d60009054906101000a900460ff16611cf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce9906144e6565b60405180910390fd5b80611d3060105433604051602001611d0a919061495b565b6040516020818303038152906040528051906020012083612b609092919063ffffffff16565b611d6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d66906149e8565b60405180910390fd5b82601254348282611d809190614535565b1115611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db890614601565b60405180910390fd5b611dc9612829565b15611e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e0090614a54565b60405180910390fd5b611e11612b77565b611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614ae6565b60405180910390fd5b611e5a868661272a565b505050505050565b600d60009054906101000a900460ff1681565b60125481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f17612269565b73ffffffffffffffffffffffffffffffffffffffff16611f356117dc565b73ffffffffffffffffffffffffffffffffffffffff1614611f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8290614053565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ffb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff290614b78565b60405180910390fd5b61200481612664565b50565b61200f612269565b73ffffffffffffffffffffffffffffffffffffffff1661202d6117dc565b73ffffffffffffffffffffffffffffffffffffffff1614612083576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207a90614053565b60405180910390fd5b8060108190555050565b600c805461209a90613e1f565b80601f01602080910402602001604051908101604052809291908181526020018280546120c690613e1f565b80156121135780601f106120e857610100808354040283529160200191612113565b820191906000526020600020905b8154815290600101906020018083116120f657829003601f168201915b505050505081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806121e657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806121f657506121f582612b91565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122e4836112b3565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612335826121fd565b612374576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161236b90614c0a565b60405180910390fd5b600061237f836112b3565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123ee57508373ffffffffffffffffffffffffffffffffffffffff166123d684610b09565b73ffffffffffffffffffffffffffffffffffffffff16145b806123ff57506123fe8185611e7b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612428826112b3565b73ffffffffffffffffffffffffffffffffffffffff161461247e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247590614c9c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e590614d2e565b60405180910390fd5b6124f9838383612bfb565b612504600082612271565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612554919061477f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125ab9190614d4e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612734610e95565b905060008211612779576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277090614e16565b60405180910390fd5b600b5482826127889190614d4e565b11156127c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c090614ea8565b60405180910390fd5b60005b828110156127fc576127e98482846127e49190614d4e565b612d0f565b80806127f490614ec8565b9150506127cc565b5060006016541480156128175750600b54612815610e95565b145b1561282457436016819055505b505050565b6000601354421015905090565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156128a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289c90614f5d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516129969190613606565b60405180910390a3505050565b6129ae848484612408565b6129ba84848484612d2d565b6129f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f090614fef565b60405180910390fd5b50505050565b60606000821415612a47576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b5b565b600082905060005b60008214612a79578080612a6290614ec8565b915050600a82612a72919061500f565b9150612a4f565b60008167ffffffffffffffff811115612a9557612a946138e7565b5b6040519080825280601f01601f191660200182016040528015612ac75781602001600182028036833780820191505090505b5090505b60008514612b5457600182612ae0919061477f565b9150600a85612aef919061474e565b6030612afb9190614d4e565b60f81b818381518110612b1157612b10614347565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b4d919061500f565b9450612acb565b8093505050505b919050565b600082612b6d8584612eb5565b1490509392505050565b600080601154118015612b8c57506011544210155b905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612c06838383612f68565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c4957612c4481612f6d565b612c88565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c8757612c868382612fb6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ccb57612cc681613123565b612d0a565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612d0957612d0882826131f4565b5b5b505050565b612d29828260405180602001604052806000815250613273565b5050565b6000612d4e8473ffffffffffffffffffffffffffffffffffffffff166132ce565b15612ea8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d77612269565b8786866040518563ffffffff1660e01b8152600401612d999493929190615095565b6020604051808303816000875af1925050508015612dd557506040513d601f19601f82011682018060405250810190612dd291906150f6565b60015b612e58573d8060008114612e05576040519150601f19603f3d011682016040523d82523d6000602084013e612e0a565b606091505b50600081511415612e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4790614fef565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ead565b600190505b949350505050565b60008082905060005b8451811015612f5d576000858281518110612edc57612edb614347565b5b60200260200101519050808311612f1d578281604051602001612f00929190615144565b604051602081830303815290604052805190602001209250612f49565b8083604051602001612f30929190615144565b6040516020818303038152906040528051906020012092505b508080612f5590614ec8565b915050612ebe565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612fc384611479565b612fcd919061477f565b90506000600760008481526020019081526020016000205490508181146130b2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613137919061477f565b905060006009600084815260200190815260200160002054905060006008838154811061316757613166614347565b5b90600052602060002001549050806008838154811061318957613188614347565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806131d8576131d7615170565b5b6001900381819060005260206000200160009055905550505050565b60006131ff83611479565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b61327d83836132e1565b61328a6000848484612d2d565b6132c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c090614fef565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613348906151eb565b60405180910390fd5b61335a816121fd565b1561339a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339190615257565b60405180910390fd5b6133a660008383612bfb565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133f69190614d4e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546134bb90613e1f565b90600052602060002090601f0160209004810192826134dd5760008555613524565b82601f106134f657805160ff1916838001178555613524565b82800160010185558215613524579182015b82811115613523578251825591602001919060010190613508565b5b5090506135319190613535565b5090565b5b8082111561354e576000816000905550600101613536565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61359b81613566565b81146135a657600080fd5b50565b6000813590506135b881613592565b92915050565b6000602082840312156135d4576135d361355c565b5b60006135e2848285016135a9565b91505092915050565b60008115159050919050565b613600816135eb565b82525050565b600060208201905061361b60008301846135f7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561365b578082015181840152602081019050613640565b8381111561366a576000848401525b50505050565b6000601f19601f8301169050919050565b600061368c82613621565b613696818561362c565b93506136a681856020860161363d565b6136af81613670565b840191505092915050565b600060208201905081810360008301526136d48184613681565b905092915050565b6000819050919050565b6136ef816136dc565b81146136fa57600080fd5b50565b60008135905061370c816136e6565b92915050565b6000602082840312156137285761372761355c565b5b6000613736848285016136fd565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061376a8261373f565b9050919050565b61377a8161375f565b82525050565b60006020820190506137956000830184613771565b92915050565b6137a48161375f565b81146137af57600080fd5b50565b6000813590506137c18161379b565b92915050565b600080604083850312156137de576137dd61355c565b5b60006137ec858286016137b2565b92505060206137fd858286016136fd565b9150509250929050565b613810816136dc565b82525050565b600060208201905061382b6000830184613807565b92915050565b61383a816135eb565b811461384557600080fd5b50565b60008135905061385781613831565b92915050565b6000602082840312156138735761387261355c565b5b600061388184828501613848565b91505092915050565b6000806000606084860312156138a3576138a261355c565b5b60006138b1868287016137b2565b93505060206138c2868287016137b2565b92505060406138d3868287016136fd565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61391f82613670565b810181811067ffffffffffffffff8211171561393e5761393d6138e7565b5b80604052505050565b6000613951613552565b905061395d8282613916565b919050565b600067ffffffffffffffff82111561397d5761397c6138e7565b5b61398682613670565b9050602081019050919050565b82818337600083830152505050565b60006139b56139b084613962565b613947565b9050828152602081018484840111156139d1576139d06138e2565b5b6139dc848285613993565b509392505050565b600082601f8301126139f9576139f86138dd565b5b8135613a098482602086016139a2565b91505092915050565b600060208284031215613a2857613a2761355c565b5b600082013567ffffffffffffffff811115613a4657613a45613561565b5b613a52848285016139e4565b91505092915050565b6000819050919050565b613a6e81613a5b565b82525050565b6000602082019050613a896000830184613a65565b92915050565b600060208284031215613aa557613aa461355c565b5b6000613ab3848285016137b2565b91505092915050565b60008060408385031215613ad357613ad261355c565b5b6000613ae1858286016137b2565b9250506020613af285828601613848565b9150509250929050565b600067ffffffffffffffff821115613b1757613b166138e7565b5b613b2082613670565b9050602081019050919050565b6000613b40613b3b84613afc565b613947565b905082815260208101848484011115613b5c57613b5b6138e2565b5b613b67848285613993565b509392505050565b600082601f830112613b8457613b836138dd565b5b8135613b94848260208601613b2d565b91505092915050565b60008060008060808587031215613bb757613bb661355c565b5b6000613bc5878288016137b2565b9450506020613bd6878288016137b2565b9350506040613be7878288016136fd565b925050606085013567ffffffffffffffff811115613c0857613c07613561565b5b613c1487828801613b6f565b91505092959194509250565b600067ffffffffffffffff821115613c3b57613c3a6138e7565b5b602082029050602081019050919050565b600080fd5b613c5a81613a5b565b8114613c6557600080fd5b50565b600081359050613c7781613c51565b92915050565b6000613c90613c8b84613c20565b613947565b90508083825260208201905060208402830185811115613cb357613cb2613c4c565b5b835b81811015613cdc5780613cc88882613c68565b845260208401935050602081019050613cb5565b5050509392505050565b600082601f830112613cfb57613cfa6138dd565b5b8135613d0b848260208601613c7d565b91505092915050565b600080600060608486031215613d2d57613d2c61355c565b5b6000613d3b868287016137b2565b9350506020613d4c868287016136fd565b925050604084013567ffffffffffffffff811115613d6d57613d6c613561565b5b613d7986828701613ce6565b9150509250925092565b60008060408385031215613d9a57613d9961355c565b5b6000613da8858286016137b2565b9250506020613db9858286016137b2565b9150509250929050565b600060208284031215613dd957613dd861355c565b5b6000613de784828501613c68565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e3757607f821691505b60208210811415613e4b57613e4a613df0565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613ead602c8361362c565b9150613eb882613e51565b604082019050919050565b60006020820190508181036000830152613edc81613ea0565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f3f60218361362c565b9150613f4a82613ee3565b604082019050919050565b60006020820190508181036000830152613f6e81613f32565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613fd160388361362c565b9150613fdc82613f75565b604082019050919050565b6000602082019050818103600083015261400081613fc4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061403d60208361362c565b915061404882614007565b602082019050919050565b6000602082019050818103600083015261406c81614030565b9050919050565b7f537461727420696e6465782068617320616c7265616479206265656e20736574600082015250565b60006140a960208361362c565b91506140b482614073565b602082019050919050565b600060208201905081810360008301526140d88161409c565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061413b60318361362c565b9150614146826140df565b604082019050919050565b6000602082019050818103600083015261416a8161412e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006141cd602b8361362c565b91506141d882614171565b604082019050919050565b600060208201905081810360008301526141fc816141c0565b9050919050565b600081905092915050565b50565b600061421e600083614203565b91506142298261420e565b600082019050919050565b600061423f82614211565b9150819050919050565b7f5769746864726177616c2072657175657374206661696c656400000000000000600082015250565b600061427f60198361362c565b915061428a82614249565b602082019050919050565b600060208201905081810360008301526142ae81614272565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614311602c8361362c565b915061431c826142b5565b604082019050919050565b6000602082019050818103600083015261434081614304565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143d260298361362c565b91506143dd82614376565b604082019050919050565b60006020820190508181036000830152614401816143c5565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614464602a8361362c565b915061446f82614408565b604082019050919050565b6000602082019050818103600083015261449381614457565b9050919050565b7f4d696e74696e672069732063757272656e746c792064697361626c6564000000600082015250565b60006144d0601d8361362c565b91506144db8261449a565b602082019050919050565b600060208201905081810360008301526144ff816144c3565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614540826136dc565b915061454b836136dc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561458457614583614506565b5b828202905092915050565b7f496e73756666696369656e742045544820746f20636f6d706c657465206d696e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006145eb60218361362c565b91506145f68261458f565b604082019050919050565b6000602082019050818103600083015261461a816145de565b9050919050565b7f53616c65206973206e6f74206163746976652079657400000000000000000000600082015250565b600061465760168361362c565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f537461727420696e64657820626c6f636b20686173206e6f74206265656e207360008201527f6574000000000000000000000000000000000000000000000000000000000000602082015250565b60006146e960228361362c565b91506146f48261468d565b604082019050919050565b60006020820190508181036000830152614718816146dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614759826136dc565b9150614764836136dc565b9250826147745761477361471f565b5b828206905092915050565b600061478a826136dc565b9150614795836136dc565b9250828210156147a8576147a7614506565b5b828203905092915050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b60006147e9601f8361362c565b91506147f4826147b3565b602082019050919050565b60006020820190508181036000830152614818816147dc565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461484c81613e1f565b614856818661481f565b945060018216600081146148715760018114614882576148b5565b60ff198316865281860193506148b5565b61488b8561482a565b60005b838110156148ad5781548189015260018201915060208101905061488e565b838801955050505b50505092915050565b60006148c982613621565b6148d3818561481f565b93506148e381856020860161363d565b80840191505092915050565b60006148fb828561483f565b915061490782846148be565b91508190509392505050565b60008160601b9050919050565b600061492b82614913565b9050919050565b600061493d82614920565b9050919050565b6149556149508261375f565b614932565b82525050565b60006149678284614944565b60148201915081905092915050565b7f54686973206164647265737320646f6573206e6f74206861766520616363657360008201527f7320746f207072652d73616c65206d696e74696e670000000000000000000000602082015250565b60006149d260358361362c565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b7f546865207072652d73616c6520706572696f642068617320656e646564000000600082015250565b6000614a3e601d8361362c565b9150614a4982614a08565b602082019050919050565b60006020820190508181036000830152614a6d81614a31565b9050919050565b7f546865207072652d73616c6520706572696f6420686173206e6f74207374617260008201527f7465642079657400000000000000000000000000000000000000000000000000602082015250565b6000614ad060278361362c565b9150614adb82614a74565b604082019050919050565b60006020820190508181036000830152614aff81614ac3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614b6260268361362c565b9150614b6d82614b06565b604082019050919050565b60006020820190508181036000830152614b9181614b55565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614bf4602c8361362c565b9150614bff82614b98565b604082019050919050565b60006020820190508181036000830152614c2381614be7565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614c8660298361362c565b9150614c9182614c2a565b604082019050919050565b60006020820190508181036000830152614cb581614c79565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d1860248361362c565b9150614d2382614cbc565b604082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b6000614d59826136dc565b9150614d64836136dc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614d9957614d98614506565b5b828201905092915050565b7f4d696e74207175616e74697479206d757374206265206772656174657220746860008201527f616e207a65726f00000000000000000000000000000000000000000000000000602082015250565b6000614e0060278361362c565b9150614e0b82614da4565b604082019050919050565b60006020820190508181036000830152614e2f81614df3565b9050919050565b7f4d696e74207265717565737420776f756c6420657863656564206d6178696d7560008201527f6d20737570706c79000000000000000000000000000000000000000000000000602082015250565b6000614e9260288361362c565b9150614e9d82614e36565b604082019050919050565b60006020820190508181036000830152614ec181614e85565b9050919050565b6000614ed3826136dc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f0657614f05614506565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614f4760198361362c565b9150614f5282614f11565b602082019050919050565b60006020820190508181036000830152614f7681614f3a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fd960328361362c565b9150614fe482614f7d565b604082019050919050565b6000602082019050818103600083015261500881614fcc565b9050919050565b600061501a826136dc565b9150615025836136dc565b9250826150355761503461471f565b5b828204905092915050565b600081519050919050565b600082825260208201905092915050565b600061506782615040565b615071818561504b565b935061508181856020860161363d565b61508a81613670565b840191505092915050565b60006080820190506150aa6000830187613771565b6150b76020830186613771565b6150c46040830185613807565b81810360608301526150d6818461505c565b905095945050505050565b6000815190506150f081613592565b92915050565b60006020828403121561510c5761510b61355c565b5b600061511a848285016150e1565b91505092915050565b6000819050919050565b61513e61513982613a5b565b615123565b82525050565b6000615150828561512d565b602082019150615160828461512d565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151d560208361362c565b91506151e08261519f565b602082019050919050565b60006020820190508181036000830152615204816151c8565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615241601c8361362c565b915061524c8261520b565b602082019050919050565b6000602082019050818103600083015261527081615234565b905091905056fea2646970667358221220065e0186a8924763a3976565c24d152a8b5cc6361ad9ce277d546280043b2a3164736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000000f57697368657220436f636b7461696c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045749534800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004033323933666338643461333733323233653131383039346365626530643864656461303633333438336533363436356134353163366131666261353234336365
-----Decoded View---------------
Arg [0] : name (string): Wisher Cocktail
Arg [1] : symbol (string): WISH
Arg [2] : provenanceHash (string): 3293fc8d4a373223e118094cebe0d8deda0633483e36465a451c6a1fba5243ce
Arg [3] : maxSupply (uint256): 1056
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000420
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 57697368657220436f636b7461696c0000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 5749534800000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [9] : 3332393366633864346133373332323365313138303934636562653064386465
Arg [10] : 6461303633333438336533363436356134353163366131666261353234336365
Loading...
Loading
Loading...
Loading
[ 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.