ERC-721
Overview
Max Total Supply
333 DSC
Holders
319
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 DSCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DiscreetCircle
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import './ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/introspection/IERC165.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; contract DiscreetCircle is ERC721A, Ownable { using Strings for uint256; string private uriPrefix = "ipfs://bafybeidjpjtc6pzxffv4iymgcip3yyjnhdtsgesfgwypu7csfa4ldqxg3u/"; string public uriSuffix = ".json"; string public hiddenMetadataUri; uint256 public cost = 0.003 ether; uint256 public maxSupply = 333; uint256 public maxMintAmountPerTx = 10; uint256 public totalMaxMintAmount = 10; uint256 public freeMaxMintAmount = 1; bool public paused = true; bool public publicSale = true; bool public revealed = true; mapping(address => uint256) public addressMintedBalance; constructor() ERC721A("discreet.circle", "DSC") { setHiddenMetadataUri("ipfs://"); ownerMint(2); } modifier mintCompliance(uint256 _mintAmount) { if (msg.sender != owner()) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); } require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _; } modifier mintPriceCompliance(uint256 _mintAmount) { uint256 ownerMintedCount = addressMintedBalance[msg.sender]; if (ownerMintedCount >= freeMaxMintAmount) { require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); } _; } function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(!paused, 'The contract is paused!'); require(publicSale, "Not open to public yet!"); uint256 ownerMintedCount = addressMintedBalance[msg.sender]; if (ownerMintedCount < freeMaxMintAmount) { require(ownerMintedCount + _mintAmount <= freeMaxMintAmount, "Exceeded Free Mint Limit"); } else if (ownerMintedCount >= freeMaxMintAmount) { require(ownerMintedCount + _mintAmount <= totalMaxMintAmount, "Exceeded Mint Limit"); } _safeMint(_msgSender(), _mintAmount); for (uint256 i = 1; i <=_mintAmount; i++){ addressMintedBalance[msg.sender]++; } } function ownerMint(uint256 _mintAmount) public payable onlyOwner { require(_mintAmount > 0, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _safeMint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner { _safeMint(_receiver, _mintAmount); } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = _startTokenId(); uint256 ownedTokenIndex = 0; address latestOwnerAddress; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { TokenOwnership memory ownership = _ownerships[currentTokenId]; if (!ownership.burned && ownership.addr != address(0)) { latestOwnerAddress = ownership.addr; } if (latestOwnerAddress == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setFreeMaxMintAmount(uint256 _freeMaxMintAmount) public onlyOwner { freeMaxMintAmount = _freeMaxMintAmount; } function setTotalMaxMintAmount(uint _amount) public onlyOwner { require(_amount <= maxSupply, "Exceed total amount"); totalMaxMintAmount = _amount; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setPublicSale(bool _state) public onlyOwner { publicSale = _state; } // WITHDRAW function withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// 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/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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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/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 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","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":"_mintAmount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMaxMintAmount","type":"uint256"}],"name":"setFreeMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTotalMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405260405180608001604052806043815260200162005bf260439139600990816200002e919062000d7e565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a908162000075919062000d7e565b50660aa87bee538000600c5561014d600d55600a600e55600a600f5560016010556001601160006101000a81548160ff0219169083151502179055506001601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff021916908315150217905550348015620000f457600080fd5b506040518060400160405280600f81526020017f64697363726565742e636972636c6500000000000000000000000000000000008152506040518060400160405280600381526020017f4453430000000000000000000000000000000000000000000000000000000000815250816002908162000172919062000d7e565b50806003908162000184919062000d7e565b50620001956200021b60201b60201c565b6000819055505050620001bd620001b16200022460201b60201c565b6200022c60201b60201c565b620002036040518060400160405280600781526020017f697066733a2f2f00000000000000000000000000000000000000000000000000815250620002f260201b60201c565b6200021560026200039660201b60201c565b6200120e565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003026200022460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000328620004f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000381576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003789062000ec6565b60405180910390fd5b80600b908162000392919062000d7e565b5050565b620003a66200022460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003cc620004f360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000425576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200041c9062000ec6565b60405180910390fd5b600081116200046b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004629062000f38565b60405180910390fd5b600d54816200047f6200051d60201b60201c565b6200048b919062000f89565b1115620004cf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004c69062001014565b60405180910390fd5b620004f0620004e36200022460201b60201c565b826200053c60201b60201c565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006200052f6200021b60201b60201c565b6001546000540303905090565b6200055e8282604051806020016040528060008152506200056260201b60201c565b5050565b6200057783838360016200057c60201b60201c565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603620005e9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840362000624576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200063960008683876200097460201b60201c565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015620008115750620008108773ffffffffffffffffffffffffffffffffffffffff166200097a60201b620024b31760201c565b5b15620008e3575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200088f60008884806001019550886200099d60201b60201c565b620008c6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820362000818578260005414620008dd57600080fd5b6200094f565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808203620008e4575b8160008190555050506200096d600086838762000afe60201b60201c565b5050505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620009cb6200022460201b60201c565b8786866040518563ffffffff1660e01b8152600401620009ef949392919062001126565b6020604051808303816000875af192505050801562000a2e57506040513d601f19601f8201168201806040525081019062000a2b9190620011dc565b60015b62000aab573d806000811462000a61576040519150601f19603f3d011682016040523d82523d6000602084013e62000a66565b606091505b50600081510362000aa3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b8657607f821691505b60208210810362000b9c5762000b9b62000b3e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000c067fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000bc7565b62000c12868362000bc7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000c5f62000c5962000c538462000c2a565b62000c34565b62000c2a565b9050919050565b6000819050919050565b62000c7b8362000c3e565b62000c9362000c8a8262000c66565b84845462000bd4565b825550505050565b600090565b62000caa62000c9b565b62000cb781848462000c70565b505050565b5b8181101562000cdf5762000cd360008262000ca0565b60018101905062000cbd565b5050565b601f82111562000d2e5762000cf88162000ba2565b62000d038462000bb7565b8101602085101562000d13578190505b62000d2b62000d228562000bb7565b83018262000cbc565b50505b505050565b600082821c905092915050565b600062000d536000198460080262000d33565b1980831691505092915050565b600062000d6e838362000d40565b9150826002028217905092915050565b62000d898262000b04565b67ffffffffffffffff81111562000da55762000da462000b0f565b5b62000db1825462000b6d565b62000dbe82828562000ce3565b600060209050601f83116001811462000df6576000841562000de1578287015190505b62000ded858262000d60565b86555062000e5d565b601f19841662000e068662000ba2565b60005b8281101562000e305784890151825560018201915060208501945060208101905062000e09565b8683101562000e50578489015162000e4c601f89168262000d40565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000eae60208362000e65565b915062000ebb8262000e76565b602082019050919050565b6000602082019050818103600083015262000ee18162000e9f565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600062000f2060148362000e65565b915062000f2d8262000ee8565b602082019050919050565b6000602082019050818103600083015262000f538162000f11565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000f968262000c2a565b915062000fa38362000c2a565b925082820190508082111562000fbe5762000fbd62000f5a565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600062000ffc60148362000e65565b9150620010098262000fc4565b602082019050919050565b600060208201905081810360008301526200102f8162000fed565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620010638262001036565b9050919050565b620010758162001056565b82525050565b620010868162000c2a565b82525050565b600081519050919050565b600082825260208201905092915050565b60005b83811015620010c8578082015181840152602081019050620010ab565b60008484015250505050565b6000601f19601f8301169050919050565b6000620010f2826200108c565b620010fe818562001097565b935062001110818560208601620010a8565b6200111b81620010d4565b840191505092915050565b60006080820190506200113d60008301876200106a565b6200114c60208301866200106a565b6200115b60408301856200107b565b81810360608301526200116f8184620010e5565b905095945050505050565b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620011b6816200117f565b8114620011c257600080fd5b50565b600081519050620011d681620011ab565b92915050565b600060208284031215620011f557620011f46200117a565b5b60006200120584828501620011c5565b91505092915050565b6149d4806200121e6000396000f3fe60806040526004361061025c5760003560e01c80635c975abb11610144578063b071401b116100b6578063e0a808531161007a578063e0a80853146108b6578063e4386d26146108df578063e985e9c51461090a578063efbd73f414610947578063f19e75d414610970578063f2fde38b1461098c5761025c565b8063b071401b146107d3578063b88d4fde146107fc578063c87b56dd14610825578063d4fcb2ae14610862578063d5abeb011461088b5761025c565b80638da5cb5b116101085780638da5cb5b146106e257806394354fd01461070d57806395d89b4114610738578063a0712d6814610763578063a22cb4651461077f578063a45ba8e7146107a85761025c565b80635c975abb146105fd5780636352211e1461062857806370a0823114610665578063715018a6146106a25780637ec4a659146106b95761025c565b806318cae269116101dd578063438b6300116101a1578063438b6300146104ef57806344a0d68a1461052c5780634fdd43cb14610555578063518302271461057e5780635503a0e8146105a95780635aca1bb6146105d45761025c565b806318cae2691461042b57806323b872dd1461046857806333bc1c5c146104915780633ccfd60b146104bc57806342842e0e146104c65761025c565b80631159aca4116102245780631159aca41461035857806313faede61461038357806316ba10e0146103ae57806316c38b3c146103d757806318160ddd146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780631042779c1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613651565b6109b5565b6040516102959190613699565b60405180910390f35b3480156102aa57600080fd5b506102b3610a97565b6040516102c09190613744565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061379c565b610b29565b6040516102fd919061380a565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613851565b610ba5565b005b34801561033b57600080fd5b506103566004803603810190610351919061379c565b610caf565b005b34801561036457600080fd5b5061036d610d7a565b60405161037a91906138a0565b60405180910390f35b34801561038f57600080fd5b50610398610d80565b6040516103a591906138a0565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906139f0565b610d86565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190613a65565b610e15565b005b34801561040c57600080fd5b50610415610eae565b60405161042291906138a0565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613a92565b610ec5565b60405161045f91906138a0565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613abf565b610edd565b005b34801561049d57600080fd5b506104a6610eed565b6040516104b39190613699565b60405180910390f35b6104c4610f00565b005b3480156104d257600080fd5b506104ed60048036038101906104e89190613abf565b610ffc565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613a92565b61101c565b6040516105239190613bd0565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e919061379c565b611236565b005b34801561056157600080fd5b5061057c600480360381019061057791906139f0565b6112bc565b005b34801561058a57600080fd5b5061059361134b565b6040516105a09190613699565b60405180910390f35b3480156105b557600080fd5b506105be61135e565b6040516105cb9190613744565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613a65565b6113ec565b005b34801561060957600080fd5b50610612611485565b60405161061f9190613699565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a919061379c565b611498565b60405161065c919061380a565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613a92565b6114ae565b60405161069991906138a0565b60405180910390f35b3480156106ae57600080fd5b506106b761157d565b005b3480156106c557600080fd5b506106e060048036038101906106db91906139f0565b611605565b005b3480156106ee57600080fd5b506106f7611694565b604051610704919061380a565b60405180910390f35b34801561071957600080fd5b506107226116be565b60405161072f91906138a0565b60405180910390f35b34801561074457600080fd5b5061074d6116c4565b60405161075a9190613744565b60405180910390f35b61077d6004803603810190610778919061379c565b611756565b005b34801561078b57600080fd5b506107a660048036038101906107a19190613bf2565b611b05565b005b3480156107b457600080fd5b506107bd611c7c565b6040516107ca9190613744565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061379c565b611d0a565b005b34801561080857600080fd5b50610823600480360381019061081e9190613cd3565b611d90565b005b34801561083157600080fd5b5061084c6004803603810190610847919061379c565b611e0c565b6040516108599190613744565b60405180910390f35b34801561086e57600080fd5b506108896004803603810190610884919061379c565b611f64565b005b34801561089757600080fd5b506108a0611fea565b6040516108ad91906138a0565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613a65565b611ff0565b005b3480156108eb57600080fd5b506108f4612089565b60405161090191906138a0565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613d56565b61208f565b60405161093e9190613699565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190613d96565b612123565b005b61098a6004803603810190610985919061379c565b612292565b005b34801561099857600080fd5b506109b360048036038101906109ae9190613a92565b6123bc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a905750610a8f826124d6565b5b9050919050565b606060028054610aa690613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad290613e05565b8015610b1f5780601f10610af457610100808354040283529160200191610b1f565b820191906000526020600020905b815481529060010190602001808311610b0257829003601f168201915b5050505050905090565b6000610b3482612540565b610b6a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb082611498565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c17576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3661258e565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c685750610c6681610c6161258e565b61208f565b155b15610c9f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa838383612596565b505050565b610cb761258e565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611694565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290613e82565b60405180910390fd5b600d54811115610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6790613eee565b60405180910390fd5b80600f8190555050565b60105481565b600c5481565b610d8e61258e565b73ffffffffffffffffffffffffffffffffffffffff16610dac611694565b73ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990613e82565b60405180910390fd5b80600a9081610e1191906140ba565b5050565b610e1d61258e565b73ffffffffffffffffffffffffffffffffffffffff16610e3b611694565b73ffffffffffffffffffffffffffffffffffffffff1614610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890613e82565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000610eb8612648565b6001546000540303905090565b60126020528060005260406000206000915090505481565b610ee8838383612651565b505050565b601160019054906101000a900460ff1681565b610f0861258e565b73ffffffffffffffffffffffffffffffffffffffff16610f26611694565b73ffffffffffffffffffffffffffffffffffffffff1614610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7390613e82565b60405180910390fd5b6000610f86611694565b73ffffffffffffffffffffffffffffffffffffffff1647604051610fa9906141bd565b60006040518083038185875af1925050503d8060008114610fe6576040519150601f19603f3d011682016040523d82523d6000602084013e610feb565b606091505b5050905080610ff957600080fd5b50565b61101783838360405180602001604052806000815250611d90565b505050565b60606000611029836114ae565b905060008167ffffffffffffffff811115611047576110466138c5565b5b6040519080825280602002602001820160405280156110755781602001602082028036833780820191505090505b5090506000611082612648565b90506000805b84821080156110995750600d548311155b15611229576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156111a65750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b156111b357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361121557838584815181106111fa576111f96141d2565b5b602002602001018181525050828061121190614230565b9350505b838061122090614230565b94505050611088565b8395505050505050919050565b61123e61258e565b73ffffffffffffffffffffffffffffffffffffffff1661125c611694565b73ffffffffffffffffffffffffffffffffffffffff16146112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613e82565b60405180910390fd5b80600c8190555050565b6112c461258e565b73ffffffffffffffffffffffffffffffffffffffff166112e2611694565b73ffffffffffffffffffffffffffffffffffffffff1614611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f90613e82565b60405180910390fd5b80600b908161134791906140ba565b5050565b601160029054906101000a900460ff1681565b600a805461136b90613e05565b80601f016020809104026020016040519081016040528092919081815260200182805461139790613e05565b80156113e45780601f106113b9576101008083540402835291602001916113e4565b820191906000526020600020905b8154815290600101906020018083116113c757829003601f168201915b505050505081565b6113f461258e565b73ffffffffffffffffffffffffffffffffffffffff16611412611694565b73ffffffffffffffffffffffffffffffffffffffff1614611468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145f90613e82565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b601160009054906101000a900460ff1681565b60006114a382612b05565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611515576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61158561258e565b73ffffffffffffffffffffffffffffffffffffffff166115a3611694565b73ffffffffffffffffffffffffffffffffffffffff16146115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090613e82565b60405180910390fd5b6116036000612d94565b565b61160d61258e565b73ffffffffffffffffffffffffffffffffffffffff1661162b611694565b73ffffffffffffffffffffffffffffffffffffffff1614611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890613e82565b60405180910390fd5b806009908161169091906140ba565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b6060600380546116d390613e05565b80601f01602080910402602001604051908101604052809291908181526020018280546116ff90613e05565b801561174c5780601f106117215761010080835404028352916020019161174c565b820191906000526020600020905b81548152906001019060200180831161172f57829003601f168201915b5050505050905090565b8061175f611694565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117e3576000811180156117a35750600e548111155b6117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d9906142c4565b60405180910390fd5b5b600d54816117ef610eae565b6117f991906142e4565b111561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614364565b60405180910390fd5b816000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060105481106118d95781600c546118969190614384565b3410156118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf90614412565b60405180910390fd5b5b601160009054906101000a900460ff1615611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061447e565b60405180910390fd5b601160019054906101000a900460ff16611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906144ea565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601054811015611a1b5760105485826119d591906142e4565b1115611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614556565b60405180910390fd5b611a76565b6010548110611a7557600f548582611a3391906142e4565b1115611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b906145c2565b60405180910390fd5b5b5b611a87611a8161258e565b86612e5a565b6000600190505b858111611afd57601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611ae590614230565b91905055508080611af590614230565b915050611a8e565b505050505050565b611b0d61258e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b71576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b7e61258e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2b61258e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c709190613699565b60405180910390a35050565b600b8054611c8990613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb590613e05565b8015611d025780601f10611cd757610100808354040283529160200191611d02565b820191906000526020600020905b815481529060010190602001808311611ce557829003601f168201915b505050505081565b611d1261258e565b73ffffffffffffffffffffffffffffffffffffffff16611d30611694565b73ffffffffffffffffffffffffffffffffffffffff1614611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90613e82565b60405180910390fd5b80600e8190555050565b611d9b848484612651565b611dba8373ffffffffffffffffffffffffffffffffffffffff166124b3565b8015611dcf5750611dcd84848484612e78565b155b15611e06576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611e1782612540565b611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d90614654565b60405180910390fd5b60001515601160029054906101000a900460ff16151503611f0357600b8054611e7e90613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054611eaa90613e05565b8015611ef75780601f10611ecc57610100808354040283529160200191611ef7565b820191906000526020600020905b815481529060010190602001808311611eda57829003601f168201915b50505050509050611f5f565b6000611f0d612fc8565b90506000815111611f2d5760405180602001604052806000815250611f5b565b80611f378461305a565b600a604051602001611f4b93929190614733565b6040516020818303038152906040525b9150505b919050565b611f6c61258e565b73ffffffffffffffffffffffffffffffffffffffff16611f8a611694565b73ffffffffffffffffffffffffffffffffffffffff1614611fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd790613e82565b60405180910390fd5b8060108190555050565b600d5481565b611ff861258e565b73ffffffffffffffffffffffffffffffffffffffff16612016611694565b73ffffffffffffffffffffffffffffffffffffffff161461206c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206390613e82565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8161212c611694565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121b0576000811180156121705750600e548111155b6121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a6906142c4565b60405180910390fd5b5b600d54816121bc610eae565b6121c691906142e4565b1115612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614364565b60405180910390fd5b61220f61258e565b73ffffffffffffffffffffffffffffffffffffffff1661222d611694565b73ffffffffffffffffffffffffffffffffffffffff1614612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a90613e82565b60405180910390fd5b61228d8284612e5a565b505050565b61229a61258e565b73ffffffffffffffffffffffffffffffffffffffff166122b8611694565b73ffffffffffffffffffffffffffffffffffffffff161461230e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230590613e82565b60405180910390fd5b60008111612351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612348906142c4565b60405180910390fd5b600d548161235d610eae565b61236791906142e4565b11156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f90614364565b60405180910390fd5b6123b96123b361258e565b82612e5a565b50565b6123c461258e565b73ffffffffffffffffffffffffffffffffffffffff166123e2611694565b73ffffffffffffffffffffffffffffffffffffffff1614612438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242f90613e82565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906147d6565b60405180910390fd5b6124b081612d94565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161254b612648565b1115801561255a575060005482105b8015612587575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061265c82612b05565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126e861258e565b73ffffffffffffffffffffffffffffffffffffffff16148061271757506127168561271161258e565b61208f565b5b8061275c575061272561258e565b73ffffffffffffffffffffffffffffffffffffffff1661274484610b29565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612795576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127fb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61280885858560016131ba565b61281460008487612596565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612a93576000548214612a9257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612afe85858560016131c0565b5050505050565b612b0d6135a2565b600082905080612b1b612648565b11158015612b2a575060005481105b15612d5d576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d5b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c3f578092505050612d8f565b5b600115612d5a57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d55578092505050612d8f565b612c40565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e748282604051806020016040528060008152506131c6565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e9e61258e565b8786866040518563ffffffff1660e01b8152600401612ec0949392919061484b565b6020604051808303816000875af1925050508015612efc57506040513d601f19601f82011682018060405250810190612ef991906148ac565b60015b612f75573d8060008114612f2c576040519150601f19603f3d011682016040523d82523d6000602084013e612f31565b606091505b506000815103612f6d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612fd790613e05565b80601f016020809104026020016040519081016040528092919081815260200182805461300390613e05565b80156130505780601f1061302557610100808354040283529160200191613050565b820191906000526020600020905b81548152906001019060200180831161303357829003601f168201915b5050505050905090565b6060600082036130a1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131b5565b600082905060005b600082146130d35780806130bc90614230565b915050600a826130cc9190614908565b91506130a9565b60008167ffffffffffffffff8111156130ef576130ee6138c5565b5b6040519080825280601f01601f1916602001820160405280156131215781602001600182028036833780820191505090505b5090505b600085146131ae5760018261313a9190614939565b9150600a85613149919061496d565b603061315591906142e4565b60f81b81838151811061316b5761316a6141d2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131a79190614908565b9450613125565b8093505050505b919050565b50505050565b50505050565b6131d383838360016131d8565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613244576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361327e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61328b60008683876131ba565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561345557506134548773ffffffffffffffffffffffffffffffffffffffff166124b3565b5b1561351a575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134ca6000888480600101955088612e78565b613500576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361345b57826000541461351557600080fd5b613585565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480820361351b575b81600081905550505061359b60008683876131c0565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61362e816135f9565b811461363957600080fd5b50565b60008135905061364b81613625565b92915050565b600060208284031215613667576136666135ef565b5b60006136758482850161363c565b91505092915050565b60008115159050919050565b6136938161367e565b82525050565b60006020820190506136ae600083018461368a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136ee5780820151818401526020810190506136d3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613716826136b4565b61372081856136bf565b93506137308185602086016136d0565b613739816136fa565b840191505092915050565b6000602082019050818103600083015261375e818461370b565b905092915050565b6000819050919050565b61377981613766565b811461378457600080fd5b50565b60008135905061379681613770565b92915050565b6000602082840312156137b2576137b16135ef565b5b60006137c084828501613787565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f4826137c9565b9050919050565b613804816137e9565b82525050565b600060208201905061381f60008301846137fb565b92915050565b61382e816137e9565b811461383957600080fd5b50565b60008135905061384b81613825565b92915050565b60008060408385031215613868576138676135ef565b5b60006138768582860161383c565b925050602061388785828601613787565b9150509250929050565b61389a81613766565b82525050565b60006020820190506138b56000830184613891565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138fd826136fa565b810181811067ffffffffffffffff8211171561391c5761391b6138c5565b5b80604052505050565b600061392f6135e5565b905061393b82826138f4565b919050565b600067ffffffffffffffff82111561395b5761395a6138c5565b5b613964826136fa565b9050602081019050919050565b82818337600083830152505050565b600061399361398e84613940565b613925565b9050828152602081018484840111156139af576139ae6138c0565b5b6139ba848285613971565b509392505050565b600082601f8301126139d7576139d66138bb565b5b81356139e7848260208601613980565b91505092915050565b600060208284031215613a0657613a056135ef565b5b600082013567ffffffffffffffff811115613a2457613a236135f4565b5b613a30848285016139c2565b91505092915050565b613a428161367e565b8114613a4d57600080fd5b50565b600081359050613a5f81613a39565b92915050565b600060208284031215613a7b57613a7a6135ef565b5b6000613a8984828501613a50565b91505092915050565b600060208284031215613aa857613aa76135ef565b5b6000613ab68482850161383c565b91505092915050565b600080600060608486031215613ad857613ad76135ef565b5b6000613ae68682870161383c565b9350506020613af78682870161383c565b9250506040613b0886828701613787565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b4781613766565b82525050565b6000613b598383613b3e565b60208301905092915050565b6000602082019050919050565b6000613b7d82613b12565b613b878185613b1d565b9350613b9283613b2e565b8060005b83811015613bc3578151613baa8882613b4d565b9750613bb583613b65565b925050600181019050613b96565b5085935050505092915050565b60006020820190508181036000830152613bea8184613b72565b905092915050565b60008060408385031215613c0957613c086135ef565b5b6000613c178582860161383c565b9250506020613c2885828601613a50565b9150509250929050565b600067ffffffffffffffff821115613c4d57613c4c6138c5565b5b613c56826136fa565b9050602081019050919050565b6000613c76613c7184613c32565b613925565b905082815260208101848484011115613c9257613c916138c0565b5b613c9d848285613971565b509392505050565b600082601f830112613cba57613cb96138bb565b5b8135613cca848260208601613c63565b91505092915050565b60008060008060808587031215613ced57613cec6135ef565b5b6000613cfb8782880161383c565b9450506020613d0c8782880161383c565b9350506040613d1d87828801613787565b925050606085013567ffffffffffffffff811115613d3e57613d3d6135f4565b5b613d4a87828801613ca5565b91505092959194509250565b60008060408385031215613d6d57613d6c6135ef565b5b6000613d7b8582860161383c565b9250506020613d8c8582860161383c565b9150509250929050565b60008060408385031215613dad57613dac6135ef565b5b6000613dbb85828601613787565b9250506020613dcc8582860161383c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e1d57607f821691505b602082108103613e3057613e2f613dd6565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e6c6020836136bf565b9150613e7782613e36565b602082019050919050565b60006020820190508181036000830152613e9b81613e5f565b9050919050565b7f45786365656420746f74616c20616d6f756e7400000000000000000000000000600082015250565b6000613ed86013836136bf565b9150613ee382613ea2565b602082019050919050565b60006020820190508181036000830152613f0781613ecb565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f707fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f33565b613f7a8683613f33565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613fb7613fb2613fad84613766565b613f92565b613766565b9050919050565b6000819050919050565b613fd183613f9c565b613fe5613fdd82613fbe565b848454613f40565b825550505050565b600090565b613ffa613fed565b614005818484613fc8565b505050565b5b818110156140295761401e600082613ff2565b60018101905061400b565b5050565b601f82111561406e5761403f81613f0e565b61404884613f23565b81016020851015614057578190505b61406b61406385613f23565b83018261400a565b50505b505050565b600082821c905092915050565b600061409160001984600802614073565b1980831691505092915050565b60006140aa8383614080565b9150826002028217905092915050565b6140c3826136b4565b67ffffffffffffffff8111156140dc576140db6138c5565b5b6140e68254613e05565b6140f182828561402d565b600060209050601f8311600181146141245760008415614112578287015190505b61411c858261409e565b865550614184565b601f19841661413286613f0e565b60005b8281101561415a57848901518255600182019150602085019450602081019050614135565b868310156141775784890151614173601f891682614080565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006141a760008361418c565b91506141b282614197565b600082019050919050565b60006141c88261419a565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423b82613766565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361426d5761426c614201565b5b600182019050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142ae6014836136bf565b91506142b982614278565b602082019050919050565b600060208201905081810360008301526142dd816142a1565b9050919050565b60006142ef82613766565b91506142fa83613766565b925082820190508082111561431257614311614201565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061434e6014836136bf565b915061435982614318565b602082019050919050565b6000602082019050818103600083015261437d81614341565b9050919050565b600061438f82613766565b915061439a83613766565b92508282026143a881613766565b915082820484148315176143bf576143be614201565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143fc6013836136bf565b9150614407826143c6565b602082019050919050565b6000602082019050818103600083015261442b816143ef565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006144686017836136bf565b915061447382614432565b602082019050919050565b600060208201905081810360008301526144978161445b565b9050919050565b7f4e6f74206f70656e20746f207075626c69632079657421000000000000000000600082015250565b60006144d46017836136bf565b91506144df8261449e565b602082019050919050565b60006020820190508181036000830152614503816144c7565b9050919050565b7f45786365656465642046726565204d696e74204c696d69740000000000000000600082015250565b60006145406018836136bf565b915061454b8261450a565b602082019050919050565b6000602082019050818103600083015261456f81614533565b9050919050565b7f4578636565646564204d696e74204c696d697400000000000000000000000000600082015250565b60006145ac6013836136bf565b91506145b782614576565b602082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061463e602f836136bf565b9150614649826145e2565b604082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b600081905092915050565b600061468a826136b4565b6146948185614674565b93506146a48185602086016136d0565b80840191505092915050565b600081546146bd81613e05565b6146c78186614674565b945060018216600081146146e257600181146146f75761472a565b60ff198316865281151582028601935061472a565b61470085613f0e565b60005b8381101561472257815481890152600182019150602081019050614703565b838801955050505b50505092915050565b600061473f828661467f565b915061474b828561467f565b915061475782846146b0565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147c06026836136bf565b91506147cb82614764565b604082019050919050565b600060208201905081810360008301526147ef816147b3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061481d826147f6565b6148278185614801565b93506148378185602086016136d0565b614840816136fa565b840191505092915050565b600060808201905061486060008301876137fb565b61486d60208301866137fb565b61487a6040830185613891565b818103606083015261488c8184614812565b905095945050505050565b6000815190506148a681613625565b92915050565b6000602082840312156148c2576148c16135ef565b5b60006148d084828501614897565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491382613766565b915061491e83613766565b92508261492e5761492d6148d9565b5b828204905092915050565b600061494482613766565b915061494f83613766565b925082820390508181111561496757614966614201565b5b92915050565b600061497882613766565b915061498383613766565b925082614993576149926148d9565b5b82820690509291505056fea264697066735822122036982cdc2a919487fd22c437fd7f56068d0f83d9da1d641419ba83112968978164736f6c63430008110033697066733a2f2f62616679626569646a706a746336707a786666763469796d676369703379796a6e686474736765736667777970753763736661346c6471786733752f
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80635c975abb11610144578063b071401b116100b6578063e0a808531161007a578063e0a80853146108b6578063e4386d26146108df578063e985e9c51461090a578063efbd73f414610947578063f19e75d414610970578063f2fde38b1461098c5761025c565b8063b071401b146107d3578063b88d4fde146107fc578063c87b56dd14610825578063d4fcb2ae14610862578063d5abeb011461088b5761025c565b80638da5cb5b116101085780638da5cb5b146106e257806394354fd01461070d57806395d89b4114610738578063a0712d6814610763578063a22cb4651461077f578063a45ba8e7146107a85761025c565b80635c975abb146105fd5780636352211e1461062857806370a0823114610665578063715018a6146106a25780637ec4a659146106b95761025c565b806318cae269116101dd578063438b6300116101a1578063438b6300146104ef57806344a0d68a1461052c5780634fdd43cb14610555578063518302271461057e5780635503a0e8146105a95780635aca1bb6146105d45761025c565b806318cae2691461042b57806323b872dd1461046857806333bc1c5c146104915780633ccfd60b146104bc57806342842e0e146104c65761025c565b80631159aca4116102245780631159aca41461035857806313faede61461038357806316ba10e0146103ae57806316c38b3c146103d757806318160ddd146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780631042779c1461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613651565b6109b5565b6040516102959190613699565b60405180910390f35b3480156102aa57600080fd5b506102b3610a97565b6040516102c09190613744565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061379c565b610b29565b6040516102fd919061380a565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613851565b610ba5565b005b34801561033b57600080fd5b506103566004803603810190610351919061379c565b610caf565b005b34801561036457600080fd5b5061036d610d7a565b60405161037a91906138a0565b60405180910390f35b34801561038f57600080fd5b50610398610d80565b6040516103a591906138a0565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906139f0565b610d86565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190613a65565b610e15565b005b34801561040c57600080fd5b50610415610eae565b60405161042291906138a0565b60405180910390f35b34801561043757600080fd5b50610452600480360381019061044d9190613a92565b610ec5565b60405161045f91906138a0565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190613abf565b610edd565b005b34801561049d57600080fd5b506104a6610eed565b6040516104b39190613699565b60405180910390f35b6104c4610f00565b005b3480156104d257600080fd5b506104ed60048036038101906104e89190613abf565b610ffc565b005b3480156104fb57600080fd5b5061051660048036038101906105119190613a92565b61101c565b6040516105239190613bd0565b60405180910390f35b34801561053857600080fd5b50610553600480360381019061054e919061379c565b611236565b005b34801561056157600080fd5b5061057c600480360381019061057791906139f0565b6112bc565b005b34801561058a57600080fd5b5061059361134b565b6040516105a09190613699565b60405180910390f35b3480156105b557600080fd5b506105be61135e565b6040516105cb9190613744565b60405180910390f35b3480156105e057600080fd5b506105fb60048036038101906105f69190613a65565b6113ec565b005b34801561060957600080fd5b50610612611485565b60405161061f9190613699565b60405180910390f35b34801561063457600080fd5b5061064f600480360381019061064a919061379c565b611498565b60405161065c919061380a565b60405180910390f35b34801561067157600080fd5b5061068c60048036038101906106879190613a92565b6114ae565b60405161069991906138a0565b60405180910390f35b3480156106ae57600080fd5b506106b761157d565b005b3480156106c557600080fd5b506106e060048036038101906106db91906139f0565b611605565b005b3480156106ee57600080fd5b506106f7611694565b604051610704919061380a565b60405180910390f35b34801561071957600080fd5b506107226116be565b60405161072f91906138a0565b60405180910390f35b34801561074457600080fd5b5061074d6116c4565b60405161075a9190613744565b60405180910390f35b61077d6004803603810190610778919061379c565b611756565b005b34801561078b57600080fd5b506107a660048036038101906107a19190613bf2565b611b05565b005b3480156107b457600080fd5b506107bd611c7c565b6040516107ca9190613744565b60405180910390f35b3480156107df57600080fd5b506107fa60048036038101906107f5919061379c565b611d0a565b005b34801561080857600080fd5b50610823600480360381019061081e9190613cd3565b611d90565b005b34801561083157600080fd5b5061084c6004803603810190610847919061379c565b611e0c565b6040516108599190613744565b60405180910390f35b34801561086e57600080fd5b506108896004803603810190610884919061379c565b611f64565b005b34801561089757600080fd5b506108a0611fea565b6040516108ad91906138a0565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613a65565b611ff0565b005b3480156108eb57600080fd5b506108f4612089565b60405161090191906138a0565b60405180910390f35b34801561091657600080fd5b50610931600480360381019061092c9190613d56565b61208f565b60405161093e9190613699565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190613d96565b612123565b005b61098a6004803603810190610985919061379c565b612292565b005b34801561099857600080fd5b506109b360048036038101906109ae9190613a92565b6123bc565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a8057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a905750610a8f826124d6565b5b9050919050565b606060028054610aa690613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054610ad290613e05565b8015610b1f5780601f10610af457610100808354040283529160200191610b1f565b820191906000526020600020905b815481529060010190602001808311610b0257829003601f168201915b5050505050905090565b6000610b3482612540565b610b6a576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bb082611498565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c17576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3661258e565b73ffffffffffffffffffffffffffffffffffffffff1614158015610c685750610c6681610c6161258e565b61208f565b155b15610c9f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610caa838383612596565b505050565b610cb761258e565b73ffffffffffffffffffffffffffffffffffffffff16610cd5611694565b73ffffffffffffffffffffffffffffffffffffffff1614610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2290613e82565b60405180910390fd5b600d54811115610d70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6790613eee565b60405180910390fd5b80600f8190555050565b60105481565b600c5481565b610d8e61258e565b73ffffffffffffffffffffffffffffffffffffffff16610dac611694565b73ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df990613e82565b60405180910390fd5b80600a9081610e1191906140ba565b5050565b610e1d61258e565b73ffffffffffffffffffffffffffffffffffffffff16610e3b611694565b73ffffffffffffffffffffffffffffffffffffffff1614610e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8890613e82565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b6000610eb8612648565b6001546000540303905090565b60126020528060005260406000206000915090505481565b610ee8838383612651565b505050565b601160019054906101000a900460ff1681565b610f0861258e565b73ffffffffffffffffffffffffffffffffffffffff16610f26611694565b73ffffffffffffffffffffffffffffffffffffffff1614610f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7390613e82565b60405180910390fd5b6000610f86611694565b73ffffffffffffffffffffffffffffffffffffffff1647604051610fa9906141bd565b60006040518083038185875af1925050503d8060008114610fe6576040519150601f19603f3d011682016040523d82523d6000602084013e610feb565b606091505b5050905080610ff957600080fd5b50565b61101783838360405180602001604052806000815250611d90565b505050565b60606000611029836114ae565b905060008167ffffffffffffffff811115611047576110466138c5565b5b6040519080825280602002602001820160405280156110755781602001602082028036833780820191505090505b5090506000611082612648565b90506000805b84821080156110995750600d548311155b15611229576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156111a65750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b156111b357806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361121557838584815181106111fa576111f96141d2565b5b602002602001018181525050828061121190614230565b9350505b838061122090614230565b94505050611088565b8395505050505050919050565b61123e61258e565b73ffffffffffffffffffffffffffffffffffffffff1661125c611694565b73ffffffffffffffffffffffffffffffffffffffff16146112b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a990613e82565b60405180910390fd5b80600c8190555050565b6112c461258e565b73ffffffffffffffffffffffffffffffffffffffff166112e2611694565b73ffffffffffffffffffffffffffffffffffffffff1614611338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132f90613e82565b60405180910390fd5b80600b908161134791906140ba565b5050565b601160029054906101000a900460ff1681565b600a805461136b90613e05565b80601f016020809104026020016040519081016040528092919081815260200182805461139790613e05565b80156113e45780601f106113b9576101008083540402835291602001916113e4565b820191906000526020600020905b8154815290600101906020018083116113c757829003601f168201915b505050505081565b6113f461258e565b73ffffffffffffffffffffffffffffffffffffffff16611412611694565b73ffffffffffffffffffffffffffffffffffffffff1614611468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145f90613e82565b60405180910390fd5b80601160016101000a81548160ff02191690831515021790555050565b601160009054906101000a900460ff1681565b60006114a382612b05565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611515576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b61158561258e565b73ffffffffffffffffffffffffffffffffffffffff166115a3611694565b73ffffffffffffffffffffffffffffffffffffffff16146115f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115f090613e82565b60405180910390fd5b6116036000612d94565b565b61160d61258e565b73ffffffffffffffffffffffffffffffffffffffff1661162b611694565b73ffffffffffffffffffffffffffffffffffffffff1614611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890613e82565b60405180910390fd5b806009908161169091906140ba565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e5481565b6060600380546116d390613e05565b80601f01602080910402602001604051908101604052809291908181526020018280546116ff90613e05565b801561174c5780601f106117215761010080835404028352916020019161174c565b820191906000526020600020905b81548152906001019060200180831161172f57829003601f168201915b5050505050905090565b8061175f611694565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146117e3576000811180156117a35750600e548111155b6117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d9906142c4565b60405180910390fd5b5b600d54816117ef610eae565b6117f991906142e4565b111561183a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183190614364565b60405180910390fd5b816000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060105481106118d95781600c546118969190614384565b3410156118d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118cf90614412565b60405180910390fd5b5b601160009054906101000a900460ff1615611929576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119209061447e565b60405180910390fd5b601160019054906101000a900460ff16611978576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196f906144ea565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601054811015611a1b5760105485826119d591906142e4565b1115611a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0d90614556565b60405180910390fd5b611a76565b6010548110611a7557600f548582611a3391906142e4565b1115611a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6b906145c2565b60405180910390fd5b5b5b611a87611a8161258e565b86612e5a565b6000600190505b858111611afd57601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611ae590614230565b91905055508080611af590614230565b915050611a8e565b505050505050565b611b0d61258e565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611b71576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611b7e61258e565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2b61258e565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c709190613699565b60405180910390a35050565b600b8054611c8990613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054611cb590613e05565b8015611d025780601f10611cd757610100808354040283529160200191611d02565b820191906000526020600020905b815481529060010190602001808311611ce557829003601f168201915b505050505081565b611d1261258e565b73ffffffffffffffffffffffffffffffffffffffff16611d30611694565b73ffffffffffffffffffffffffffffffffffffffff1614611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90613e82565b60405180910390fd5b80600e8190555050565b611d9b848484612651565b611dba8373ffffffffffffffffffffffffffffffffffffffff166124b3565b8015611dcf5750611dcd84848484612e78565b155b15611e06576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060611e1782612540565b611e56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4d90614654565b60405180910390fd5b60001515601160029054906101000a900460ff16151503611f0357600b8054611e7e90613e05565b80601f0160208091040260200160405190810160405280929190818152602001828054611eaa90613e05565b8015611ef75780601f10611ecc57610100808354040283529160200191611ef7565b820191906000526020600020905b815481529060010190602001808311611eda57829003601f168201915b50505050509050611f5f565b6000611f0d612fc8565b90506000815111611f2d5760405180602001604052806000815250611f5b565b80611f378461305a565b600a604051602001611f4b93929190614733565b6040516020818303038152906040525b9150505b919050565b611f6c61258e565b73ffffffffffffffffffffffffffffffffffffffff16611f8a611694565b73ffffffffffffffffffffffffffffffffffffffff1614611fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd790613e82565b60405180910390fd5b8060108190555050565b600d5481565b611ff861258e565b73ffffffffffffffffffffffffffffffffffffffff16612016611694565b73ffffffffffffffffffffffffffffffffffffffff161461206c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206390613e82565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b600f5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8161212c611694565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121b0576000811180156121705750600e548111155b6121af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a6906142c4565b60405180910390fd5b5b600d54816121bc610eae565b6121c691906142e4565b1115612207576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fe90614364565b60405180910390fd5b61220f61258e565b73ffffffffffffffffffffffffffffffffffffffff1661222d611694565b73ffffffffffffffffffffffffffffffffffffffff1614612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a90613e82565b60405180910390fd5b61228d8284612e5a565b505050565b61229a61258e565b73ffffffffffffffffffffffffffffffffffffffff166122b8611694565b73ffffffffffffffffffffffffffffffffffffffff161461230e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230590613e82565b60405180910390fd5b60008111612351576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612348906142c4565b60405180910390fd5b600d548161235d610eae565b61236791906142e4565b11156123a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239f90614364565b60405180910390fd5b6123b96123b361258e565b82612e5a565b50565b6123c461258e565b73ffffffffffffffffffffffffffffffffffffffff166123e2611694565b73ffffffffffffffffffffffffffffffffffffffff1614612438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242f90613e82565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036124a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249e906147d6565b60405180910390fd5b6124b081612d94565b50565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161254b612648565b1115801561255a575060005482105b8015612587575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061265c82612b05565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166126e861258e565b73ffffffffffffffffffffffffffffffffffffffff16148061271757506127168561271161258e565b61208f565b5b8061275c575061272561258e565b73ffffffffffffffffffffffffffffffffffffffff1661274484610b29565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612795576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036127fb576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61280885858560016131ba565b61281460008487612596565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612a93576000548214612a9257878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612afe85858560016131c0565b5050505050565b612b0d6135a2565b600082905080612b1b612648565b11158015612b2a575060005481105b15612d5d576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151612d5b57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c3f578092505050612d8f565b5b600115612d5a57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612d55578092505050612d8f565b612c40565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612e748282604051806020016040528060008152506131c6565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e9e61258e565b8786866040518563ffffffff1660e01b8152600401612ec0949392919061484b565b6020604051808303816000875af1925050508015612efc57506040513d601f19601f82011682018060405250810190612ef991906148ac565b60015b612f75573d8060008114612f2c576040519150601f19603f3d011682016040523d82523d6000602084013e612f31565b606091505b506000815103612f6d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612fd790613e05565b80601f016020809104026020016040519081016040528092919081815260200182805461300390613e05565b80156130505780601f1061302557610100808354040283529160200191613050565b820191906000526020600020905b81548152906001019060200180831161303357829003601f168201915b5050505050905090565b6060600082036130a1576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131b5565b600082905060005b600082146130d35780806130bc90614230565b915050600a826130cc9190614908565b91506130a9565b60008167ffffffffffffffff8111156130ef576130ee6138c5565b5b6040519080825280601f01601f1916602001820160405280156131215781602001600182028036833780820191505090505b5090505b600085146131ae5760018261313a9190614939565b9150600a85613149919061496d565b603061315591906142e4565b60f81b81838151811061316b5761316a6141d2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131a79190614908565b9450613125565b8093505050505b919050565b50505050565b50505050565b6131d383838360016131d8565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613244576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000840361327e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61328b60008683876131ba565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561345557506134548773ffffffffffffffffffffffffffffffffffffffff166124b3565b5b1561351a575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134ca6000888480600101955088612e78565b613500576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361345b57826000541461351557600080fd5b613585565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480820361351b575b81600081905550505061359b60008683876131c0565b5050505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61362e816135f9565b811461363957600080fd5b50565b60008135905061364b81613625565b92915050565b600060208284031215613667576136666135ef565b5b60006136758482850161363c565b91505092915050565b60008115159050919050565b6136938161367e565b82525050565b60006020820190506136ae600083018461368a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136ee5780820151818401526020810190506136d3565b60008484015250505050565b6000601f19601f8301169050919050565b6000613716826136b4565b61372081856136bf565b93506137308185602086016136d0565b613739816136fa565b840191505092915050565b6000602082019050818103600083015261375e818461370b565b905092915050565b6000819050919050565b61377981613766565b811461378457600080fd5b50565b60008135905061379681613770565b92915050565b6000602082840312156137b2576137b16135ef565b5b60006137c084828501613787565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137f4826137c9565b9050919050565b613804816137e9565b82525050565b600060208201905061381f60008301846137fb565b92915050565b61382e816137e9565b811461383957600080fd5b50565b60008135905061384b81613825565b92915050565b60008060408385031215613868576138676135ef565b5b60006138768582860161383c565b925050602061388785828601613787565b9150509250929050565b61389a81613766565b82525050565b60006020820190506138b56000830184613891565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6138fd826136fa565b810181811067ffffffffffffffff8211171561391c5761391b6138c5565b5b80604052505050565b600061392f6135e5565b905061393b82826138f4565b919050565b600067ffffffffffffffff82111561395b5761395a6138c5565b5b613964826136fa565b9050602081019050919050565b82818337600083830152505050565b600061399361398e84613940565b613925565b9050828152602081018484840111156139af576139ae6138c0565b5b6139ba848285613971565b509392505050565b600082601f8301126139d7576139d66138bb565b5b81356139e7848260208601613980565b91505092915050565b600060208284031215613a0657613a056135ef565b5b600082013567ffffffffffffffff811115613a2457613a236135f4565b5b613a30848285016139c2565b91505092915050565b613a428161367e565b8114613a4d57600080fd5b50565b600081359050613a5f81613a39565b92915050565b600060208284031215613a7b57613a7a6135ef565b5b6000613a8984828501613a50565b91505092915050565b600060208284031215613aa857613aa76135ef565b5b6000613ab68482850161383c565b91505092915050565b600080600060608486031215613ad857613ad76135ef565b5b6000613ae68682870161383c565b9350506020613af78682870161383c565b9250506040613b0886828701613787565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b4781613766565b82525050565b6000613b598383613b3e565b60208301905092915050565b6000602082019050919050565b6000613b7d82613b12565b613b878185613b1d565b9350613b9283613b2e565b8060005b83811015613bc3578151613baa8882613b4d565b9750613bb583613b65565b925050600181019050613b96565b5085935050505092915050565b60006020820190508181036000830152613bea8184613b72565b905092915050565b60008060408385031215613c0957613c086135ef565b5b6000613c178582860161383c565b9250506020613c2885828601613a50565b9150509250929050565b600067ffffffffffffffff821115613c4d57613c4c6138c5565b5b613c56826136fa565b9050602081019050919050565b6000613c76613c7184613c32565b613925565b905082815260208101848484011115613c9257613c916138c0565b5b613c9d848285613971565b509392505050565b600082601f830112613cba57613cb96138bb565b5b8135613cca848260208601613c63565b91505092915050565b60008060008060808587031215613ced57613cec6135ef565b5b6000613cfb8782880161383c565b9450506020613d0c8782880161383c565b9350506040613d1d87828801613787565b925050606085013567ffffffffffffffff811115613d3e57613d3d6135f4565b5b613d4a87828801613ca5565b91505092959194509250565b60008060408385031215613d6d57613d6c6135ef565b5b6000613d7b8582860161383c565b9250506020613d8c8582860161383c565b9150509250929050565b60008060408385031215613dad57613dac6135ef565b5b6000613dbb85828601613787565b9250506020613dcc8582860161383c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613e1d57607f821691505b602082108103613e3057613e2f613dd6565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e6c6020836136bf565b9150613e7782613e36565b602082019050919050565b60006020820190508181036000830152613e9b81613e5f565b9050919050565b7f45786365656420746f74616c20616d6f756e7400000000000000000000000000600082015250565b6000613ed86013836136bf565b9150613ee382613ea2565b602082019050919050565b60006020820190508181036000830152613f0781613ecb565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613f707fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613f33565b613f7a8683613f33565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613fb7613fb2613fad84613766565b613f92565b613766565b9050919050565b6000819050919050565b613fd183613f9c565b613fe5613fdd82613fbe565b848454613f40565b825550505050565b600090565b613ffa613fed565b614005818484613fc8565b505050565b5b818110156140295761401e600082613ff2565b60018101905061400b565b5050565b601f82111561406e5761403f81613f0e565b61404884613f23565b81016020851015614057578190505b61406b61406385613f23565b83018261400a565b50505b505050565b600082821c905092915050565b600061409160001984600802614073565b1980831691505092915050565b60006140aa8383614080565b9150826002028217905092915050565b6140c3826136b4565b67ffffffffffffffff8111156140dc576140db6138c5565b5b6140e68254613e05565b6140f182828561402d565b600060209050601f8311600181146141245760008415614112578287015190505b61411c858261409e565b865550614184565b601f19841661413286613f0e565b60005b8281101561415a57848901518255600182019150602085019450602081019050614135565b868310156141775784890151614173601f891682614080565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006141a760008361418c565b91506141b282614197565b600082019050919050565b60006141c88261419a565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061423b82613766565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361426d5761426c614201565b5b600182019050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b60006142ae6014836136bf565b91506142b982614278565b602082019050919050565b600060208201905081810360008301526142dd816142a1565b9050919050565b60006142ef82613766565b91506142fa83613766565b925082820190508082111561431257614311614201565b5b92915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b600061434e6014836136bf565b915061435982614318565b602082019050919050565b6000602082019050818103600083015261437d81614341565b9050919050565b600061438f82613766565b915061439a83613766565b92508282026143a881613766565b915082820484148315176143bf576143be614201565b5b5092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b60006143fc6013836136bf565b9150614407826143c6565b602082019050919050565b6000602082019050818103600083015261442b816143ef565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b60006144686017836136bf565b915061447382614432565b602082019050919050565b600060208201905081810360008301526144978161445b565b9050919050565b7f4e6f74206f70656e20746f207075626c69632079657421000000000000000000600082015250565b60006144d46017836136bf565b91506144df8261449e565b602082019050919050565b60006020820190508181036000830152614503816144c7565b9050919050565b7f45786365656465642046726565204d696e74204c696d69740000000000000000600082015250565b60006145406018836136bf565b915061454b8261450a565b602082019050919050565b6000602082019050818103600083015261456f81614533565b9050919050565b7f4578636565646564204d696e74204c696d697400000000000000000000000000600082015250565b60006145ac6013836136bf565b91506145b782614576565b602082019050919050565b600060208201905081810360008301526145db8161459f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061463e602f836136bf565b9150614649826145e2565b604082019050919050565b6000602082019050818103600083015261466d81614631565b9050919050565b600081905092915050565b600061468a826136b4565b6146948185614674565b93506146a48185602086016136d0565b80840191505092915050565b600081546146bd81613e05565b6146c78186614674565b945060018216600081146146e257600181146146f75761472a565b60ff198316865281151582028601935061472a565b61470085613f0e565b60005b8381101561472257815481890152600182019150602081019050614703565b838801955050505b50505092915050565b600061473f828661467f565b915061474b828561467f565b915061475782846146b0565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006147c06026836136bf565b91506147cb82614764565b604082019050919050565b600060208201905081810360008301526147ef816147b3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061481d826147f6565b6148278185614801565b93506148378185602086016136d0565b614840816136fa565b840191505092915050565b600060808201905061486060008301876137fb565b61486d60208301866137fb565b61487a6040830185613891565b818103606083015261488c8184614812565b905095945050505050565b6000815190506148a681613625565b92915050565b6000602082840312156148c2576148c16135ef565b5b60006148d084828501614897565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491382613766565b915061491e83613766565b92508261492e5761492d6148d9565b5b828204905092915050565b600061494482613766565b915061494f83613766565b925082820390508181111561496757614966614201565b5b92915050565b600061497882613766565b915061498383613766565b925082614993576149926148d9565b5b82820690509291505056fea264697066735822122036982cdc2a919487fd22c437fd7f56068d0f83d9da1d641419ba83112968978164736f6c63430008110033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.